Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudTenantsSshkeysDelete(params *PcloudTenantsSshkeysDeleteParams, ...) (*PcloudTenantsSshkeysDeleteOK, error)
- func (a *Client) PcloudTenantsSshkeysGet(params *PcloudTenantsSshkeysGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudTenantsSshkeysGetOK, error)
- func (a *Client) PcloudTenantsSshkeysGetall(params *PcloudTenantsSshkeysGetallParams, ...) (*PcloudTenantsSshkeysGetallOK, error)
- func (a *Client) PcloudTenantsSshkeysPost(params *PcloudTenantsSshkeysPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudTenantsSshkeysPostOK, *PcloudTenantsSshkeysPostCreated, error)
- func (a *Client) PcloudTenantsSshkeysPut(params *PcloudTenantsSshkeysPutParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudTenantsSshkeysPutOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type PcloudTenantsSshkeysDeleteBadRequest
- type PcloudTenantsSshkeysDeleteGone
- type PcloudTenantsSshkeysDeleteInternalServerError
- type PcloudTenantsSshkeysDeleteOK
- type PcloudTenantsSshkeysDeleteParams
- func NewPcloudTenantsSshkeysDeleteParams() *PcloudTenantsSshkeysDeleteParams
- func NewPcloudTenantsSshkeysDeleteParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysDeleteParams
- func NewPcloudTenantsSshkeysDeleteParamsWithHTTPClient(client *http.Client) *PcloudTenantsSshkeysDeleteParams
- func NewPcloudTenantsSshkeysDeleteParamsWithTimeout(timeout time.Duration) *PcloudTenantsSshkeysDeleteParams
- func (o *PcloudTenantsSshkeysDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudTenantsSshkeysDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudTenantsSshkeysDeleteParams) SetSshkeyName(sshkeyName string)
- func (o *PcloudTenantsSshkeysDeleteParams) SetTenantID(tenantID string)
- func (o *PcloudTenantsSshkeysDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudTenantsSshkeysDeleteParams) WithContext(ctx context.Context) *PcloudTenantsSshkeysDeleteParams
- func (o *PcloudTenantsSshkeysDeleteParams) WithHTTPClient(client *http.Client) *PcloudTenantsSshkeysDeleteParams
- func (o *PcloudTenantsSshkeysDeleteParams) WithSshkeyName(sshkeyName string) *PcloudTenantsSshkeysDeleteParams
- func (o *PcloudTenantsSshkeysDeleteParams) WithTenantID(tenantID string) *PcloudTenantsSshkeysDeleteParams
- func (o *PcloudTenantsSshkeysDeleteParams) WithTimeout(timeout time.Duration) *PcloudTenantsSshkeysDeleteParams
- func (o *PcloudTenantsSshkeysDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudTenantsSshkeysDeleteReader
- type PcloudTenantsSshkeysDeleteUnauthorized
- type PcloudTenantsSshkeysGetBadRequest
- type PcloudTenantsSshkeysGetInternalServerError
- type PcloudTenantsSshkeysGetNotFound
- type PcloudTenantsSshkeysGetOK
- type PcloudTenantsSshkeysGetParams
- func NewPcloudTenantsSshkeysGetParams() *PcloudTenantsSshkeysGetParams
- func NewPcloudTenantsSshkeysGetParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysGetParams
- func NewPcloudTenantsSshkeysGetParamsWithHTTPClient(client *http.Client) *PcloudTenantsSshkeysGetParams
- func NewPcloudTenantsSshkeysGetParamsWithTimeout(timeout time.Duration) *PcloudTenantsSshkeysGetParams
- func (o *PcloudTenantsSshkeysGetParams) SetContext(ctx context.Context)
- func (o *PcloudTenantsSshkeysGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudTenantsSshkeysGetParams) SetSshkeyName(sshkeyName string)
- func (o *PcloudTenantsSshkeysGetParams) SetTenantID(tenantID string)
- func (o *PcloudTenantsSshkeysGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudTenantsSshkeysGetParams) WithContext(ctx context.Context) *PcloudTenantsSshkeysGetParams
- func (o *PcloudTenantsSshkeysGetParams) WithHTTPClient(client *http.Client) *PcloudTenantsSshkeysGetParams
- func (o *PcloudTenantsSshkeysGetParams) WithSshkeyName(sshkeyName string) *PcloudTenantsSshkeysGetParams
- func (o *PcloudTenantsSshkeysGetParams) WithTenantID(tenantID string) *PcloudTenantsSshkeysGetParams
- func (o *PcloudTenantsSshkeysGetParams) WithTimeout(timeout time.Duration) *PcloudTenantsSshkeysGetParams
- func (o *PcloudTenantsSshkeysGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudTenantsSshkeysGetReader
- type PcloudTenantsSshkeysGetUnauthorized
- type PcloudTenantsSshkeysGetallBadRequest
- type PcloudTenantsSshkeysGetallInternalServerError
- type PcloudTenantsSshkeysGetallNotFound
- type PcloudTenantsSshkeysGetallOK
- type PcloudTenantsSshkeysGetallParams
- func NewPcloudTenantsSshkeysGetallParams() *PcloudTenantsSshkeysGetallParams
- func NewPcloudTenantsSshkeysGetallParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysGetallParams
- func NewPcloudTenantsSshkeysGetallParamsWithHTTPClient(client *http.Client) *PcloudTenantsSshkeysGetallParams
- func NewPcloudTenantsSshkeysGetallParamsWithTimeout(timeout time.Duration) *PcloudTenantsSshkeysGetallParams
- func (o *PcloudTenantsSshkeysGetallParams) SetContext(ctx context.Context)
- func (o *PcloudTenantsSshkeysGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudTenantsSshkeysGetallParams) SetTenantID(tenantID string)
- func (o *PcloudTenantsSshkeysGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudTenantsSshkeysGetallParams) WithContext(ctx context.Context) *PcloudTenantsSshkeysGetallParams
- func (o *PcloudTenantsSshkeysGetallParams) WithHTTPClient(client *http.Client) *PcloudTenantsSshkeysGetallParams
- func (o *PcloudTenantsSshkeysGetallParams) WithTenantID(tenantID string) *PcloudTenantsSshkeysGetallParams
- func (o *PcloudTenantsSshkeysGetallParams) WithTimeout(timeout time.Duration) *PcloudTenantsSshkeysGetallParams
- func (o *PcloudTenantsSshkeysGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudTenantsSshkeysGetallReader
- type PcloudTenantsSshkeysGetallUnauthorized
- type PcloudTenantsSshkeysPostBadRequest
- type PcloudTenantsSshkeysPostConflict
- type PcloudTenantsSshkeysPostCreated
- type PcloudTenantsSshkeysPostInternalServerError
- type PcloudTenantsSshkeysPostOK
- type PcloudTenantsSshkeysPostParams
- func NewPcloudTenantsSshkeysPostParams() *PcloudTenantsSshkeysPostParams
- func NewPcloudTenantsSshkeysPostParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysPostParams
- func NewPcloudTenantsSshkeysPostParamsWithHTTPClient(client *http.Client) *PcloudTenantsSshkeysPostParams
- func NewPcloudTenantsSshkeysPostParamsWithTimeout(timeout time.Duration) *PcloudTenantsSshkeysPostParams
- func (o *PcloudTenantsSshkeysPostParams) SetBody(body *models.SSHKey)
- func (o *PcloudTenantsSshkeysPostParams) SetContext(ctx context.Context)
- func (o *PcloudTenantsSshkeysPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudTenantsSshkeysPostParams) SetTenantID(tenantID string)
- func (o *PcloudTenantsSshkeysPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudTenantsSshkeysPostParams) WithBody(body *models.SSHKey) *PcloudTenantsSshkeysPostParams
- func (o *PcloudTenantsSshkeysPostParams) WithContext(ctx context.Context) *PcloudTenantsSshkeysPostParams
- func (o *PcloudTenantsSshkeysPostParams) WithHTTPClient(client *http.Client) *PcloudTenantsSshkeysPostParams
- func (o *PcloudTenantsSshkeysPostParams) WithTenantID(tenantID string) *PcloudTenantsSshkeysPostParams
- func (o *PcloudTenantsSshkeysPostParams) WithTimeout(timeout time.Duration) *PcloudTenantsSshkeysPostParams
- func (o *PcloudTenantsSshkeysPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudTenantsSshkeysPostReader
- type PcloudTenantsSshkeysPostUnauthorized
- type PcloudTenantsSshkeysPostUnprocessableEntity
- type PcloudTenantsSshkeysPutBadRequest
- type PcloudTenantsSshkeysPutInternalServerError
- type PcloudTenantsSshkeysPutOK
- type PcloudTenantsSshkeysPutParams
- func NewPcloudTenantsSshkeysPutParams() *PcloudTenantsSshkeysPutParams
- func NewPcloudTenantsSshkeysPutParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysPutParams
- func NewPcloudTenantsSshkeysPutParamsWithHTTPClient(client *http.Client) *PcloudTenantsSshkeysPutParams
- func NewPcloudTenantsSshkeysPutParamsWithTimeout(timeout time.Duration) *PcloudTenantsSshkeysPutParams
- func (o *PcloudTenantsSshkeysPutParams) SetBody(body *models.SSHKey)
- func (o *PcloudTenantsSshkeysPutParams) SetContext(ctx context.Context)
- func (o *PcloudTenantsSshkeysPutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudTenantsSshkeysPutParams) SetSshkeyName(sshkeyName string)
- func (o *PcloudTenantsSshkeysPutParams) SetTenantID(tenantID string)
- func (o *PcloudTenantsSshkeysPutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudTenantsSshkeysPutParams) WithBody(body *models.SSHKey) *PcloudTenantsSshkeysPutParams
- func (o *PcloudTenantsSshkeysPutParams) WithContext(ctx context.Context) *PcloudTenantsSshkeysPutParams
- func (o *PcloudTenantsSshkeysPutParams) WithHTTPClient(client *http.Client) *PcloudTenantsSshkeysPutParams
- func (o *PcloudTenantsSshkeysPutParams) WithSshkeyName(sshkeyName string) *PcloudTenantsSshkeysPutParams
- func (o *PcloudTenantsSshkeysPutParams) WithTenantID(tenantID string) *PcloudTenantsSshkeysPutParams
- func (o *PcloudTenantsSshkeysPutParams) WithTimeout(timeout time.Duration) *PcloudTenantsSshkeysPutParams
- func (o *PcloudTenantsSshkeysPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudTenantsSshkeysPutReader
- type PcloudTenantsSshkeysPutUnauthorized
- type PcloudTenantsSshkeysPutUnprocessableEntity
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 ¶
func (a *Client) PcloudTenantsSshkeysPost(params *PcloudTenantsSshkeysPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudTenantsSshkeysPostOK, *PcloudTenantsSshkeysPostCreated, error)
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 ¶
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 ¶
func (o *PcloudTenantsSshkeysDeleteBadRequest) Error() string
type PcloudTenantsSshkeysDeleteGone ¶
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 ¶
func (o *PcloudTenantsSshkeysDeleteGone) Error() string
type PcloudTenantsSshkeysDeleteInternalServerError ¶
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 ¶
func (o *PcloudTenantsSshkeysDeleteInternalServerError) Error() string
type PcloudTenantsSshkeysDeleteOK ¶
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 ¶
func (o *PcloudTenantsSshkeysDeleteOK) Error() string
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 ¶
func (o *PcloudTenantsSshkeysDeleteParams) SetContext(ctx context.Context)
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 ¶
func (o *PcloudTenantsSshkeysDeleteParams) WithContext(ctx context.Context) *PcloudTenantsSshkeysDeleteParams
WithContext adds the context to the pcloud tenants sshkeys delete params
func (*PcloudTenantsSshkeysDeleteParams) WithHTTPClient ¶
func (o *PcloudTenantsSshkeysDeleteParams) WithHTTPClient(client *http.Client) *PcloudTenantsSshkeysDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud tenants sshkeys delete params
func (*PcloudTenantsSshkeysDeleteParams) WithSshkeyName ¶
func (o *PcloudTenantsSshkeysDeleteParams) WithSshkeyName(sshkeyName string) *PcloudTenantsSshkeysDeleteParams
WithSshkeyName adds the sshkeyName to the pcloud tenants sshkeys delete params
func (*PcloudTenantsSshkeysDeleteParams) WithTenantID ¶
func (o *PcloudTenantsSshkeysDeleteParams) WithTenantID(tenantID string) *PcloudTenantsSshkeysDeleteParams
WithTenantID adds the tenantID to the pcloud tenants sshkeys delete params
func (*PcloudTenantsSshkeysDeleteParams) WithTimeout ¶
func (o *PcloudTenantsSshkeysDeleteParams) WithTimeout(timeout time.Duration) *PcloudTenantsSshkeysDeleteParams
WithTimeout adds the timeout to the pcloud tenants sshkeys delete params
func (*PcloudTenantsSshkeysDeleteParams) WriteToRequest ¶
func (o *PcloudTenantsSshkeysDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 PcloudTenantsSshkeysDeleteUnauthorized ¶ added in v1.0.59
type PcloudTenantsSshkeysDeleteUnauthorized struct {
}PcloudTenantsSshkeysDeleteUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudTenantsSshkeysDeleteUnauthorized ¶ added in v1.0.59
func NewPcloudTenantsSshkeysDeleteUnauthorized() *PcloudTenantsSshkeysDeleteUnauthorized
NewPcloudTenantsSshkeysDeleteUnauthorized creates a PcloudTenantsSshkeysDeleteUnauthorized with default headers values
func (*PcloudTenantsSshkeysDeleteUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudTenantsSshkeysDeleteUnauthorized) Error() string
type PcloudTenantsSshkeysGetBadRequest ¶
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 ¶
func (o *PcloudTenantsSshkeysGetBadRequest) Error() string
type PcloudTenantsSshkeysGetInternalServerError ¶
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 ¶
func (o *PcloudTenantsSshkeysGetInternalServerError) Error() string
type PcloudTenantsSshkeysGetNotFound ¶
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 ¶
func (o *PcloudTenantsSshkeysGetNotFound) Error() string
type PcloudTenantsSshkeysGetOK ¶
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 ¶
func (o *PcloudTenantsSshkeysGetParams) WithContext(ctx context.Context) *PcloudTenantsSshkeysGetParams
WithContext adds the context to the pcloud tenants sshkeys get params
func (*PcloudTenantsSshkeysGetParams) WithHTTPClient ¶
func (o *PcloudTenantsSshkeysGetParams) WithHTTPClient(client *http.Client) *PcloudTenantsSshkeysGetParams
WithHTTPClient adds the HTTPClient to the pcloud tenants sshkeys get params
func (*PcloudTenantsSshkeysGetParams) WithSshkeyName ¶
func (o *PcloudTenantsSshkeysGetParams) WithSshkeyName(sshkeyName string) *PcloudTenantsSshkeysGetParams
WithSshkeyName adds the sshkeyName to the pcloud tenants sshkeys get params
func (*PcloudTenantsSshkeysGetParams) WithTenantID ¶
func (o *PcloudTenantsSshkeysGetParams) WithTenantID(tenantID string) *PcloudTenantsSshkeysGetParams
WithTenantID adds the tenantID to the pcloud tenants sshkeys get params
func (*PcloudTenantsSshkeysGetParams) WithTimeout ¶
func (o *PcloudTenantsSshkeysGetParams) WithTimeout(timeout time.Duration) *PcloudTenantsSshkeysGetParams
WithTimeout adds the timeout to the pcloud tenants sshkeys get params
func (*PcloudTenantsSshkeysGetParams) WriteToRequest ¶
func (o *PcloudTenantsSshkeysGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 PcloudTenantsSshkeysGetUnauthorized ¶ added in v1.0.59
type PcloudTenantsSshkeysGetUnauthorized struct {
}PcloudTenantsSshkeysGetUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudTenantsSshkeysGetUnauthorized ¶ added in v1.0.59
func NewPcloudTenantsSshkeysGetUnauthorized() *PcloudTenantsSshkeysGetUnauthorized
NewPcloudTenantsSshkeysGetUnauthorized creates a PcloudTenantsSshkeysGetUnauthorized with default headers values
func (*PcloudTenantsSshkeysGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudTenantsSshkeysGetUnauthorized) Error() string
type PcloudTenantsSshkeysGetallBadRequest ¶
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 ¶
func (o *PcloudTenantsSshkeysGetallBadRequest) Error() string
type PcloudTenantsSshkeysGetallInternalServerError ¶
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 ¶
func (o *PcloudTenantsSshkeysGetallInternalServerError) Error() string
type PcloudTenantsSshkeysGetallNotFound ¶
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 ¶
func (o *PcloudTenantsSshkeysGetallNotFound) Error() string
type PcloudTenantsSshkeysGetallOK ¶
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 ¶
func (o *PcloudTenantsSshkeysGetallOK) Error() string
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 ¶
func (o *PcloudTenantsSshkeysGetallParams) SetContext(ctx context.Context)
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 ¶
func (o *PcloudTenantsSshkeysGetallParams) WithContext(ctx context.Context) *PcloudTenantsSshkeysGetallParams
WithContext adds the context to the pcloud tenants sshkeys getall params
func (*PcloudTenantsSshkeysGetallParams) WithHTTPClient ¶
func (o *PcloudTenantsSshkeysGetallParams) WithHTTPClient(client *http.Client) *PcloudTenantsSshkeysGetallParams
WithHTTPClient adds the HTTPClient to the pcloud tenants sshkeys getall params
func (*PcloudTenantsSshkeysGetallParams) WithTenantID ¶
func (o *PcloudTenantsSshkeysGetallParams) WithTenantID(tenantID string) *PcloudTenantsSshkeysGetallParams
WithTenantID adds the tenantID to the pcloud tenants sshkeys getall params
func (*PcloudTenantsSshkeysGetallParams) WithTimeout ¶
func (o *PcloudTenantsSshkeysGetallParams) WithTimeout(timeout time.Duration) *PcloudTenantsSshkeysGetallParams
WithTimeout adds the timeout to the pcloud tenants sshkeys getall params
func (*PcloudTenantsSshkeysGetallParams) WriteToRequest ¶
func (o *PcloudTenantsSshkeysGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 PcloudTenantsSshkeysGetallUnauthorized ¶ added in v1.0.59
type PcloudTenantsSshkeysGetallUnauthorized struct {
}PcloudTenantsSshkeysGetallUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudTenantsSshkeysGetallUnauthorized ¶ added in v1.0.59
func NewPcloudTenantsSshkeysGetallUnauthorized() *PcloudTenantsSshkeysGetallUnauthorized
NewPcloudTenantsSshkeysGetallUnauthorized creates a PcloudTenantsSshkeysGetallUnauthorized with default headers values
func (*PcloudTenantsSshkeysGetallUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudTenantsSshkeysGetallUnauthorized) Error() string
type PcloudTenantsSshkeysPostBadRequest ¶
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 ¶
func (o *PcloudTenantsSshkeysPostBadRequest) Error() string
type PcloudTenantsSshkeysPostConflict ¶
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 ¶
func (o *PcloudTenantsSshkeysPostConflict) Error() string
type PcloudTenantsSshkeysPostCreated ¶
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 ¶
func (o *PcloudTenantsSshkeysPostCreated) Error() string
type PcloudTenantsSshkeysPostInternalServerError ¶
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 ¶
func (o *PcloudTenantsSshkeysPostInternalServerError) Error() string
type PcloudTenantsSshkeysPostOK ¶
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 ¶
func (o *PcloudTenantsSshkeysPostOK) Error() string
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 ¶
func (o *PcloudTenantsSshkeysPostParams) WithBody(body *models.SSHKey) *PcloudTenantsSshkeysPostParams
WithBody adds the body to the pcloud tenants sshkeys post params
func (*PcloudTenantsSshkeysPostParams) WithContext ¶
func (o *PcloudTenantsSshkeysPostParams) WithContext(ctx context.Context) *PcloudTenantsSshkeysPostParams
WithContext adds the context to the pcloud tenants sshkeys post params
func (*PcloudTenantsSshkeysPostParams) WithHTTPClient ¶
func (o *PcloudTenantsSshkeysPostParams) WithHTTPClient(client *http.Client) *PcloudTenantsSshkeysPostParams
WithHTTPClient adds the HTTPClient to the pcloud tenants sshkeys post params
func (*PcloudTenantsSshkeysPostParams) WithTenantID ¶
func (o *PcloudTenantsSshkeysPostParams) WithTenantID(tenantID string) *PcloudTenantsSshkeysPostParams
WithTenantID adds the tenantID to the pcloud tenants sshkeys post params
func (*PcloudTenantsSshkeysPostParams) WithTimeout ¶
func (o *PcloudTenantsSshkeysPostParams) WithTimeout(timeout time.Duration) *PcloudTenantsSshkeysPostParams
WithTimeout adds the timeout to the pcloud tenants sshkeys post params
func (*PcloudTenantsSshkeysPostParams) WriteToRequest ¶
func (o *PcloudTenantsSshkeysPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 PcloudTenantsSshkeysPostUnauthorized ¶ added in v1.0.59
type PcloudTenantsSshkeysPostUnauthorized struct {
}PcloudTenantsSshkeysPostUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudTenantsSshkeysPostUnauthorized ¶ added in v1.0.59
func NewPcloudTenantsSshkeysPostUnauthorized() *PcloudTenantsSshkeysPostUnauthorized
NewPcloudTenantsSshkeysPostUnauthorized creates a PcloudTenantsSshkeysPostUnauthorized with default headers values
func (*PcloudTenantsSshkeysPostUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudTenantsSshkeysPostUnauthorized) Error() string
type PcloudTenantsSshkeysPostUnprocessableEntity ¶
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 ¶
func (o *PcloudTenantsSshkeysPostUnprocessableEntity) Error() string
type PcloudTenantsSshkeysPutBadRequest ¶
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 ¶
func (o *PcloudTenantsSshkeysPutBadRequest) Error() string
type PcloudTenantsSshkeysPutInternalServerError ¶
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 ¶
func (o *PcloudTenantsSshkeysPutInternalServerError) Error() string
type PcloudTenantsSshkeysPutOK ¶
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 ¶
func (o *PcloudTenantsSshkeysPutParams) WithBody(body *models.SSHKey) *PcloudTenantsSshkeysPutParams
WithBody adds the body to the pcloud tenants sshkeys put params
func (*PcloudTenantsSshkeysPutParams) WithContext ¶
func (o *PcloudTenantsSshkeysPutParams) WithContext(ctx context.Context) *PcloudTenantsSshkeysPutParams
WithContext adds the context to the pcloud tenants sshkeys put params
func (*PcloudTenantsSshkeysPutParams) WithHTTPClient ¶
func (o *PcloudTenantsSshkeysPutParams) WithHTTPClient(client *http.Client) *PcloudTenantsSshkeysPutParams
WithHTTPClient adds the HTTPClient to the pcloud tenants sshkeys put params
func (*PcloudTenantsSshkeysPutParams) WithSshkeyName ¶
func (o *PcloudTenantsSshkeysPutParams) WithSshkeyName(sshkeyName string) *PcloudTenantsSshkeysPutParams
WithSshkeyName adds the sshkeyName to the pcloud tenants sshkeys put params
func (*PcloudTenantsSshkeysPutParams) WithTenantID ¶
func (o *PcloudTenantsSshkeysPutParams) WithTenantID(tenantID string) *PcloudTenantsSshkeysPutParams
WithTenantID adds the tenantID to the pcloud tenants sshkeys put params
func (*PcloudTenantsSshkeysPutParams) WithTimeout ¶
func (o *PcloudTenantsSshkeysPutParams) WithTimeout(timeout time.Duration) *PcloudTenantsSshkeysPutParams
WithTimeout adds the timeout to the pcloud tenants sshkeys put params
func (*PcloudTenantsSshkeysPutParams) WriteToRequest ¶
func (o *PcloudTenantsSshkeysPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 PcloudTenantsSshkeysPutUnauthorized ¶ added in v1.0.59
type PcloudTenantsSshkeysPutUnauthorized struct {
}PcloudTenantsSshkeysPutUnauthorized handles this case with default header values.
Unauthorized
func NewPcloudTenantsSshkeysPutUnauthorized ¶ added in v1.0.59
func NewPcloudTenantsSshkeysPutUnauthorized() *PcloudTenantsSshkeysPutUnauthorized
NewPcloudTenantsSshkeysPutUnauthorized creates a PcloudTenantsSshkeysPutUnauthorized with default headers values
func (*PcloudTenantsSshkeysPutUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudTenantsSshkeysPutUnauthorized) Error() string
type PcloudTenantsSshkeysPutUnprocessableEntity ¶
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 ¶
func (o *PcloudTenantsSshkeysPutUnprocessableEntity) Error() string
Source Files ¶
- p_cloud_tenants_ssh_keys_client.go
- pcloud_tenants_sshkeys_delete_parameters.go
- pcloud_tenants_sshkeys_delete_responses.go
- pcloud_tenants_sshkeys_get_parameters.go
- pcloud_tenants_sshkeys_get_responses.go
- pcloud_tenants_sshkeys_getall_parameters.go
- pcloud_tenants_sshkeys_getall_responses.go
- pcloud_tenants_sshkeys_post_parameters.go
- pcloud_tenants_sshkeys_post_responses.go
- pcloud_tenants_sshkeys_put_parameters.go
- pcloud_tenants_sshkeys_put_responses.go