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 ClientOption
- type ClientService
- 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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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 (*Client) PcloudTenantsSshkeysDelete ¶
func (a *Client) PcloudTenantsSshkeysDelete(params *PcloudTenantsSshkeysDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsSshkeysDeleteOK, error)
PcloudTenantsSshkeysDelete deletes a tenant s SSH key
func (*Client) PcloudTenantsSshkeysGet ¶
func (a *Client) PcloudTenantsSshkeysGet(params *PcloudTenantsSshkeysGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsSshkeysGetOK, error)
PcloudTenantsSshkeysGet gets a tenant s SSH key by name
func (*Client) PcloudTenantsSshkeysGetall ¶
func (a *Client) PcloudTenantsSshkeysGetall(params *PcloudTenantsSshkeysGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsSshkeysGetallOK, error)
PcloudTenantsSshkeysGetall lists a tenant s SSH keys
func (*Client) PcloudTenantsSshkeysPost ¶
func (a *Client) PcloudTenantsSshkeysPost(params *PcloudTenantsSshkeysPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsSshkeysPostOK, *PcloudTenantsSshkeysPostCreated, error)
PcloudTenantsSshkeysPost adds a new SSH key to the tenant
func (*Client) PcloudTenantsSshkeysPut ¶
func (a *Client) PcloudTenantsSshkeysPut(params *PcloudTenantsSshkeysPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 ClientOption ¶ added in v1.1.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v1.1.0
type ClientService interface { PcloudTenantsSshkeysDelete(params *PcloudTenantsSshkeysDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsSshkeysDeleteOK, error) PcloudTenantsSshkeysGet(params *PcloudTenantsSshkeysGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsSshkeysGetOK, error) PcloudTenantsSshkeysGetall(params *PcloudTenantsSshkeysGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsSshkeysGetallOK, error) PcloudTenantsSshkeysPost(params *PcloudTenantsSshkeysPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsSshkeysPostOK, *PcloudTenantsSshkeysPostCreated, error) PcloudTenantsSshkeysPut(params *PcloudTenantsSshkeysPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsSshkeysPutOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new p cloud tenants ssh keys API client.
type PcloudTenantsSshkeysDeleteBadRequest ¶
PcloudTenantsSshkeysDeleteBadRequest describes a response with status code 400, 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
func (*PcloudTenantsSshkeysDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysDeleteBadRequest) GetPayload() *models.Error
type PcloudTenantsSshkeysDeleteGone ¶
PcloudTenantsSshkeysDeleteGone describes a response with status code 410, 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
func (*PcloudTenantsSshkeysDeleteGone) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysDeleteGone) GetPayload() *models.Error
type PcloudTenantsSshkeysDeleteInternalServerError ¶
PcloudTenantsSshkeysDeleteInternalServerError describes a response with status code 500, 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
func (*PcloudTenantsSshkeysDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysDeleteInternalServerError) GetPayload() *models.Error
type PcloudTenantsSshkeysDeleteOK ¶
PcloudTenantsSshkeysDeleteOK describes a response with status code 200, 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
func (*PcloudTenantsSshkeysDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysDeleteOK) GetPayload() models.Object
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudTenantsSshkeysDeleteParamsWithContext ¶
func NewPcloudTenantsSshkeysDeleteParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysDeleteParams
NewPcloudTenantsSshkeysDeleteParamsWithContext creates a new PcloudTenantsSshkeysDeleteParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud tenants sshkeys delete params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysDeleteParams) WithDefaults() *PcloudTenantsSshkeysDeleteParams
WithDefaults hydrates default values in the pcloud tenants sshkeys delete params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 401, 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
func (*PcloudTenantsSshkeysDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysDeleteUnauthorized) GetPayload() *models.Error
type PcloudTenantsSshkeysGetBadRequest ¶
PcloudTenantsSshkeysGetBadRequest describes a response with status code 400, 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
func (*PcloudTenantsSshkeysGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetBadRequest) GetPayload() *models.Error
type PcloudTenantsSshkeysGetInternalServerError ¶
PcloudTenantsSshkeysGetInternalServerError describes a response with status code 500, 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
func (*PcloudTenantsSshkeysGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetInternalServerError) GetPayload() *models.Error
type PcloudTenantsSshkeysGetNotFound ¶
PcloudTenantsSshkeysGetNotFound describes a response with status code 404, 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
func (*PcloudTenantsSshkeysGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetNotFound) GetPayload() *models.Error
type PcloudTenantsSshkeysGetOK ¶
PcloudTenantsSshkeysGetOK describes a response with status code 200, 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
func (*PcloudTenantsSshkeysGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetOK) GetPayload() *models.SSHKey
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudTenantsSshkeysGetParamsWithContext ¶
func NewPcloudTenantsSshkeysGetParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysGetParams
NewPcloudTenantsSshkeysGetParamsWithContext creates a new PcloudTenantsSshkeysGetParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud tenants sshkeys get params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetParams) WithDefaults() *PcloudTenantsSshkeysGetParams
WithDefaults hydrates default values in the pcloud tenants sshkeys get params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 401, 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
func (*PcloudTenantsSshkeysGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetUnauthorized) GetPayload() *models.Error
type PcloudTenantsSshkeysGetallBadRequest ¶
PcloudTenantsSshkeysGetallBadRequest describes a response with status code 400, 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
func (*PcloudTenantsSshkeysGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetallBadRequest) GetPayload() *models.Error
type PcloudTenantsSshkeysGetallInternalServerError ¶
PcloudTenantsSshkeysGetallInternalServerError describes a response with status code 500, 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
func (*PcloudTenantsSshkeysGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetallInternalServerError) GetPayload() *models.Error
type PcloudTenantsSshkeysGetallNotFound ¶
PcloudTenantsSshkeysGetallNotFound describes a response with status code 404, 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
func (*PcloudTenantsSshkeysGetallNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetallNotFound) GetPayload() *models.Error
type PcloudTenantsSshkeysGetallOK ¶
PcloudTenantsSshkeysGetallOK describes a response with status code 200, 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
func (*PcloudTenantsSshkeysGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetallOK) GetPayload() *models.SSHKeys
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudTenantsSshkeysGetallParamsWithContext ¶
func NewPcloudTenantsSshkeysGetallParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysGetallParams
NewPcloudTenantsSshkeysGetallParamsWithContext creates a new PcloudTenantsSshkeysGetallParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud tenants sshkeys getall params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetallParams) WithDefaults() *PcloudTenantsSshkeysGetallParams
WithDefaults hydrates default values in the pcloud tenants sshkeys getall params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 401, 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
func (*PcloudTenantsSshkeysGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetallUnauthorized) GetPayload() *models.Error
type PcloudTenantsSshkeysPostBadRequest ¶
PcloudTenantsSshkeysPostBadRequest describes a response with status code 400, 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
func (*PcloudTenantsSshkeysPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPostBadRequest) GetPayload() *models.Error
type PcloudTenantsSshkeysPostConflict ¶
PcloudTenantsSshkeysPostConflict describes a response with status code 409, 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
func (*PcloudTenantsSshkeysPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPostConflict) GetPayload() *models.Error
type PcloudTenantsSshkeysPostCreated ¶
PcloudTenantsSshkeysPostCreated describes a response with status code 201, 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
func (*PcloudTenantsSshkeysPostCreated) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPostCreated) GetPayload() *models.SSHKey
type PcloudTenantsSshkeysPostInternalServerError ¶
PcloudTenantsSshkeysPostInternalServerError describes a response with status code 500, 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
func (*PcloudTenantsSshkeysPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPostInternalServerError) GetPayload() *models.Error
type PcloudTenantsSshkeysPostOK ¶
PcloudTenantsSshkeysPostOK describes a response with status code 200, 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
func (*PcloudTenantsSshkeysPostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPostOK) GetPayload() *models.SSHKey
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudTenantsSshkeysPostParamsWithContext ¶
func NewPcloudTenantsSshkeysPostParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysPostParams
NewPcloudTenantsSshkeysPostParamsWithContext creates a new PcloudTenantsSshkeysPostParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud tenants sshkeys post params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPostParams) WithDefaults() *PcloudTenantsSshkeysPostParams
WithDefaults hydrates default values in the pcloud tenants sshkeys post params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 401, 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
func (*PcloudTenantsSshkeysPostUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPostUnauthorized) GetPayload() *models.Error
type PcloudTenantsSshkeysPostUnprocessableEntity ¶
PcloudTenantsSshkeysPostUnprocessableEntity describes a response with status code 422, 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
func (*PcloudTenantsSshkeysPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPostUnprocessableEntity) GetPayload() *models.Error
type PcloudTenantsSshkeysPutBadRequest ¶
PcloudTenantsSshkeysPutBadRequest describes a response with status code 400, 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
func (*PcloudTenantsSshkeysPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPutBadRequest) GetPayload() *models.Error
type PcloudTenantsSshkeysPutInternalServerError ¶
PcloudTenantsSshkeysPutInternalServerError describes a response with status code 500, 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
func (*PcloudTenantsSshkeysPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPutInternalServerError) GetPayload() *models.Error
type PcloudTenantsSshkeysPutOK ¶
PcloudTenantsSshkeysPutOK describes a response with status code 200, 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
func (*PcloudTenantsSshkeysPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPutOK) GetPayload() *models.SSHKey
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPcloudTenantsSshkeysPutParamsWithContext ¶
func NewPcloudTenantsSshkeysPutParamsWithContext(ctx context.Context) *PcloudTenantsSshkeysPutParams
NewPcloudTenantsSshkeysPutParamsWithContext creates a new PcloudTenantsSshkeysPutParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPutParams) SetDefaults()
SetDefaults hydrates default values in the pcloud tenants sshkeys put params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPutParams) WithDefaults() *PcloudTenantsSshkeysPutParams
WithDefaults hydrates default values in the pcloud tenants sshkeys put params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 401, 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
func (*PcloudTenantsSshkeysPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPutUnauthorized) GetPayload() *models.Error
type PcloudTenantsSshkeysPutUnprocessableEntity ¶
PcloudTenantsSshkeysPutUnprocessableEntity describes a response with status code 422, 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
func (*PcloudTenantsSshkeysPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPutUnprocessableEntity) GetPayload() *models.Error
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