p_cloud_snapshots

package
v1.9.0-beta7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

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 may be used to customize the behavior of 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.

func NewClientWithBasicAuth added in v1.7.0

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new p cloud snapshots API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken added in v1.7.0

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new p cloud snapshots API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type PcloudCloudinstancesSnapshotsDeleteAccepted

type PcloudCloudinstancesSnapshotsDeleteAccepted struct {
	Payload models.Object
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots delete accepted response

func (*PcloudCloudinstancesSnapshotsDeleteAccepted) Error

func (*PcloudCloudinstancesSnapshotsDeleteAccepted) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsDeleteAccepted) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots delete accepted response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsDeleteAccepted) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots delete accepted response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsDeleteAccepted) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots delete accepted response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsDeleteAccepted) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots delete accepted response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsDeleteAccepted) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots delete accepted response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsDeleteAccepted) String added in v1.2.2

type PcloudCloudinstancesSnapshotsDeleteBadRequest

type PcloudCloudinstancesSnapshotsDeleteBadRequest struct {
	Payload *models.Error
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots delete bad request response

func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) Error

func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots delete bad request response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots delete bad request response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots delete bad request response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots delete bad request response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots delete bad request response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) String added in v1.2.2

type PcloudCloudinstancesSnapshotsDeleteForbidden added in v1.2.2

type PcloudCloudinstancesSnapshotsDeleteForbidden struct {
	Payload *models.Error
}

PcloudCloudinstancesSnapshotsDeleteForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudCloudinstancesSnapshotsDeleteForbidden added in v1.2.2

func NewPcloudCloudinstancesSnapshotsDeleteForbidden() *PcloudCloudinstancesSnapshotsDeleteForbidden

NewPcloudCloudinstancesSnapshotsDeleteForbidden creates a PcloudCloudinstancesSnapshotsDeleteForbidden with default headers values

func (*PcloudCloudinstancesSnapshotsDeleteForbidden) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots delete forbidden response

func (*PcloudCloudinstancesSnapshotsDeleteForbidden) Error added in v1.2.2

func (*PcloudCloudinstancesSnapshotsDeleteForbidden) GetPayload added in v1.2.2

func (*PcloudCloudinstancesSnapshotsDeleteForbidden) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots delete forbidden response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsDeleteForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots delete forbidden response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsDeleteForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots delete forbidden response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsDeleteForbidden) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots delete forbidden response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsDeleteForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots delete forbidden response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsDeleteForbidden) String added in v1.2.2

type PcloudCloudinstancesSnapshotsDeleteGone

type PcloudCloudinstancesSnapshotsDeleteGone struct {
	Payload *models.Error
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots delete gone response

func (*PcloudCloudinstancesSnapshotsDeleteGone) Error

func (*PcloudCloudinstancesSnapshotsDeleteGone) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsDeleteGone) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesSnapshotsDeleteGone) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances snapshots delete gone response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsDeleteGone) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots delete gone response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsDeleteGone) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots delete gone response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsDeleteGone) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesSnapshotsDeleteGone) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances snapshots delete gone response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsDeleteGone) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots delete gone response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsDeleteGone) String added in v1.2.2

type PcloudCloudinstancesSnapshotsDeleteInternalServerError

type PcloudCloudinstancesSnapshotsDeleteInternalServerError struct {
	Payload *models.Error
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots delete internal server error response

func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) Error

func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots delete internal server error response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots delete internal server error response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots delete internal server error response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots delete internal server error response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots delete internal server error response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) String added in v1.2.2

type PcloudCloudinstancesSnapshotsDeleteNotFound added in v1.0.56

type PcloudCloudinstancesSnapshotsDeleteNotFound struct {
	Payload *models.Error
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots delete not found response

func (*PcloudCloudinstancesSnapshotsDeleteNotFound) Error added in v1.0.56

func (*PcloudCloudinstancesSnapshotsDeleteNotFound) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsDeleteNotFound) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots delete not found response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsDeleteNotFound) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots delete not found response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsDeleteNotFound) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots delete not found response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsDeleteNotFound) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots delete not found response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsDeleteNotFound) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots delete not found response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsDeleteNotFound) String added in v1.2.2

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

SetContext adds the context to the pcloud cloudinstances snapshots delete params

func (*PcloudCloudinstancesSnapshotsDeleteParams) SetDefaults added in v1.1.0

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

SetTimeout adds the timeout to the pcloud cloudinstances snapshots delete params

func (*PcloudCloudinstancesSnapshotsDeleteParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances snapshots delete params

func (*PcloudCloudinstancesSnapshotsDeleteParams) WithContext

WithContext adds the context to the pcloud cloudinstances snapshots delete params

func (*PcloudCloudinstancesSnapshotsDeleteParams) WithDefaults added in v1.1.0

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

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots delete params

func (*PcloudCloudinstancesSnapshotsDeleteParams) WithSnapshotID

WithSnapshotID adds the snapshotID to the pcloud cloudinstances snapshots delete params

func (*PcloudCloudinstancesSnapshotsDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances snapshots delete params

func (*PcloudCloudinstancesSnapshotsDeleteParams) WriteToRequest

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 {
	Payload *models.Error
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots delete unauthorized response

func (*PcloudCloudinstancesSnapshotsDeleteUnauthorized) Error added in v1.0.59

func (*PcloudCloudinstancesSnapshotsDeleteUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots delete unauthorized response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots delete unauthorized response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots delete unauthorized response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots delete unauthorized response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots delete unauthorized response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsDeleteUnauthorized) String added in v1.2.2

type PcloudCloudinstancesSnapshotsGetBadRequest

type PcloudCloudinstancesSnapshotsGetBadRequest struct {
	Payload *models.Error
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots get bad request response

func (*PcloudCloudinstancesSnapshotsGetBadRequest) Error

func (*PcloudCloudinstancesSnapshotsGetBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsGetBadRequest) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots get bad request response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsGetBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots get bad request response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsGetBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots get bad request response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsGetBadRequest) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots get bad request response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsGetBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots get bad request response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsGetBadRequest) String added in v1.2.2

type PcloudCloudinstancesSnapshotsGetForbidden added in v1.2.2

type PcloudCloudinstancesSnapshotsGetForbidden struct {
	Payload *models.Error
}

PcloudCloudinstancesSnapshotsGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudCloudinstancesSnapshotsGetForbidden added in v1.2.2

func NewPcloudCloudinstancesSnapshotsGetForbidden() *PcloudCloudinstancesSnapshotsGetForbidden

NewPcloudCloudinstancesSnapshotsGetForbidden creates a PcloudCloudinstancesSnapshotsGetForbidden with default headers values

func (*PcloudCloudinstancesSnapshotsGetForbidden) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots get forbidden response

func (*PcloudCloudinstancesSnapshotsGetForbidden) Error added in v1.2.2

func (*PcloudCloudinstancesSnapshotsGetForbidden) GetPayload added in v1.2.2

func (*PcloudCloudinstancesSnapshotsGetForbidden) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots get forbidden response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsGetForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots get forbidden response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsGetForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots get forbidden response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsGetForbidden) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots get forbidden response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsGetForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots get forbidden response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsGetForbidden) String added in v1.2.2

type PcloudCloudinstancesSnapshotsGetInternalServerError

type PcloudCloudinstancesSnapshotsGetInternalServerError struct {
	Payload *models.Error
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots get internal server error response

func (*PcloudCloudinstancesSnapshotsGetInternalServerError) Error

func (*PcloudCloudinstancesSnapshotsGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsGetInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots get internal server error response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsGetInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots get internal server error response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsGetInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots get internal server error response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsGetInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots get internal server error response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsGetInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots get internal server error response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsGetInternalServerError) String added in v1.2.2

type PcloudCloudinstancesSnapshotsGetNotFound added in v1.0.38

type PcloudCloudinstancesSnapshotsGetNotFound struct {
	Payload *models.Error
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots get not found response

func (*PcloudCloudinstancesSnapshotsGetNotFound) Error added in v1.0.38

func (*PcloudCloudinstancesSnapshotsGetNotFound) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsGetNotFound) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots get not found response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsGetNotFound) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots get not found response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsGetNotFound) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots get not found response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsGetNotFound) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots get not found response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsGetNotFound) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots get not found response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsGetNotFound) String added in v1.2.2

type PcloudCloudinstancesSnapshotsGetOK

type PcloudCloudinstancesSnapshotsGetOK struct {
	Payload *models.Snapshot
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots get o k response

func (*PcloudCloudinstancesSnapshotsGetOK) Error

func (*PcloudCloudinstancesSnapshotsGetOK) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsGetOK) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesSnapshotsGetOK) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances snapshots get o k response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsGetOK) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots get o k response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsGetOK) IsRedirect added in v1.2.2

func (o *PcloudCloudinstancesSnapshotsGetOK) IsRedirect() bool

IsRedirect returns true when this pcloud cloudinstances snapshots get o k response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsGetOK) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesSnapshotsGetOK) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances snapshots get o k response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsGetOK) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots get o k response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsGetOK) String added in v1.2.2

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

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances snapshots get params

func (*PcloudCloudinstancesSnapshotsGetParams) WithContext

WithContext adds the context to the pcloud cloudinstances snapshots get params

func (*PcloudCloudinstancesSnapshotsGetParams) WithDefaults added in v1.1.0

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

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots get params

func (*PcloudCloudinstancesSnapshotsGetParams) WithSnapshotID

WithSnapshotID adds the snapshotID to the pcloud cloudinstances snapshots get params

func (*PcloudCloudinstancesSnapshotsGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances snapshots get params

func (*PcloudCloudinstancesSnapshotsGetParams) WriteToRequest

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 {
	Payload *models.Error
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots get unauthorized response

func (*PcloudCloudinstancesSnapshotsGetUnauthorized) Error added in v1.0.59

func (*PcloudCloudinstancesSnapshotsGetUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsGetUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots get unauthorized response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsGetUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots get unauthorized response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsGetUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots get unauthorized response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsGetUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots get unauthorized response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsGetUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots get unauthorized response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsGetUnauthorized) String added in v1.2.2

type PcloudCloudinstancesSnapshotsGetallBadRequest

type PcloudCloudinstancesSnapshotsGetallBadRequest struct {
	Payload *models.Error
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots getall bad request response

func (*PcloudCloudinstancesSnapshotsGetallBadRequest) Error

func (*PcloudCloudinstancesSnapshotsGetallBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsGetallBadRequest) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots getall bad request response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsGetallBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots getall bad request response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsGetallBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots getall bad request response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsGetallBadRequest) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots getall bad request response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsGetallBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots getall bad request response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsGetallBadRequest) String added in v1.2.2

type PcloudCloudinstancesSnapshotsGetallForbidden added in v1.2.2

type PcloudCloudinstancesSnapshotsGetallForbidden struct {
	Payload *models.Error
}

PcloudCloudinstancesSnapshotsGetallForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudCloudinstancesSnapshotsGetallForbidden added in v1.2.2

func NewPcloudCloudinstancesSnapshotsGetallForbidden() *PcloudCloudinstancesSnapshotsGetallForbidden

NewPcloudCloudinstancesSnapshotsGetallForbidden creates a PcloudCloudinstancesSnapshotsGetallForbidden with default headers values

func (*PcloudCloudinstancesSnapshotsGetallForbidden) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots getall forbidden response

func (*PcloudCloudinstancesSnapshotsGetallForbidden) Error added in v1.2.2

func (*PcloudCloudinstancesSnapshotsGetallForbidden) GetPayload added in v1.2.2

func (*PcloudCloudinstancesSnapshotsGetallForbidden) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots getall forbidden response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsGetallForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots getall forbidden response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsGetallForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots getall forbidden response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsGetallForbidden) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots getall forbidden response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsGetallForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots getall forbidden response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsGetallForbidden) String added in v1.2.2

type PcloudCloudinstancesSnapshotsGetallInternalServerError

type PcloudCloudinstancesSnapshotsGetallInternalServerError struct {
	Payload *models.Error
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots getall internal server error response

func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) Error

func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots getall internal server error response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots getall internal server error response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots getall internal server error response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots getall internal server error response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots getall internal server error response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) String added in v1.2.2

type PcloudCloudinstancesSnapshotsGetallNotFound added in v1.4.2

type PcloudCloudinstancesSnapshotsGetallNotFound struct {
	Payload *models.Error
}

PcloudCloudinstancesSnapshotsGetallNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudCloudinstancesSnapshotsGetallNotFound added in v1.4.2

func NewPcloudCloudinstancesSnapshotsGetallNotFound() *PcloudCloudinstancesSnapshotsGetallNotFound

NewPcloudCloudinstancesSnapshotsGetallNotFound creates a PcloudCloudinstancesSnapshotsGetallNotFound with default headers values

func (*PcloudCloudinstancesSnapshotsGetallNotFound) Code added in v1.4.2

Code gets the status code for the pcloud cloudinstances snapshots getall not found response

func (*PcloudCloudinstancesSnapshotsGetallNotFound) Error added in v1.4.2

func (*PcloudCloudinstancesSnapshotsGetallNotFound) GetPayload added in v1.4.2

func (*PcloudCloudinstancesSnapshotsGetallNotFound) IsClientError added in v1.4.2

IsClientError returns true when this pcloud cloudinstances snapshots getall not found response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsGetallNotFound) IsCode added in v1.4.2

IsCode returns true when this pcloud cloudinstances snapshots getall not found response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsGetallNotFound) IsRedirect added in v1.4.2

IsRedirect returns true when this pcloud cloudinstances snapshots getall not found response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsGetallNotFound) IsServerError added in v1.4.2

IsServerError returns true when this pcloud cloudinstances snapshots getall not found response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsGetallNotFound) IsSuccess added in v1.4.2

IsSuccess returns true when this pcloud cloudinstances snapshots getall not found response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsGetallNotFound) String added in v1.4.2

type PcloudCloudinstancesSnapshotsGetallOK

type PcloudCloudinstancesSnapshotsGetallOK struct {
	Payload *models.Snapshots
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots getall o k response

func (*PcloudCloudinstancesSnapshotsGetallOK) Error

func (*PcloudCloudinstancesSnapshotsGetallOK) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsGetallOK) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesSnapshotsGetallOK) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances snapshots getall o k response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsGetallOK) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots getall o k response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsGetallOK) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots getall o k response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsGetallOK) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesSnapshotsGetallOK) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances snapshots getall o k response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsGetallOK) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots getall o k response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsGetallOK) String added in v1.2.2

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

SetContext adds the context to the pcloud cloudinstances snapshots getall params

func (*PcloudCloudinstancesSnapshotsGetallParams) SetDefaults added in v1.1.0

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

SetTimeout adds the timeout to the pcloud cloudinstances snapshots getall params

func (*PcloudCloudinstancesSnapshotsGetallParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances snapshots getall params

func (*PcloudCloudinstancesSnapshotsGetallParams) WithContext

WithContext adds the context to the pcloud cloudinstances snapshots getall params

func (*PcloudCloudinstancesSnapshotsGetallParams) WithDefaults added in v1.1.0

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

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots getall params

func (*PcloudCloudinstancesSnapshotsGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances snapshots getall params

func (*PcloudCloudinstancesSnapshotsGetallParams) WriteToRequest

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 {
	Payload *models.Error
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots getall unauthorized response

func (*PcloudCloudinstancesSnapshotsGetallUnauthorized) Error added in v1.0.59

func (*PcloudCloudinstancesSnapshotsGetallUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsGetallUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots getall unauthorized response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsGetallUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots getall unauthorized response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsGetallUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots getall unauthorized response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsGetallUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots getall unauthorized response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsGetallUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots getall unauthorized response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsGetallUnauthorized) String added in v1.2.2

type PcloudCloudinstancesSnapshotsPutBadRequest

type PcloudCloudinstancesSnapshotsPutBadRequest struct {
	Payload *models.Error
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots put bad request response

func (*PcloudCloudinstancesSnapshotsPutBadRequest) Error

func (*PcloudCloudinstancesSnapshotsPutBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsPutBadRequest) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots put bad request response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsPutBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots put bad request response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsPutBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots put bad request response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsPutBadRequest) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots put bad request response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsPutBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots put bad request response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsPutBadRequest) String added in v1.2.2

type PcloudCloudinstancesSnapshotsPutForbidden added in v1.2.2

type PcloudCloudinstancesSnapshotsPutForbidden struct {
	Payload *models.Error
}

PcloudCloudinstancesSnapshotsPutForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudCloudinstancesSnapshotsPutForbidden added in v1.2.2

func NewPcloudCloudinstancesSnapshotsPutForbidden() *PcloudCloudinstancesSnapshotsPutForbidden

NewPcloudCloudinstancesSnapshotsPutForbidden creates a PcloudCloudinstancesSnapshotsPutForbidden with default headers values

func (*PcloudCloudinstancesSnapshotsPutForbidden) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots put forbidden response

func (*PcloudCloudinstancesSnapshotsPutForbidden) Error added in v1.2.2

func (*PcloudCloudinstancesSnapshotsPutForbidden) GetPayload added in v1.2.2

func (*PcloudCloudinstancesSnapshotsPutForbidden) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots put forbidden response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsPutForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots put forbidden response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsPutForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots put forbidden response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsPutForbidden) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots put forbidden response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsPutForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots put forbidden response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsPutForbidden) String added in v1.2.2

type PcloudCloudinstancesSnapshotsPutInternalServerError

type PcloudCloudinstancesSnapshotsPutInternalServerError struct {
	Payload *models.Error
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots put internal server error response

func (*PcloudCloudinstancesSnapshotsPutInternalServerError) Error

func (*PcloudCloudinstancesSnapshotsPutInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsPutInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots put internal server error response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsPutInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots put internal server error response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsPutInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots put internal server error response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsPutInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots put internal server error response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsPutInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots put internal server error response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsPutInternalServerError) String added in v1.2.2

type PcloudCloudinstancesSnapshotsPutNotFound added in v1.0.38

type PcloudCloudinstancesSnapshotsPutNotFound struct {
	Payload *models.Error
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots put not found response

func (*PcloudCloudinstancesSnapshotsPutNotFound) Error added in v1.0.38

func (*PcloudCloudinstancesSnapshotsPutNotFound) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsPutNotFound) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots put not found response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsPutNotFound) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots put not found response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsPutNotFound) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots put not found response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsPutNotFound) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots put not found response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsPutNotFound) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots put not found response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsPutNotFound) String added in v1.2.2

type PcloudCloudinstancesSnapshotsPutOK

type PcloudCloudinstancesSnapshotsPutOK struct {
	Payload models.Object
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots put o k response

func (*PcloudCloudinstancesSnapshotsPutOK) Error

func (*PcloudCloudinstancesSnapshotsPutOK) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsPutOK) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesSnapshotsPutOK) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances snapshots put o k response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsPutOK) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots put o k response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsPutOK) IsRedirect added in v1.2.2

func (o *PcloudCloudinstancesSnapshotsPutOK) IsRedirect() bool

IsRedirect returns true when this pcloud cloudinstances snapshots put o k response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsPutOK) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesSnapshotsPutOK) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances snapshots put o k response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsPutOK) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots put o k response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsPutOK) String added in v1.2.2

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

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

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

WithBody adds the body to the pcloud cloudinstances snapshots put params

func (*PcloudCloudinstancesSnapshotsPutParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances snapshots put params

func (*PcloudCloudinstancesSnapshotsPutParams) WithContext

WithContext adds the context to the pcloud cloudinstances snapshots put params

func (*PcloudCloudinstancesSnapshotsPutParams) WithDefaults added in v1.1.0

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

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots put params

func (*PcloudCloudinstancesSnapshotsPutParams) WithSnapshotID

WithSnapshotID adds the snapshotID to the pcloud cloudinstances snapshots put params

func (*PcloudCloudinstancesSnapshotsPutParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances snapshots put params

func (*PcloudCloudinstancesSnapshotsPutParams) WriteToRequest

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 {
	Payload *models.Error
}

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) Code added in v1.2.4

Code gets the status code for the pcloud cloudinstances snapshots put unauthorized response

func (*PcloudCloudinstancesSnapshotsPutUnauthorized) Error added in v1.0.59

func (*PcloudCloudinstancesSnapshotsPutUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesSnapshotsPutUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud cloudinstances snapshots put unauthorized response has a 4xx status code

func (*PcloudCloudinstancesSnapshotsPutUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud cloudinstances snapshots put unauthorized response a status code equal to that given

func (*PcloudCloudinstancesSnapshotsPutUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud cloudinstances snapshots put unauthorized response has a 3xx status code

func (*PcloudCloudinstancesSnapshotsPutUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud cloudinstances snapshots put unauthorized response has a 5xx status code

func (*PcloudCloudinstancesSnapshotsPutUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud cloudinstances snapshots put unauthorized response has a 2xx status code

func (*PcloudCloudinstancesSnapshotsPutUnauthorized) String added in v1.2.2

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL