Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudCloudinstancesDelete(params *PcloudCloudinstancesDeleteParams, ...) (*PcloudCloudinstancesDeleteOK, error)
- func (a *Client) PcloudCloudinstancesGet(params *PcloudCloudinstancesGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudCloudinstancesGetOK, error)
- func (a *Client) PcloudCloudinstancesPut(params *PcloudCloudinstancesPutParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudCloudinstancesPutOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudCloudinstancesDeleteBadRequest
- func (o *PcloudCloudinstancesDeleteBadRequest) Code() int
- func (o *PcloudCloudinstancesDeleteBadRequest) Error() string
- func (o *PcloudCloudinstancesDeleteBadRequest) GetPayload() *models.Error
- func (o *PcloudCloudinstancesDeleteBadRequest) IsClientError() bool
- func (o *PcloudCloudinstancesDeleteBadRequest) IsCode(code int) bool
- func (o *PcloudCloudinstancesDeleteBadRequest) IsRedirect() bool
- func (o *PcloudCloudinstancesDeleteBadRequest) IsServerError() bool
- func (o *PcloudCloudinstancesDeleteBadRequest) IsSuccess() bool
- func (o *PcloudCloudinstancesDeleteBadRequest) String() string
- type PcloudCloudinstancesDeleteGone
- func (o *PcloudCloudinstancesDeleteGone) Code() int
- func (o *PcloudCloudinstancesDeleteGone) Error() string
- func (o *PcloudCloudinstancesDeleteGone) GetPayload() *models.Error
- func (o *PcloudCloudinstancesDeleteGone) IsClientError() bool
- func (o *PcloudCloudinstancesDeleteGone) IsCode(code int) bool
- func (o *PcloudCloudinstancesDeleteGone) IsRedirect() bool
- func (o *PcloudCloudinstancesDeleteGone) IsServerError() bool
- func (o *PcloudCloudinstancesDeleteGone) IsSuccess() bool
- func (o *PcloudCloudinstancesDeleteGone) String() string
- type PcloudCloudinstancesDeleteInternalServerError
- func (o *PcloudCloudinstancesDeleteInternalServerError) Code() int
- func (o *PcloudCloudinstancesDeleteInternalServerError) Error() string
- func (o *PcloudCloudinstancesDeleteInternalServerError) GetPayload() *models.Error
- func (o *PcloudCloudinstancesDeleteInternalServerError) IsClientError() bool
- func (o *PcloudCloudinstancesDeleteInternalServerError) IsCode(code int) bool
- func (o *PcloudCloudinstancesDeleteInternalServerError) IsRedirect() bool
- func (o *PcloudCloudinstancesDeleteInternalServerError) IsServerError() bool
- func (o *PcloudCloudinstancesDeleteInternalServerError) IsSuccess() bool
- func (o *PcloudCloudinstancesDeleteInternalServerError) String() string
- type PcloudCloudinstancesDeleteOK
- func (o *PcloudCloudinstancesDeleteOK) Code() int
- func (o *PcloudCloudinstancesDeleteOK) Error() string
- func (o *PcloudCloudinstancesDeleteOK) GetPayload() models.Object
- func (o *PcloudCloudinstancesDeleteOK) IsClientError() bool
- func (o *PcloudCloudinstancesDeleteOK) IsCode(code int) bool
- func (o *PcloudCloudinstancesDeleteOK) IsRedirect() bool
- func (o *PcloudCloudinstancesDeleteOK) IsServerError() bool
- func (o *PcloudCloudinstancesDeleteOK) IsSuccess() bool
- func (o *PcloudCloudinstancesDeleteOK) String() string
- type PcloudCloudinstancesDeleteParams
- func NewPcloudCloudinstancesDeleteParams() *PcloudCloudinstancesDeleteParams
- func NewPcloudCloudinstancesDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesDeleteParams
- func NewPcloudCloudinstancesDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesDeleteParams
- func NewPcloudCloudinstancesDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesDeleteParams
- func (o *PcloudCloudinstancesDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesDeleteParams) SetDefaults()
- func (o *PcloudCloudinstancesDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesDeleteParams
- func (o *PcloudCloudinstancesDeleteParams) WithContext(ctx context.Context) *PcloudCloudinstancesDeleteParams
- func (o *PcloudCloudinstancesDeleteParams) WithDefaults() *PcloudCloudinstancesDeleteParams
- func (o *PcloudCloudinstancesDeleteParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesDeleteParams
- func (o *PcloudCloudinstancesDeleteParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesDeleteParams
- func (o *PcloudCloudinstancesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesDeleteReader
- type PcloudCloudinstancesDeleteUnauthorized
- func (o *PcloudCloudinstancesDeleteUnauthorized) Code() int
- func (o *PcloudCloudinstancesDeleteUnauthorized) Error() string
- func (o *PcloudCloudinstancesDeleteUnauthorized) GetPayload() *models.Error
- func (o *PcloudCloudinstancesDeleteUnauthorized) IsClientError() bool
- func (o *PcloudCloudinstancesDeleteUnauthorized) IsCode(code int) bool
- func (o *PcloudCloudinstancesDeleteUnauthorized) IsRedirect() bool
- func (o *PcloudCloudinstancesDeleteUnauthorized) IsServerError() bool
- func (o *PcloudCloudinstancesDeleteUnauthorized) IsSuccess() bool
- func (o *PcloudCloudinstancesDeleteUnauthorized) String() string
- type PcloudCloudinstancesGetBadRequest
- func (o *PcloudCloudinstancesGetBadRequest) Code() int
- func (o *PcloudCloudinstancesGetBadRequest) Error() string
- func (o *PcloudCloudinstancesGetBadRequest) GetPayload() *models.Error
- func (o *PcloudCloudinstancesGetBadRequest) IsClientError() bool
- func (o *PcloudCloudinstancesGetBadRequest) IsCode(code int) bool
- func (o *PcloudCloudinstancesGetBadRequest) IsRedirect() bool
- func (o *PcloudCloudinstancesGetBadRequest) IsServerError() bool
- func (o *PcloudCloudinstancesGetBadRequest) IsSuccess() bool
- func (o *PcloudCloudinstancesGetBadRequest) String() string
- type PcloudCloudinstancesGetInternalServerError
- func (o *PcloudCloudinstancesGetInternalServerError) Code() int
- func (o *PcloudCloudinstancesGetInternalServerError) Error() string
- func (o *PcloudCloudinstancesGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudCloudinstancesGetInternalServerError) IsClientError() bool
- func (o *PcloudCloudinstancesGetInternalServerError) IsCode(code int) bool
- func (o *PcloudCloudinstancesGetInternalServerError) IsRedirect() bool
- func (o *PcloudCloudinstancesGetInternalServerError) IsServerError() bool
- func (o *PcloudCloudinstancesGetInternalServerError) IsSuccess() bool
- func (o *PcloudCloudinstancesGetInternalServerError) String() string
- type PcloudCloudinstancesGetNotFound
- func (o *PcloudCloudinstancesGetNotFound) Code() int
- func (o *PcloudCloudinstancesGetNotFound) Error() string
- func (o *PcloudCloudinstancesGetNotFound) GetPayload() *models.Error
- func (o *PcloudCloudinstancesGetNotFound) IsClientError() bool
- func (o *PcloudCloudinstancesGetNotFound) IsCode(code int) bool
- func (o *PcloudCloudinstancesGetNotFound) IsRedirect() bool
- func (o *PcloudCloudinstancesGetNotFound) IsServerError() bool
- func (o *PcloudCloudinstancesGetNotFound) IsSuccess() bool
- func (o *PcloudCloudinstancesGetNotFound) String() string
- type PcloudCloudinstancesGetOK
- func (o *PcloudCloudinstancesGetOK) Code() int
- func (o *PcloudCloudinstancesGetOK) Error() string
- func (o *PcloudCloudinstancesGetOK) GetPayload() *models.CloudInstance
- func (o *PcloudCloudinstancesGetOK) IsClientError() bool
- func (o *PcloudCloudinstancesGetOK) IsCode(code int) bool
- func (o *PcloudCloudinstancesGetOK) IsRedirect() bool
- func (o *PcloudCloudinstancesGetOK) IsServerError() bool
- func (o *PcloudCloudinstancesGetOK) IsSuccess() bool
- func (o *PcloudCloudinstancesGetOK) String() string
- type PcloudCloudinstancesGetParams
- func NewPcloudCloudinstancesGetParams() *PcloudCloudinstancesGetParams
- func NewPcloudCloudinstancesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesGetParams
- func NewPcloudCloudinstancesGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesGetParams
- func NewPcloudCloudinstancesGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesGetParams
- func (o *PcloudCloudinstancesGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesGetParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesGetParams) SetDefaults()
- func (o *PcloudCloudinstancesGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesGetParams
- func (o *PcloudCloudinstancesGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesGetParams
- func (o *PcloudCloudinstancesGetParams) WithDefaults() *PcloudCloudinstancesGetParams
- func (o *PcloudCloudinstancesGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesGetParams
- func (o *PcloudCloudinstancesGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesGetParams
- func (o *PcloudCloudinstancesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesGetReader
- type PcloudCloudinstancesGetUnauthorized
- func (o *PcloudCloudinstancesGetUnauthorized) Code() int
- func (o *PcloudCloudinstancesGetUnauthorized) Error() string
- func (o *PcloudCloudinstancesGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudCloudinstancesGetUnauthorized) IsClientError() bool
- func (o *PcloudCloudinstancesGetUnauthorized) IsCode(code int) bool
- func (o *PcloudCloudinstancesGetUnauthorized) IsRedirect() bool
- func (o *PcloudCloudinstancesGetUnauthorized) IsServerError() bool
- func (o *PcloudCloudinstancesGetUnauthorized) IsSuccess() bool
- func (o *PcloudCloudinstancesGetUnauthorized) String() string
- type PcloudCloudinstancesPutBadRequest
- func (o *PcloudCloudinstancesPutBadRequest) Code() int
- func (o *PcloudCloudinstancesPutBadRequest) Error() string
- func (o *PcloudCloudinstancesPutBadRequest) GetPayload() *models.Error
- func (o *PcloudCloudinstancesPutBadRequest) IsClientError() bool
- func (o *PcloudCloudinstancesPutBadRequest) IsCode(code int) bool
- func (o *PcloudCloudinstancesPutBadRequest) IsRedirect() bool
- func (o *PcloudCloudinstancesPutBadRequest) IsServerError() bool
- func (o *PcloudCloudinstancesPutBadRequest) IsSuccess() bool
- func (o *PcloudCloudinstancesPutBadRequest) String() string
- type PcloudCloudinstancesPutInternalServerError
- func (o *PcloudCloudinstancesPutInternalServerError) Code() int
- func (o *PcloudCloudinstancesPutInternalServerError) Error() string
- func (o *PcloudCloudinstancesPutInternalServerError) GetPayload() *models.Error
- func (o *PcloudCloudinstancesPutInternalServerError) IsClientError() bool
- func (o *PcloudCloudinstancesPutInternalServerError) IsCode(code int) bool
- func (o *PcloudCloudinstancesPutInternalServerError) IsRedirect() bool
- func (o *PcloudCloudinstancesPutInternalServerError) IsServerError() bool
- func (o *PcloudCloudinstancesPutInternalServerError) IsSuccess() bool
- func (o *PcloudCloudinstancesPutInternalServerError) String() string
- type PcloudCloudinstancesPutOK
- func (o *PcloudCloudinstancesPutOK) Code() int
- func (o *PcloudCloudinstancesPutOK) Error() string
- func (o *PcloudCloudinstancesPutOK) GetPayload() *models.CloudInstance
- func (o *PcloudCloudinstancesPutOK) IsClientError() bool
- func (o *PcloudCloudinstancesPutOK) IsCode(code int) bool
- func (o *PcloudCloudinstancesPutOK) IsRedirect() bool
- func (o *PcloudCloudinstancesPutOK) IsServerError() bool
- func (o *PcloudCloudinstancesPutOK) IsSuccess() bool
- func (o *PcloudCloudinstancesPutOK) String() string
- type PcloudCloudinstancesPutParams
- func NewPcloudCloudinstancesPutParams() *PcloudCloudinstancesPutParams
- func NewPcloudCloudinstancesPutParamsWithContext(ctx context.Context) *PcloudCloudinstancesPutParams
- func NewPcloudCloudinstancesPutParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesPutParams
- func NewPcloudCloudinstancesPutParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesPutParams
- func (o *PcloudCloudinstancesPutParams) SetBody(body *models.CloudInstanceUpdate)
- func (o *PcloudCloudinstancesPutParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesPutParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesPutParams) SetDefaults()
- func (o *PcloudCloudinstancesPutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesPutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesPutParams) WithBody(body *models.CloudInstanceUpdate) *PcloudCloudinstancesPutParams
- func (o *PcloudCloudinstancesPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesPutParams
- func (o *PcloudCloudinstancesPutParams) WithContext(ctx context.Context) *PcloudCloudinstancesPutParams
- func (o *PcloudCloudinstancesPutParams) WithDefaults() *PcloudCloudinstancesPutParams
- func (o *PcloudCloudinstancesPutParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesPutParams
- func (o *PcloudCloudinstancesPutParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesPutParams
- func (o *PcloudCloudinstancesPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesPutReader
- type PcloudCloudinstancesPutUnauthorized
- func (o *PcloudCloudinstancesPutUnauthorized) Code() int
- func (o *PcloudCloudinstancesPutUnauthorized) Error() string
- func (o *PcloudCloudinstancesPutUnauthorized) GetPayload() *models.Error
- func (o *PcloudCloudinstancesPutUnauthorized) IsClientError() bool
- func (o *PcloudCloudinstancesPutUnauthorized) IsCode(code int) bool
- func (o *PcloudCloudinstancesPutUnauthorized) IsRedirect() bool
- func (o *PcloudCloudinstancesPutUnauthorized) IsServerError() bool
- func (o *PcloudCloudinstancesPutUnauthorized) IsSuccess() bool
- func (o *PcloudCloudinstancesPutUnauthorized) String() string
- type PcloudCloudinstancesPutUnprocessableEntity
- func (o *PcloudCloudinstancesPutUnprocessableEntity) Code() int
- func (o *PcloudCloudinstancesPutUnprocessableEntity) Error() string
- func (o *PcloudCloudinstancesPutUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudCloudinstancesPutUnprocessableEntity) IsClientError() bool
- func (o *PcloudCloudinstancesPutUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudCloudinstancesPutUnprocessableEntity) IsRedirect() bool
- func (o *PcloudCloudinstancesPutUnprocessableEntity) IsServerError() bool
- func (o *PcloudCloudinstancesPutUnprocessableEntity) IsSuccess() bool
- func (o *PcloudCloudinstancesPutUnprocessableEntity) 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 instances API
func (*Client) PcloudCloudinstancesDelete ¶
func (a *Client) PcloudCloudinstancesDelete(params *PcloudCloudinstancesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesDeleteOK, error)
PcloudCloudinstancesDelete deletes a power cloud instance
func (*Client) PcloudCloudinstancesGet ¶
func (a *Client) PcloudCloudinstancesGet(params *PcloudCloudinstancesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesGetOK, error)
PcloudCloudinstancesGet gets a cloud instance s current state information
func (*Client) PcloudCloudinstancesPut ¶
func (a *Client) PcloudCloudinstancesPut(params *PcloudCloudinstancesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesPutOK, error)
PcloudCloudinstancesPut updates upgrade a cloud instance
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { PcloudCloudinstancesDelete(params *PcloudCloudinstancesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesDeleteOK, error) PcloudCloudinstancesGet(params *PcloudCloudinstancesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesGetOK, error) PcloudCloudinstancesPut(params *PcloudCloudinstancesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesPutOK, 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 instances API client.
type PcloudCloudinstancesDeleteBadRequest ¶
PcloudCloudinstancesDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesDeleteBadRequest ¶
func NewPcloudCloudinstancesDeleteBadRequest() *PcloudCloudinstancesDeleteBadRequest
NewPcloudCloudinstancesDeleteBadRequest creates a PcloudCloudinstancesDeleteBadRequest with default headers values
func (*PcloudCloudinstancesDeleteBadRequest) Code ¶
func (o *PcloudCloudinstancesDeleteBadRequest) Code() int
Code gets the status code for the pcloud cloudinstances delete bad request response
func (*PcloudCloudinstancesDeleteBadRequest) Error ¶
func (o *PcloudCloudinstancesDeleteBadRequest) Error() string
func (*PcloudCloudinstancesDeleteBadRequest) GetPayload ¶
func (o *PcloudCloudinstancesDeleteBadRequest) GetPayload() *models.Error
func (*PcloudCloudinstancesDeleteBadRequest) IsClientError ¶
func (o *PcloudCloudinstancesDeleteBadRequest) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances delete bad request response has a 4xx status code
func (*PcloudCloudinstancesDeleteBadRequest) IsCode ¶
func (o *PcloudCloudinstancesDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances delete bad request response a status code equal to that given
func (*PcloudCloudinstancesDeleteBadRequest) IsRedirect ¶
func (o *PcloudCloudinstancesDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances delete bad request response has a 3xx status code
func (*PcloudCloudinstancesDeleteBadRequest) IsServerError ¶
func (o *PcloudCloudinstancesDeleteBadRequest) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances delete bad request response has a 5xx status code
func (*PcloudCloudinstancesDeleteBadRequest) IsSuccess ¶
func (o *PcloudCloudinstancesDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances delete bad request response has a 2xx status code
func (*PcloudCloudinstancesDeleteBadRequest) String ¶
func (o *PcloudCloudinstancesDeleteBadRequest) String() string
type PcloudCloudinstancesDeleteGone ¶
PcloudCloudinstancesDeleteGone describes a response with status code 410, with default header values.
Gone
func NewPcloudCloudinstancesDeleteGone ¶
func NewPcloudCloudinstancesDeleteGone() *PcloudCloudinstancesDeleteGone
NewPcloudCloudinstancesDeleteGone creates a PcloudCloudinstancesDeleteGone with default headers values
func (*PcloudCloudinstancesDeleteGone) Code ¶
func (o *PcloudCloudinstancesDeleteGone) Code() int
Code gets the status code for the pcloud cloudinstances delete gone response
func (*PcloudCloudinstancesDeleteGone) Error ¶
func (o *PcloudCloudinstancesDeleteGone) Error() string
func (*PcloudCloudinstancesDeleteGone) GetPayload ¶
func (o *PcloudCloudinstancesDeleteGone) GetPayload() *models.Error
func (*PcloudCloudinstancesDeleteGone) IsClientError ¶
func (o *PcloudCloudinstancesDeleteGone) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances delete gone response has a 4xx status code
func (*PcloudCloudinstancesDeleteGone) IsCode ¶
func (o *PcloudCloudinstancesDeleteGone) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances delete gone response a status code equal to that given
func (*PcloudCloudinstancesDeleteGone) IsRedirect ¶
func (o *PcloudCloudinstancesDeleteGone) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances delete gone response has a 3xx status code
func (*PcloudCloudinstancesDeleteGone) IsServerError ¶
func (o *PcloudCloudinstancesDeleteGone) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances delete gone response has a 5xx status code
func (*PcloudCloudinstancesDeleteGone) IsSuccess ¶
func (o *PcloudCloudinstancesDeleteGone) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances delete gone response has a 2xx status code
func (*PcloudCloudinstancesDeleteGone) String ¶
func (o *PcloudCloudinstancesDeleteGone) String() string
type PcloudCloudinstancesDeleteInternalServerError ¶
PcloudCloudinstancesDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesDeleteInternalServerError ¶
func NewPcloudCloudinstancesDeleteInternalServerError() *PcloudCloudinstancesDeleteInternalServerError
NewPcloudCloudinstancesDeleteInternalServerError creates a PcloudCloudinstancesDeleteInternalServerError with default headers values
func (*PcloudCloudinstancesDeleteInternalServerError) Code ¶
func (o *PcloudCloudinstancesDeleteInternalServerError) Code() int
Code gets the status code for the pcloud cloudinstances delete internal server error response
func (*PcloudCloudinstancesDeleteInternalServerError) Error ¶
func (o *PcloudCloudinstancesDeleteInternalServerError) Error() string
func (*PcloudCloudinstancesDeleteInternalServerError) GetPayload ¶
func (o *PcloudCloudinstancesDeleteInternalServerError) GetPayload() *models.Error
func (*PcloudCloudinstancesDeleteInternalServerError) IsClientError ¶
func (o *PcloudCloudinstancesDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances delete internal server error response has a 4xx status code
func (*PcloudCloudinstancesDeleteInternalServerError) IsCode ¶
func (o *PcloudCloudinstancesDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances delete internal server error response a status code equal to that given
func (*PcloudCloudinstancesDeleteInternalServerError) IsRedirect ¶
func (o *PcloudCloudinstancesDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances delete internal server error response has a 3xx status code
func (*PcloudCloudinstancesDeleteInternalServerError) IsServerError ¶
func (o *PcloudCloudinstancesDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances delete internal server error response has a 5xx status code
func (*PcloudCloudinstancesDeleteInternalServerError) IsSuccess ¶
func (o *PcloudCloudinstancesDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances delete internal server error response has a 2xx status code
func (*PcloudCloudinstancesDeleteInternalServerError) String ¶
func (o *PcloudCloudinstancesDeleteInternalServerError) String() string
type PcloudCloudinstancesDeleteOK ¶
PcloudCloudinstancesDeleteOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesDeleteOK ¶
func NewPcloudCloudinstancesDeleteOK() *PcloudCloudinstancesDeleteOK
NewPcloudCloudinstancesDeleteOK creates a PcloudCloudinstancesDeleteOK with default headers values
func (*PcloudCloudinstancesDeleteOK) Code ¶
func (o *PcloudCloudinstancesDeleteOK) Code() int
Code gets the status code for the pcloud cloudinstances delete o k response
func (*PcloudCloudinstancesDeleteOK) Error ¶
func (o *PcloudCloudinstancesDeleteOK) Error() string
func (*PcloudCloudinstancesDeleteOK) GetPayload ¶
func (o *PcloudCloudinstancesDeleteOK) GetPayload() models.Object
func (*PcloudCloudinstancesDeleteOK) IsClientError ¶
func (o *PcloudCloudinstancesDeleteOK) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances delete o k response has a 4xx status code
func (*PcloudCloudinstancesDeleteOK) IsCode ¶
func (o *PcloudCloudinstancesDeleteOK) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances delete o k response a status code equal to that given
func (*PcloudCloudinstancesDeleteOK) IsRedirect ¶
func (o *PcloudCloudinstancesDeleteOK) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances delete o k response has a 3xx status code
func (*PcloudCloudinstancesDeleteOK) IsServerError ¶
func (o *PcloudCloudinstancesDeleteOK) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances delete o k response has a 5xx status code
func (*PcloudCloudinstancesDeleteOK) IsSuccess ¶
func (o *PcloudCloudinstancesDeleteOK) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances delete o k response has a 2xx status code
func (*PcloudCloudinstancesDeleteOK) String ¶
func (o *PcloudCloudinstancesDeleteOK) String() string
type PcloudCloudinstancesDeleteParams ¶
type PcloudCloudinstancesDeleteParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesDeleteParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances delete operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesDeleteParams ¶
func NewPcloudCloudinstancesDeleteParams() *PcloudCloudinstancesDeleteParams
NewPcloudCloudinstancesDeleteParams creates a new PcloudCloudinstancesDeleteParams 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 NewPcloudCloudinstancesDeleteParamsWithContext ¶
func NewPcloudCloudinstancesDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesDeleteParams
NewPcloudCloudinstancesDeleteParamsWithContext creates a new PcloudCloudinstancesDeleteParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesDeleteParamsWithHTTPClient ¶
func NewPcloudCloudinstancesDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesDeleteParams
NewPcloudCloudinstancesDeleteParamsWithHTTPClient creates a new PcloudCloudinstancesDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesDeleteParamsWithTimeout ¶
func NewPcloudCloudinstancesDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesDeleteParams
NewPcloudCloudinstancesDeleteParamsWithTimeout creates a new PcloudCloudinstancesDeleteParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesDeleteParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances delete params
func (*PcloudCloudinstancesDeleteParams) SetContext ¶
func (o *PcloudCloudinstancesDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances delete params
func (*PcloudCloudinstancesDeleteParams) SetDefaults ¶
func (o *PcloudCloudinstancesDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesDeleteParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances delete params
func (*PcloudCloudinstancesDeleteParams) SetTimeout ¶
func (o *PcloudCloudinstancesDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances delete params
func (*PcloudCloudinstancesDeleteParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances delete params
func (*PcloudCloudinstancesDeleteParams) WithContext ¶
func (o *PcloudCloudinstancesDeleteParams) WithContext(ctx context.Context) *PcloudCloudinstancesDeleteParams
WithContext adds the context to the pcloud cloudinstances delete params
func (*PcloudCloudinstancesDeleteParams) WithDefaults ¶
func (o *PcloudCloudinstancesDeleteParams) WithDefaults() *PcloudCloudinstancesDeleteParams
WithDefaults hydrates default values in the pcloud cloudinstances delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesDeleteParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesDeleteParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances delete params
func (*PcloudCloudinstancesDeleteParams) WithTimeout ¶
func (o *PcloudCloudinstancesDeleteParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesDeleteParams
WithTimeout adds the timeout to the pcloud cloudinstances delete params
func (*PcloudCloudinstancesDeleteParams) WriteToRequest ¶
func (o *PcloudCloudinstancesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesDeleteReader ¶
type PcloudCloudinstancesDeleteReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesDeleteReader is a Reader for the PcloudCloudinstancesDelete structure.
func (*PcloudCloudinstancesDeleteReader) ReadResponse ¶
func (o *PcloudCloudinstancesDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesDeleteUnauthorized ¶
type PcloudCloudinstancesDeleteUnauthorized struct {
}PcloudCloudinstancesDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesDeleteUnauthorized ¶
func NewPcloudCloudinstancesDeleteUnauthorized() *PcloudCloudinstancesDeleteUnauthorized
NewPcloudCloudinstancesDeleteUnauthorized creates a PcloudCloudinstancesDeleteUnauthorized with default headers values
func (*PcloudCloudinstancesDeleteUnauthorized) Code ¶
func (o *PcloudCloudinstancesDeleteUnauthorized) Code() int
Code gets the status code for the pcloud cloudinstances delete unauthorized response
func (*PcloudCloudinstancesDeleteUnauthorized) Error ¶
func (o *PcloudCloudinstancesDeleteUnauthorized) Error() string
func (*PcloudCloudinstancesDeleteUnauthorized) GetPayload ¶
func (o *PcloudCloudinstancesDeleteUnauthorized) GetPayload() *models.Error
func (*PcloudCloudinstancesDeleteUnauthorized) IsClientError ¶
func (o *PcloudCloudinstancesDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances delete unauthorized response has a 4xx status code
func (*PcloudCloudinstancesDeleteUnauthorized) IsCode ¶
func (o *PcloudCloudinstancesDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances delete unauthorized response a status code equal to that given
func (*PcloudCloudinstancesDeleteUnauthorized) IsRedirect ¶
func (o *PcloudCloudinstancesDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances delete unauthorized response has a 3xx status code
func (*PcloudCloudinstancesDeleteUnauthorized) IsServerError ¶
func (o *PcloudCloudinstancesDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances delete unauthorized response has a 5xx status code
func (*PcloudCloudinstancesDeleteUnauthorized) IsSuccess ¶
func (o *PcloudCloudinstancesDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances delete unauthorized response has a 2xx status code
func (*PcloudCloudinstancesDeleteUnauthorized) String ¶
func (o *PcloudCloudinstancesDeleteUnauthorized) String() string
type PcloudCloudinstancesGetBadRequest ¶
PcloudCloudinstancesGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesGetBadRequest ¶
func NewPcloudCloudinstancesGetBadRequest() *PcloudCloudinstancesGetBadRequest
NewPcloudCloudinstancesGetBadRequest creates a PcloudCloudinstancesGetBadRequest with default headers values
func (*PcloudCloudinstancesGetBadRequest) Code ¶
func (o *PcloudCloudinstancesGetBadRequest) Code() int
Code gets the status code for the pcloud cloudinstances get bad request response
func (*PcloudCloudinstancesGetBadRequest) Error ¶
func (o *PcloudCloudinstancesGetBadRequest) Error() string
func (*PcloudCloudinstancesGetBadRequest) GetPayload ¶
func (o *PcloudCloudinstancesGetBadRequest) GetPayload() *models.Error
func (*PcloudCloudinstancesGetBadRequest) IsClientError ¶
func (o *PcloudCloudinstancesGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances get bad request response has a 4xx status code
func (*PcloudCloudinstancesGetBadRequest) IsCode ¶
func (o *PcloudCloudinstancesGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances get bad request response a status code equal to that given
func (*PcloudCloudinstancesGetBadRequest) IsRedirect ¶
func (o *PcloudCloudinstancesGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances get bad request response has a 3xx status code
func (*PcloudCloudinstancesGetBadRequest) IsServerError ¶
func (o *PcloudCloudinstancesGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances get bad request response has a 5xx status code
func (*PcloudCloudinstancesGetBadRequest) IsSuccess ¶
func (o *PcloudCloudinstancesGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances get bad request response has a 2xx status code
func (*PcloudCloudinstancesGetBadRequest) String ¶
func (o *PcloudCloudinstancesGetBadRequest) String() string
type PcloudCloudinstancesGetInternalServerError ¶
PcloudCloudinstancesGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesGetInternalServerError ¶
func NewPcloudCloudinstancesGetInternalServerError() *PcloudCloudinstancesGetInternalServerError
NewPcloudCloudinstancesGetInternalServerError creates a PcloudCloudinstancesGetInternalServerError with default headers values
func (*PcloudCloudinstancesGetInternalServerError) Code ¶
func (o *PcloudCloudinstancesGetInternalServerError) Code() int
Code gets the status code for the pcloud cloudinstances get internal server error response
func (*PcloudCloudinstancesGetInternalServerError) Error ¶
func (o *PcloudCloudinstancesGetInternalServerError) Error() string
func (*PcloudCloudinstancesGetInternalServerError) GetPayload ¶
func (o *PcloudCloudinstancesGetInternalServerError) GetPayload() *models.Error
func (*PcloudCloudinstancesGetInternalServerError) IsClientError ¶
func (o *PcloudCloudinstancesGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances get internal server error response has a 4xx status code
func (*PcloudCloudinstancesGetInternalServerError) IsCode ¶
func (o *PcloudCloudinstancesGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances get internal server error response a status code equal to that given
func (*PcloudCloudinstancesGetInternalServerError) IsRedirect ¶
func (o *PcloudCloudinstancesGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances get internal server error response has a 3xx status code
func (*PcloudCloudinstancesGetInternalServerError) IsServerError ¶
func (o *PcloudCloudinstancesGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances get internal server error response has a 5xx status code
func (*PcloudCloudinstancesGetInternalServerError) IsSuccess ¶
func (o *PcloudCloudinstancesGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances get internal server error response has a 2xx status code
func (*PcloudCloudinstancesGetInternalServerError) String ¶
func (o *PcloudCloudinstancesGetInternalServerError) String() string
type PcloudCloudinstancesGetNotFound ¶
PcloudCloudinstancesGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudCloudinstancesGetNotFound ¶
func NewPcloudCloudinstancesGetNotFound() *PcloudCloudinstancesGetNotFound
NewPcloudCloudinstancesGetNotFound creates a PcloudCloudinstancesGetNotFound with default headers values
func (*PcloudCloudinstancesGetNotFound) Code ¶
func (o *PcloudCloudinstancesGetNotFound) Code() int
Code gets the status code for the pcloud cloudinstances get not found response
func (*PcloudCloudinstancesGetNotFound) Error ¶
func (o *PcloudCloudinstancesGetNotFound) Error() string
func (*PcloudCloudinstancesGetNotFound) GetPayload ¶
func (o *PcloudCloudinstancesGetNotFound) GetPayload() *models.Error
func (*PcloudCloudinstancesGetNotFound) IsClientError ¶
func (o *PcloudCloudinstancesGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances get not found response has a 4xx status code
func (*PcloudCloudinstancesGetNotFound) IsCode ¶
func (o *PcloudCloudinstancesGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances get not found response a status code equal to that given
func (*PcloudCloudinstancesGetNotFound) IsRedirect ¶
func (o *PcloudCloudinstancesGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances get not found response has a 3xx status code
func (*PcloudCloudinstancesGetNotFound) IsServerError ¶
func (o *PcloudCloudinstancesGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances get not found response has a 5xx status code
func (*PcloudCloudinstancesGetNotFound) IsSuccess ¶
func (o *PcloudCloudinstancesGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances get not found response has a 2xx status code
func (*PcloudCloudinstancesGetNotFound) String ¶
func (o *PcloudCloudinstancesGetNotFound) String() string
type PcloudCloudinstancesGetOK ¶
type PcloudCloudinstancesGetOK struct {
Payload *models.CloudInstance
}
PcloudCloudinstancesGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesGetOK ¶
func NewPcloudCloudinstancesGetOK() *PcloudCloudinstancesGetOK
NewPcloudCloudinstancesGetOK creates a PcloudCloudinstancesGetOK with default headers values
func (*PcloudCloudinstancesGetOK) Code ¶
func (o *PcloudCloudinstancesGetOK) Code() int
Code gets the status code for the pcloud cloudinstances get o k response
func (*PcloudCloudinstancesGetOK) Error ¶
func (o *PcloudCloudinstancesGetOK) Error() string
func (*PcloudCloudinstancesGetOK) GetPayload ¶
func (o *PcloudCloudinstancesGetOK) GetPayload() *models.CloudInstance
func (*PcloudCloudinstancesGetOK) IsClientError ¶
func (o *PcloudCloudinstancesGetOK) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances get o k response has a 4xx status code
func (*PcloudCloudinstancesGetOK) IsCode ¶
func (o *PcloudCloudinstancesGetOK) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances get o k response a status code equal to that given
func (*PcloudCloudinstancesGetOK) IsRedirect ¶
func (o *PcloudCloudinstancesGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances get o k response has a 3xx status code
func (*PcloudCloudinstancesGetOK) IsServerError ¶
func (o *PcloudCloudinstancesGetOK) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances get o k response has a 5xx status code
func (*PcloudCloudinstancesGetOK) IsSuccess ¶
func (o *PcloudCloudinstancesGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances get o k response has a 2xx status code
func (*PcloudCloudinstancesGetOK) String ¶
func (o *PcloudCloudinstancesGetOK) String() string
type PcloudCloudinstancesGetParams ¶
type PcloudCloudinstancesGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesGetParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances get operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesGetParams ¶
func NewPcloudCloudinstancesGetParams() *PcloudCloudinstancesGetParams
NewPcloudCloudinstancesGetParams creates a new PcloudCloudinstancesGetParams 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 NewPcloudCloudinstancesGetParamsWithContext ¶
func NewPcloudCloudinstancesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesGetParams
NewPcloudCloudinstancesGetParamsWithContext creates a new PcloudCloudinstancesGetParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesGetParamsWithHTTPClient ¶
func NewPcloudCloudinstancesGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesGetParams
NewPcloudCloudinstancesGetParamsWithHTTPClient creates a new PcloudCloudinstancesGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesGetParamsWithTimeout ¶
func NewPcloudCloudinstancesGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesGetParams
NewPcloudCloudinstancesGetParamsWithTimeout creates a new PcloudCloudinstancesGetParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesGetParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances get params
func (*PcloudCloudinstancesGetParams) SetContext ¶
func (o *PcloudCloudinstancesGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances get params
func (*PcloudCloudinstancesGetParams) SetDefaults ¶
func (o *PcloudCloudinstancesGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesGetParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances get params
func (*PcloudCloudinstancesGetParams) SetTimeout ¶
func (o *PcloudCloudinstancesGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances get params
func (*PcloudCloudinstancesGetParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances get params
func (*PcloudCloudinstancesGetParams) WithContext ¶
func (o *PcloudCloudinstancesGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesGetParams
WithContext adds the context to the pcloud cloudinstances get params
func (*PcloudCloudinstancesGetParams) WithDefaults ¶
func (o *PcloudCloudinstancesGetParams) WithDefaults() *PcloudCloudinstancesGetParams
WithDefaults hydrates default values in the pcloud cloudinstances get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesGetParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesGetParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances get params
func (*PcloudCloudinstancesGetParams) WithTimeout ¶
func (o *PcloudCloudinstancesGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesGetParams
WithTimeout adds the timeout to the pcloud cloudinstances get params
func (*PcloudCloudinstancesGetParams) WriteToRequest ¶
func (o *PcloudCloudinstancesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesGetReader ¶
type PcloudCloudinstancesGetReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesGetReader is a Reader for the PcloudCloudinstancesGet structure.
func (*PcloudCloudinstancesGetReader) ReadResponse ¶
func (o *PcloudCloudinstancesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesGetUnauthorized ¶
type PcloudCloudinstancesGetUnauthorized struct {
}PcloudCloudinstancesGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesGetUnauthorized ¶
func NewPcloudCloudinstancesGetUnauthorized() *PcloudCloudinstancesGetUnauthorized
NewPcloudCloudinstancesGetUnauthorized creates a PcloudCloudinstancesGetUnauthorized with default headers values
func (*PcloudCloudinstancesGetUnauthorized) Code ¶
func (o *PcloudCloudinstancesGetUnauthorized) Code() int
Code gets the status code for the pcloud cloudinstances get unauthorized response
func (*PcloudCloudinstancesGetUnauthorized) Error ¶
func (o *PcloudCloudinstancesGetUnauthorized) Error() string
func (*PcloudCloudinstancesGetUnauthorized) GetPayload ¶
func (o *PcloudCloudinstancesGetUnauthorized) GetPayload() *models.Error
func (*PcloudCloudinstancesGetUnauthorized) IsClientError ¶
func (o *PcloudCloudinstancesGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances get unauthorized response has a 4xx status code
func (*PcloudCloudinstancesGetUnauthorized) IsCode ¶
func (o *PcloudCloudinstancesGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances get unauthorized response a status code equal to that given
func (*PcloudCloudinstancesGetUnauthorized) IsRedirect ¶
func (o *PcloudCloudinstancesGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances get unauthorized response has a 3xx status code
func (*PcloudCloudinstancesGetUnauthorized) IsServerError ¶
func (o *PcloudCloudinstancesGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances get unauthorized response has a 5xx status code
func (*PcloudCloudinstancesGetUnauthorized) IsSuccess ¶
func (o *PcloudCloudinstancesGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances get unauthorized response has a 2xx status code
func (*PcloudCloudinstancesGetUnauthorized) String ¶
func (o *PcloudCloudinstancesGetUnauthorized) String() string
type PcloudCloudinstancesPutBadRequest ¶
PcloudCloudinstancesPutBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesPutBadRequest ¶
func NewPcloudCloudinstancesPutBadRequest() *PcloudCloudinstancesPutBadRequest
NewPcloudCloudinstancesPutBadRequest creates a PcloudCloudinstancesPutBadRequest with default headers values
func (*PcloudCloudinstancesPutBadRequest) Code ¶
func (o *PcloudCloudinstancesPutBadRequest) Code() int
Code gets the status code for the pcloud cloudinstances put bad request response
func (*PcloudCloudinstancesPutBadRequest) Error ¶
func (o *PcloudCloudinstancesPutBadRequest) Error() string
func (*PcloudCloudinstancesPutBadRequest) GetPayload ¶
func (o *PcloudCloudinstancesPutBadRequest) GetPayload() *models.Error
func (*PcloudCloudinstancesPutBadRequest) IsClientError ¶
func (o *PcloudCloudinstancesPutBadRequest) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances put bad request response has a 4xx status code
func (*PcloudCloudinstancesPutBadRequest) IsCode ¶
func (o *PcloudCloudinstancesPutBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances put bad request response a status code equal to that given
func (*PcloudCloudinstancesPutBadRequest) IsRedirect ¶
func (o *PcloudCloudinstancesPutBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances put bad request response has a 3xx status code
func (*PcloudCloudinstancesPutBadRequest) IsServerError ¶
func (o *PcloudCloudinstancesPutBadRequest) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances put bad request response has a 5xx status code
func (*PcloudCloudinstancesPutBadRequest) IsSuccess ¶
func (o *PcloudCloudinstancesPutBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances put bad request response has a 2xx status code
func (*PcloudCloudinstancesPutBadRequest) String ¶
func (o *PcloudCloudinstancesPutBadRequest) String() string
type PcloudCloudinstancesPutInternalServerError ¶
PcloudCloudinstancesPutInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesPutInternalServerError ¶
func NewPcloudCloudinstancesPutInternalServerError() *PcloudCloudinstancesPutInternalServerError
NewPcloudCloudinstancesPutInternalServerError creates a PcloudCloudinstancesPutInternalServerError with default headers values
func (*PcloudCloudinstancesPutInternalServerError) Code ¶
func (o *PcloudCloudinstancesPutInternalServerError) Code() int
Code gets the status code for the pcloud cloudinstances put internal server error response
func (*PcloudCloudinstancesPutInternalServerError) Error ¶
func (o *PcloudCloudinstancesPutInternalServerError) Error() string
func (*PcloudCloudinstancesPutInternalServerError) GetPayload ¶
func (o *PcloudCloudinstancesPutInternalServerError) GetPayload() *models.Error
func (*PcloudCloudinstancesPutInternalServerError) IsClientError ¶
func (o *PcloudCloudinstancesPutInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances put internal server error response has a 4xx status code
func (*PcloudCloudinstancesPutInternalServerError) IsCode ¶
func (o *PcloudCloudinstancesPutInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances put internal server error response a status code equal to that given
func (*PcloudCloudinstancesPutInternalServerError) IsRedirect ¶
func (o *PcloudCloudinstancesPutInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances put internal server error response has a 3xx status code
func (*PcloudCloudinstancesPutInternalServerError) IsServerError ¶
func (o *PcloudCloudinstancesPutInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances put internal server error response has a 5xx status code
func (*PcloudCloudinstancesPutInternalServerError) IsSuccess ¶
func (o *PcloudCloudinstancesPutInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances put internal server error response has a 2xx status code
func (*PcloudCloudinstancesPutInternalServerError) String ¶
func (o *PcloudCloudinstancesPutInternalServerError) String() string
type PcloudCloudinstancesPutOK ¶
type PcloudCloudinstancesPutOK struct {
Payload *models.CloudInstance
}
PcloudCloudinstancesPutOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesPutOK ¶
func NewPcloudCloudinstancesPutOK() *PcloudCloudinstancesPutOK
NewPcloudCloudinstancesPutOK creates a PcloudCloudinstancesPutOK with default headers values
func (*PcloudCloudinstancesPutOK) Code ¶
func (o *PcloudCloudinstancesPutOK) Code() int
Code gets the status code for the pcloud cloudinstances put o k response
func (*PcloudCloudinstancesPutOK) Error ¶
func (o *PcloudCloudinstancesPutOK) Error() string
func (*PcloudCloudinstancesPutOK) GetPayload ¶
func (o *PcloudCloudinstancesPutOK) GetPayload() *models.CloudInstance
func (*PcloudCloudinstancesPutOK) IsClientError ¶
func (o *PcloudCloudinstancesPutOK) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances put o k response has a 4xx status code
func (*PcloudCloudinstancesPutOK) IsCode ¶
func (o *PcloudCloudinstancesPutOK) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances put o k response a status code equal to that given
func (*PcloudCloudinstancesPutOK) IsRedirect ¶
func (o *PcloudCloudinstancesPutOK) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances put o k response has a 3xx status code
func (*PcloudCloudinstancesPutOK) IsServerError ¶
func (o *PcloudCloudinstancesPutOK) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances put o k response has a 5xx status code
func (*PcloudCloudinstancesPutOK) IsSuccess ¶
func (o *PcloudCloudinstancesPutOK) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances put o k response has a 2xx status code
func (*PcloudCloudinstancesPutOK) String ¶
func (o *PcloudCloudinstancesPutOK) String() string
type PcloudCloudinstancesPutParams ¶
type PcloudCloudinstancesPutParams struct { /* Body. Parameters for updating a Power Cloud Instance */ Body *models.CloudInstanceUpdate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesPutParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances put operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesPutParams ¶
func NewPcloudCloudinstancesPutParams() *PcloudCloudinstancesPutParams
NewPcloudCloudinstancesPutParams creates a new PcloudCloudinstancesPutParams 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 NewPcloudCloudinstancesPutParamsWithContext ¶
func NewPcloudCloudinstancesPutParamsWithContext(ctx context.Context) *PcloudCloudinstancesPutParams
NewPcloudCloudinstancesPutParamsWithContext creates a new PcloudCloudinstancesPutParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesPutParamsWithHTTPClient ¶
func NewPcloudCloudinstancesPutParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesPutParams
NewPcloudCloudinstancesPutParamsWithHTTPClient creates a new PcloudCloudinstancesPutParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesPutParamsWithTimeout ¶
func NewPcloudCloudinstancesPutParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesPutParams
NewPcloudCloudinstancesPutParamsWithTimeout creates a new PcloudCloudinstancesPutParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesPutParams) SetBody ¶
func (o *PcloudCloudinstancesPutParams) SetBody(body *models.CloudInstanceUpdate)
SetBody adds the body to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesPutParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) SetContext ¶
func (o *PcloudCloudinstancesPutParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) SetDefaults ¶
func (o *PcloudCloudinstancesPutParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesPutParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) SetTimeout ¶
func (o *PcloudCloudinstancesPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) WithBody ¶
func (o *PcloudCloudinstancesPutParams) WithBody(body *models.CloudInstanceUpdate) *PcloudCloudinstancesPutParams
WithBody adds the body to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesPutParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) WithContext ¶
func (o *PcloudCloudinstancesPutParams) WithContext(ctx context.Context) *PcloudCloudinstancesPutParams
WithContext adds the context to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) WithDefaults ¶
func (o *PcloudCloudinstancesPutParams) WithDefaults() *PcloudCloudinstancesPutParams
WithDefaults hydrates default values in the pcloud cloudinstances put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesPutParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesPutParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesPutParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) WithTimeout ¶
func (o *PcloudCloudinstancesPutParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesPutParams
WithTimeout adds the timeout to the pcloud cloudinstances put params
func (*PcloudCloudinstancesPutParams) WriteToRequest ¶
func (o *PcloudCloudinstancesPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesPutReader ¶
type PcloudCloudinstancesPutReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesPutReader is a Reader for the PcloudCloudinstancesPut structure.
func (*PcloudCloudinstancesPutReader) ReadResponse ¶
func (o *PcloudCloudinstancesPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesPutUnauthorized ¶
type PcloudCloudinstancesPutUnauthorized struct {
}PcloudCloudinstancesPutUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesPutUnauthorized ¶
func NewPcloudCloudinstancesPutUnauthorized() *PcloudCloudinstancesPutUnauthorized
NewPcloudCloudinstancesPutUnauthorized creates a PcloudCloudinstancesPutUnauthorized with default headers values
func (*PcloudCloudinstancesPutUnauthorized) Code ¶
func (o *PcloudCloudinstancesPutUnauthorized) Code() int
Code gets the status code for the pcloud cloudinstances put unauthorized response
func (*PcloudCloudinstancesPutUnauthorized) Error ¶
func (o *PcloudCloudinstancesPutUnauthorized) Error() string
func (*PcloudCloudinstancesPutUnauthorized) GetPayload ¶
func (o *PcloudCloudinstancesPutUnauthorized) GetPayload() *models.Error
func (*PcloudCloudinstancesPutUnauthorized) IsClientError ¶
func (o *PcloudCloudinstancesPutUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances put unauthorized response has a 4xx status code
func (*PcloudCloudinstancesPutUnauthorized) IsCode ¶
func (o *PcloudCloudinstancesPutUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances put unauthorized response a status code equal to that given
func (*PcloudCloudinstancesPutUnauthorized) IsRedirect ¶
func (o *PcloudCloudinstancesPutUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances put unauthorized response has a 3xx status code
func (*PcloudCloudinstancesPutUnauthorized) IsServerError ¶
func (o *PcloudCloudinstancesPutUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances put unauthorized response has a 5xx status code
func (*PcloudCloudinstancesPutUnauthorized) IsSuccess ¶
func (o *PcloudCloudinstancesPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances put unauthorized response has a 2xx status code
func (*PcloudCloudinstancesPutUnauthorized) String ¶
func (o *PcloudCloudinstancesPutUnauthorized) String() string
type PcloudCloudinstancesPutUnprocessableEntity ¶
PcloudCloudinstancesPutUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudCloudinstancesPutUnprocessableEntity ¶
func NewPcloudCloudinstancesPutUnprocessableEntity() *PcloudCloudinstancesPutUnprocessableEntity
NewPcloudCloudinstancesPutUnprocessableEntity creates a PcloudCloudinstancesPutUnprocessableEntity with default headers values
func (*PcloudCloudinstancesPutUnprocessableEntity) Code ¶
func (o *PcloudCloudinstancesPutUnprocessableEntity) Code() int
Code gets the status code for the pcloud cloudinstances put unprocessable entity response
func (*PcloudCloudinstancesPutUnprocessableEntity) Error ¶
func (o *PcloudCloudinstancesPutUnprocessableEntity) Error() string
func (*PcloudCloudinstancesPutUnprocessableEntity) GetPayload ¶
func (o *PcloudCloudinstancesPutUnprocessableEntity) GetPayload() *models.Error
func (*PcloudCloudinstancesPutUnprocessableEntity) IsClientError ¶
func (o *PcloudCloudinstancesPutUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud cloudinstances put unprocessable entity response has a 4xx status code
func (*PcloudCloudinstancesPutUnprocessableEntity) IsCode ¶
func (o *PcloudCloudinstancesPutUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud cloudinstances put unprocessable entity response a status code equal to that given
func (*PcloudCloudinstancesPutUnprocessableEntity) IsRedirect ¶
func (o *PcloudCloudinstancesPutUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud cloudinstances put unprocessable entity response has a 3xx status code
func (*PcloudCloudinstancesPutUnprocessableEntity) IsServerError ¶
func (o *PcloudCloudinstancesPutUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud cloudinstances put unprocessable entity response has a 5xx status code
func (*PcloudCloudinstancesPutUnprocessableEntity) IsSuccess ¶
func (o *PcloudCloudinstancesPutUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud cloudinstances put unprocessable entity response has a 2xx status code
func (*PcloudCloudinstancesPutUnprocessableEntity) String ¶
func (o *PcloudCloudinstancesPutUnprocessableEntity) String() string