Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudCloudinstancesSnapshotsDelete(params *PcloudCloudinstancesSnapshotsDeleteParams, ...) (*PcloudCloudinstancesSnapshotsDeleteAccepted, error)
- func (a *Client) PcloudCloudinstancesSnapshotsGet(params *PcloudCloudinstancesSnapshotsGetParams, ...) (*PcloudCloudinstancesSnapshotsGetOK, error)
- func (a *Client) PcloudCloudinstancesSnapshotsGetall(params *PcloudCloudinstancesSnapshotsGetallParams, ...) (*PcloudCloudinstancesSnapshotsGetallOK, error)
- func (a *Client) PcloudCloudinstancesSnapshotsPut(params *PcloudCloudinstancesSnapshotsPutParams, ...) (*PcloudCloudinstancesSnapshotsPutOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudCloudinstancesSnapshotsDeleteAccepted
- type PcloudCloudinstancesSnapshotsDeleteBadRequest
- type PcloudCloudinstancesSnapshotsDeleteGone
- type PcloudCloudinstancesSnapshotsDeleteInternalServerError
- type PcloudCloudinstancesSnapshotsDeleteNotFound
- type PcloudCloudinstancesSnapshotsDeleteParams
- func NewPcloudCloudinstancesSnapshotsDeleteParams() *PcloudCloudinstancesSnapshotsDeleteParams
- func NewPcloudCloudinstancesSnapshotsDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsDeleteParams
- func NewPcloudCloudinstancesSnapshotsDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsDeleteParams
- func NewPcloudCloudinstancesSnapshotsDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsDeleteParams
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetDefaults()
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetSnapshotID(snapshotID string)
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesSnapshotsDeleteParams
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsDeleteParams
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithDefaults() *PcloudCloudinstancesSnapshotsDeleteParams
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsDeleteParams
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithSnapshotID(snapshotID string) *PcloudCloudinstancesSnapshotsDeleteParams
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsDeleteParams
- func (o *PcloudCloudinstancesSnapshotsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesSnapshotsDeleteReader
- type PcloudCloudinstancesSnapshotsDeleteUnauthorized
- type PcloudCloudinstancesSnapshotsGetBadRequest
- type PcloudCloudinstancesSnapshotsGetInternalServerError
- type PcloudCloudinstancesSnapshotsGetNotFound
- type PcloudCloudinstancesSnapshotsGetOK
- type PcloudCloudinstancesSnapshotsGetParams
- func NewPcloudCloudinstancesSnapshotsGetParams() *PcloudCloudinstancesSnapshotsGetParams
- func NewPcloudCloudinstancesSnapshotsGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetParams
- func NewPcloudCloudinstancesSnapshotsGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsGetParams
- func NewPcloudCloudinstancesSnapshotsGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsGetParams
- func (o *PcloudCloudinstancesSnapshotsGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesSnapshotsGetParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesSnapshotsGetParams) SetDefaults()
- func (o *PcloudCloudinstancesSnapshotsGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesSnapshotsGetParams) SetSnapshotID(snapshotID string)
- func (o *PcloudCloudinstancesSnapshotsGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesSnapshotsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesSnapshotsGetParams
- func (o *PcloudCloudinstancesSnapshotsGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetParams
- func (o *PcloudCloudinstancesSnapshotsGetParams) WithDefaults() *PcloudCloudinstancesSnapshotsGetParams
- func (o *PcloudCloudinstancesSnapshotsGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsGetParams
- func (o *PcloudCloudinstancesSnapshotsGetParams) WithSnapshotID(snapshotID string) *PcloudCloudinstancesSnapshotsGetParams
- func (o *PcloudCloudinstancesSnapshotsGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsGetParams
- func (o *PcloudCloudinstancesSnapshotsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesSnapshotsGetReader
- type PcloudCloudinstancesSnapshotsGetUnauthorized
- type PcloudCloudinstancesSnapshotsGetallBadRequest
- type PcloudCloudinstancesSnapshotsGetallInternalServerError
- type PcloudCloudinstancesSnapshotsGetallOK
- type PcloudCloudinstancesSnapshotsGetallParams
- func NewPcloudCloudinstancesSnapshotsGetallParams() *PcloudCloudinstancesSnapshotsGetallParams
- func NewPcloudCloudinstancesSnapshotsGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetallParams
- func NewPcloudCloudinstancesSnapshotsGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsGetallParams
- func NewPcloudCloudinstancesSnapshotsGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsGetallParams
- func (o *PcloudCloudinstancesSnapshotsGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesSnapshotsGetallParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesSnapshotsGetallParams) SetDefaults()
- func (o *PcloudCloudinstancesSnapshotsGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesSnapshotsGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesSnapshotsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesSnapshotsGetallParams
- func (o *PcloudCloudinstancesSnapshotsGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetallParams
- func (o *PcloudCloudinstancesSnapshotsGetallParams) WithDefaults() *PcloudCloudinstancesSnapshotsGetallParams
- func (o *PcloudCloudinstancesSnapshotsGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsGetallParams
- func (o *PcloudCloudinstancesSnapshotsGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsGetallParams
- func (o *PcloudCloudinstancesSnapshotsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesSnapshotsGetallReader
- type PcloudCloudinstancesSnapshotsGetallUnauthorized
- type PcloudCloudinstancesSnapshotsPutBadRequest
- type PcloudCloudinstancesSnapshotsPutInternalServerError
- type PcloudCloudinstancesSnapshotsPutNotFound
- type PcloudCloudinstancesSnapshotsPutOK
- type PcloudCloudinstancesSnapshotsPutParams
- func NewPcloudCloudinstancesSnapshotsPutParams() *PcloudCloudinstancesSnapshotsPutParams
- func NewPcloudCloudinstancesSnapshotsPutParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsPutParams
- func NewPcloudCloudinstancesSnapshotsPutParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsPutParams
- func NewPcloudCloudinstancesSnapshotsPutParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsPutParams
- func (o *PcloudCloudinstancesSnapshotsPutParams) SetBody(body *models.SnapshotUpdate)
- func (o *PcloudCloudinstancesSnapshotsPutParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudCloudinstancesSnapshotsPutParams) SetContext(ctx context.Context)
- func (o *PcloudCloudinstancesSnapshotsPutParams) SetDefaults()
- func (o *PcloudCloudinstancesSnapshotsPutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudCloudinstancesSnapshotsPutParams) SetSnapshotID(snapshotID string)
- func (o *PcloudCloudinstancesSnapshotsPutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudCloudinstancesSnapshotsPutParams) WithBody(body *models.SnapshotUpdate) *PcloudCloudinstancesSnapshotsPutParams
- func (o *PcloudCloudinstancesSnapshotsPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesSnapshotsPutParams
- func (o *PcloudCloudinstancesSnapshotsPutParams) WithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsPutParams
- func (o *PcloudCloudinstancesSnapshotsPutParams) WithDefaults() *PcloudCloudinstancesSnapshotsPutParams
- func (o *PcloudCloudinstancesSnapshotsPutParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsPutParams
- func (o *PcloudCloudinstancesSnapshotsPutParams) WithSnapshotID(snapshotID string) *PcloudCloudinstancesSnapshotsPutParams
- func (o *PcloudCloudinstancesSnapshotsPutParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsPutParams
- func (o *PcloudCloudinstancesSnapshotsPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudCloudinstancesSnapshotsPutReader
- type PcloudCloudinstancesSnapshotsPutUnauthorized
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 snapshots API
func (*Client) PcloudCloudinstancesSnapshotsDelete ¶
func (a *Client) PcloudCloudinstancesSnapshotsDelete(params *PcloudCloudinstancesSnapshotsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesSnapshotsDeleteAccepted, error)
PcloudCloudinstancesSnapshotsDelete deletes a p VM instance snapshot of a cloud instance
func (*Client) PcloudCloudinstancesSnapshotsGet ¶
func (a *Client) PcloudCloudinstancesSnapshotsGet(params *PcloudCloudinstancesSnapshotsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesSnapshotsGetOK, error)
PcloudCloudinstancesSnapshotsGet gets the detail of a snapshot
func (*Client) PcloudCloudinstancesSnapshotsGetall ¶
func (a *Client) PcloudCloudinstancesSnapshotsGetall(params *PcloudCloudinstancesSnapshotsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesSnapshotsGetallOK, error)
PcloudCloudinstancesSnapshotsGetall lists all p VM instance snapshots for this cloud instance
func (*Client) PcloudCloudinstancesSnapshotsPut ¶
func (a *Client) PcloudCloudinstancesSnapshotsPut(params *PcloudCloudinstancesSnapshotsPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesSnapshotsPutOK, error)
PcloudCloudinstancesSnapshotsPut updates a p VM instance snapshot
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 { PcloudCloudinstancesSnapshotsDelete(params *PcloudCloudinstancesSnapshotsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesSnapshotsDeleteAccepted, error) PcloudCloudinstancesSnapshotsGet(params *PcloudCloudinstancesSnapshotsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesSnapshotsGetOK, error) PcloudCloudinstancesSnapshotsGetall(params *PcloudCloudinstancesSnapshotsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesSnapshotsGetallOK, error) PcloudCloudinstancesSnapshotsPut(params *PcloudCloudinstancesSnapshotsPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesSnapshotsPutOK, 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 snapshots API client.
type PcloudCloudinstancesSnapshotsDeleteAccepted ¶
PcloudCloudinstancesSnapshotsDeleteAccepted describes a response with status code 202, with default header values.
Accepted
func NewPcloudCloudinstancesSnapshotsDeleteAccepted ¶
func NewPcloudCloudinstancesSnapshotsDeleteAccepted() *PcloudCloudinstancesSnapshotsDeleteAccepted
NewPcloudCloudinstancesSnapshotsDeleteAccepted creates a PcloudCloudinstancesSnapshotsDeleteAccepted with default headers values
func (*PcloudCloudinstancesSnapshotsDeleteAccepted) Error ¶
func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) Error() string
func (*PcloudCloudinstancesSnapshotsDeleteAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) GetPayload() models.Object
type PcloudCloudinstancesSnapshotsDeleteBadRequest ¶
PcloudCloudinstancesSnapshotsDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesSnapshotsDeleteBadRequest ¶
func NewPcloudCloudinstancesSnapshotsDeleteBadRequest() *PcloudCloudinstancesSnapshotsDeleteBadRequest
NewPcloudCloudinstancesSnapshotsDeleteBadRequest creates a PcloudCloudinstancesSnapshotsDeleteBadRequest with default headers values
func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) Error ¶
func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) Error() string
func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesSnapshotsDeleteGone ¶
PcloudCloudinstancesSnapshotsDeleteGone describes a response with status code 410, with default header values.
Gone
func NewPcloudCloudinstancesSnapshotsDeleteGone ¶
func NewPcloudCloudinstancesSnapshotsDeleteGone() *PcloudCloudinstancesSnapshotsDeleteGone
NewPcloudCloudinstancesSnapshotsDeleteGone creates a PcloudCloudinstancesSnapshotsDeleteGone with default headers values
func (*PcloudCloudinstancesSnapshotsDeleteGone) Error ¶
func (o *PcloudCloudinstancesSnapshotsDeleteGone) Error() string
func (*PcloudCloudinstancesSnapshotsDeleteGone) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsDeleteGone) GetPayload() *models.Error
type PcloudCloudinstancesSnapshotsDeleteInternalServerError ¶
PcloudCloudinstancesSnapshotsDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesSnapshotsDeleteInternalServerError ¶
func NewPcloudCloudinstancesSnapshotsDeleteInternalServerError() *PcloudCloudinstancesSnapshotsDeleteInternalServerError
NewPcloudCloudinstancesSnapshotsDeleteInternalServerError creates a PcloudCloudinstancesSnapshotsDeleteInternalServerError with default headers values
func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) Error ¶
func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) Error() string
func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesSnapshotsDeleteNotFound ¶ added in v1.0.56
PcloudCloudinstancesSnapshotsDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudCloudinstancesSnapshotsDeleteNotFound ¶ added in v1.0.56
func NewPcloudCloudinstancesSnapshotsDeleteNotFound() *PcloudCloudinstancesSnapshotsDeleteNotFound
NewPcloudCloudinstancesSnapshotsDeleteNotFound creates a PcloudCloudinstancesSnapshotsDeleteNotFound with default headers values
func (*PcloudCloudinstancesSnapshotsDeleteNotFound) Error ¶ added in v1.0.56
func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) Error() string
func (*PcloudCloudinstancesSnapshotsDeleteNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) GetPayload() *models.Error
type PcloudCloudinstancesSnapshotsDeleteParams ¶
type PcloudCloudinstancesSnapshotsDeleteParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* SnapshotID. PVM Instance snapshot id */ SnapshotID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesSnapshotsDeleteParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances snapshots delete operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesSnapshotsDeleteParams ¶
func NewPcloudCloudinstancesSnapshotsDeleteParams() *PcloudCloudinstancesSnapshotsDeleteParams
NewPcloudCloudinstancesSnapshotsDeleteParams creates a new PcloudCloudinstancesSnapshotsDeleteParams 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 NewPcloudCloudinstancesSnapshotsDeleteParamsWithContext ¶
func NewPcloudCloudinstancesSnapshotsDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsDeleteParams
NewPcloudCloudinstancesSnapshotsDeleteParamsWithContext creates a new PcloudCloudinstancesSnapshotsDeleteParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesSnapshotsDeleteParamsWithHTTPClient ¶
func NewPcloudCloudinstancesSnapshotsDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsDeleteParams
NewPcloudCloudinstancesSnapshotsDeleteParamsWithHTTPClient creates a new PcloudCloudinstancesSnapshotsDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesSnapshotsDeleteParamsWithTimeout ¶
func NewPcloudCloudinstancesSnapshotsDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsDeleteParams
NewPcloudCloudinstancesSnapshotsDeleteParamsWithTimeout creates a new PcloudCloudinstancesSnapshotsDeleteParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesSnapshotsDeleteParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) SetContext ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances snapshots delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesSnapshotsDeleteParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) SetSnapshotID ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetSnapshotID(snapshotID string)
SetSnapshotID adds the snapshotId to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) SetTimeout ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesSnapshotsDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) WithContext ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsDeleteParams
WithContext adds the context to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithDefaults() *PcloudCloudinstancesSnapshotsDeleteParams
WithDefaults hydrates default values in the pcloud cloudinstances snapshots delete params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesSnapshotsDeleteParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) WithSnapshotID ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithSnapshotID(snapshotID string) *PcloudCloudinstancesSnapshotsDeleteParams
WithSnapshotID adds the snapshotID to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) WithTimeout ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsDeleteParams
WithTimeout adds the timeout to the pcloud cloudinstances snapshots delete params
func (*PcloudCloudinstancesSnapshotsDeleteParams) WriteToRequest ¶
func (o *PcloudCloudinstancesSnapshotsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesSnapshotsDeleteReader ¶
type PcloudCloudinstancesSnapshotsDeleteReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesSnapshotsDeleteReader is a Reader for the PcloudCloudinstancesSnapshotsDelete structure.
func (*PcloudCloudinstancesSnapshotsDeleteReader) ReadResponse ¶
func (o *PcloudCloudinstancesSnapshotsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesSnapshotsDeleteUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesSnapshotsDeleteUnauthorized struct {
}PcloudCloudinstancesSnapshotsDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesSnapshotsDeleteUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesSnapshotsDeleteUnauthorized() *PcloudCloudinstancesSnapshotsDeleteUnauthorized
NewPcloudCloudinstancesSnapshotsDeleteUnauthorized creates a PcloudCloudinstancesSnapshotsDeleteUnauthorized with default headers values
func (*PcloudCloudinstancesSnapshotsDeleteUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) Error() string
func (*PcloudCloudinstancesSnapshotsDeleteUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) GetPayload() *models.Error
type PcloudCloudinstancesSnapshotsGetBadRequest ¶
PcloudCloudinstancesSnapshotsGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesSnapshotsGetBadRequest ¶
func NewPcloudCloudinstancesSnapshotsGetBadRequest() *PcloudCloudinstancesSnapshotsGetBadRequest
NewPcloudCloudinstancesSnapshotsGetBadRequest creates a PcloudCloudinstancesSnapshotsGetBadRequest with default headers values
func (*PcloudCloudinstancesSnapshotsGetBadRequest) Error ¶
func (o *PcloudCloudinstancesSnapshotsGetBadRequest) Error() string
func (*PcloudCloudinstancesSnapshotsGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesSnapshotsGetInternalServerError ¶
PcloudCloudinstancesSnapshotsGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesSnapshotsGetInternalServerError ¶
func NewPcloudCloudinstancesSnapshotsGetInternalServerError() *PcloudCloudinstancesSnapshotsGetInternalServerError
NewPcloudCloudinstancesSnapshotsGetInternalServerError creates a PcloudCloudinstancesSnapshotsGetInternalServerError with default headers values
func (*PcloudCloudinstancesSnapshotsGetInternalServerError) Error ¶
func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) Error() string
func (*PcloudCloudinstancesSnapshotsGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesSnapshotsGetNotFound ¶ added in v1.0.38
PcloudCloudinstancesSnapshotsGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudCloudinstancesSnapshotsGetNotFound ¶ added in v1.0.38
func NewPcloudCloudinstancesSnapshotsGetNotFound() *PcloudCloudinstancesSnapshotsGetNotFound
NewPcloudCloudinstancesSnapshotsGetNotFound creates a PcloudCloudinstancesSnapshotsGetNotFound with default headers values
func (*PcloudCloudinstancesSnapshotsGetNotFound) Error ¶ added in v1.0.38
func (o *PcloudCloudinstancesSnapshotsGetNotFound) Error() string
func (*PcloudCloudinstancesSnapshotsGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetNotFound) GetPayload() *models.Error
type PcloudCloudinstancesSnapshotsGetOK ¶
PcloudCloudinstancesSnapshotsGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesSnapshotsGetOK ¶
func NewPcloudCloudinstancesSnapshotsGetOK() *PcloudCloudinstancesSnapshotsGetOK
NewPcloudCloudinstancesSnapshotsGetOK creates a PcloudCloudinstancesSnapshotsGetOK with default headers values
func (*PcloudCloudinstancesSnapshotsGetOK) Error ¶
func (o *PcloudCloudinstancesSnapshotsGetOK) Error() string
func (*PcloudCloudinstancesSnapshotsGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetOK) GetPayload() *models.Snapshot
type PcloudCloudinstancesSnapshotsGetParams ¶
type PcloudCloudinstancesSnapshotsGetParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* SnapshotID. PVM Instance snapshot id */ SnapshotID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesSnapshotsGetParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances snapshots get operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesSnapshotsGetParams ¶
func NewPcloudCloudinstancesSnapshotsGetParams() *PcloudCloudinstancesSnapshotsGetParams
NewPcloudCloudinstancesSnapshotsGetParams creates a new PcloudCloudinstancesSnapshotsGetParams 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 NewPcloudCloudinstancesSnapshotsGetParamsWithContext ¶
func NewPcloudCloudinstancesSnapshotsGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetParams
NewPcloudCloudinstancesSnapshotsGetParamsWithContext creates a new PcloudCloudinstancesSnapshotsGetParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesSnapshotsGetParamsWithHTTPClient ¶
func NewPcloudCloudinstancesSnapshotsGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsGetParams
NewPcloudCloudinstancesSnapshotsGetParamsWithHTTPClient creates a new PcloudCloudinstancesSnapshotsGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesSnapshotsGetParamsWithTimeout ¶
func NewPcloudCloudinstancesSnapshotsGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsGetParams
NewPcloudCloudinstancesSnapshotsGetParamsWithTimeout creates a new PcloudCloudinstancesSnapshotsGetParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesSnapshotsGetParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) SetContext ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances snapshots get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesSnapshotsGetParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) SetSnapshotID ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) SetSnapshotID(snapshotID string)
SetSnapshotID adds the snapshotId to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) SetTimeout ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesSnapshotsGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) WithContext ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) WithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetParams
WithContext adds the context to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetParams) WithDefaults() *PcloudCloudinstancesSnapshotsGetParams
WithDefaults hydrates default values in the pcloud cloudinstances snapshots get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesSnapshotsGetParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsGetParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) WithSnapshotID ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) WithSnapshotID(snapshotID string) *PcloudCloudinstancesSnapshotsGetParams
WithSnapshotID adds the snapshotID to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) WithTimeout ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsGetParams
WithTimeout adds the timeout to the pcloud cloudinstances snapshots get params
func (*PcloudCloudinstancesSnapshotsGetParams) WriteToRequest ¶
func (o *PcloudCloudinstancesSnapshotsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesSnapshotsGetReader ¶
type PcloudCloudinstancesSnapshotsGetReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesSnapshotsGetReader is a Reader for the PcloudCloudinstancesSnapshotsGet structure.
func (*PcloudCloudinstancesSnapshotsGetReader) ReadResponse ¶
func (o *PcloudCloudinstancesSnapshotsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesSnapshotsGetUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesSnapshotsGetUnauthorized struct {
}PcloudCloudinstancesSnapshotsGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesSnapshotsGetUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesSnapshotsGetUnauthorized() *PcloudCloudinstancesSnapshotsGetUnauthorized
NewPcloudCloudinstancesSnapshotsGetUnauthorized creates a PcloudCloudinstancesSnapshotsGetUnauthorized with default headers values
func (*PcloudCloudinstancesSnapshotsGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) Error() string
func (*PcloudCloudinstancesSnapshotsGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) GetPayload() *models.Error
type PcloudCloudinstancesSnapshotsGetallBadRequest ¶
PcloudCloudinstancesSnapshotsGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesSnapshotsGetallBadRequest ¶
func NewPcloudCloudinstancesSnapshotsGetallBadRequest() *PcloudCloudinstancesSnapshotsGetallBadRequest
NewPcloudCloudinstancesSnapshotsGetallBadRequest creates a PcloudCloudinstancesSnapshotsGetallBadRequest with default headers values
func (*PcloudCloudinstancesSnapshotsGetallBadRequest) Error ¶
func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) Error() string
func (*PcloudCloudinstancesSnapshotsGetallBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesSnapshotsGetallInternalServerError ¶
PcloudCloudinstancesSnapshotsGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesSnapshotsGetallInternalServerError ¶
func NewPcloudCloudinstancesSnapshotsGetallInternalServerError() *PcloudCloudinstancesSnapshotsGetallInternalServerError
NewPcloudCloudinstancesSnapshotsGetallInternalServerError creates a PcloudCloudinstancesSnapshotsGetallInternalServerError with default headers values
func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) Error ¶
func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) Error() string
func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesSnapshotsGetallOK ¶
PcloudCloudinstancesSnapshotsGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesSnapshotsGetallOK ¶
func NewPcloudCloudinstancesSnapshotsGetallOK() *PcloudCloudinstancesSnapshotsGetallOK
NewPcloudCloudinstancesSnapshotsGetallOK creates a PcloudCloudinstancesSnapshotsGetallOK with default headers values
func (*PcloudCloudinstancesSnapshotsGetallOK) Error ¶
func (o *PcloudCloudinstancesSnapshotsGetallOK) Error() string
func (*PcloudCloudinstancesSnapshotsGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetallOK) GetPayload() *models.Snapshots
type PcloudCloudinstancesSnapshotsGetallParams ¶
type PcloudCloudinstancesSnapshotsGetallParams struct { /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesSnapshotsGetallParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances snapshots getall operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesSnapshotsGetallParams ¶
func NewPcloudCloudinstancesSnapshotsGetallParams() *PcloudCloudinstancesSnapshotsGetallParams
NewPcloudCloudinstancesSnapshotsGetallParams creates a new PcloudCloudinstancesSnapshotsGetallParams 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 NewPcloudCloudinstancesSnapshotsGetallParamsWithContext ¶
func NewPcloudCloudinstancesSnapshotsGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetallParams
NewPcloudCloudinstancesSnapshotsGetallParamsWithContext creates a new PcloudCloudinstancesSnapshotsGetallParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesSnapshotsGetallParamsWithHTTPClient ¶
func NewPcloudCloudinstancesSnapshotsGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsGetallParams
NewPcloudCloudinstancesSnapshotsGetallParamsWithHTTPClient creates a new PcloudCloudinstancesSnapshotsGetallParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesSnapshotsGetallParamsWithTimeout ¶
func NewPcloudCloudinstancesSnapshotsGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsGetallParams
NewPcloudCloudinstancesSnapshotsGetallParamsWithTimeout creates a new PcloudCloudinstancesSnapshotsGetallParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesSnapshotsGetallParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesSnapshotsGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances snapshots getall params
func (*PcloudCloudinstancesSnapshotsGetallParams) SetContext ¶
func (o *PcloudCloudinstancesSnapshotsGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances snapshots getall params
func (*PcloudCloudinstancesSnapshotsGetallParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances snapshots getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesSnapshotsGetallParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesSnapshotsGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots getall params
func (*PcloudCloudinstancesSnapshotsGetallParams) SetTimeout ¶
func (o *PcloudCloudinstancesSnapshotsGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances snapshots getall params
func (*PcloudCloudinstancesSnapshotsGetallParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesSnapshotsGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesSnapshotsGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances snapshots getall params
func (*PcloudCloudinstancesSnapshotsGetallParams) WithContext ¶
func (o *PcloudCloudinstancesSnapshotsGetallParams) WithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetallParams
WithContext adds the context to the pcloud cloudinstances snapshots getall params
func (*PcloudCloudinstancesSnapshotsGetallParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetallParams) WithDefaults() *PcloudCloudinstancesSnapshotsGetallParams
WithDefaults hydrates default values in the pcloud cloudinstances snapshots getall params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesSnapshotsGetallParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesSnapshotsGetallParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsGetallParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots getall params
func (*PcloudCloudinstancesSnapshotsGetallParams) WithTimeout ¶
func (o *PcloudCloudinstancesSnapshotsGetallParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsGetallParams
WithTimeout adds the timeout to the pcloud cloudinstances snapshots getall params
func (*PcloudCloudinstancesSnapshotsGetallParams) WriteToRequest ¶
func (o *PcloudCloudinstancesSnapshotsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesSnapshotsGetallReader ¶
type PcloudCloudinstancesSnapshotsGetallReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesSnapshotsGetallReader is a Reader for the PcloudCloudinstancesSnapshotsGetall structure.
func (*PcloudCloudinstancesSnapshotsGetallReader) ReadResponse ¶
func (o *PcloudCloudinstancesSnapshotsGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesSnapshotsGetallUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesSnapshotsGetallUnauthorized struct {
}PcloudCloudinstancesSnapshotsGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesSnapshotsGetallUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesSnapshotsGetallUnauthorized() *PcloudCloudinstancesSnapshotsGetallUnauthorized
NewPcloudCloudinstancesSnapshotsGetallUnauthorized creates a PcloudCloudinstancesSnapshotsGetallUnauthorized with default headers values
func (*PcloudCloudinstancesSnapshotsGetallUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) Error() string
func (*PcloudCloudinstancesSnapshotsGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) GetPayload() *models.Error
type PcloudCloudinstancesSnapshotsPutBadRequest ¶
PcloudCloudinstancesSnapshotsPutBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudCloudinstancesSnapshotsPutBadRequest ¶
func NewPcloudCloudinstancesSnapshotsPutBadRequest() *PcloudCloudinstancesSnapshotsPutBadRequest
NewPcloudCloudinstancesSnapshotsPutBadRequest creates a PcloudCloudinstancesSnapshotsPutBadRequest with default headers values
func (*PcloudCloudinstancesSnapshotsPutBadRequest) Error ¶
func (o *PcloudCloudinstancesSnapshotsPutBadRequest) Error() string
func (*PcloudCloudinstancesSnapshotsPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsPutBadRequest) GetPayload() *models.Error
type PcloudCloudinstancesSnapshotsPutInternalServerError ¶
PcloudCloudinstancesSnapshotsPutInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudCloudinstancesSnapshotsPutInternalServerError ¶
func NewPcloudCloudinstancesSnapshotsPutInternalServerError() *PcloudCloudinstancesSnapshotsPutInternalServerError
NewPcloudCloudinstancesSnapshotsPutInternalServerError creates a PcloudCloudinstancesSnapshotsPutInternalServerError with default headers values
func (*PcloudCloudinstancesSnapshotsPutInternalServerError) Error ¶
func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) Error() string
func (*PcloudCloudinstancesSnapshotsPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) GetPayload() *models.Error
type PcloudCloudinstancesSnapshotsPutNotFound ¶ added in v1.0.38
PcloudCloudinstancesSnapshotsPutNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudCloudinstancesSnapshotsPutNotFound ¶ added in v1.0.38
func NewPcloudCloudinstancesSnapshotsPutNotFound() *PcloudCloudinstancesSnapshotsPutNotFound
NewPcloudCloudinstancesSnapshotsPutNotFound creates a PcloudCloudinstancesSnapshotsPutNotFound with default headers values
func (*PcloudCloudinstancesSnapshotsPutNotFound) Error ¶ added in v1.0.38
func (o *PcloudCloudinstancesSnapshotsPutNotFound) Error() string
func (*PcloudCloudinstancesSnapshotsPutNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsPutNotFound) GetPayload() *models.Error
type PcloudCloudinstancesSnapshotsPutOK ¶
PcloudCloudinstancesSnapshotsPutOK describes a response with status code 200, with default header values.
OK
func NewPcloudCloudinstancesSnapshotsPutOK ¶
func NewPcloudCloudinstancesSnapshotsPutOK() *PcloudCloudinstancesSnapshotsPutOK
NewPcloudCloudinstancesSnapshotsPutOK creates a PcloudCloudinstancesSnapshotsPutOK with default headers values
func (*PcloudCloudinstancesSnapshotsPutOK) Error ¶
func (o *PcloudCloudinstancesSnapshotsPutOK) Error() string
func (*PcloudCloudinstancesSnapshotsPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsPutOK) GetPayload() models.Object
type PcloudCloudinstancesSnapshotsPutParams ¶
type PcloudCloudinstancesSnapshotsPutParams struct { /* Body. Parameters for the update of a PVM instance snapshot */ Body *models.SnapshotUpdate /* CloudInstanceID. Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /* SnapshotID. PVM Instance snapshot id */ SnapshotID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudCloudinstancesSnapshotsPutParams contains all the parameters to send to the API endpoint
for the pcloud cloudinstances snapshots put operation. Typically these are written to a http.Request.
func NewPcloudCloudinstancesSnapshotsPutParams ¶
func NewPcloudCloudinstancesSnapshotsPutParams() *PcloudCloudinstancesSnapshotsPutParams
NewPcloudCloudinstancesSnapshotsPutParams creates a new PcloudCloudinstancesSnapshotsPutParams 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 NewPcloudCloudinstancesSnapshotsPutParamsWithContext ¶
func NewPcloudCloudinstancesSnapshotsPutParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsPutParams
NewPcloudCloudinstancesSnapshotsPutParamsWithContext creates a new PcloudCloudinstancesSnapshotsPutParams object with the ability to set a context for a request.
func NewPcloudCloudinstancesSnapshotsPutParamsWithHTTPClient ¶
func NewPcloudCloudinstancesSnapshotsPutParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsPutParams
NewPcloudCloudinstancesSnapshotsPutParamsWithHTTPClient creates a new PcloudCloudinstancesSnapshotsPutParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudCloudinstancesSnapshotsPutParamsWithTimeout ¶
func NewPcloudCloudinstancesSnapshotsPutParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsPutParams
NewPcloudCloudinstancesSnapshotsPutParamsWithTimeout creates a new PcloudCloudinstancesSnapshotsPutParams object with the ability to set a timeout on a request.
func (*PcloudCloudinstancesSnapshotsPutParams) SetBody ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) SetBody(body *models.SnapshotUpdate)
SetBody adds the body to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) SetCloudInstanceID ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) SetContext ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsPutParams) SetDefaults()
SetDefaults hydrates default values in the pcloud cloudinstances snapshots put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesSnapshotsPutParams) SetHTTPClient ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) SetSnapshotID ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) SetSnapshotID(snapshotID string)
SetSnapshotID adds the snapshotId to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) SetTimeout ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) WithBody ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) WithBody(body *models.SnapshotUpdate) *PcloudCloudinstancesSnapshotsPutParams
WithBody adds the body to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) WithCloudInstanceID ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudCloudinstancesSnapshotsPutParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) WithContext ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) WithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsPutParams
WithContext adds the context to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsPutParams) WithDefaults() *PcloudCloudinstancesSnapshotsPutParams
WithDefaults hydrates default values in the pcloud cloudinstances snapshots put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudCloudinstancesSnapshotsPutParams) WithHTTPClient ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) WithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsPutParams
WithHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) WithSnapshotID ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) WithSnapshotID(snapshotID string) *PcloudCloudinstancesSnapshotsPutParams
WithSnapshotID adds the snapshotID to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) WithTimeout ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) WithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsPutParams
WithTimeout adds the timeout to the pcloud cloudinstances snapshots put params
func (*PcloudCloudinstancesSnapshotsPutParams) WriteToRequest ¶
func (o *PcloudCloudinstancesSnapshotsPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudCloudinstancesSnapshotsPutReader ¶
type PcloudCloudinstancesSnapshotsPutReader struct {
// contains filtered or unexported fields
}
PcloudCloudinstancesSnapshotsPutReader is a Reader for the PcloudCloudinstancesSnapshotsPut structure.
func (*PcloudCloudinstancesSnapshotsPutReader) ReadResponse ¶
func (o *PcloudCloudinstancesSnapshotsPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudCloudinstancesSnapshotsPutUnauthorized ¶ added in v1.0.59
type PcloudCloudinstancesSnapshotsPutUnauthorized struct {
}PcloudCloudinstancesSnapshotsPutUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudCloudinstancesSnapshotsPutUnauthorized ¶ added in v1.0.59
func NewPcloudCloudinstancesSnapshotsPutUnauthorized() *PcloudCloudinstancesSnapshotsPutUnauthorized
NewPcloudCloudinstancesSnapshotsPutUnauthorized creates a PcloudCloudinstancesSnapshotsPutUnauthorized with default headers values
func (*PcloudCloudinstancesSnapshotsPutUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) Error() string
func (*PcloudCloudinstancesSnapshotsPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) GetPayload() *models.Error
Source Files ¶
- p_cloud_snapshots_client.go
- pcloud_cloudinstances_snapshots_delete_parameters.go
- pcloud_cloudinstances_snapshots_delete_responses.go
- pcloud_cloudinstances_snapshots_get_parameters.go
- pcloud_cloudinstances_snapshots_get_responses.go
- pcloud_cloudinstances_snapshots_getall_parameters.go
- pcloud_cloudinstances_snapshots_getall_responses.go
- pcloud_cloudinstances_snapshots_put_parameters.go
- pcloud_cloudinstances_snapshots_put_responses.go