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
- func (o *PcloudTenantsSshkeysDeleteBadRequest) Code() int
- func (o *PcloudTenantsSshkeysDeleteBadRequest) Error() string
- func (o *PcloudTenantsSshkeysDeleteBadRequest) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysDeleteBadRequest) IsClientError() bool
- func (o *PcloudTenantsSshkeysDeleteBadRequest) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysDeleteBadRequest) IsRedirect() bool
- func (o *PcloudTenantsSshkeysDeleteBadRequest) IsServerError() bool
- func (o *PcloudTenantsSshkeysDeleteBadRequest) IsSuccess() bool
- func (o *PcloudTenantsSshkeysDeleteBadRequest) String() string
- type PcloudTenantsSshkeysDeleteForbidden
- func (o *PcloudTenantsSshkeysDeleteForbidden) Code() int
- func (o *PcloudTenantsSshkeysDeleteForbidden) Error() string
- func (o *PcloudTenantsSshkeysDeleteForbidden) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysDeleteForbidden) IsClientError() bool
- func (o *PcloudTenantsSshkeysDeleteForbidden) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysDeleteForbidden) IsRedirect() bool
- func (o *PcloudTenantsSshkeysDeleteForbidden) IsServerError() bool
- func (o *PcloudTenantsSshkeysDeleteForbidden) IsSuccess() bool
- func (o *PcloudTenantsSshkeysDeleteForbidden) String() string
- type PcloudTenantsSshkeysDeleteGone
- func (o *PcloudTenantsSshkeysDeleteGone) Code() int
- func (o *PcloudTenantsSshkeysDeleteGone) Error() string
- func (o *PcloudTenantsSshkeysDeleteGone) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysDeleteGone) IsClientError() bool
- func (o *PcloudTenantsSshkeysDeleteGone) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysDeleteGone) IsRedirect() bool
- func (o *PcloudTenantsSshkeysDeleteGone) IsServerError() bool
- func (o *PcloudTenantsSshkeysDeleteGone) IsSuccess() bool
- func (o *PcloudTenantsSshkeysDeleteGone) String() string
- type PcloudTenantsSshkeysDeleteInternalServerError
- func (o *PcloudTenantsSshkeysDeleteInternalServerError) Code() int
- func (o *PcloudTenantsSshkeysDeleteInternalServerError) Error() string
- func (o *PcloudTenantsSshkeysDeleteInternalServerError) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysDeleteInternalServerError) IsClientError() bool
- func (o *PcloudTenantsSshkeysDeleteInternalServerError) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysDeleteInternalServerError) IsRedirect() bool
- func (o *PcloudTenantsSshkeysDeleteInternalServerError) IsServerError() bool
- func (o *PcloudTenantsSshkeysDeleteInternalServerError) IsSuccess() bool
- func (o *PcloudTenantsSshkeysDeleteInternalServerError) String() string
- type PcloudTenantsSshkeysDeleteNotFound
- func (o *PcloudTenantsSshkeysDeleteNotFound) Code() int
- func (o *PcloudTenantsSshkeysDeleteNotFound) Error() string
- func (o *PcloudTenantsSshkeysDeleteNotFound) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysDeleteNotFound) IsClientError() bool
- func (o *PcloudTenantsSshkeysDeleteNotFound) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysDeleteNotFound) IsRedirect() bool
- func (o *PcloudTenantsSshkeysDeleteNotFound) IsServerError() bool
- func (o *PcloudTenantsSshkeysDeleteNotFound) IsSuccess() bool
- func (o *PcloudTenantsSshkeysDeleteNotFound) String() string
- type PcloudTenantsSshkeysDeleteOK
- func (o *PcloudTenantsSshkeysDeleteOK) Code() int
- func (o *PcloudTenantsSshkeysDeleteOK) Error() string
- func (o *PcloudTenantsSshkeysDeleteOK) GetPayload() models.Object
- func (o *PcloudTenantsSshkeysDeleteOK) IsClientError() bool
- func (o *PcloudTenantsSshkeysDeleteOK) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysDeleteOK) IsRedirect() bool
- func (o *PcloudTenantsSshkeysDeleteOK) IsServerError() bool
- func (o *PcloudTenantsSshkeysDeleteOK) IsSuccess() bool
- func (o *PcloudTenantsSshkeysDeleteOK) String() string
- 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
- func (o *PcloudTenantsSshkeysDeleteUnauthorized) Code() int
- func (o *PcloudTenantsSshkeysDeleteUnauthorized) Error() string
- func (o *PcloudTenantsSshkeysDeleteUnauthorized) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysDeleteUnauthorized) IsClientError() bool
- func (o *PcloudTenantsSshkeysDeleteUnauthorized) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysDeleteUnauthorized) IsRedirect() bool
- func (o *PcloudTenantsSshkeysDeleteUnauthorized) IsServerError() bool
- func (o *PcloudTenantsSshkeysDeleteUnauthorized) IsSuccess() bool
- func (o *PcloudTenantsSshkeysDeleteUnauthorized) String() string
- type PcloudTenantsSshkeysGetBadRequest
- func (o *PcloudTenantsSshkeysGetBadRequest) Code() int
- func (o *PcloudTenantsSshkeysGetBadRequest) Error() string
- func (o *PcloudTenantsSshkeysGetBadRequest) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysGetBadRequest) IsClientError() bool
- func (o *PcloudTenantsSshkeysGetBadRequest) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysGetBadRequest) IsRedirect() bool
- func (o *PcloudTenantsSshkeysGetBadRequest) IsServerError() bool
- func (o *PcloudTenantsSshkeysGetBadRequest) IsSuccess() bool
- func (o *PcloudTenantsSshkeysGetBadRequest) String() string
- type PcloudTenantsSshkeysGetForbidden
- func (o *PcloudTenantsSshkeysGetForbidden) Code() int
- func (o *PcloudTenantsSshkeysGetForbidden) Error() string
- func (o *PcloudTenantsSshkeysGetForbidden) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysGetForbidden) IsClientError() bool
- func (o *PcloudTenantsSshkeysGetForbidden) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysGetForbidden) IsRedirect() bool
- func (o *PcloudTenantsSshkeysGetForbidden) IsServerError() bool
- func (o *PcloudTenantsSshkeysGetForbidden) IsSuccess() bool
- func (o *PcloudTenantsSshkeysGetForbidden) String() string
- type PcloudTenantsSshkeysGetInternalServerError
- func (o *PcloudTenantsSshkeysGetInternalServerError) Code() int
- func (o *PcloudTenantsSshkeysGetInternalServerError) Error() string
- func (o *PcloudTenantsSshkeysGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysGetInternalServerError) IsClientError() bool
- func (o *PcloudTenantsSshkeysGetInternalServerError) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysGetInternalServerError) IsRedirect() bool
- func (o *PcloudTenantsSshkeysGetInternalServerError) IsServerError() bool
- func (o *PcloudTenantsSshkeysGetInternalServerError) IsSuccess() bool
- func (o *PcloudTenantsSshkeysGetInternalServerError) String() string
- type PcloudTenantsSshkeysGetNotFound
- func (o *PcloudTenantsSshkeysGetNotFound) Code() int
- func (o *PcloudTenantsSshkeysGetNotFound) Error() string
- func (o *PcloudTenantsSshkeysGetNotFound) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysGetNotFound) IsClientError() bool
- func (o *PcloudTenantsSshkeysGetNotFound) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysGetNotFound) IsRedirect() bool
- func (o *PcloudTenantsSshkeysGetNotFound) IsServerError() bool
- func (o *PcloudTenantsSshkeysGetNotFound) IsSuccess() bool
- func (o *PcloudTenantsSshkeysGetNotFound) String() string
- type PcloudTenantsSshkeysGetOK
- func (o *PcloudTenantsSshkeysGetOK) Code() int
- func (o *PcloudTenantsSshkeysGetOK) Error() string
- func (o *PcloudTenantsSshkeysGetOK) GetPayload() *models.SSHKey
- func (o *PcloudTenantsSshkeysGetOK) IsClientError() bool
- func (o *PcloudTenantsSshkeysGetOK) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysGetOK) IsRedirect() bool
- func (o *PcloudTenantsSshkeysGetOK) IsServerError() bool
- func (o *PcloudTenantsSshkeysGetOK) IsSuccess() bool
- func (o *PcloudTenantsSshkeysGetOK) String() string
- 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
- func (o *PcloudTenantsSshkeysGetUnauthorized) Code() int
- func (o *PcloudTenantsSshkeysGetUnauthorized) Error() string
- func (o *PcloudTenantsSshkeysGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysGetUnauthorized) IsClientError() bool
- func (o *PcloudTenantsSshkeysGetUnauthorized) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysGetUnauthorized) IsRedirect() bool
- func (o *PcloudTenantsSshkeysGetUnauthorized) IsServerError() bool
- func (o *PcloudTenantsSshkeysGetUnauthorized) IsSuccess() bool
- func (o *PcloudTenantsSshkeysGetUnauthorized) String() string
- type PcloudTenantsSshkeysGetallBadRequest
- func (o *PcloudTenantsSshkeysGetallBadRequest) Code() int
- func (o *PcloudTenantsSshkeysGetallBadRequest) Error() string
- func (o *PcloudTenantsSshkeysGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysGetallBadRequest) IsClientError() bool
- func (o *PcloudTenantsSshkeysGetallBadRequest) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysGetallBadRequest) IsRedirect() bool
- func (o *PcloudTenantsSshkeysGetallBadRequest) IsServerError() bool
- func (o *PcloudTenantsSshkeysGetallBadRequest) IsSuccess() bool
- func (o *PcloudTenantsSshkeysGetallBadRequest) String() string
- type PcloudTenantsSshkeysGetallForbidden
- func (o *PcloudTenantsSshkeysGetallForbidden) Code() int
- func (o *PcloudTenantsSshkeysGetallForbidden) Error() string
- func (o *PcloudTenantsSshkeysGetallForbidden) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysGetallForbidden) IsClientError() bool
- func (o *PcloudTenantsSshkeysGetallForbidden) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysGetallForbidden) IsRedirect() bool
- func (o *PcloudTenantsSshkeysGetallForbidden) IsServerError() bool
- func (o *PcloudTenantsSshkeysGetallForbidden) IsSuccess() bool
- func (o *PcloudTenantsSshkeysGetallForbidden) String() string
- type PcloudTenantsSshkeysGetallInternalServerError
- func (o *PcloudTenantsSshkeysGetallInternalServerError) Code() int
- func (o *PcloudTenantsSshkeysGetallInternalServerError) Error() string
- func (o *PcloudTenantsSshkeysGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysGetallInternalServerError) IsClientError() bool
- func (o *PcloudTenantsSshkeysGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysGetallInternalServerError) IsRedirect() bool
- func (o *PcloudTenantsSshkeysGetallInternalServerError) IsServerError() bool
- func (o *PcloudTenantsSshkeysGetallInternalServerError) IsSuccess() bool
- func (o *PcloudTenantsSshkeysGetallInternalServerError) String() string
- type PcloudTenantsSshkeysGetallNotFound
- func (o *PcloudTenantsSshkeysGetallNotFound) Code() int
- func (o *PcloudTenantsSshkeysGetallNotFound) Error() string
- func (o *PcloudTenantsSshkeysGetallNotFound) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysGetallNotFound) IsClientError() bool
- func (o *PcloudTenantsSshkeysGetallNotFound) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysGetallNotFound) IsRedirect() bool
- func (o *PcloudTenantsSshkeysGetallNotFound) IsServerError() bool
- func (o *PcloudTenantsSshkeysGetallNotFound) IsSuccess() bool
- func (o *PcloudTenantsSshkeysGetallNotFound) String() string
- type PcloudTenantsSshkeysGetallOK
- func (o *PcloudTenantsSshkeysGetallOK) Code() int
- func (o *PcloudTenantsSshkeysGetallOK) Error() string
- func (o *PcloudTenantsSshkeysGetallOK) GetPayload() *models.SSHKeys
- func (o *PcloudTenantsSshkeysGetallOK) IsClientError() bool
- func (o *PcloudTenantsSshkeysGetallOK) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysGetallOK) IsRedirect() bool
- func (o *PcloudTenantsSshkeysGetallOK) IsServerError() bool
- func (o *PcloudTenantsSshkeysGetallOK) IsSuccess() bool
- func (o *PcloudTenantsSshkeysGetallOK) String() string
- 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
- func (o *PcloudTenantsSshkeysGetallUnauthorized) Code() int
- func (o *PcloudTenantsSshkeysGetallUnauthorized) Error() string
- func (o *PcloudTenantsSshkeysGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysGetallUnauthorized) IsClientError() bool
- func (o *PcloudTenantsSshkeysGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysGetallUnauthorized) IsRedirect() bool
- func (o *PcloudTenantsSshkeysGetallUnauthorized) IsServerError() bool
- func (o *PcloudTenantsSshkeysGetallUnauthorized) IsSuccess() bool
- func (o *PcloudTenantsSshkeysGetallUnauthorized) String() string
- type PcloudTenantsSshkeysPostBadRequest
- func (o *PcloudTenantsSshkeysPostBadRequest) Code() int
- func (o *PcloudTenantsSshkeysPostBadRequest) Error() string
- func (o *PcloudTenantsSshkeysPostBadRequest) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysPostBadRequest) IsClientError() bool
- func (o *PcloudTenantsSshkeysPostBadRequest) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysPostBadRequest) IsRedirect() bool
- func (o *PcloudTenantsSshkeysPostBadRequest) IsServerError() bool
- func (o *PcloudTenantsSshkeysPostBadRequest) IsSuccess() bool
- func (o *PcloudTenantsSshkeysPostBadRequest) String() string
- type PcloudTenantsSshkeysPostConflict
- func (o *PcloudTenantsSshkeysPostConflict) Code() int
- func (o *PcloudTenantsSshkeysPostConflict) Error() string
- func (o *PcloudTenantsSshkeysPostConflict) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysPostConflict) IsClientError() bool
- func (o *PcloudTenantsSshkeysPostConflict) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysPostConflict) IsRedirect() bool
- func (o *PcloudTenantsSshkeysPostConflict) IsServerError() bool
- func (o *PcloudTenantsSshkeysPostConflict) IsSuccess() bool
- func (o *PcloudTenantsSshkeysPostConflict) String() string
- type PcloudTenantsSshkeysPostCreated
- func (o *PcloudTenantsSshkeysPostCreated) Code() int
- func (o *PcloudTenantsSshkeysPostCreated) Error() string
- func (o *PcloudTenantsSshkeysPostCreated) GetPayload() *models.SSHKey
- func (o *PcloudTenantsSshkeysPostCreated) IsClientError() bool
- func (o *PcloudTenantsSshkeysPostCreated) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysPostCreated) IsRedirect() bool
- func (o *PcloudTenantsSshkeysPostCreated) IsServerError() bool
- func (o *PcloudTenantsSshkeysPostCreated) IsSuccess() bool
- func (o *PcloudTenantsSshkeysPostCreated) String() string
- type PcloudTenantsSshkeysPostForbidden
- func (o *PcloudTenantsSshkeysPostForbidden) Code() int
- func (o *PcloudTenantsSshkeysPostForbidden) Error() string
- func (o *PcloudTenantsSshkeysPostForbidden) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysPostForbidden) IsClientError() bool
- func (o *PcloudTenantsSshkeysPostForbidden) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysPostForbidden) IsRedirect() bool
- func (o *PcloudTenantsSshkeysPostForbidden) IsServerError() bool
- func (o *PcloudTenantsSshkeysPostForbidden) IsSuccess() bool
- func (o *PcloudTenantsSshkeysPostForbidden) String() string
- type PcloudTenantsSshkeysPostInternalServerError
- func (o *PcloudTenantsSshkeysPostInternalServerError) Code() int
- func (o *PcloudTenantsSshkeysPostInternalServerError) Error() string
- func (o *PcloudTenantsSshkeysPostInternalServerError) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysPostInternalServerError) IsClientError() bool
- func (o *PcloudTenantsSshkeysPostInternalServerError) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysPostInternalServerError) IsRedirect() bool
- func (o *PcloudTenantsSshkeysPostInternalServerError) IsServerError() bool
- func (o *PcloudTenantsSshkeysPostInternalServerError) IsSuccess() bool
- func (o *PcloudTenantsSshkeysPostInternalServerError) String() string
- type PcloudTenantsSshkeysPostNotFound
- func (o *PcloudTenantsSshkeysPostNotFound) Code() int
- func (o *PcloudTenantsSshkeysPostNotFound) Error() string
- func (o *PcloudTenantsSshkeysPostNotFound) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysPostNotFound) IsClientError() bool
- func (o *PcloudTenantsSshkeysPostNotFound) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysPostNotFound) IsRedirect() bool
- func (o *PcloudTenantsSshkeysPostNotFound) IsServerError() bool
- func (o *PcloudTenantsSshkeysPostNotFound) IsSuccess() bool
- func (o *PcloudTenantsSshkeysPostNotFound) String() string
- type PcloudTenantsSshkeysPostOK
- func (o *PcloudTenantsSshkeysPostOK) Code() int
- func (o *PcloudTenantsSshkeysPostOK) Error() string
- func (o *PcloudTenantsSshkeysPostOK) GetPayload() *models.SSHKey
- func (o *PcloudTenantsSshkeysPostOK) IsClientError() bool
- func (o *PcloudTenantsSshkeysPostOK) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysPostOK) IsRedirect() bool
- func (o *PcloudTenantsSshkeysPostOK) IsServerError() bool
- func (o *PcloudTenantsSshkeysPostOK) IsSuccess() bool
- func (o *PcloudTenantsSshkeysPostOK) String() string
- 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
- func (o *PcloudTenantsSshkeysPostUnauthorized) Code() int
- func (o *PcloudTenantsSshkeysPostUnauthorized) Error() string
- func (o *PcloudTenantsSshkeysPostUnauthorized) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysPostUnauthorized) IsClientError() bool
- func (o *PcloudTenantsSshkeysPostUnauthorized) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysPostUnauthorized) IsRedirect() bool
- func (o *PcloudTenantsSshkeysPostUnauthorized) IsServerError() bool
- func (o *PcloudTenantsSshkeysPostUnauthorized) IsSuccess() bool
- func (o *PcloudTenantsSshkeysPostUnauthorized) String() string
- type PcloudTenantsSshkeysPostUnprocessableEntity
- func (o *PcloudTenantsSshkeysPostUnprocessableEntity) Code() int
- func (o *PcloudTenantsSshkeysPostUnprocessableEntity) Error() string
- func (o *PcloudTenantsSshkeysPostUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysPostUnprocessableEntity) IsClientError() bool
- func (o *PcloudTenantsSshkeysPostUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysPostUnprocessableEntity) IsRedirect() bool
- func (o *PcloudTenantsSshkeysPostUnprocessableEntity) IsServerError() bool
- func (o *PcloudTenantsSshkeysPostUnprocessableEntity) IsSuccess() bool
- func (o *PcloudTenantsSshkeysPostUnprocessableEntity) String() string
- type PcloudTenantsSshkeysPutBadRequest
- func (o *PcloudTenantsSshkeysPutBadRequest) Code() int
- func (o *PcloudTenantsSshkeysPutBadRequest) Error() string
- func (o *PcloudTenantsSshkeysPutBadRequest) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysPutBadRequest) IsClientError() bool
- func (o *PcloudTenantsSshkeysPutBadRequest) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysPutBadRequest) IsRedirect() bool
- func (o *PcloudTenantsSshkeysPutBadRequest) IsServerError() bool
- func (o *PcloudTenantsSshkeysPutBadRequest) IsSuccess() bool
- func (o *PcloudTenantsSshkeysPutBadRequest) String() string
- type PcloudTenantsSshkeysPutForbidden
- func (o *PcloudTenantsSshkeysPutForbidden) Code() int
- func (o *PcloudTenantsSshkeysPutForbidden) Error() string
- func (o *PcloudTenantsSshkeysPutForbidden) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysPutForbidden) IsClientError() bool
- func (o *PcloudTenantsSshkeysPutForbidden) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysPutForbidden) IsRedirect() bool
- func (o *PcloudTenantsSshkeysPutForbidden) IsServerError() bool
- func (o *PcloudTenantsSshkeysPutForbidden) IsSuccess() bool
- func (o *PcloudTenantsSshkeysPutForbidden) String() string
- type PcloudTenantsSshkeysPutInternalServerError
- func (o *PcloudTenantsSshkeysPutInternalServerError) Code() int
- func (o *PcloudTenantsSshkeysPutInternalServerError) Error() string
- func (o *PcloudTenantsSshkeysPutInternalServerError) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysPutInternalServerError) IsClientError() bool
- func (o *PcloudTenantsSshkeysPutInternalServerError) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysPutInternalServerError) IsRedirect() bool
- func (o *PcloudTenantsSshkeysPutInternalServerError) IsServerError() bool
- func (o *PcloudTenantsSshkeysPutInternalServerError) IsSuccess() bool
- func (o *PcloudTenantsSshkeysPutInternalServerError) String() string
- type PcloudTenantsSshkeysPutNotFound
- func (o *PcloudTenantsSshkeysPutNotFound) Code() int
- func (o *PcloudTenantsSshkeysPutNotFound) Error() string
- func (o *PcloudTenantsSshkeysPutNotFound) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysPutNotFound) IsClientError() bool
- func (o *PcloudTenantsSshkeysPutNotFound) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysPutNotFound) IsRedirect() bool
- func (o *PcloudTenantsSshkeysPutNotFound) IsServerError() bool
- func (o *PcloudTenantsSshkeysPutNotFound) IsSuccess() bool
- func (o *PcloudTenantsSshkeysPutNotFound) String() string
- type PcloudTenantsSshkeysPutOK
- func (o *PcloudTenantsSshkeysPutOK) Code() int
- func (o *PcloudTenantsSshkeysPutOK) Error() string
- func (o *PcloudTenantsSshkeysPutOK) GetPayload() *models.SSHKey
- func (o *PcloudTenantsSshkeysPutOK) IsClientError() bool
- func (o *PcloudTenantsSshkeysPutOK) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysPutOK) IsRedirect() bool
- func (o *PcloudTenantsSshkeysPutOK) IsServerError() bool
- func (o *PcloudTenantsSshkeysPutOK) IsSuccess() bool
- func (o *PcloudTenantsSshkeysPutOK) String() string
- 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
- func (o *PcloudTenantsSshkeysPutUnauthorized) Code() int
- func (o *PcloudTenantsSshkeysPutUnauthorized) Error() string
- func (o *PcloudTenantsSshkeysPutUnauthorized) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysPutUnauthorized) IsClientError() bool
- func (o *PcloudTenantsSshkeysPutUnauthorized) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysPutUnauthorized) IsRedirect() bool
- func (o *PcloudTenantsSshkeysPutUnauthorized) IsServerError() bool
- func (o *PcloudTenantsSshkeysPutUnauthorized) IsSuccess() bool
- func (o *PcloudTenantsSshkeysPutUnauthorized) String() string
- type PcloudTenantsSshkeysPutUnprocessableEntity
- func (o *PcloudTenantsSshkeysPutUnprocessableEntity) Code() int
- func (o *PcloudTenantsSshkeysPutUnprocessableEntity) Error() string
- func (o *PcloudTenantsSshkeysPutUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudTenantsSshkeysPutUnprocessableEntity) IsClientError() bool
- func (o *PcloudTenantsSshkeysPutUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudTenantsSshkeysPutUnprocessableEntity) IsRedirect() bool
- func (o *PcloudTenantsSshkeysPutUnprocessableEntity) IsServerError() bool
- func (o *PcloudTenantsSshkeysPutUnprocessableEntity) IsSuccess() bool
- func (o *PcloudTenantsSshkeysPutUnprocessableEntity) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysDeleteBadRequest) Code() int
Code gets the status code for the pcloud tenants sshkeys delete bad request response
func (*PcloudTenantsSshkeysDeleteBadRequest) Error ¶
func (o *PcloudTenantsSshkeysDeleteBadRequest) Error() string
func (*PcloudTenantsSshkeysDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysDeleteBadRequest) GetPayload() *models.Error
func (*PcloudTenantsSshkeysDeleteBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteBadRequest) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys delete bad request response has a 4xx status code
func (*PcloudTenantsSshkeysDeleteBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys delete bad request response a status code equal to that given
func (*PcloudTenantsSshkeysDeleteBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys delete bad request response has a 3xx status code
func (*PcloudTenantsSshkeysDeleteBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteBadRequest) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys delete bad request response has a 5xx status code
func (*PcloudTenantsSshkeysDeleteBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys delete bad request response has a 2xx status code
func (*PcloudTenantsSshkeysDeleteBadRequest) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteBadRequest) String() string
type PcloudTenantsSshkeysDeleteForbidden ¶ added in v1.4.2
PcloudTenantsSshkeysDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudTenantsSshkeysDeleteForbidden ¶ added in v1.4.2
func NewPcloudTenantsSshkeysDeleteForbidden() *PcloudTenantsSshkeysDeleteForbidden
NewPcloudTenantsSshkeysDeleteForbidden creates a PcloudTenantsSshkeysDeleteForbidden with default headers values
func (*PcloudTenantsSshkeysDeleteForbidden) Code ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysDeleteForbidden) Code() int
Code gets the status code for the pcloud tenants sshkeys delete forbidden response
func (*PcloudTenantsSshkeysDeleteForbidden) Error ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysDeleteForbidden) Error() string
func (*PcloudTenantsSshkeysDeleteForbidden) GetPayload ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysDeleteForbidden) GetPayload() *models.Error
func (*PcloudTenantsSshkeysDeleteForbidden) IsClientError ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysDeleteForbidden) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys delete forbidden response has a 4xx status code
func (*PcloudTenantsSshkeysDeleteForbidden) IsCode ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysDeleteForbidden) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys delete forbidden response a status code equal to that given
func (*PcloudTenantsSshkeysDeleteForbidden) IsRedirect ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys delete forbidden response has a 3xx status code
func (*PcloudTenantsSshkeysDeleteForbidden) IsServerError ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysDeleteForbidden) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys delete forbidden response has a 5xx status code
func (*PcloudTenantsSshkeysDeleteForbidden) IsSuccess ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys delete forbidden response has a 2xx status code
func (*PcloudTenantsSshkeysDeleteForbidden) String ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysDeleteForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysDeleteGone) Code() int
Code gets the status code for the pcloud tenants sshkeys delete gone response
func (*PcloudTenantsSshkeysDeleteGone) Error ¶
func (o *PcloudTenantsSshkeysDeleteGone) Error() string
func (*PcloudTenantsSshkeysDeleteGone) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysDeleteGone) GetPayload() *models.Error
func (*PcloudTenantsSshkeysDeleteGone) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteGone) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys delete gone response has a 4xx status code
func (*PcloudTenantsSshkeysDeleteGone) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteGone) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys delete gone response a status code equal to that given
func (*PcloudTenantsSshkeysDeleteGone) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteGone) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys delete gone response has a 3xx status code
func (*PcloudTenantsSshkeysDeleteGone) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteGone) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys delete gone response has a 5xx status code
func (*PcloudTenantsSshkeysDeleteGone) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteGone) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys delete gone response has a 2xx status code
func (*PcloudTenantsSshkeysDeleteGone) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteGone) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysDeleteInternalServerError) Code() int
Code gets the status code for the pcloud tenants sshkeys delete internal server error response
func (*PcloudTenantsSshkeysDeleteInternalServerError) Error ¶
func (o *PcloudTenantsSshkeysDeleteInternalServerError) Error() string
func (*PcloudTenantsSshkeysDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysDeleteInternalServerError) GetPayload() *models.Error
func (*PcloudTenantsSshkeysDeleteInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys delete internal server error response has a 4xx status code
func (*PcloudTenantsSshkeysDeleteInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys delete internal server error response a status code equal to that given
func (*PcloudTenantsSshkeysDeleteInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys delete internal server error response has a 3xx status code
func (*PcloudTenantsSshkeysDeleteInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys delete internal server error response has a 5xx status code
func (*PcloudTenantsSshkeysDeleteInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys delete internal server error response has a 2xx status code
func (*PcloudTenantsSshkeysDeleteInternalServerError) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteInternalServerError) String() string
type PcloudTenantsSshkeysDeleteNotFound ¶ added in v1.4.2
PcloudTenantsSshkeysDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudTenantsSshkeysDeleteNotFound ¶ added in v1.4.2
func NewPcloudTenantsSshkeysDeleteNotFound() *PcloudTenantsSshkeysDeleteNotFound
NewPcloudTenantsSshkeysDeleteNotFound creates a PcloudTenantsSshkeysDeleteNotFound with default headers values
func (*PcloudTenantsSshkeysDeleteNotFound) Code ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysDeleteNotFound) Code() int
Code gets the status code for the pcloud tenants sshkeys delete not found response
func (*PcloudTenantsSshkeysDeleteNotFound) Error ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysDeleteNotFound) Error() string
func (*PcloudTenantsSshkeysDeleteNotFound) GetPayload ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysDeleteNotFound) GetPayload() *models.Error
func (*PcloudTenantsSshkeysDeleteNotFound) IsClientError ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysDeleteNotFound) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys delete not found response has a 4xx status code
func (*PcloudTenantsSshkeysDeleteNotFound) IsCode ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysDeleteNotFound) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys delete not found response a status code equal to that given
func (*PcloudTenantsSshkeysDeleteNotFound) IsRedirect ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys delete not found response has a 3xx status code
func (*PcloudTenantsSshkeysDeleteNotFound) IsServerError ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysDeleteNotFound) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys delete not found response has a 5xx status code
func (*PcloudTenantsSshkeysDeleteNotFound) IsSuccess ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys delete not found response has a 2xx status code
func (*PcloudTenantsSshkeysDeleteNotFound) String ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysDeleteNotFound) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysDeleteOK) Code() int
Code gets the status code for the pcloud tenants sshkeys delete o k response
func (*PcloudTenantsSshkeysDeleteOK) Error ¶
func (o *PcloudTenantsSshkeysDeleteOK) Error() string
func (*PcloudTenantsSshkeysDeleteOK) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysDeleteOK) GetPayload() models.Object
func (*PcloudTenantsSshkeysDeleteOK) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteOK) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys delete o k response has a 4xx status code
func (*PcloudTenantsSshkeysDeleteOK) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteOK) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys delete o k response a status code equal to that given
func (*PcloudTenantsSshkeysDeleteOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteOK) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys delete o k response has a 3xx status code
func (*PcloudTenantsSshkeysDeleteOK) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteOK) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys delete o k response has a 5xx status code
func (*PcloudTenantsSshkeysDeleteOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteOK) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys delete o k response has a 2xx status code
func (*PcloudTenantsSshkeysDeleteOK) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteOK) String() 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 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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysDeleteUnauthorized) Code() int
Code gets the status code for the pcloud tenants sshkeys delete unauthorized response
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
func (*PcloudTenantsSshkeysDeleteUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys delete unauthorized response has a 4xx status code
func (*PcloudTenantsSshkeysDeleteUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys delete unauthorized response a status code equal to that given
func (*PcloudTenantsSshkeysDeleteUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys delete unauthorized response has a 3xx status code
func (*PcloudTenantsSshkeysDeleteUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys delete unauthorized response has a 5xx status code
func (*PcloudTenantsSshkeysDeleteUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys delete unauthorized response has a 2xx status code
func (*PcloudTenantsSshkeysDeleteUnauthorized) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysDeleteUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysGetBadRequest) Code() int
Code gets the status code for the pcloud tenants sshkeys get bad request response
func (*PcloudTenantsSshkeysGetBadRequest) Error ¶
func (o *PcloudTenantsSshkeysGetBadRequest) Error() string
func (*PcloudTenantsSshkeysGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetBadRequest) GetPayload() *models.Error
func (*PcloudTenantsSshkeysGetBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys get bad request response has a 4xx status code
func (*PcloudTenantsSshkeysGetBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys get bad request response a status code equal to that given
func (*PcloudTenantsSshkeysGetBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys get bad request response has a 3xx status code
func (*PcloudTenantsSshkeysGetBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys get bad request response has a 5xx status code
func (*PcloudTenantsSshkeysGetBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys get bad request response has a 2xx status code
func (*PcloudTenantsSshkeysGetBadRequest) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetBadRequest) String() string
type PcloudTenantsSshkeysGetForbidden ¶ added in v1.2.2
PcloudTenantsSshkeysGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudTenantsSshkeysGetForbidden ¶ added in v1.2.2
func NewPcloudTenantsSshkeysGetForbidden() *PcloudTenantsSshkeysGetForbidden
NewPcloudTenantsSshkeysGetForbidden creates a PcloudTenantsSshkeysGetForbidden with default headers values
func (*PcloudTenantsSshkeysGetForbidden) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysGetForbidden) Code() int
Code gets the status code for the pcloud tenants sshkeys get forbidden response
func (*PcloudTenantsSshkeysGetForbidden) Error ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetForbidden) Error() string
func (*PcloudTenantsSshkeysGetForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetForbidden) GetPayload() *models.Error
func (*PcloudTenantsSshkeysGetForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys get forbidden response has a 4xx status code
func (*PcloudTenantsSshkeysGetForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys get forbidden response a status code equal to that given
func (*PcloudTenantsSshkeysGetForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys get forbidden response has a 3xx status code
func (*PcloudTenantsSshkeysGetForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys get forbidden response has a 5xx status code
func (*PcloudTenantsSshkeysGetForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys get forbidden response has a 2xx status code
func (*PcloudTenantsSshkeysGetForbidden) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysGetInternalServerError) Code() int
Code gets the status code for the pcloud tenants sshkeys get internal server error response
func (*PcloudTenantsSshkeysGetInternalServerError) Error ¶
func (o *PcloudTenantsSshkeysGetInternalServerError) Error() string
func (*PcloudTenantsSshkeysGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetInternalServerError) GetPayload() *models.Error
func (*PcloudTenantsSshkeysGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys get internal server error response has a 4xx status code
func (*PcloudTenantsSshkeysGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys get internal server error response a status code equal to that given
func (*PcloudTenantsSshkeysGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys get internal server error response has a 3xx status code
func (*PcloudTenantsSshkeysGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys get internal server error response has a 5xx status code
func (*PcloudTenantsSshkeysGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys get internal server error response has a 2xx status code
func (*PcloudTenantsSshkeysGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetInternalServerError) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysGetNotFound) Code() int
Code gets the status code for the pcloud tenants sshkeys get not found response
func (*PcloudTenantsSshkeysGetNotFound) Error ¶
func (o *PcloudTenantsSshkeysGetNotFound) Error() string
func (*PcloudTenantsSshkeysGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetNotFound) GetPayload() *models.Error
func (*PcloudTenantsSshkeysGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys get not found response has a 4xx status code
func (*PcloudTenantsSshkeysGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys get not found response a status code equal to that given
func (*PcloudTenantsSshkeysGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys get not found response has a 3xx status code
func (*PcloudTenantsSshkeysGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys get not found response has a 5xx status code
func (*PcloudTenantsSshkeysGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys get not found response has a 2xx status code
func (*PcloudTenantsSshkeysGetNotFound) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetNotFound) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysGetOK) Code() int
Code gets the status code for the pcloud tenants sshkeys get o k response
func (*PcloudTenantsSshkeysGetOK) Error ¶
func (o *PcloudTenantsSshkeysGetOK) Error() string
func (*PcloudTenantsSshkeysGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetOK) GetPayload() *models.SSHKey
func (*PcloudTenantsSshkeysGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetOK) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys get o k response has a 4xx status code
func (*PcloudTenantsSshkeysGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetOK) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys get o k response a status code equal to that given
func (*PcloudTenantsSshkeysGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys get o k response has a 3xx status code
func (*PcloudTenantsSshkeysGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetOK) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys get o k response has a 5xx status code
func (*PcloudTenantsSshkeysGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys get o k response has a 2xx status code
func (*PcloudTenantsSshkeysGetOK) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetOK) String() 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 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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysGetUnauthorized) Code() int
Code gets the status code for the pcloud tenants sshkeys get unauthorized response
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
func (*PcloudTenantsSshkeysGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys get unauthorized response has a 4xx status code
func (*PcloudTenantsSshkeysGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys get unauthorized response a status code equal to that given
func (*PcloudTenantsSshkeysGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys get unauthorized response has a 3xx status code
func (*PcloudTenantsSshkeysGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys get unauthorized response has a 5xx status code
func (*PcloudTenantsSshkeysGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys get unauthorized response has a 2xx status code
func (*PcloudTenantsSshkeysGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysGetallBadRequest) Code() int
Code gets the status code for the pcloud tenants sshkeys getall bad request response
func (*PcloudTenantsSshkeysGetallBadRequest) Error ¶
func (o *PcloudTenantsSshkeysGetallBadRequest) Error() string
func (*PcloudTenantsSshkeysGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetallBadRequest) GetPayload() *models.Error
func (*PcloudTenantsSshkeysGetallBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallBadRequest) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys getall bad request response has a 4xx status code
func (*PcloudTenantsSshkeysGetallBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys getall bad request response a status code equal to that given
func (*PcloudTenantsSshkeysGetallBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys getall bad request response has a 3xx status code
func (*PcloudTenantsSshkeysGetallBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallBadRequest) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys getall bad request response has a 5xx status code
func (*PcloudTenantsSshkeysGetallBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys getall bad request response has a 2xx status code
func (*PcloudTenantsSshkeysGetallBadRequest) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallBadRequest) String() string
type PcloudTenantsSshkeysGetallForbidden ¶ added in v1.2.2
PcloudTenantsSshkeysGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudTenantsSshkeysGetallForbidden ¶ added in v1.2.2
func NewPcloudTenantsSshkeysGetallForbidden() *PcloudTenantsSshkeysGetallForbidden
NewPcloudTenantsSshkeysGetallForbidden creates a PcloudTenantsSshkeysGetallForbidden with default headers values
func (*PcloudTenantsSshkeysGetallForbidden) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysGetallForbidden) Code() int
Code gets the status code for the pcloud tenants sshkeys getall forbidden response
func (*PcloudTenantsSshkeysGetallForbidden) Error ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallForbidden) Error() string
func (*PcloudTenantsSshkeysGetallForbidden) GetPayload ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallForbidden) GetPayload() *models.Error
func (*PcloudTenantsSshkeysGetallForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys getall forbidden response has a 4xx status code
func (*PcloudTenantsSshkeysGetallForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallForbidden) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys getall forbidden response a status code equal to that given
func (*PcloudTenantsSshkeysGetallForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys getall forbidden response has a 3xx status code
func (*PcloudTenantsSshkeysGetallForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys getall forbidden response has a 5xx status code
func (*PcloudTenantsSshkeysGetallForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys getall forbidden response has a 2xx status code
func (*PcloudTenantsSshkeysGetallForbidden) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysGetallInternalServerError) Code() int
Code gets the status code for the pcloud tenants sshkeys getall internal server error response
func (*PcloudTenantsSshkeysGetallInternalServerError) Error ¶
func (o *PcloudTenantsSshkeysGetallInternalServerError) Error() string
func (*PcloudTenantsSshkeysGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetallInternalServerError) GetPayload() *models.Error
func (*PcloudTenantsSshkeysGetallInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys getall internal server error response has a 4xx status code
func (*PcloudTenantsSshkeysGetallInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys getall internal server error response a status code equal to that given
func (*PcloudTenantsSshkeysGetallInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys getall internal server error response has a 3xx status code
func (*PcloudTenantsSshkeysGetallInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys getall internal server error response has a 5xx status code
func (*PcloudTenantsSshkeysGetallInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys getall internal server error response has a 2xx status code
func (*PcloudTenantsSshkeysGetallInternalServerError) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallInternalServerError) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysGetallNotFound) Code() int
Code gets the status code for the pcloud tenants sshkeys getall not found response
func (*PcloudTenantsSshkeysGetallNotFound) Error ¶
func (o *PcloudTenantsSshkeysGetallNotFound) Error() string
func (*PcloudTenantsSshkeysGetallNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetallNotFound) GetPayload() *models.Error
func (*PcloudTenantsSshkeysGetallNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallNotFound) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys getall not found response has a 4xx status code
func (*PcloudTenantsSshkeysGetallNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallNotFound) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys getall not found response a status code equal to that given
func (*PcloudTenantsSshkeysGetallNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys getall not found response has a 3xx status code
func (*PcloudTenantsSshkeysGetallNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallNotFound) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys getall not found response has a 5xx status code
func (*PcloudTenantsSshkeysGetallNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys getall not found response has a 2xx status code
func (*PcloudTenantsSshkeysGetallNotFound) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallNotFound) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysGetallOK) Code() int
Code gets the status code for the pcloud tenants sshkeys getall o k response
func (*PcloudTenantsSshkeysGetallOK) Error ¶
func (o *PcloudTenantsSshkeysGetallOK) Error() string
func (*PcloudTenantsSshkeysGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysGetallOK) GetPayload() *models.SSHKeys
func (*PcloudTenantsSshkeysGetallOK) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallOK) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys getall o k response has a 4xx status code
func (*PcloudTenantsSshkeysGetallOK) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallOK) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys getall o k response a status code equal to that given
func (*PcloudTenantsSshkeysGetallOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallOK) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys getall o k response has a 3xx status code
func (*PcloudTenantsSshkeysGetallOK) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallOK) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys getall o k response has a 5xx status code
func (*PcloudTenantsSshkeysGetallOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallOK) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys getall o k response has a 2xx status code
func (*PcloudTenantsSshkeysGetallOK) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallOK) String() 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 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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysGetallUnauthorized) Code() int
Code gets the status code for the pcloud tenants sshkeys getall unauthorized response
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
func (*PcloudTenantsSshkeysGetallUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys getall unauthorized response has a 4xx status code
func (*PcloudTenantsSshkeysGetallUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys getall unauthorized response a status code equal to that given
func (*PcloudTenantsSshkeysGetallUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys getall unauthorized response has a 3xx status code
func (*PcloudTenantsSshkeysGetallUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys getall unauthorized response has a 5xx status code
func (*PcloudTenantsSshkeysGetallUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys getall unauthorized response has a 2xx status code
func (*PcloudTenantsSshkeysGetallUnauthorized) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysGetallUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysPostBadRequest) Code() int
Code gets the status code for the pcloud tenants sshkeys post bad request response
func (*PcloudTenantsSshkeysPostBadRequest) Error ¶
func (o *PcloudTenantsSshkeysPostBadRequest) Error() string
func (*PcloudTenantsSshkeysPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPostBadRequest) GetPayload() *models.Error
func (*PcloudTenantsSshkeysPostBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys post bad request response has a 4xx status code
func (*PcloudTenantsSshkeysPostBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys post bad request response a status code equal to that given
func (*PcloudTenantsSshkeysPostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys post bad request response has a 3xx status code
func (*PcloudTenantsSshkeysPostBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys post bad request response has a 5xx status code
func (*PcloudTenantsSshkeysPostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys post bad request response has a 2xx status code
func (*PcloudTenantsSshkeysPostBadRequest) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostBadRequest) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysPostConflict) Code() int
Code gets the status code for the pcloud tenants sshkeys post conflict response
func (*PcloudTenantsSshkeysPostConflict) Error ¶
func (o *PcloudTenantsSshkeysPostConflict) Error() string
func (*PcloudTenantsSshkeysPostConflict) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPostConflict) GetPayload() *models.Error
func (*PcloudTenantsSshkeysPostConflict) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostConflict) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys post conflict response has a 4xx status code
func (*PcloudTenantsSshkeysPostConflict) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostConflict) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys post conflict response a status code equal to that given
func (*PcloudTenantsSshkeysPostConflict) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostConflict) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys post conflict response has a 3xx status code
func (*PcloudTenantsSshkeysPostConflict) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostConflict) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys post conflict response has a 5xx status code
func (*PcloudTenantsSshkeysPostConflict) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostConflict) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys post conflict response has a 2xx status code
func (*PcloudTenantsSshkeysPostConflict) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostConflict) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysPostCreated) Code() int
Code gets the status code for the pcloud tenants sshkeys post created response
func (*PcloudTenantsSshkeysPostCreated) Error ¶
func (o *PcloudTenantsSshkeysPostCreated) Error() string
func (*PcloudTenantsSshkeysPostCreated) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPostCreated) GetPayload() *models.SSHKey
func (*PcloudTenantsSshkeysPostCreated) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostCreated) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys post created response has a 4xx status code
func (*PcloudTenantsSshkeysPostCreated) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostCreated) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys post created response a status code equal to that given
func (*PcloudTenantsSshkeysPostCreated) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostCreated) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys post created response has a 3xx status code
func (*PcloudTenantsSshkeysPostCreated) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostCreated) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys post created response has a 5xx status code
func (*PcloudTenantsSshkeysPostCreated) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostCreated) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys post created response has a 2xx status code
func (*PcloudTenantsSshkeysPostCreated) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostCreated) String() string
type PcloudTenantsSshkeysPostForbidden ¶ added in v1.4.2
PcloudTenantsSshkeysPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudTenantsSshkeysPostForbidden ¶ added in v1.4.2
func NewPcloudTenantsSshkeysPostForbidden() *PcloudTenantsSshkeysPostForbidden
NewPcloudTenantsSshkeysPostForbidden creates a PcloudTenantsSshkeysPostForbidden with default headers values
func (*PcloudTenantsSshkeysPostForbidden) Code ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPostForbidden) Code() int
Code gets the status code for the pcloud tenants sshkeys post forbidden response
func (*PcloudTenantsSshkeysPostForbidden) Error ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPostForbidden) Error() string
func (*PcloudTenantsSshkeysPostForbidden) GetPayload ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPostForbidden) GetPayload() *models.Error
func (*PcloudTenantsSshkeysPostForbidden) IsClientError ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPostForbidden) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys post forbidden response has a 4xx status code
func (*PcloudTenantsSshkeysPostForbidden) IsCode ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys post forbidden response a status code equal to that given
func (*PcloudTenantsSshkeysPostForbidden) IsRedirect ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys post forbidden response has a 3xx status code
func (*PcloudTenantsSshkeysPostForbidden) IsServerError ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPostForbidden) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys post forbidden response has a 5xx status code
func (*PcloudTenantsSshkeysPostForbidden) IsSuccess ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys post forbidden response has a 2xx status code
func (*PcloudTenantsSshkeysPostForbidden) String ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPostForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysPostInternalServerError) Code() int
Code gets the status code for the pcloud tenants sshkeys post internal server error response
func (*PcloudTenantsSshkeysPostInternalServerError) Error ¶
func (o *PcloudTenantsSshkeysPostInternalServerError) Error() string
func (*PcloudTenantsSshkeysPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPostInternalServerError) GetPayload() *models.Error
func (*PcloudTenantsSshkeysPostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys post internal server error response has a 4xx status code
func (*PcloudTenantsSshkeysPostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys post internal server error response a status code equal to that given
func (*PcloudTenantsSshkeysPostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys post internal server error response has a 3xx status code
func (*PcloudTenantsSshkeysPostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys post internal server error response has a 5xx status code
func (*PcloudTenantsSshkeysPostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys post internal server error response has a 2xx status code
func (*PcloudTenantsSshkeysPostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostInternalServerError) String() string
type PcloudTenantsSshkeysPostNotFound ¶ added in v1.4.2
PcloudTenantsSshkeysPostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudTenantsSshkeysPostNotFound ¶ added in v1.4.2
func NewPcloudTenantsSshkeysPostNotFound() *PcloudTenantsSshkeysPostNotFound
NewPcloudTenantsSshkeysPostNotFound creates a PcloudTenantsSshkeysPostNotFound with default headers values
func (*PcloudTenantsSshkeysPostNotFound) Code ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPostNotFound) Code() int
Code gets the status code for the pcloud tenants sshkeys post not found response
func (*PcloudTenantsSshkeysPostNotFound) Error ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPostNotFound) Error() string
func (*PcloudTenantsSshkeysPostNotFound) GetPayload ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPostNotFound) GetPayload() *models.Error
func (*PcloudTenantsSshkeysPostNotFound) IsClientError ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPostNotFound) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys post not found response has a 4xx status code
func (*PcloudTenantsSshkeysPostNotFound) IsCode ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPostNotFound) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys post not found response a status code equal to that given
func (*PcloudTenantsSshkeysPostNotFound) IsRedirect ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPostNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys post not found response has a 3xx status code
func (*PcloudTenantsSshkeysPostNotFound) IsServerError ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPostNotFound) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys post not found response has a 5xx status code
func (*PcloudTenantsSshkeysPostNotFound) IsSuccess ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPostNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys post not found response has a 2xx status code
func (*PcloudTenantsSshkeysPostNotFound) String ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPostNotFound) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysPostOK) Code() int
Code gets the status code for the pcloud tenants sshkeys post o k response
func (*PcloudTenantsSshkeysPostOK) Error ¶
func (o *PcloudTenantsSshkeysPostOK) Error() string
func (*PcloudTenantsSshkeysPostOK) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPostOK) GetPayload() *models.SSHKey
func (*PcloudTenantsSshkeysPostOK) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostOK) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys post o k response has a 4xx status code
func (*PcloudTenantsSshkeysPostOK) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostOK) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys post o k response a status code equal to that given
func (*PcloudTenantsSshkeysPostOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostOK) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys post o k response has a 3xx status code
func (*PcloudTenantsSshkeysPostOK) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostOK) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys post o k response has a 5xx status code
func (*PcloudTenantsSshkeysPostOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostOK) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys post o k response has a 2xx status code
func (*PcloudTenantsSshkeysPostOK) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostOK) String() 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 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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysPostUnauthorized) Code() int
Code gets the status code for the pcloud tenants sshkeys post unauthorized response
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
func (*PcloudTenantsSshkeysPostUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys post unauthorized response has a 4xx status code
func (*PcloudTenantsSshkeysPostUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys post unauthorized response a status code equal to that given
func (*PcloudTenantsSshkeysPostUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys post unauthorized response has a 3xx status code
func (*PcloudTenantsSshkeysPostUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys post unauthorized response has a 5xx status code
func (*PcloudTenantsSshkeysPostUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys post unauthorized response has a 2xx status code
func (*PcloudTenantsSshkeysPostUnauthorized) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysPostUnprocessableEntity) Code() int
Code gets the status code for the pcloud tenants sshkeys post unprocessable entity response
func (*PcloudTenantsSshkeysPostUnprocessableEntity) Error ¶
func (o *PcloudTenantsSshkeysPostUnprocessableEntity) Error() string
func (*PcloudTenantsSshkeysPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPostUnprocessableEntity) GetPayload() *models.Error
func (*PcloudTenantsSshkeysPostUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys post unprocessable entity response has a 4xx status code
func (*PcloudTenantsSshkeysPostUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys post unprocessable entity response a status code equal to that given
func (*PcloudTenantsSshkeysPostUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys post unprocessable entity response has a 3xx status code
func (*PcloudTenantsSshkeysPostUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys post unprocessable entity response has a 5xx status code
func (*PcloudTenantsSshkeysPostUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys post unprocessable entity response has a 2xx status code
func (*PcloudTenantsSshkeysPostUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPostUnprocessableEntity) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysPutBadRequest) Code() int
Code gets the status code for the pcloud tenants sshkeys put bad request response
func (*PcloudTenantsSshkeysPutBadRequest) Error ¶
func (o *PcloudTenantsSshkeysPutBadRequest) Error() string
func (*PcloudTenantsSshkeysPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPutBadRequest) GetPayload() *models.Error
func (*PcloudTenantsSshkeysPutBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutBadRequest) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys put bad request response has a 4xx status code
func (*PcloudTenantsSshkeysPutBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys put bad request response a status code equal to that given
func (*PcloudTenantsSshkeysPutBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys put bad request response has a 3xx status code
func (*PcloudTenantsSshkeysPutBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutBadRequest) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys put bad request response has a 5xx status code
func (*PcloudTenantsSshkeysPutBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys put bad request response has a 2xx status code
func (*PcloudTenantsSshkeysPutBadRequest) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutBadRequest) String() string
type PcloudTenantsSshkeysPutForbidden ¶ added in v1.4.2
PcloudTenantsSshkeysPutForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudTenantsSshkeysPutForbidden ¶ added in v1.4.2
func NewPcloudTenantsSshkeysPutForbidden() *PcloudTenantsSshkeysPutForbidden
NewPcloudTenantsSshkeysPutForbidden creates a PcloudTenantsSshkeysPutForbidden with default headers values
func (*PcloudTenantsSshkeysPutForbidden) Code ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPutForbidden) Code() int
Code gets the status code for the pcloud tenants sshkeys put forbidden response
func (*PcloudTenantsSshkeysPutForbidden) Error ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPutForbidden) Error() string
func (*PcloudTenantsSshkeysPutForbidden) GetPayload ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPutForbidden) GetPayload() *models.Error
func (*PcloudTenantsSshkeysPutForbidden) IsClientError ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPutForbidden) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys put forbidden response has a 4xx status code
func (*PcloudTenantsSshkeysPutForbidden) IsCode ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPutForbidden) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys put forbidden response a status code equal to that given
func (*PcloudTenantsSshkeysPutForbidden) IsRedirect ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPutForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys put forbidden response has a 3xx status code
func (*PcloudTenantsSshkeysPutForbidden) IsServerError ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPutForbidden) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys put forbidden response has a 5xx status code
func (*PcloudTenantsSshkeysPutForbidden) IsSuccess ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPutForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys put forbidden response has a 2xx status code
func (*PcloudTenantsSshkeysPutForbidden) String ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPutForbidden) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysPutInternalServerError) Code() int
Code gets the status code for the pcloud tenants sshkeys put internal server error response
func (*PcloudTenantsSshkeysPutInternalServerError) Error ¶
func (o *PcloudTenantsSshkeysPutInternalServerError) Error() string
func (*PcloudTenantsSshkeysPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPutInternalServerError) GetPayload() *models.Error
func (*PcloudTenantsSshkeysPutInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys put internal server error response has a 4xx status code
func (*PcloudTenantsSshkeysPutInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys put internal server error response a status code equal to that given
func (*PcloudTenantsSshkeysPutInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys put internal server error response has a 3xx status code
func (*PcloudTenantsSshkeysPutInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys put internal server error response has a 5xx status code
func (*PcloudTenantsSshkeysPutInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys put internal server error response has a 2xx status code
func (*PcloudTenantsSshkeysPutInternalServerError) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutInternalServerError) String() string
type PcloudTenantsSshkeysPutNotFound ¶ added in v1.4.2
PcloudTenantsSshkeysPutNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudTenantsSshkeysPutNotFound ¶ added in v1.4.2
func NewPcloudTenantsSshkeysPutNotFound() *PcloudTenantsSshkeysPutNotFound
NewPcloudTenantsSshkeysPutNotFound creates a PcloudTenantsSshkeysPutNotFound with default headers values
func (*PcloudTenantsSshkeysPutNotFound) Code ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPutNotFound) Code() int
Code gets the status code for the pcloud tenants sshkeys put not found response
func (*PcloudTenantsSshkeysPutNotFound) Error ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPutNotFound) Error() string
func (*PcloudTenantsSshkeysPutNotFound) GetPayload ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPutNotFound) GetPayload() *models.Error
func (*PcloudTenantsSshkeysPutNotFound) IsClientError ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPutNotFound) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys put not found response has a 4xx status code
func (*PcloudTenantsSshkeysPutNotFound) IsCode ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPutNotFound) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys put not found response a status code equal to that given
func (*PcloudTenantsSshkeysPutNotFound) IsRedirect ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPutNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys put not found response has a 3xx status code
func (*PcloudTenantsSshkeysPutNotFound) IsServerError ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPutNotFound) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys put not found response has a 5xx status code
func (*PcloudTenantsSshkeysPutNotFound) IsSuccess ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPutNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys put not found response has a 2xx status code
func (*PcloudTenantsSshkeysPutNotFound) String ¶ added in v1.4.2
func (o *PcloudTenantsSshkeysPutNotFound) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysPutOK) Code() int
Code gets the status code for the pcloud tenants sshkeys put o k response
func (*PcloudTenantsSshkeysPutOK) Error ¶
func (o *PcloudTenantsSshkeysPutOK) Error() string
func (*PcloudTenantsSshkeysPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPutOK) GetPayload() *models.SSHKey
func (*PcloudTenantsSshkeysPutOK) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutOK) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys put o k response has a 4xx status code
func (*PcloudTenantsSshkeysPutOK) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutOK) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys put o k response a status code equal to that given
func (*PcloudTenantsSshkeysPutOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutOK) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys put o k response has a 3xx status code
func (*PcloudTenantsSshkeysPutOK) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutOK) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys put o k response has a 5xx status code
func (*PcloudTenantsSshkeysPutOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutOK) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys put o k response has a 2xx status code
func (*PcloudTenantsSshkeysPutOK) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutOK) String() 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 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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysPutUnauthorized) Code() int
Code gets the status code for the pcloud tenants sshkeys put unauthorized response
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
func (*PcloudTenantsSshkeysPutUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys put unauthorized response has a 4xx status code
func (*PcloudTenantsSshkeysPutUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys put unauthorized response a status code equal to that given
func (*PcloudTenantsSshkeysPutUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys put unauthorized response has a 3xx status code
func (*PcloudTenantsSshkeysPutUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys put unauthorized response has a 5xx status code
func (*PcloudTenantsSshkeysPutUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys put unauthorized response has a 2xx status code
func (*PcloudTenantsSshkeysPutUnauthorized) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutUnauthorized) String() string
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) Code ¶ added in v1.2.4
func (o *PcloudTenantsSshkeysPutUnprocessableEntity) Code() int
Code gets the status code for the pcloud tenants sshkeys put unprocessable entity response
func (*PcloudTenantsSshkeysPutUnprocessableEntity) Error ¶
func (o *PcloudTenantsSshkeysPutUnprocessableEntity) Error() string
func (*PcloudTenantsSshkeysPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsSshkeysPutUnprocessableEntity) GetPayload() *models.Error
func (*PcloudTenantsSshkeysPutUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud tenants sshkeys put unprocessable entity response has a 4xx status code
func (*PcloudTenantsSshkeysPutUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud tenants sshkeys put unprocessable entity response a status code equal to that given
func (*PcloudTenantsSshkeysPutUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud tenants sshkeys put unprocessable entity response has a 3xx status code
func (*PcloudTenantsSshkeysPutUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud tenants sshkeys put unprocessable entity response has a 5xx status code
func (*PcloudTenantsSshkeysPutUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud tenants sshkeys put unprocessable entity response has a 2xx status code
func (*PcloudTenantsSshkeysPutUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudTenantsSshkeysPutUnprocessableEntity) String() 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