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 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) 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) 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 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) 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) 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 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) 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) 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 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) 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) 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
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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new p cloud snapshots API client.
func (*Client) PcloudCloudinstancesSnapshotsDelete ¶
func (a *Client) PcloudCloudinstancesSnapshotsDelete(params *PcloudCloudinstancesSnapshotsDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*PcloudCloudinstancesSnapshotsGetOK, error)
PcloudCloudinstancesSnapshotsGet gets the detail of a snapshot
func (*Client) PcloudCloudinstancesSnapshotsGetall ¶
func (a *Client) PcloudCloudinstancesSnapshotsGetall(params *PcloudCloudinstancesSnapshotsGetallParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*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 PcloudCloudinstancesSnapshotsDeleteAccepted ¶
PcloudCloudinstancesSnapshotsDeleteAccepted handles this case 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
type PcloudCloudinstancesSnapshotsDeleteBadRequest ¶
PcloudCloudinstancesSnapshotsDeleteBadRequest handles this case 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
type PcloudCloudinstancesSnapshotsDeleteGone ¶
PcloudCloudinstancesSnapshotsDeleteGone handles this case 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
type PcloudCloudinstancesSnapshotsDeleteInternalServerError ¶
PcloudCloudinstancesSnapshotsDeleteInternalServerError handles this case 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
type PcloudCloudinstancesSnapshotsDeleteNotFound ¶ added in v1.0.56
PcloudCloudinstancesSnapshotsDeleteNotFound handles this case 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
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 values initialized.
func NewPcloudCloudinstancesSnapshotsDeleteParamsWithContext ¶
func NewPcloudCloudinstancesSnapshotsDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsDeleteParams
NewPcloudCloudinstancesSnapshotsDeleteParamsWithContext creates a new PcloudCloudinstancesSnapshotsDeleteParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudCloudinstancesSnapshotsGetBadRequest ¶
PcloudCloudinstancesSnapshotsGetBadRequest handles this case 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
type PcloudCloudinstancesSnapshotsGetInternalServerError ¶
PcloudCloudinstancesSnapshotsGetInternalServerError handles this case 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
type PcloudCloudinstancesSnapshotsGetNotFound ¶ added in v1.0.38
PcloudCloudinstancesSnapshotsGetNotFound handles this case 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
type PcloudCloudinstancesSnapshotsGetOK ¶
PcloudCloudinstancesSnapshotsGetOK handles this case 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
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 values initialized.
func NewPcloudCloudinstancesSnapshotsGetParamsWithContext ¶
func NewPcloudCloudinstancesSnapshotsGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetParams
NewPcloudCloudinstancesSnapshotsGetParamsWithContext creates a new PcloudCloudinstancesSnapshotsGetParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudCloudinstancesSnapshotsGetallBadRequest ¶
PcloudCloudinstancesSnapshotsGetallBadRequest handles this case 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
type PcloudCloudinstancesSnapshotsGetallInternalServerError ¶
PcloudCloudinstancesSnapshotsGetallInternalServerError handles this case 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
type PcloudCloudinstancesSnapshotsGetallOK ¶
PcloudCloudinstancesSnapshotsGetallOK handles this case 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
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 values initialized.
func NewPcloudCloudinstancesSnapshotsGetallParamsWithContext ¶
func NewPcloudCloudinstancesSnapshotsGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetallParams
NewPcloudCloudinstancesSnapshotsGetallParamsWithContext creates a new PcloudCloudinstancesSnapshotsGetallParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudCloudinstancesSnapshotsPutBadRequest ¶
PcloudCloudinstancesSnapshotsPutBadRequest handles this case 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
type PcloudCloudinstancesSnapshotsPutInternalServerError ¶
PcloudCloudinstancesSnapshotsPutInternalServerError handles this case 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
type PcloudCloudinstancesSnapshotsPutNotFound ¶ added in v1.0.38
PcloudCloudinstancesSnapshotsPutNotFound handles this case 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
type PcloudCloudinstancesSnapshotsPutOK ¶
PcloudCloudinstancesSnapshotsPutOK handles this case 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
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 values initialized.
func NewPcloudCloudinstancesSnapshotsPutParamsWithContext ¶
func NewPcloudCloudinstancesSnapshotsPutParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsPutParams
NewPcloudCloudinstancesSnapshotsPutParamsWithContext creates a new PcloudCloudinstancesSnapshotsPutParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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.
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