p_cloud_tenants_ssh_keys

package
v1.0.46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for p cloud tenants ssh keys API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new p cloud tenants ssh keys API client.

func (*Client) PcloudTenantsSshkeysDelete

func (a *Client) PcloudTenantsSshkeysDelete(params *PcloudTenantsSshkeysDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudTenantsSshkeysDeleteOK, error)

PcloudTenantsSshkeysDelete deletes a tenant s SSH key

func (*Client) PcloudTenantsSshkeysGet

func (a *Client) PcloudTenantsSshkeysGet(params *PcloudTenantsSshkeysGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudTenantsSshkeysGetOK, error)

PcloudTenantsSshkeysGet gets a tenant s SSH key by name

func (*Client) PcloudTenantsSshkeysGetall

func (a *Client) PcloudTenantsSshkeysGetall(params *PcloudTenantsSshkeysGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudTenantsSshkeysGetallOK, error)

PcloudTenantsSshkeysGetall lists a tenant s SSH keys

func (*Client) PcloudTenantsSshkeysPost

PcloudTenantsSshkeysPost adds a new SSH key to the tenant

func (*Client) PcloudTenantsSshkeysPut

func (a *Client) PcloudTenantsSshkeysPut(params *PcloudTenantsSshkeysPutParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudTenantsSshkeysPutOK, error)

PcloudTenantsSshkeysPut updates an SSH key

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type PcloudTenantsSshkeysDeleteBadRequest

type PcloudTenantsSshkeysDeleteBadRequest struct {
	Payload *models.Error
}

PcloudTenantsSshkeysDeleteBadRequest handles this case with default header values.

Bad Request

func NewPcloudTenantsSshkeysDeleteBadRequest

func NewPcloudTenantsSshkeysDeleteBadRequest() *PcloudTenantsSshkeysDeleteBadRequest

NewPcloudTenantsSshkeysDeleteBadRequest creates a PcloudTenantsSshkeysDeleteBadRequest with default headers values

func (*PcloudTenantsSshkeysDeleteBadRequest) Error

type PcloudTenantsSshkeysDeleteGone

type PcloudTenantsSshkeysDeleteGone struct {
	Payload *models.Error
}

PcloudTenantsSshkeysDeleteGone handles this case with default header values.

Gone

func NewPcloudTenantsSshkeysDeleteGone

func NewPcloudTenantsSshkeysDeleteGone() *PcloudTenantsSshkeysDeleteGone

NewPcloudTenantsSshkeysDeleteGone creates a PcloudTenantsSshkeysDeleteGone with default headers values

func (*PcloudTenantsSshkeysDeleteGone) Error

type PcloudTenantsSshkeysDeleteInternalServerError

type PcloudTenantsSshkeysDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudTenantsSshkeysDeleteInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudTenantsSshkeysDeleteInternalServerError

func NewPcloudTenantsSshkeysDeleteInternalServerError() *PcloudTenantsSshkeysDeleteInternalServerError

NewPcloudTenantsSshkeysDeleteInternalServerError creates a PcloudTenantsSshkeysDeleteInternalServerError with default headers values

func (*PcloudTenantsSshkeysDeleteInternalServerError) Error

type PcloudTenantsSshkeysDeleteOK

type PcloudTenantsSshkeysDeleteOK struct {
	Payload models.Object
}

PcloudTenantsSshkeysDeleteOK handles this case with default header values.

OK

func NewPcloudTenantsSshkeysDeleteOK

func NewPcloudTenantsSshkeysDeleteOK() *PcloudTenantsSshkeysDeleteOK

NewPcloudTenantsSshkeysDeleteOK creates a PcloudTenantsSshkeysDeleteOK with default headers values

func (*PcloudTenantsSshkeysDeleteOK) Error

type PcloudTenantsSshkeysDeleteParams

type PcloudTenantsSshkeysDeleteParams struct {

	/*SshkeyName
	  SSH key name for a pcloud tenant

	*/
	SshkeyName string
	/*TenantID
	  Tenant ID of a pcloud tenant

	*/
	TenantID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudTenantsSshkeysDeleteParams contains all the parameters to send to the API endpoint for the pcloud tenants sshkeys delete operation typically these are written to a http.Request

func NewPcloudTenantsSshkeysDeleteParams

func NewPcloudTenantsSshkeysDeleteParams() *PcloudTenantsSshkeysDeleteParams

NewPcloudTenantsSshkeysDeleteParams creates a new PcloudTenantsSshkeysDeleteParams object with the default values initialized.

func NewPcloudTenantsSshkeysDeleteParamsWithContext

func NewPcloudTenantsSshkeysDeleteParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysDeleteParams

NewPcloudTenantsSshkeysDeleteParamsWithContext creates a new PcloudTenantsSshkeysDeleteParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudTenantsSshkeysDeleteParamsWithHTTPClient

func NewPcloudTenantsSshkeysDeleteParamsWithHTTPClient(client *http.Client) *PcloudTenantsSshkeysDeleteParams

NewPcloudTenantsSshkeysDeleteParamsWithHTTPClient creates a new PcloudTenantsSshkeysDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudTenantsSshkeysDeleteParamsWithTimeout

func NewPcloudTenantsSshkeysDeleteParamsWithTimeout(timeout time.Duration) *PcloudTenantsSshkeysDeleteParams

NewPcloudTenantsSshkeysDeleteParamsWithTimeout creates a new PcloudTenantsSshkeysDeleteParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudTenantsSshkeysDeleteParams) SetContext

SetContext adds the context to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) SetHTTPClient

func (o *PcloudTenantsSshkeysDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) SetSshkeyName

func (o *PcloudTenantsSshkeysDeleteParams) SetSshkeyName(sshkeyName string)

SetSshkeyName adds the sshkeyName to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) SetTenantID

func (o *PcloudTenantsSshkeysDeleteParams) SetTenantID(tenantID string)

SetTenantID adds the tenantId to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) SetTimeout

func (o *PcloudTenantsSshkeysDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) WithContext

WithContext adds the context to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) WithSshkeyName

WithSshkeyName adds the sshkeyName to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) WithTenantID

WithTenantID adds the tenantID to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud tenants sshkeys delete params

func (*PcloudTenantsSshkeysDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudTenantsSshkeysDeleteReader

type PcloudTenantsSshkeysDeleteReader struct {
	// contains filtered or unexported fields
}

PcloudTenantsSshkeysDeleteReader is a Reader for the PcloudTenantsSshkeysDelete structure.

func (*PcloudTenantsSshkeysDeleteReader) ReadResponse

func (o *PcloudTenantsSshkeysDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudTenantsSshkeysGetBadRequest

type PcloudTenantsSshkeysGetBadRequest struct {
	Payload *models.Error
}

PcloudTenantsSshkeysGetBadRequest handles this case with default header values.

Bad Request

func NewPcloudTenantsSshkeysGetBadRequest

func NewPcloudTenantsSshkeysGetBadRequest() *PcloudTenantsSshkeysGetBadRequest

NewPcloudTenantsSshkeysGetBadRequest creates a PcloudTenantsSshkeysGetBadRequest with default headers values

func (*PcloudTenantsSshkeysGetBadRequest) Error

type PcloudTenantsSshkeysGetInternalServerError

type PcloudTenantsSshkeysGetInternalServerError struct {
	Payload *models.Error
}

PcloudTenantsSshkeysGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudTenantsSshkeysGetInternalServerError

func NewPcloudTenantsSshkeysGetInternalServerError() *PcloudTenantsSshkeysGetInternalServerError

NewPcloudTenantsSshkeysGetInternalServerError creates a PcloudTenantsSshkeysGetInternalServerError with default headers values

func (*PcloudTenantsSshkeysGetInternalServerError) Error

type PcloudTenantsSshkeysGetNotFound

type PcloudTenantsSshkeysGetNotFound struct {
	Payload *models.Error
}

PcloudTenantsSshkeysGetNotFound handles this case with default header values.

Not Found

func NewPcloudTenantsSshkeysGetNotFound

func NewPcloudTenantsSshkeysGetNotFound() *PcloudTenantsSshkeysGetNotFound

NewPcloudTenantsSshkeysGetNotFound creates a PcloudTenantsSshkeysGetNotFound with default headers values

func (*PcloudTenantsSshkeysGetNotFound) Error

type PcloudTenantsSshkeysGetOK

type PcloudTenantsSshkeysGetOK struct {
	Payload *models.SSHKey
}

PcloudTenantsSshkeysGetOK handles this case with default header values.

OK

func NewPcloudTenantsSshkeysGetOK

func NewPcloudTenantsSshkeysGetOK() *PcloudTenantsSshkeysGetOK

NewPcloudTenantsSshkeysGetOK creates a PcloudTenantsSshkeysGetOK with default headers values

func (*PcloudTenantsSshkeysGetOK) Error

func (o *PcloudTenantsSshkeysGetOK) Error() string

type PcloudTenantsSshkeysGetParams

type PcloudTenantsSshkeysGetParams struct {

	/*SshkeyName
	  SSH key name for a pcloud tenant

	*/
	SshkeyName string
	/*TenantID
	  Tenant ID of a pcloud tenant

	*/
	TenantID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudTenantsSshkeysGetParams contains all the parameters to send to the API endpoint for the pcloud tenants sshkeys get operation typically these are written to a http.Request

func NewPcloudTenantsSshkeysGetParams

func NewPcloudTenantsSshkeysGetParams() *PcloudTenantsSshkeysGetParams

NewPcloudTenantsSshkeysGetParams creates a new PcloudTenantsSshkeysGetParams object with the default values initialized.

func NewPcloudTenantsSshkeysGetParamsWithContext

func NewPcloudTenantsSshkeysGetParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysGetParams

NewPcloudTenantsSshkeysGetParamsWithContext creates a new PcloudTenantsSshkeysGetParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudTenantsSshkeysGetParamsWithHTTPClient

func NewPcloudTenantsSshkeysGetParamsWithHTTPClient(client *http.Client) *PcloudTenantsSshkeysGetParams

NewPcloudTenantsSshkeysGetParamsWithHTTPClient creates a new PcloudTenantsSshkeysGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudTenantsSshkeysGetParamsWithTimeout

func NewPcloudTenantsSshkeysGetParamsWithTimeout(timeout time.Duration) *PcloudTenantsSshkeysGetParams

NewPcloudTenantsSshkeysGetParamsWithTimeout creates a new PcloudTenantsSshkeysGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudTenantsSshkeysGetParams) SetContext

func (o *PcloudTenantsSshkeysGetParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) SetHTTPClient

func (o *PcloudTenantsSshkeysGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) SetSshkeyName

func (o *PcloudTenantsSshkeysGetParams) SetSshkeyName(sshkeyName string)

SetSshkeyName adds the sshkeyName to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) SetTenantID

func (o *PcloudTenantsSshkeysGetParams) SetTenantID(tenantID string)

SetTenantID adds the tenantId to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) SetTimeout

func (o *PcloudTenantsSshkeysGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) WithContext

WithContext adds the context to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) WithSshkeyName

WithSshkeyName adds the sshkeyName to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) WithTenantID

WithTenantID adds the tenantID to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud tenants sshkeys get params

func (*PcloudTenantsSshkeysGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudTenantsSshkeysGetReader

type PcloudTenantsSshkeysGetReader struct {
	// contains filtered or unexported fields
}

PcloudTenantsSshkeysGetReader is a Reader for the PcloudTenantsSshkeysGet structure.

func (*PcloudTenantsSshkeysGetReader) ReadResponse

func (o *PcloudTenantsSshkeysGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudTenantsSshkeysGetallBadRequest

type PcloudTenantsSshkeysGetallBadRequest struct {
	Payload *models.Error
}

PcloudTenantsSshkeysGetallBadRequest handles this case with default header values.

Bad Request

func NewPcloudTenantsSshkeysGetallBadRequest

func NewPcloudTenantsSshkeysGetallBadRequest() *PcloudTenantsSshkeysGetallBadRequest

NewPcloudTenantsSshkeysGetallBadRequest creates a PcloudTenantsSshkeysGetallBadRequest with default headers values

func (*PcloudTenantsSshkeysGetallBadRequest) Error

type PcloudTenantsSshkeysGetallInternalServerError

type PcloudTenantsSshkeysGetallInternalServerError struct {
	Payload *models.Error
}

PcloudTenantsSshkeysGetallInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudTenantsSshkeysGetallInternalServerError

func NewPcloudTenantsSshkeysGetallInternalServerError() *PcloudTenantsSshkeysGetallInternalServerError

NewPcloudTenantsSshkeysGetallInternalServerError creates a PcloudTenantsSshkeysGetallInternalServerError with default headers values

func (*PcloudTenantsSshkeysGetallInternalServerError) Error

type PcloudTenantsSshkeysGetallNotFound

type PcloudTenantsSshkeysGetallNotFound struct {
	Payload *models.Error
}

PcloudTenantsSshkeysGetallNotFound handles this case with default header values.

Not Found

func NewPcloudTenantsSshkeysGetallNotFound

func NewPcloudTenantsSshkeysGetallNotFound() *PcloudTenantsSshkeysGetallNotFound

NewPcloudTenantsSshkeysGetallNotFound creates a PcloudTenantsSshkeysGetallNotFound with default headers values

func (*PcloudTenantsSshkeysGetallNotFound) Error

type PcloudTenantsSshkeysGetallOK

type PcloudTenantsSshkeysGetallOK struct {
	Payload *models.SSHKeys
}

PcloudTenantsSshkeysGetallOK handles this case with default header values.

OK

func NewPcloudTenantsSshkeysGetallOK

func NewPcloudTenantsSshkeysGetallOK() *PcloudTenantsSshkeysGetallOK

NewPcloudTenantsSshkeysGetallOK creates a PcloudTenantsSshkeysGetallOK with default headers values

func (*PcloudTenantsSshkeysGetallOK) Error

type PcloudTenantsSshkeysGetallParams

type PcloudTenantsSshkeysGetallParams struct {

	/*TenantID
	  Tenant ID of a pcloud tenant

	*/
	TenantID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudTenantsSshkeysGetallParams contains all the parameters to send to the API endpoint for the pcloud tenants sshkeys getall operation typically these are written to a http.Request

func NewPcloudTenantsSshkeysGetallParams

func NewPcloudTenantsSshkeysGetallParams() *PcloudTenantsSshkeysGetallParams

NewPcloudTenantsSshkeysGetallParams creates a new PcloudTenantsSshkeysGetallParams object with the default values initialized.

func NewPcloudTenantsSshkeysGetallParamsWithContext

func NewPcloudTenantsSshkeysGetallParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysGetallParams

NewPcloudTenantsSshkeysGetallParamsWithContext creates a new PcloudTenantsSshkeysGetallParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudTenantsSshkeysGetallParamsWithHTTPClient

func NewPcloudTenantsSshkeysGetallParamsWithHTTPClient(client *http.Client) *PcloudTenantsSshkeysGetallParams

NewPcloudTenantsSshkeysGetallParamsWithHTTPClient creates a new PcloudTenantsSshkeysGetallParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudTenantsSshkeysGetallParamsWithTimeout

func NewPcloudTenantsSshkeysGetallParamsWithTimeout(timeout time.Duration) *PcloudTenantsSshkeysGetallParams

NewPcloudTenantsSshkeysGetallParamsWithTimeout creates a new PcloudTenantsSshkeysGetallParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudTenantsSshkeysGetallParams) SetContext

SetContext adds the context to the pcloud tenants sshkeys getall params

func (*PcloudTenantsSshkeysGetallParams) SetHTTPClient

func (o *PcloudTenantsSshkeysGetallParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud tenants sshkeys getall params

func (*PcloudTenantsSshkeysGetallParams) SetTenantID

func (o *PcloudTenantsSshkeysGetallParams) SetTenantID(tenantID string)

SetTenantID adds the tenantId to the pcloud tenants sshkeys getall params

func (*PcloudTenantsSshkeysGetallParams) SetTimeout

func (o *PcloudTenantsSshkeysGetallParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud tenants sshkeys getall params

func (*PcloudTenantsSshkeysGetallParams) WithContext

WithContext adds the context to the pcloud tenants sshkeys getall params

func (*PcloudTenantsSshkeysGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud tenants sshkeys getall params

func (*PcloudTenantsSshkeysGetallParams) WithTenantID

WithTenantID adds the tenantID to the pcloud tenants sshkeys getall params

func (*PcloudTenantsSshkeysGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud tenants sshkeys getall params

func (*PcloudTenantsSshkeysGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudTenantsSshkeysGetallReader

type PcloudTenantsSshkeysGetallReader struct {
	// contains filtered or unexported fields
}

PcloudTenantsSshkeysGetallReader is a Reader for the PcloudTenantsSshkeysGetall structure.

func (*PcloudTenantsSshkeysGetallReader) ReadResponse

func (o *PcloudTenantsSshkeysGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudTenantsSshkeysPostBadRequest

type PcloudTenantsSshkeysPostBadRequest struct {
	Payload *models.Error
}

PcloudTenantsSshkeysPostBadRequest handles this case with default header values.

Bad Request

func NewPcloudTenantsSshkeysPostBadRequest

func NewPcloudTenantsSshkeysPostBadRequest() *PcloudTenantsSshkeysPostBadRequest

NewPcloudTenantsSshkeysPostBadRequest creates a PcloudTenantsSshkeysPostBadRequest with default headers values

func (*PcloudTenantsSshkeysPostBadRequest) Error

type PcloudTenantsSshkeysPostConflict

type PcloudTenantsSshkeysPostConflict struct {
	Payload *models.Error
}

PcloudTenantsSshkeysPostConflict handles this case with default header values.

Conflict

func NewPcloudTenantsSshkeysPostConflict

func NewPcloudTenantsSshkeysPostConflict() *PcloudTenantsSshkeysPostConflict

NewPcloudTenantsSshkeysPostConflict creates a PcloudTenantsSshkeysPostConflict with default headers values

func (*PcloudTenantsSshkeysPostConflict) Error

type PcloudTenantsSshkeysPostCreated

type PcloudTenantsSshkeysPostCreated struct {
	Payload *models.SSHKey
}

PcloudTenantsSshkeysPostCreated handles this case with default header values.

Created

func NewPcloudTenantsSshkeysPostCreated

func NewPcloudTenantsSshkeysPostCreated() *PcloudTenantsSshkeysPostCreated

NewPcloudTenantsSshkeysPostCreated creates a PcloudTenantsSshkeysPostCreated with default headers values

func (*PcloudTenantsSshkeysPostCreated) Error

type PcloudTenantsSshkeysPostInternalServerError

type PcloudTenantsSshkeysPostInternalServerError struct {
	Payload *models.Error
}

PcloudTenantsSshkeysPostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudTenantsSshkeysPostInternalServerError

func NewPcloudTenantsSshkeysPostInternalServerError() *PcloudTenantsSshkeysPostInternalServerError

NewPcloudTenantsSshkeysPostInternalServerError creates a PcloudTenantsSshkeysPostInternalServerError with default headers values

func (*PcloudTenantsSshkeysPostInternalServerError) Error

type PcloudTenantsSshkeysPostOK

type PcloudTenantsSshkeysPostOK struct {
	Payload *models.SSHKey
}

PcloudTenantsSshkeysPostOK handles this case with default header values.

OK

func NewPcloudTenantsSshkeysPostOK

func NewPcloudTenantsSshkeysPostOK() *PcloudTenantsSshkeysPostOK

NewPcloudTenantsSshkeysPostOK creates a PcloudTenantsSshkeysPostOK with default headers values

func (*PcloudTenantsSshkeysPostOK) Error

type PcloudTenantsSshkeysPostParams

type PcloudTenantsSshkeysPostParams struct {

	/*Body
	  Parameters for the creation of a new SSH key

	*/
	Body *models.SSHKey
	/*TenantID
	  Tenant ID of a pcloud tenant

	*/
	TenantID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudTenantsSshkeysPostParams contains all the parameters to send to the API endpoint for the pcloud tenants sshkeys post operation typically these are written to a http.Request

func NewPcloudTenantsSshkeysPostParams

func NewPcloudTenantsSshkeysPostParams() *PcloudTenantsSshkeysPostParams

NewPcloudTenantsSshkeysPostParams creates a new PcloudTenantsSshkeysPostParams object with the default values initialized.

func NewPcloudTenantsSshkeysPostParamsWithContext

func NewPcloudTenantsSshkeysPostParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysPostParams

NewPcloudTenantsSshkeysPostParamsWithContext creates a new PcloudTenantsSshkeysPostParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudTenantsSshkeysPostParamsWithHTTPClient

func NewPcloudTenantsSshkeysPostParamsWithHTTPClient(client *http.Client) *PcloudTenantsSshkeysPostParams

NewPcloudTenantsSshkeysPostParamsWithHTTPClient creates a new PcloudTenantsSshkeysPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudTenantsSshkeysPostParamsWithTimeout

func NewPcloudTenantsSshkeysPostParamsWithTimeout(timeout time.Duration) *PcloudTenantsSshkeysPostParams

NewPcloudTenantsSshkeysPostParamsWithTimeout creates a new PcloudTenantsSshkeysPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudTenantsSshkeysPostParams) SetBody

func (o *PcloudTenantsSshkeysPostParams) SetBody(body *models.SSHKey)

SetBody adds the body to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) SetContext

func (o *PcloudTenantsSshkeysPostParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) SetHTTPClient

func (o *PcloudTenantsSshkeysPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) SetTenantID

func (o *PcloudTenantsSshkeysPostParams) SetTenantID(tenantID string)

SetTenantID adds the tenantId to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) SetTimeout

func (o *PcloudTenantsSshkeysPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) WithBody

WithBody adds the body to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) WithContext

WithContext adds the context to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) WithTenantID

WithTenantID adds the tenantID to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud tenants sshkeys post params

func (*PcloudTenantsSshkeysPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudTenantsSshkeysPostReader

type PcloudTenantsSshkeysPostReader struct {
	// contains filtered or unexported fields
}

PcloudTenantsSshkeysPostReader is a Reader for the PcloudTenantsSshkeysPost structure.

func (*PcloudTenantsSshkeysPostReader) ReadResponse

func (o *PcloudTenantsSshkeysPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudTenantsSshkeysPostUnprocessableEntity

type PcloudTenantsSshkeysPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudTenantsSshkeysPostUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudTenantsSshkeysPostUnprocessableEntity

func NewPcloudTenantsSshkeysPostUnprocessableEntity() *PcloudTenantsSshkeysPostUnprocessableEntity

NewPcloudTenantsSshkeysPostUnprocessableEntity creates a PcloudTenantsSshkeysPostUnprocessableEntity with default headers values

func (*PcloudTenantsSshkeysPostUnprocessableEntity) Error

type PcloudTenantsSshkeysPutBadRequest

type PcloudTenantsSshkeysPutBadRequest struct {
	Payload *models.Error
}

PcloudTenantsSshkeysPutBadRequest handles this case with default header values.

Bad Request

func NewPcloudTenantsSshkeysPutBadRequest

func NewPcloudTenantsSshkeysPutBadRequest() *PcloudTenantsSshkeysPutBadRequest

NewPcloudTenantsSshkeysPutBadRequest creates a PcloudTenantsSshkeysPutBadRequest with default headers values

func (*PcloudTenantsSshkeysPutBadRequest) Error

type PcloudTenantsSshkeysPutInternalServerError

type PcloudTenantsSshkeysPutInternalServerError struct {
	Payload *models.Error
}

PcloudTenantsSshkeysPutInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudTenantsSshkeysPutInternalServerError

func NewPcloudTenantsSshkeysPutInternalServerError() *PcloudTenantsSshkeysPutInternalServerError

NewPcloudTenantsSshkeysPutInternalServerError creates a PcloudTenantsSshkeysPutInternalServerError with default headers values

func (*PcloudTenantsSshkeysPutInternalServerError) Error

type PcloudTenantsSshkeysPutOK

type PcloudTenantsSshkeysPutOK struct {
	Payload *models.SSHKey
}

PcloudTenantsSshkeysPutOK handles this case with default header values.

OK

func NewPcloudTenantsSshkeysPutOK

func NewPcloudTenantsSshkeysPutOK() *PcloudTenantsSshkeysPutOK

NewPcloudTenantsSshkeysPutOK creates a PcloudTenantsSshkeysPutOK with default headers values

func (*PcloudTenantsSshkeysPutOK) Error

func (o *PcloudTenantsSshkeysPutOK) Error() string

type PcloudTenantsSshkeysPutParams

type PcloudTenantsSshkeysPutParams struct {

	/*Body
	  Parameters for updating a Tenant's SSH Key

	*/
	Body *models.SSHKey
	/*SshkeyName
	  SSH key name for a pcloud tenant

	*/
	SshkeyName string
	/*TenantID
	  Tenant ID of a pcloud tenant

	*/
	TenantID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudTenantsSshkeysPutParams contains all the parameters to send to the API endpoint for the pcloud tenants sshkeys put operation typically these are written to a http.Request

func NewPcloudTenantsSshkeysPutParams

func NewPcloudTenantsSshkeysPutParams() *PcloudTenantsSshkeysPutParams

NewPcloudTenantsSshkeysPutParams creates a new PcloudTenantsSshkeysPutParams object with the default values initialized.

func NewPcloudTenantsSshkeysPutParamsWithContext

func NewPcloudTenantsSshkeysPutParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysPutParams

NewPcloudTenantsSshkeysPutParamsWithContext creates a new PcloudTenantsSshkeysPutParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudTenantsSshkeysPutParamsWithHTTPClient

func NewPcloudTenantsSshkeysPutParamsWithHTTPClient(client *http.Client) *PcloudTenantsSshkeysPutParams

NewPcloudTenantsSshkeysPutParamsWithHTTPClient creates a new PcloudTenantsSshkeysPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudTenantsSshkeysPutParamsWithTimeout

func NewPcloudTenantsSshkeysPutParamsWithTimeout(timeout time.Duration) *PcloudTenantsSshkeysPutParams

NewPcloudTenantsSshkeysPutParamsWithTimeout creates a new PcloudTenantsSshkeysPutParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudTenantsSshkeysPutParams) SetBody

func (o *PcloudTenantsSshkeysPutParams) SetBody(body *models.SSHKey)

SetBody adds the body to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) SetContext

func (o *PcloudTenantsSshkeysPutParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) SetHTTPClient

func (o *PcloudTenantsSshkeysPutParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) SetSshkeyName

func (o *PcloudTenantsSshkeysPutParams) SetSshkeyName(sshkeyName string)

SetSshkeyName adds the sshkeyName to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) SetTenantID

func (o *PcloudTenantsSshkeysPutParams) SetTenantID(tenantID string)

SetTenantID adds the tenantId to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) SetTimeout

func (o *PcloudTenantsSshkeysPutParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) WithBody

WithBody adds the body to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) WithContext

WithContext adds the context to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) WithSshkeyName

WithSshkeyName adds the sshkeyName to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) WithTenantID

WithTenantID adds the tenantID to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) WithTimeout

WithTimeout adds the timeout to the pcloud tenants sshkeys put params

func (*PcloudTenantsSshkeysPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudTenantsSshkeysPutReader

type PcloudTenantsSshkeysPutReader struct {
	// contains filtered or unexported fields
}

PcloudTenantsSshkeysPutReader is a Reader for the PcloudTenantsSshkeysPut structure.

func (*PcloudTenantsSshkeysPutReader) ReadResponse

func (o *PcloudTenantsSshkeysPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudTenantsSshkeysPutUnprocessableEntity

type PcloudTenantsSshkeysPutUnprocessableEntity struct {
	Payload *models.Error
}

PcloudTenantsSshkeysPutUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudTenantsSshkeysPutUnprocessableEntity

func NewPcloudTenantsSshkeysPutUnprocessableEntity() *PcloudTenantsSshkeysPutUnprocessableEntity

NewPcloudTenantsSshkeysPutUnprocessableEntity creates a PcloudTenantsSshkeysPutUnprocessableEntity with default headers values

func (*PcloudTenantsSshkeysPutUnprocessableEntity) Error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL