p_cloud_p_vm_instances

package
v0.0.0-...-32f6bd3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 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 p vm instances API

func (*Client) PcloudPvminstancesActionPost

func (a *Client) PcloudPvminstancesActionPost(params *PcloudPvminstancesActionPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesActionPostOK, error)

PcloudPvminstancesActionPost performs an action start stop reboot immediate shutdown reset on a p VM instance

func (*Client) PcloudPvminstancesCapturePost

PcloudPvminstancesCapturePost captures a p VM instance and create a deployable image

This API is deprecated for /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture.

>*Note*: Support for this API is available till Oct 2022.

func (*Client) PcloudPvminstancesClonePost

PcloudPvminstancesClonePost clones a p VM instance

func (*Client) PcloudPvminstancesConsoleGet

func (a *Client) PcloudPvminstancesConsoleGet(params *PcloudPvminstancesConsoleGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesConsoleGetOK, error)

PcloudPvminstancesConsoleGet lists all console languages

func (*Client) PcloudPvminstancesConsolePost

PcloudPvminstancesConsolePost generates the no v n c console URL

func (*Client) PcloudPvminstancesConsolePut

func (a *Client) PcloudPvminstancesConsolePut(params *PcloudPvminstancesConsolePutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesConsolePutOK, error)

PcloudPvminstancesConsolePut updates p VM instance console laguage code

func (*Client) PcloudPvminstancesDelete

func (a *Client) PcloudPvminstancesDelete(params *PcloudPvminstancesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesDeleteOK, error)

PcloudPvminstancesDelete deletes a p cloud p VM instance

func (*Client) PcloudPvminstancesGet

func (a *Client) PcloudPvminstancesGet(params *PcloudPvminstancesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesGetOK, error)

PcloudPvminstancesGet gets a p VM instance s current state or information

func (*Client) PcloudPvminstancesGetall

func (a *Client) PcloudPvminstancesGetall(params *PcloudPvminstancesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesGetallOK, error)

PcloudPvminstancesGetall gets all the pvm instances for this cloud instance

func (*Client) PcloudPvminstancesNetworksDelete

func (a *Client) PcloudPvminstancesNetworksDelete(params *PcloudPvminstancesNetworksDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesNetworksDeleteOK, error)

PcloudPvminstancesNetworksDelete removes all address of network from a p VM instance

func (*Client) PcloudPvminstancesNetworksGet

func (a *Client) PcloudPvminstancesNetworksGet(params *PcloudPvminstancesNetworksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesNetworksGetOK, error)

PcloudPvminstancesNetworksGet gets a p VM instance s network information

func (*Client) PcloudPvminstancesNetworksGetall

func (a *Client) PcloudPvminstancesNetworksGetall(params *PcloudPvminstancesNetworksGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesNetworksGetallOK, error)

PcloudPvminstancesNetworksGetall gets all networks for this p VM instance

func (*Client) PcloudPvminstancesNetworksPost

PcloudPvminstancesNetworksPost performs network addition

func (*Client) PcloudPvminstancesOperationsPost

func (a *Client) PcloudPvminstancesOperationsPost(params *PcloudPvminstancesOperationsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesOperationsPostOK, error)

PcloudPvminstancesOperationsPost performs an operation on a p VM instance

func (*Client) PcloudPvminstancesPost

PcloudPvminstancesPost creates a new power VM instance

func (*Client) PcloudPvminstancesPut

func (a *Client) PcloudPvminstancesPut(params *PcloudPvminstancesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesPutAccepted, error)

PcloudPvminstancesPut updates a p cloud p VM instance

func (*Client) PcloudPvminstancesSnapshotsGetall

func (a *Client) PcloudPvminstancesSnapshotsGetall(params *PcloudPvminstancesSnapshotsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesSnapshotsGetallOK, error)

PcloudPvminstancesSnapshotsGetall gets all snapshots for this p VM instance

func (*Client) PcloudPvminstancesSnapshotsPost

PcloudPvminstancesSnapshotsPost creates a p VM instance snapshot

func (*Client) PcloudPvminstancesSnapshotsRestorePost

PcloudPvminstancesSnapshotsRestorePost restores a p VM instance snapshot

func (*Client) PcloudV2PvminstancesCaptureGet

func (a *Client) PcloudV2PvminstancesCaptureGet(params *PcloudV2PvminstancesCaptureGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2PvminstancesCaptureGetOK, error)

PcloudV2PvminstancesCaptureGet gets detail of last capture job

func (*Client) PcloudV2PvminstancesCapturePost

PcloudV2PvminstancesCapturePost adds a capture pvm instance to the jobs queue

func (*Client) PcloudV2PvminstancesGetall

func (a *Client) PcloudV2PvminstancesGetall(params *PcloudV2PvminstancesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2PvminstancesGetallOK, error)

PcloudV2PvminstancesGetall gets all the pvm instances for this cloud instance

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	PcloudPvminstancesActionPost(params *PcloudPvminstancesActionPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesActionPostOK, error)

	PcloudPvminstancesCapturePost(params *PcloudPvminstancesCapturePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesCapturePostOK, *PcloudPvminstancesCapturePostAccepted, error)

	PcloudPvminstancesClonePost(params *PcloudPvminstancesClonePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesClonePostAccepted, error)

	PcloudPvminstancesConsoleGet(params *PcloudPvminstancesConsoleGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesConsoleGetOK, error)

	PcloudPvminstancesConsolePost(params *PcloudPvminstancesConsolePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesConsolePostCreated, error)

	PcloudPvminstancesConsolePut(params *PcloudPvminstancesConsolePutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesConsolePutOK, error)

	PcloudPvminstancesDelete(params *PcloudPvminstancesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesDeleteOK, error)

	PcloudPvminstancesGet(params *PcloudPvminstancesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesGetOK, error)

	PcloudPvminstancesGetall(params *PcloudPvminstancesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesGetallOK, error)

	PcloudPvminstancesNetworksDelete(params *PcloudPvminstancesNetworksDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesNetworksDeleteOK, error)

	PcloudPvminstancesNetworksGet(params *PcloudPvminstancesNetworksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesNetworksGetOK, error)

	PcloudPvminstancesNetworksGetall(params *PcloudPvminstancesNetworksGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesNetworksGetallOK, error)

	PcloudPvminstancesNetworksPost(params *PcloudPvminstancesNetworksPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesNetworksPostCreated, error)

	PcloudPvminstancesOperationsPost(params *PcloudPvminstancesOperationsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesOperationsPostOK, error)

	PcloudPvminstancesPost(params *PcloudPvminstancesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesPostOK, *PcloudPvminstancesPostCreated, *PcloudPvminstancesPostAccepted, error)

	PcloudPvminstancesPut(params *PcloudPvminstancesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesPutAccepted, error)

	PcloudPvminstancesSnapshotsGetall(params *PcloudPvminstancesSnapshotsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesSnapshotsGetallOK, error)

	PcloudPvminstancesSnapshotsPost(params *PcloudPvminstancesSnapshotsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesSnapshotsPostAccepted, error)

	PcloudPvminstancesSnapshotsRestorePost(params *PcloudPvminstancesSnapshotsRestorePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesSnapshotsRestorePostAccepted, error)

	PcloudV2PvminstancesCaptureGet(params *PcloudV2PvminstancesCaptureGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2PvminstancesCaptureGetOK, error)

	PcloudV2PvminstancesCapturePost(params *PcloudV2PvminstancesCapturePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2PvminstancesCapturePostAccepted, error)

	PcloudV2PvminstancesGetall(params *PcloudV2PvminstancesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2PvminstancesGetallOK, 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 p vm instances API client.

type PcloudPvminstancesActionPostBadRequest

type PcloudPvminstancesActionPostBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesActionPostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudPvminstancesActionPostBadRequest

func NewPcloudPvminstancesActionPostBadRequest() *PcloudPvminstancesActionPostBadRequest

NewPcloudPvminstancesActionPostBadRequest creates a PcloudPvminstancesActionPostBadRequest with default headers values

func (*PcloudPvminstancesActionPostBadRequest) Code

Code gets the status code for the pcloud pvminstances action post bad request response

func (*PcloudPvminstancesActionPostBadRequest) Error

func (*PcloudPvminstancesActionPostBadRequest) GetPayload

func (*PcloudPvminstancesActionPostBadRequest) IsClientError

func (o *PcloudPvminstancesActionPostBadRequest) IsClientError() bool

IsClientError returns true when this pcloud pvminstances action post bad request response has a 4xx status code

func (*PcloudPvminstancesActionPostBadRequest) IsCode

IsCode returns true when this pcloud pvminstances action post bad request response a status code equal to that given

func (*PcloudPvminstancesActionPostBadRequest) IsRedirect

IsRedirect returns true when this pcloud pvminstances action post bad request response has a 3xx status code

func (*PcloudPvminstancesActionPostBadRequest) IsServerError

func (o *PcloudPvminstancesActionPostBadRequest) IsServerError() bool

IsServerError returns true when this pcloud pvminstances action post bad request response has a 5xx status code

func (*PcloudPvminstancesActionPostBadRequest) IsSuccess

IsSuccess returns true when this pcloud pvminstances action post bad request response has a 2xx status code

func (*PcloudPvminstancesActionPostBadRequest) String

type PcloudPvminstancesActionPostConflict

type PcloudPvminstancesActionPostConflict struct {
	Payload *models.Error
}

PcloudPvminstancesActionPostConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudPvminstancesActionPostConflict

func NewPcloudPvminstancesActionPostConflict() *PcloudPvminstancesActionPostConflict

NewPcloudPvminstancesActionPostConflict creates a PcloudPvminstancesActionPostConflict with default headers values

func (*PcloudPvminstancesActionPostConflict) Code

Code gets the status code for the pcloud pvminstances action post conflict response

func (*PcloudPvminstancesActionPostConflict) Error

func (*PcloudPvminstancesActionPostConflict) GetPayload

func (*PcloudPvminstancesActionPostConflict) IsClientError

func (o *PcloudPvminstancesActionPostConflict) IsClientError() bool

IsClientError returns true when this pcloud pvminstances action post conflict response has a 4xx status code

func (*PcloudPvminstancesActionPostConflict) IsCode

IsCode returns true when this pcloud pvminstances action post conflict response a status code equal to that given

func (*PcloudPvminstancesActionPostConflict) IsRedirect

IsRedirect returns true when this pcloud pvminstances action post conflict response has a 3xx status code

func (*PcloudPvminstancesActionPostConflict) IsServerError

func (o *PcloudPvminstancesActionPostConflict) IsServerError() bool

IsServerError returns true when this pcloud pvminstances action post conflict response has a 5xx status code

func (*PcloudPvminstancesActionPostConflict) IsSuccess

IsSuccess returns true when this pcloud pvminstances action post conflict response has a 2xx status code

func (*PcloudPvminstancesActionPostConflict) String

type PcloudPvminstancesActionPostForbidden

type PcloudPvminstancesActionPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesActionPostForbidden

func NewPcloudPvminstancesActionPostForbidden() *PcloudPvminstancesActionPostForbidden

NewPcloudPvminstancesActionPostForbidden creates a PcloudPvminstancesActionPostForbidden with default headers values

func (*PcloudPvminstancesActionPostForbidden) Code

Code gets the status code for the pcloud pvminstances action post forbidden response

func (*PcloudPvminstancesActionPostForbidden) Error

func (*PcloudPvminstancesActionPostForbidden) GetPayload

func (*PcloudPvminstancesActionPostForbidden) IsClientError

func (o *PcloudPvminstancesActionPostForbidden) IsClientError() bool

IsClientError returns true when this pcloud pvminstances action post forbidden response has a 4xx status code

func (*PcloudPvminstancesActionPostForbidden) IsCode

IsCode returns true when this pcloud pvminstances action post forbidden response a status code equal to that given

func (*PcloudPvminstancesActionPostForbidden) IsRedirect

IsRedirect returns true when this pcloud pvminstances action post forbidden response has a 3xx status code

func (*PcloudPvminstancesActionPostForbidden) IsServerError

func (o *PcloudPvminstancesActionPostForbidden) IsServerError() bool

IsServerError returns true when this pcloud pvminstances action post forbidden response has a 5xx status code

func (*PcloudPvminstancesActionPostForbidden) IsSuccess

IsSuccess returns true when this pcloud pvminstances action post forbidden response has a 2xx status code

func (*PcloudPvminstancesActionPostForbidden) String

type PcloudPvminstancesActionPostInternalServerError

type PcloudPvminstancesActionPostInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesActionPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPvminstancesActionPostInternalServerError

func NewPcloudPvminstancesActionPostInternalServerError() *PcloudPvminstancesActionPostInternalServerError

NewPcloudPvminstancesActionPostInternalServerError creates a PcloudPvminstancesActionPostInternalServerError with default headers values

func (*PcloudPvminstancesActionPostInternalServerError) Code

Code gets the status code for the pcloud pvminstances action post internal server error response

func (*PcloudPvminstancesActionPostInternalServerError) Error

func (*PcloudPvminstancesActionPostInternalServerError) GetPayload

func (*PcloudPvminstancesActionPostInternalServerError) IsClientError

IsClientError returns true when this pcloud pvminstances action post internal server error response has a 4xx status code

func (*PcloudPvminstancesActionPostInternalServerError) IsCode

IsCode returns true when this pcloud pvminstances action post internal server error response a status code equal to that given

func (*PcloudPvminstancesActionPostInternalServerError) IsRedirect

IsRedirect returns true when this pcloud pvminstances action post internal server error response has a 3xx status code

func (*PcloudPvminstancesActionPostInternalServerError) IsServerError

IsServerError returns true when this pcloud pvminstances action post internal server error response has a 5xx status code

func (*PcloudPvminstancesActionPostInternalServerError) IsSuccess

IsSuccess returns true when this pcloud pvminstances action post internal server error response has a 2xx status code

func (*PcloudPvminstancesActionPostInternalServerError) String

type PcloudPvminstancesActionPostNotFound

type PcloudPvminstancesActionPostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesActionPostNotFound

func NewPcloudPvminstancesActionPostNotFound() *PcloudPvminstancesActionPostNotFound

NewPcloudPvminstancesActionPostNotFound creates a PcloudPvminstancesActionPostNotFound with default headers values

func (*PcloudPvminstancesActionPostNotFound) Code

Code gets the status code for the pcloud pvminstances action post not found response

func (*PcloudPvminstancesActionPostNotFound) Error

func (*PcloudPvminstancesActionPostNotFound) GetPayload

func (*PcloudPvminstancesActionPostNotFound) IsClientError

func (o *PcloudPvminstancesActionPostNotFound) IsClientError() bool

IsClientError returns true when this pcloud pvminstances action post not found response has a 4xx status code

func (*PcloudPvminstancesActionPostNotFound) IsCode

IsCode returns true when this pcloud pvminstances action post not found response a status code equal to that given

func (*PcloudPvminstancesActionPostNotFound) IsRedirect

IsRedirect returns true when this pcloud pvminstances action post not found response has a 3xx status code

func (*PcloudPvminstancesActionPostNotFound) IsServerError

func (o *PcloudPvminstancesActionPostNotFound) IsServerError() bool

IsServerError returns true when this pcloud pvminstances action post not found response has a 5xx status code

func (*PcloudPvminstancesActionPostNotFound) IsSuccess

IsSuccess returns true when this pcloud pvminstances action post not found response has a 2xx status code

func (*PcloudPvminstancesActionPostNotFound) String

type PcloudPvminstancesActionPostOK

type PcloudPvminstancesActionPostOK struct {
	Payload models.Object
}

PcloudPvminstancesActionPostOK describes a response with status code 200, with default header values.

OK

func NewPcloudPvminstancesActionPostOK

func NewPcloudPvminstancesActionPostOK() *PcloudPvminstancesActionPostOK

NewPcloudPvminstancesActionPostOK creates a PcloudPvminstancesActionPostOK with default headers values

func (*PcloudPvminstancesActionPostOK) Code

Code gets the status code for the pcloud pvminstances action post o k response

func (*PcloudPvminstancesActionPostOK) Error

func (*PcloudPvminstancesActionPostOK) GetPayload

func (*PcloudPvminstancesActionPostOK) IsClientError

func (o *PcloudPvminstancesActionPostOK) IsClientError() bool

IsClientError returns true when this pcloud pvminstances action post o k response has a 4xx status code

func (*PcloudPvminstancesActionPostOK) IsCode

func (o *PcloudPvminstancesActionPostOK) IsCode(code int) bool

IsCode returns true when this pcloud pvminstances action post o k response a status code equal to that given

func (*PcloudPvminstancesActionPostOK) IsRedirect

func (o *PcloudPvminstancesActionPostOK) IsRedirect() bool

IsRedirect returns true when this pcloud pvminstances action post o k response has a 3xx status code

func (*PcloudPvminstancesActionPostOK) IsServerError

func (o *PcloudPvminstancesActionPostOK) IsServerError() bool

IsServerError returns true when this pcloud pvminstances action post o k response has a 5xx status code

func (*PcloudPvminstancesActionPostOK) IsSuccess

func (o *PcloudPvminstancesActionPostOK) IsSuccess() bool

IsSuccess returns true when this pcloud pvminstances action post o k response has a 2xx status code

func (*PcloudPvminstancesActionPostOK) String

type PcloudPvminstancesActionPostParams

type PcloudPvminstancesActionPostParams struct {

	/* Body.

	   Parameters for the desired action
	*/
	Body *models.PVMInstanceAction

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPvminstancesActionPostParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances action post operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesActionPostParams

func NewPcloudPvminstancesActionPostParams() *PcloudPvminstancesActionPostParams

NewPcloudPvminstancesActionPostParams creates a new PcloudPvminstancesActionPostParams 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 NewPcloudPvminstancesActionPostParamsWithContext

func NewPcloudPvminstancesActionPostParamsWithContext(ctx context.Context) *PcloudPvminstancesActionPostParams

NewPcloudPvminstancesActionPostParamsWithContext creates a new PcloudPvminstancesActionPostParams object with the ability to set a context for a request.

func NewPcloudPvminstancesActionPostParamsWithHTTPClient

func NewPcloudPvminstancesActionPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesActionPostParams

NewPcloudPvminstancesActionPostParamsWithHTTPClient creates a new PcloudPvminstancesActionPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesActionPostParamsWithTimeout

func NewPcloudPvminstancesActionPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesActionPostParams

NewPcloudPvminstancesActionPostParamsWithTimeout creates a new PcloudPvminstancesActionPostParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesActionPostParams) SetBody

SetBody adds the body to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) SetCloudInstanceID

func (o *PcloudPvminstancesActionPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) SetContext

SetContext adds the context to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) SetDefaults

func (o *PcloudPvminstancesActionPostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud pvminstances action post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesActionPostParams) SetHTTPClient

func (o *PcloudPvminstancesActionPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) SetPvmInstanceID

func (o *PcloudPvminstancesActionPostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) SetTimeout

func (o *PcloudPvminstancesActionPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) WithBody

WithBody adds the body to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) WithCloudInstanceID

func (o *PcloudPvminstancesActionPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesActionPostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) WithContext

WithContext adds the context to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances action post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesActionPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesActionPostReader

type PcloudPvminstancesActionPostReader struct {
	// contains filtered or unexported fields
}

PcloudPvminstancesActionPostReader is a Reader for the PcloudPvminstancesActionPost structure.

func (*PcloudPvminstancesActionPostReader) ReadResponse

func (o *PcloudPvminstancesActionPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPvminstancesActionPostUnauthorized

type PcloudPvminstancesActionPostUnauthorized struct {
	Payload *models.Error
}

PcloudPvminstancesActionPostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPvminstancesActionPostUnauthorized

func NewPcloudPvminstancesActionPostUnauthorized() *PcloudPvminstancesActionPostUnauthorized

NewPcloudPvminstancesActionPostUnauthorized creates a PcloudPvminstancesActionPostUnauthorized with default headers values

func (*PcloudPvminstancesActionPostUnauthorized) Code

Code gets the status code for the pcloud pvminstances action post unauthorized response

func (*PcloudPvminstancesActionPostUnauthorized) Error

func (*PcloudPvminstancesActionPostUnauthorized) GetPayload

func (*PcloudPvminstancesActionPostUnauthorized) IsClientError

IsClientError returns true when this pcloud pvminstances action post unauthorized response has a 4xx status code

func (*PcloudPvminstancesActionPostUnauthorized) IsCode

IsCode returns true when this pcloud pvminstances action post unauthorized response a status code equal to that given

func (*PcloudPvminstancesActionPostUnauthorized) IsRedirect

IsRedirect returns true when this pcloud pvminstances action post unauthorized response has a 3xx status code

func (*PcloudPvminstancesActionPostUnauthorized) IsServerError

IsServerError returns true when this pcloud pvminstances action post unauthorized response has a 5xx status code

func (*PcloudPvminstancesActionPostUnauthorized) IsSuccess

IsSuccess returns true when this pcloud pvminstances action post unauthorized response has a 2xx status code

func (*PcloudPvminstancesActionPostUnauthorized) String

type PcloudPvminstancesCapturePostAccepted

type PcloudPvminstancesCapturePostAccepted struct {
	Payload models.Object
}

PcloudPvminstancesCapturePostAccepted describes a response with status code 202, with default header values.

Accepted, upload to cloud storage in progress

func NewPcloudPvminstancesCapturePostAccepted

func NewPcloudPvminstancesCapturePostAccepted() *PcloudPvminstancesCapturePostAccepted

NewPcloudPvminstancesCapturePostAccepted creates a PcloudPvminstancesCapturePostAccepted with default headers values

func (*PcloudPvminstancesCapturePostAccepted) Code

Code gets the status code for the pcloud pvminstances capture post accepted response

func (*PcloudPvminstancesCapturePostAccepted) Error

func (*PcloudPvminstancesCapturePostAccepted) GetPayload

func (*PcloudPvminstancesCapturePostAccepted) IsClientError

func (o *PcloudPvminstancesCapturePostAccepted) IsClientError() bool

IsClientError returns true when this pcloud pvminstances capture post accepted response has a 4xx status code

func (*PcloudPvminstancesCapturePostAccepted) IsCode

IsCode returns true when this pcloud pvminstances capture post accepted response a status code equal to that given

func (*PcloudPvminstancesCapturePostAccepted) IsRedirect

IsRedirect returns true when this pcloud pvminstances capture post accepted response has a 3xx status code

func (*PcloudPvminstancesCapturePostAccepted) IsServerError

func (o *PcloudPvminstancesCapturePostAccepted) IsServerError() bool

IsServerError returns true when this pcloud pvminstances capture post accepted response has a 5xx status code

func (*PcloudPvminstancesCapturePostAccepted) IsSuccess

IsSuccess returns true when this pcloud pvminstances capture post accepted response has a 2xx status code

func (*PcloudPvminstancesCapturePostAccepted) String

type PcloudPvminstancesCapturePostBadRequest

type PcloudPvminstancesCapturePostBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesCapturePostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudPvminstancesCapturePostBadRequest

func NewPcloudPvminstancesCapturePostBadRequest() *PcloudPvminstancesCapturePostBadRequest

NewPcloudPvminstancesCapturePostBadRequest creates a PcloudPvminstancesCapturePostBadRequest with default headers values

func (*PcloudPvminstancesCapturePostBadRequest) Code

Code gets the status code for the pcloud pvminstances capture post bad request response

func (*PcloudPvminstancesCapturePostBadRequest) Error

func (*PcloudPvminstancesCapturePostBadRequest) GetPayload

func (*PcloudPvminstancesCapturePostBadRequest) IsClientError

func (o *PcloudPvminstancesCapturePostBadRequest) IsClientError() bool

IsClientError returns true when this pcloud pvminstances capture post bad request response has a 4xx status code

func (*PcloudPvminstancesCapturePostBadRequest) IsCode

IsCode returns true when this pcloud pvminstances capture post bad request response a status code equal to that given

func (*PcloudPvminstancesCapturePostBadRequest) IsRedirect

IsRedirect returns true when this pcloud pvminstances capture post bad request response has a 3xx status code

func (*PcloudPvminstancesCapturePostBadRequest) IsServerError

func (o *PcloudPvminstancesCapturePostBadRequest) IsServerError() bool

IsServerError returns true when this pcloud pvminstances capture post bad request response has a 5xx status code

func (*PcloudPvminstancesCapturePostBadRequest) IsSuccess

IsSuccess returns true when this pcloud pvminstances capture post bad request response has a 2xx status code

func (*PcloudPvminstancesCapturePostBadRequest) String

type PcloudPvminstancesCapturePostForbidden

type PcloudPvminstancesCapturePostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesCapturePostForbidden

func NewPcloudPvminstancesCapturePostForbidden() *PcloudPvminstancesCapturePostForbidden

NewPcloudPvminstancesCapturePostForbidden creates a PcloudPvminstancesCapturePostForbidden with default headers values

func (*PcloudPvminstancesCapturePostForbidden) Code

Code gets the status code for the pcloud pvminstances capture post forbidden response

func (*PcloudPvminstancesCapturePostForbidden) Error

func (*PcloudPvminstancesCapturePostForbidden) GetPayload

func (*PcloudPvminstancesCapturePostForbidden) IsClientError

func (o *PcloudPvminstancesCapturePostForbidden) IsClientError() bool

IsClientError returns true when this pcloud pvminstances capture post forbidden response has a 4xx status code

func (*PcloudPvminstancesCapturePostForbidden) IsCode

IsCode returns true when this pcloud pvminstances capture post forbidden response a status code equal to that given

func (*PcloudPvminstancesCapturePostForbidden) IsRedirect

IsRedirect returns true when this pcloud pvminstances capture post forbidden response has a 3xx status code

func (*PcloudPvminstancesCapturePostForbidden) IsServerError

func (o *PcloudPvminstancesCapturePostForbidden) IsServerError() bool

IsServerError returns true when this pcloud pvminstances capture post forbidden response has a 5xx status code

func (*PcloudPvminstancesCapturePostForbidden) IsSuccess

IsSuccess returns true when this pcloud pvminstances capture post forbidden response has a 2xx status code

func (*PcloudPvminstancesCapturePostForbidden) String

type PcloudPvminstancesCapturePostInternalServerError

type PcloudPvminstancesCapturePostInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesCapturePostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPvminstancesCapturePostInternalServerError

func NewPcloudPvminstancesCapturePostInternalServerError() *PcloudPvminstancesCapturePostInternalServerError

NewPcloudPvminstancesCapturePostInternalServerError creates a PcloudPvminstancesCapturePostInternalServerError with default headers values

func (*PcloudPvminstancesCapturePostInternalServerError) Code

Code gets the status code for the pcloud pvminstances capture post internal server error response

func (*PcloudPvminstancesCapturePostInternalServerError) Error

func (*PcloudPvminstancesCapturePostInternalServerError) GetPayload

func (*PcloudPvminstancesCapturePostInternalServerError) IsClientError

IsClientError returns true when this pcloud pvminstances capture post internal server error response has a 4xx status code

func (*PcloudPvminstancesCapturePostInternalServerError) IsCode

IsCode returns true when this pcloud pvminstances capture post internal server error response a status code equal to that given

func (*PcloudPvminstancesCapturePostInternalServerError) IsRedirect

IsRedirect returns true when this pcloud pvminstances capture post internal server error response has a 3xx status code

func (*PcloudPvminstancesCapturePostInternalServerError) IsServerError

IsServerError returns true when this pcloud pvminstances capture post internal server error response has a 5xx status code

func (*PcloudPvminstancesCapturePostInternalServerError) IsSuccess

IsSuccess returns true when this pcloud pvminstances capture post internal server error response has a 2xx status code

func (*PcloudPvminstancesCapturePostInternalServerError) String

type PcloudPvminstancesCapturePostNotFound

type PcloudPvminstancesCapturePostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesCapturePostNotFound

func NewPcloudPvminstancesCapturePostNotFound() *PcloudPvminstancesCapturePostNotFound

NewPcloudPvminstancesCapturePostNotFound creates a PcloudPvminstancesCapturePostNotFound with default headers values

func (*PcloudPvminstancesCapturePostNotFound) Code

Code gets the status code for the pcloud pvminstances capture post not found response

func (*PcloudPvminstancesCapturePostNotFound) Error

func (*PcloudPvminstancesCapturePostNotFound) GetPayload

func (*PcloudPvminstancesCapturePostNotFound) IsClientError

func (o *PcloudPvminstancesCapturePostNotFound) IsClientError() bool

IsClientError returns true when this pcloud pvminstances capture post not found response has a 4xx status code

func (*PcloudPvminstancesCapturePostNotFound) IsCode

IsCode returns true when this pcloud pvminstances capture post not found response a status code equal to that given

func (*PcloudPvminstancesCapturePostNotFound) IsRedirect

IsRedirect returns true when this pcloud pvminstances capture post not found response has a 3xx status code

func (*PcloudPvminstancesCapturePostNotFound) IsServerError

func (o *PcloudPvminstancesCapturePostNotFound) IsServerError() bool

IsServerError returns true when this pcloud pvminstances capture post not found response has a 5xx status code

func (*PcloudPvminstancesCapturePostNotFound) IsSuccess

IsSuccess returns true when this pcloud pvminstances capture post not found response has a 2xx status code

func (*PcloudPvminstancesCapturePostNotFound) String

type PcloudPvminstancesCapturePostOK

type PcloudPvminstancesCapturePostOK struct {
	Payload models.Object
}

PcloudPvminstancesCapturePostOK describes a response with status code 200, with default header values.

OK

func NewPcloudPvminstancesCapturePostOK

func NewPcloudPvminstancesCapturePostOK() *PcloudPvminstancesCapturePostOK

NewPcloudPvminstancesCapturePostOK creates a PcloudPvminstancesCapturePostOK with default headers values

func (*PcloudPvminstancesCapturePostOK) Code

Code gets the status code for the pcloud pvminstances capture post o k response

func (*PcloudPvminstancesCapturePostOK) Error

func (*PcloudPvminstancesCapturePostOK) GetPayload

func (*PcloudPvminstancesCapturePostOK) IsClientError

func (o *PcloudPvminstancesCapturePostOK) IsClientError() bool

IsClientError returns true when this pcloud pvminstances capture post o k response has a 4xx status code

func (*PcloudPvminstancesCapturePostOK) IsCode

func (o *PcloudPvminstancesCapturePostOK) IsCode(code int) bool

IsCode returns true when this pcloud pvminstances capture post o k response a status code equal to that given

func (*PcloudPvminstancesCapturePostOK) IsRedirect

func (o *PcloudPvminstancesCapturePostOK) IsRedirect() bool

IsRedirect returns true when this pcloud pvminstances capture post o k response has a 3xx status code

func (*PcloudPvminstancesCapturePostOK) IsServerError

func (o *PcloudPvminstancesCapturePostOK) IsServerError() bool

IsServerError returns true when this pcloud pvminstances capture post o k response has a 5xx status code

func (*PcloudPvminstancesCapturePostOK) IsSuccess

func (o *PcloudPvminstancesCapturePostOK) IsSuccess() bool

IsSuccess returns true when this pcloud pvminstances capture post o k response has a 2xx status code

func (*PcloudPvminstancesCapturePostOK) String

type PcloudPvminstancesCapturePostParams

type PcloudPvminstancesCapturePostParams struct {

	/* Body.

	   Parameters for the capture PVMInstance
	*/
	Body *models.PVMInstanceCapture

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPvminstancesCapturePostParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances capture post operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesCapturePostParams

func NewPcloudPvminstancesCapturePostParams() *PcloudPvminstancesCapturePostParams

NewPcloudPvminstancesCapturePostParams creates a new PcloudPvminstancesCapturePostParams 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 NewPcloudPvminstancesCapturePostParamsWithContext

func NewPcloudPvminstancesCapturePostParamsWithContext(ctx context.Context) *PcloudPvminstancesCapturePostParams

NewPcloudPvminstancesCapturePostParamsWithContext creates a new PcloudPvminstancesCapturePostParams object with the ability to set a context for a request.

func NewPcloudPvminstancesCapturePostParamsWithHTTPClient

func NewPcloudPvminstancesCapturePostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesCapturePostParams

NewPcloudPvminstancesCapturePostParamsWithHTTPClient creates a new PcloudPvminstancesCapturePostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesCapturePostParamsWithTimeout

func NewPcloudPvminstancesCapturePostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesCapturePostParams

NewPcloudPvminstancesCapturePostParamsWithTimeout creates a new PcloudPvminstancesCapturePostParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesCapturePostParams) SetBody

SetBody adds the body to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) SetCloudInstanceID

func (o *PcloudPvminstancesCapturePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) SetContext

SetContext adds the context to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) SetDefaults

func (o *PcloudPvminstancesCapturePostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud pvminstances capture post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesCapturePostParams) SetHTTPClient

func (o *PcloudPvminstancesCapturePostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) SetPvmInstanceID

func (o *PcloudPvminstancesCapturePostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) SetTimeout

func (o *PcloudPvminstancesCapturePostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) WithBody

WithBody adds the body to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) WithCloudInstanceID

func (o *PcloudPvminstancesCapturePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesCapturePostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) WithContext

WithContext adds the context to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances capture post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesCapturePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesCapturePostReader

type PcloudPvminstancesCapturePostReader struct {
	// contains filtered or unexported fields
}

PcloudPvminstancesCapturePostReader is a Reader for the PcloudPvminstancesCapturePost structure.

func (*PcloudPvminstancesCapturePostReader) ReadResponse

func (o *PcloudPvminstancesCapturePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPvminstancesCapturePostUnauthorized

type PcloudPvminstancesCapturePostUnauthorized struct {
	Payload *models.Error
}

PcloudPvminstancesCapturePostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPvminstancesCapturePostUnauthorized

func NewPcloudPvminstancesCapturePostUnauthorized() *PcloudPvminstancesCapturePostUnauthorized

NewPcloudPvminstancesCapturePostUnauthorized creates a PcloudPvminstancesCapturePostUnauthorized with default headers values

func (*PcloudPvminstancesCapturePostUnauthorized) Code

Code gets the status code for the pcloud pvminstances capture post unauthorized response

func (*PcloudPvminstancesCapturePostUnauthorized) Error

func (*PcloudPvminstancesCapturePostUnauthorized) GetPayload

func (*PcloudPvminstancesCapturePostUnauthorized) IsClientError

IsClientError returns true when this pcloud pvminstances capture post unauthorized response has a 4xx status code

func (*PcloudPvminstancesCapturePostUnauthorized) IsCode

IsCode returns true when this pcloud pvminstances capture post unauthorized response a status code equal to that given

func (*PcloudPvminstancesCapturePostUnauthorized) IsRedirect

IsRedirect returns true when this pcloud pvminstances capture post unauthorized response has a 3xx status code

func (*PcloudPvminstancesCapturePostUnauthorized) IsServerError

IsServerError returns true when this pcloud pvminstances capture post unauthorized response has a 5xx status code

func (*PcloudPvminstancesCapturePostUnauthorized) IsSuccess

IsSuccess returns true when this pcloud pvminstances capture post unauthorized response has a 2xx status code

func (*PcloudPvminstancesCapturePostUnauthorized) String

type PcloudPvminstancesCapturePostUnprocessableEntity

type PcloudPvminstancesCapturePostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudPvminstancesCapturePostUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewPcloudPvminstancesCapturePostUnprocessableEntity

func NewPcloudPvminstancesCapturePostUnprocessableEntity() *PcloudPvminstancesCapturePostUnprocessableEntity

NewPcloudPvminstancesCapturePostUnprocessableEntity creates a PcloudPvminstancesCapturePostUnprocessableEntity with default headers values

func (*PcloudPvminstancesCapturePostUnprocessableEntity) Code

Code gets the status code for the pcloud pvminstances capture post unprocessable entity response

func (*PcloudPvminstancesCapturePostUnprocessableEntity) Error

func (*PcloudPvminstancesCapturePostUnprocessableEntity) GetPayload

func (*PcloudPvminstancesCapturePostUnprocessableEntity) IsClientError

IsClientError returns true when this pcloud pvminstances capture post unprocessable entity response has a 4xx status code

func (*PcloudPvminstancesCapturePostUnprocessableEntity) IsCode

IsCode returns true when this pcloud pvminstances capture post unprocessable entity response a status code equal to that given

func (*PcloudPvminstancesCapturePostUnprocessableEntity) IsRedirect

IsRedirect returns true when this pcloud pvminstances capture post unprocessable entity response has a 3xx status code

func (*PcloudPvminstancesCapturePostUnprocessableEntity) IsServerError

IsServerError returns true when this pcloud pvminstances capture post unprocessable entity response has a 5xx status code

func (*PcloudPvminstancesCapturePostUnprocessableEntity) IsSuccess

IsSuccess returns true when this pcloud pvminstances capture post unprocessable entity response has a 2xx status code

func (*PcloudPvminstancesCapturePostUnprocessableEntity) String

type PcloudPvminstancesClonePostAccepted

type PcloudPvminstancesClonePostAccepted struct {
	Payload *models.PVMInstance
}

PcloudPvminstancesClonePostAccepted describes a response with status code 202, with default header values.

Accepted

func NewPcloudPvminstancesClonePostAccepted

func NewPcloudPvminstancesClonePostAccepted() *PcloudPvminstancesClonePostAccepted

NewPcloudPvminstancesClonePostAccepted creates a PcloudPvminstancesClonePostAccepted with default headers values

func (*PcloudPvminstancesClonePostAccepted) Code

Code gets the status code for the pcloud pvminstances clone post accepted response

func (*PcloudPvminstancesClonePostAccepted) Error

func (*PcloudPvminstancesClonePostAccepted) GetPayload

func (*PcloudPvminstancesClonePostAccepted) IsClientError

func (o *PcloudPvminstancesClonePostAccepted) IsClientError() bool

IsClientError returns true when this pcloud pvminstances clone post accepted response has a 4xx status code

func (*PcloudPvminstancesClonePostAccepted) IsCode

IsCode returns true when this pcloud pvminstances clone post accepted response a status code equal to that given

func (*PcloudPvminstancesClonePostAccepted) IsRedirect

func (o *PcloudPvminstancesClonePostAccepted) IsRedirect() bool

IsRedirect returns true when this pcloud pvminstances clone post accepted response has a 3xx status code

func (*PcloudPvminstancesClonePostAccepted) IsServerError

func (o *PcloudPvminstancesClonePostAccepted) IsServerError() bool

IsServerError returns true when this pcloud pvminstances clone post accepted response has a 5xx status code

func (*PcloudPvminstancesClonePostAccepted) IsSuccess

IsSuccess returns true when this pcloud pvminstances clone post accepted response has a 2xx status code

func (*PcloudPvminstancesClonePostAccepted) String

type PcloudPvminstancesClonePostBadRequest

type PcloudPvminstancesClonePostBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesClonePostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudPvminstancesClonePostBadRequest

func NewPcloudPvminstancesClonePostBadRequest() *PcloudPvminstancesClonePostBadRequest

NewPcloudPvminstancesClonePostBadRequest creates a PcloudPvminstancesClonePostBadRequest with default headers values

func (*PcloudPvminstancesClonePostBadRequest) Code

Code gets the status code for the pcloud pvminstances clone post bad request response

func (*PcloudPvminstancesClonePostBadRequest) Error

func (*PcloudPvminstancesClonePostBadRequest) GetPayload

func (*PcloudPvminstancesClonePostBadRequest) IsClientError

func (o *PcloudPvminstancesClonePostBadRequest) IsClientError() bool

IsClientError returns true when this pcloud pvminstances clone post bad request response has a 4xx status code

func (*PcloudPvminstancesClonePostBadRequest) IsCode

IsCode returns true when this pcloud pvminstances clone post bad request response a status code equal to that given

func (*PcloudPvminstancesClonePostBadRequest) IsRedirect

IsRedirect returns true when this pcloud pvminstances clone post bad request response has a 3xx status code

func (*PcloudPvminstancesClonePostBadRequest) IsServerError

func (o *PcloudPvminstancesClonePostBadRequest) IsServerError() bool

IsServerError returns true when this pcloud pvminstances clone post bad request response has a 5xx status code

func (*PcloudPvminstancesClonePostBadRequest) IsSuccess

IsSuccess returns true when this pcloud pvminstances clone post bad request response has a 2xx status code

func (*PcloudPvminstancesClonePostBadRequest) String

type PcloudPvminstancesClonePostConflict

type PcloudPvminstancesClonePostConflict struct {
	Payload *models.Error
}

PcloudPvminstancesClonePostConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudPvminstancesClonePostConflict

func NewPcloudPvminstancesClonePostConflict() *PcloudPvminstancesClonePostConflict

NewPcloudPvminstancesClonePostConflict creates a PcloudPvminstancesClonePostConflict with default headers values

func (*PcloudPvminstancesClonePostConflict) Code

Code gets the status code for the pcloud pvminstances clone post conflict response

func (*PcloudPvminstancesClonePostConflict) Error

func (*PcloudPvminstancesClonePostConflict) GetPayload

func (*PcloudPvminstancesClonePostConflict) IsClientError

func (o *PcloudPvminstancesClonePostConflict) IsClientError() bool

IsClientError returns true when this pcloud pvminstances clone post conflict response has a 4xx status code

func (*PcloudPvminstancesClonePostConflict) IsCode

IsCode returns true when this pcloud pvminstances clone post conflict response a status code equal to that given

func (*PcloudPvminstancesClonePostConflict) IsRedirect

func (o *PcloudPvminstancesClonePostConflict) IsRedirect() bool

IsRedirect returns true when this pcloud pvminstances clone post conflict response has a 3xx status code

func (*PcloudPvminstancesClonePostConflict) IsServerError

func (o *PcloudPvminstancesClonePostConflict) IsServerError() bool

IsServerError returns true when this pcloud pvminstances clone post conflict response has a 5xx status code

func (*PcloudPvminstancesClonePostConflict) IsSuccess

IsSuccess returns true when this pcloud pvminstances clone post conflict response has a 2xx status code

func (*PcloudPvminstancesClonePostConflict) String

type PcloudPvminstancesClonePostInternalServerError

type PcloudPvminstancesClonePostInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesClonePostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPvminstancesClonePostInternalServerError

func NewPcloudPvminstancesClonePostInternalServerError() *PcloudPvminstancesClonePostInternalServerError

NewPcloudPvminstancesClonePostInternalServerError creates a PcloudPvminstancesClonePostInternalServerError with default headers values

func (*PcloudPvminstancesClonePostInternalServerError) Code

Code gets the status code for the pcloud pvminstances clone post internal server error response

func (*PcloudPvminstancesClonePostInternalServerError) Error

func (*PcloudPvminstancesClonePostInternalServerError) GetPayload

func (*PcloudPvminstancesClonePostInternalServerError) IsClientError

IsClientError returns true when this pcloud pvminstances clone post internal server error response has a 4xx status code

func (*PcloudPvminstancesClonePostInternalServerError) IsCode

IsCode returns true when this pcloud pvminstances clone post internal server error response a status code equal to that given

func (*PcloudPvminstancesClonePostInternalServerError) IsRedirect

IsRedirect returns true when this pcloud pvminstances clone post internal server error response has a 3xx status code

func (*PcloudPvminstancesClonePostInternalServerError) IsServerError

IsServerError returns true when this pcloud pvminstances clone post internal server error response has a 5xx status code

func (*PcloudPvminstancesClonePostInternalServerError) IsSuccess

IsSuccess returns true when this pcloud pvminstances clone post internal server error response has a 2xx status code

func (*PcloudPvminstancesClonePostInternalServerError) String

type PcloudPvminstancesClonePostParams

type PcloudPvminstancesClonePostParams struct {

	/* Body.

	   Clone PVM Instance parameters
	*/
	Body *models.PVMInstanceClone

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPvminstancesClonePostParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances clone post operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesClonePostParams

func NewPcloudPvminstancesClonePostParams() *PcloudPvminstancesClonePostParams

NewPcloudPvminstancesClonePostParams creates a new PcloudPvminstancesClonePostParams 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 NewPcloudPvminstancesClonePostParamsWithContext

func NewPcloudPvminstancesClonePostParamsWithContext(ctx context.Context) *PcloudPvminstancesClonePostParams

NewPcloudPvminstancesClonePostParamsWithContext creates a new PcloudPvminstancesClonePostParams object with the ability to set a context for a request.

func NewPcloudPvminstancesClonePostParamsWithHTTPClient

func NewPcloudPvminstancesClonePostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesClonePostParams

NewPcloudPvminstancesClonePostParamsWithHTTPClient creates a new PcloudPvminstancesClonePostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesClonePostParamsWithTimeout

func NewPcloudPvminstancesClonePostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesClonePostParams

NewPcloudPvminstancesClonePostParamsWithTimeout creates a new PcloudPvminstancesClonePostParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesClonePostParams) SetBody

SetBody adds the body to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) SetCloudInstanceID

func (o *PcloudPvminstancesClonePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) SetContext

SetContext adds the context to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) SetDefaults

func (o *PcloudPvminstancesClonePostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud pvminstances clone post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesClonePostParams) SetHTTPClient

func (o *PcloudPvminstancesClonePostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) SetPvmInstanceID

func (o *PcloudPvminstancesClonePostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) SetTimeout

func (o *PcloudPvminstancesClonePostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) WithBody

WithBody adds the body to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) WithCloudInstanceID

func (o *PcloudPvminstancesClonePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesClonePostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) WithContext

WithContext adds the context to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances clone post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesClonePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) WithPvmInstanceID

func (o *PcloudPvminstancesClonePostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesClonePostParams

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesClonePostReader

type PcloudPvminstancesClonePostReader struct {
	// contains filtered or unexported fields
}

PcloudPvminstancesClonePostReader is a Reader for the PcloudPvminstancesClonePost structure.

func (*PcloudPvminstancesClonePostReader) ReadResponse

func (o *PcloudPvminstancesClonePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPvminstancesClonePostUnauthorized

type PcloudPvminstancesClonePostUnauthorized struct {
	Payload *models.Error
}

PcloudPvminstancesClonePostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPvminstancesClonePostUnauthorized

func NewPcloudPvminstancesClonePostUnauthorized() *PcloudPvminstancesClonePostUnauthorized

NewPcloudPvminstancesClonePostUnauthorized creates a PcloudPvminstancesClonePostUnauthorized with default headers values

func (*PcloudPvminstancesClonePostUnauthorized) Code

Code gets the status code for the pcloud pvminstances clone post unauthorized response

func (*PcloudPvminstancesClonePostUnauthorized) Error

func (*PcloudPvminstancesClonePostUnauthorized) GetPayload

func (*PcloudPvminstancesClonePostUnauthorized) IsClientError

func (o *PcloudPvminstancesClonePostUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud pvminstances clone post unauthorized response has a 4xx status code

func (*PcloudPvminstancesClonePostUnauthorized) IsCode

IsCode returns true when this pcloud pvminstances clone post unauthorized response a status code equal to that given

func (*PcloudPvminstancesClonePostUnauthorized) IsRedirect

IsRedirect returns true when this pcloud pvminstances clone post unauthorized response has a 3xx status code

func (*PcloudPvminstancesClonePostUnauthorized) IsServerError

func (o *PcloudPvminstancesClonePostUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud pvminstances clone post unauthorized response has a 5xx status code

func (*PcloudPvminstancesClonePostUnauthorized) IsSuccess

IsSuccess returns true when this pcloud pvminstances clone post unauthorized response has a 2xx status code

func (*PcloudPvminstancesClonePostUnauthorized) String

type PcloudPvminstancesClonePostUnprocessableEntity

type PcloudPvminstancesClonePostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudPvminstancesClonePostUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewPcloudPvminstancesClonePostUnprocessableEntity

func NewPcloudPvminstancesClonePostUnprocessableEntity() *PcloudPvminstancesClonePostUnprocessableEntity

NewPcloudPvminstancesClonePostUnprocessableEntity creates a PcloudPvminstancesClonePostUnprocessableEntity with default headers values

func (*PcloudPvminstancesClonePostUnprocessableEntity) Code

Code gets the status code for the pcloud pvminstances clone post unprocessable entity response

func (*PcloudPvminstancesClonePostUnprocessableEntity) Error

func (*PcloudPvminstancesClonePostUnprocessableEntity) GetPayload

func (*PcloudPvminstancesClonePostUnprocessableEntity) IsClientError

IsClientError returns true when this pcloud pvminstances clone post unprocessable entity response has a 4xx status code

func (*PcloudPvminstancesClonePostUnprocessableEntity) IsCode

IsCode returns true when this pcloud pvminstances clone post unprocessable entity response a status code equal to that given

func (*PcloudPvminstancesClonePostUnprocessableEntity) IsRedirect

IsRedirect returns true when this pcloud pvminstances clone post unprocessable entity response has a 3xx status code

func (*PcloudPvminstancesClonePostUnprocessableEntity) IsServerError

IsServerError returns true when this pcloud pvminstances clone post unprocessable entity response has a 5xx status code

func (*PcloudPvminstancesClonePostUnprocessableEntity) IsSuccess

IsSuccess returns true when this pcloud pvminstances clone post unprocessable entity response has a 2xx status code

func (*PcloudPvminstancesClonePostUnprocessableEntity) String

type PcloudPvminstancesConsoleGetBadRequest

type PcloudPvminstancesConsoleGetBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesConsoleGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudPvminstancesConsoleGetBadRequest

func NewPcloudPvminstancesConsoleGetBadRequest() *PcloudPvminstancesConsoleGetBadRequest

NewPcloudPvminstancesConsoleGetBadRequest creates a PcloudPvminstancesConsoleGetBadRequest with default headers values

func (*PcloudPvminstancesConsoleGetBadRequest) Code

Code gets the status code for the pcloud pvminstances console get bad request response

func (*PcloudPvminstancesConsoleGetBadRequest) Error

func (*PcloudPvminstancesConsoleGetBadRequest) GetPayload

func (*PcloudPvminstancesConsoleGetBadRequest) IsClientError

func (o *PcloudPvminstancesConsoleGetBadRequest) IsClientError() bool

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

func (*PcloudPvminstancesConsoleGetBadRequest) IsCode

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

func (*PcloudPvminstancesConsoleGetBadRequest) IsRedirect

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

func (*PcloudPvminstancesConsoleGetBadRequest) IsServerError

func (o *PcloudPvminstancesConsoleGetBadRequest) IsServerError() bool

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

func (*PcloudPvminstancesConsoleGetBadRequest) IsSuccess

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

func (*PcloudPvminstancesConsoleGetBadRequest) String

type PcloudPvminstancesConsoleGetForbidden

type PcloudPvminstancesConsoleGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesConsoleGetForbidden

func NewPcloudPvminstancesConsoleGetForbidden() *PcloudPvminstancesConsoleGetForbidden

NewPcloudPvminstancesConsoleGetForbidden creates a PcloudPvminstancesConsoleGetForbidden with default headers values

func (*PcloudPvminstancesConsoleGetForbidden) Code

Code gets the status code for the pcloud pvminstances console get forbidden response

func (*PcloudPvminstancesConsoleGetForbidden) Error

func (*PcloudPvminstancesConsoleGetForbidden) GetPayload

func (*PcloudPvminstancesConsoleGetForbidden) IsClientError

func (o *PcloudPvminstancesConsoleGetForbidden) IsClientError() bool

IsClientError returns true when this pcloud pvminstances console get forbidden response has a 4xx status code

func (*PcloudPvminstancesConsoleGetForbidden) IsCode

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

func (*PcloudPvminstancesConsoleGetForbidden) IsRedirect

IsRedirect returns true when this pcloud pvminstances console get forbidden response has a 3xx status code

func (*PcloudPvminstancesConsoleGetForbidden) IsServerError

func (o *PcloudPvminstancesConsoleGetForbidden) IsServerError() bool

IsServerError returns true when this pcloud pvminstances console get forbidden response has a 5xx status code

func (*PcloudPvminstancesConsoleGetForbidden) IsSuccess

IsSuccess returns true when this pcloud pvminstances console get forbidden response has a 2xx status code

func (*PcloudPvminstancesConsoleGetForbidden) String

type PcloudPvminstancesConsoleGetInternalServerError

type PcloudPvminstancesConsoleGetInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesConsoleGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPvminstancesConsoleGetInternalServerError

func NewPcloudPvminstancesConsoleGetInternalServerError() *PcloudPvminstancesConsoleGetInternalServerError

NewPcloudPvminstancesConsoleGetInternalServerError creates a PcloudPvminstancesConsoleGetInternalServerError with default headers values

func (*PcloudPvminstancesConsoleGetInternalServerError) Code

Code gets the status code for the pcloud pvminstances console get internal server error response

func (*PcloudPvminstancesConsoleGetInternalServerError) Error

func (*PcloudPvminstancesConsoleGetInternalServerError) GetPayload

func (*PcloudPvminstancesConsoleGetInternalServerError) IsClientError

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

func (*PcloudPvminstancesConsoleGetInternalServerError) IsCode

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

func (*PcloudPvminstancesConsoleGetInternalServerError) IsRedirect

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

func (*PcloudPvminstancesConsoleGetInternalServerError) IsServerError

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

func (*PcloudPvminstancesConsoleGetInternalServerError) IsSuccess

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

func (*PcloudPvminstancesConsoleGetInternalServerError) String

type PcloudPvminstancesConsoleGetNotFound

type PcloudPvminstancesConsoleGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesConsoleGetNotFound

func NewPcloudPvminstancesConsoleGetNotFound() *PcloudPvminstancesConsoleGetNotFound

NewPcloudPvminstancesConsoleGetNotFound creates a PcloudPvminstancesConsoleGetNotFound with default headers values

func (*PcloudPvminstancesConsoleGetNotFound) Code

Code gets the status code for the pcloud pvminstances console get not found response

func (*PcloudPvminstancesConsoleGetNotFound) Error

func (*PcloudPvminstancesConsoleGetNotFound) GetPayload

func (*PcloudPvminstancesConsoleGetNotFound) IsClientError

func (o *PcloudPvminstancesConsoleGetNotFound) IsClientError() bool

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

func (*PcloudPvminstancesConsoleGetNotFound) IsCode

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

func (*PcloudPvminstancesConsoleGetNotFound) IsRedirect

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

func (*PcloudPvminstancesConsoleGetNotFound) IsServerError

func (o *PcloudPvminstancesConsoleGetNotFound) IsServerError() bool

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

func (*PcloudPvminstancesConsoleGetNotFound) IsSuccess

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

func (*PcloudPvminstancesConsoleGetNotFound) String

type PcloudPvminstancesConsoleGetOK

type PcloudPvminstancesConsoleGetOK struct {
	Payload *models.ConsoleLanguages
}

PcloudPvminstancesConsoleGetOK describes a response with status code 200, with default header values.

OK

func NewPcloudPvminstancesConsoleGetOK

func NewPcloudPvminstancesConsoleGetOK() *PcloudPvminstancesConsoleGetOK

NewPcloudPvminstancesConsoleGetOK creates a PcloudPvminstancesConsoleGetOK with default headers values

func (*PcloudPvminstancesConsoleGetOK) Code

Code gets the status code for the pcloud pvminstances console get o k response

func (*PcloudPvminstancesConsoleGetOK) Error

func (*PcloudPvminstancesConsoleGetOK) GetPayload

func (*PcloudPvminstancesConsoleGetOK) IsClientError

func (o *PcloudPvminstancesConsoleGetOK) IsClientError() bool

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

func (*PcloudPvminstancesConsoleGetOK) IsCode

func (o *PcloudPvminstancesConsoleGetOK) IsCode(code int) bool

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

func (*PcloudPvminstancesConsoleGetOK) IsRedirect

func (o *PcloudPvminstancesConsoleGetOK) IsRedirect() bool

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

func (*PcloudPvminstancesConsoleGetOK) IsServerError

func (o *PcloudPvminstancesConsoleGetOK) IsServerError() bool

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

func (*PcloudPvminstancesConsoleGetOK) IsSuccess

func (o *PcloudPvminstancesConsoleGetOK) IsSuccess() bool

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

func (*PcloudPvminstancesConsoleGetOK) String

type PcloudPvminstancesConsoleGetParams

type PcloudPvminstancesConsoleGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPvminstancesConsoleGetParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances console get operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesConsoleGetParams

func NewPcloudPvminstancesConsoleGetParams() *PcloudPvminstancesConsoleGetParams

NewPcloudPvminstancesConsoleGetParams creates a new PcloudPvminstancesConsoleGetParams 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 NewPcloudPvminstancesConsoleGetParamsWithContext

func NewPcloudPvminstancesConsoleGetParamsWithContext(ctx context.Context) *PcloudPvminstancesConsoleGetParams

NewPcloudPvminstancesConsoleGetParamsWithContext creates a new PcloudPvminstancesConsoleGetParams object with the ability to set a context for a request.

func NewPcloudPvminstancesConsoleGetParamsWithHTTPClient

func NewPcloudPvminstancesConsoleGetParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesConsoleGetParams

NewPcloudPvminstancesConsoleGetParamsWithHTTPClient creates a new PcloudPvminstancesConsoleGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesConsoleGetParamsWithTimeout

func NewPcloudPvminstancesConsoleGetParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesConsoleGetParams

NewPcloudPvminstancesConsoleGetParamsWithTimeout creates a new PcloudPvminstancesConsoleGetParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesConsoleGetParams) SetCloudInstanceID

func (o *PcloudPvminstancesConsoleGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances console get params

func (*PcloudPvminstancesConsoleGetParams) SetContext

SetContext adds the context to the pcloud pvminstances console get params

func (*PcloudPvminstancesConsoleGetParams) SetDefaults

func (o *PcloudPvminstancesConsoleGetParams) SetDefaults()

SetDefaults hydrates default values in the pcloud pvminstances console get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesConsoleGetParams) SetHTTPClient

func (o *PcloudPvminstancesConsoleGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud pvminstances console get params

func (*PcloudPvminstancesConsoleGetParams) SetPvmInstanceID

func (o *PcloudPvminstancesConsoleGetParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances console get params

func (*PcloudPvminstancesConsoleGetParams) SetTimeout

func (o *PcloudPvminstancesConsoleGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud pvminstances console get params

func (*PcloudPvminstancesConsoleGetParams) WithCloudInstanceID

func (o *PcloudPvminstancesConsoleGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesConsoleGetParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances console get params

func (*PcloudPvminstancesConsoleGetParams) WithContext

WithContext adds the context to the pcloud pvminstances console get params

func (*PcloudPvminstancesConsoleGetParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances console get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesConsoleGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances console get params

func (*PcloudPvminstancesConsoleGetParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances console get params

func (*PcloudPvminstancesConsoleGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances console get params

func (*PcloudPvminstancesConsoleGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesConsoleGetReader

type PcloudPvminstancesConsoleGetReader struct {
	// contains filtered or unexported fields
}

PcloudPvminstancesConsoleGetReader is a Reader for the PcloudPvminstancesConsoleGet structure.

func (*PcloudPvminstancesConsoleGetReader) ReadResponse

func (o *PcloudPvminstancesConsoleGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPvminstancesConsoleGetUnauthorized

type PcloudPvminstancesConsoleGetUnauthorized struct {
	Payload *models.Error
}

PcloudPvminstancesConsoleGetUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPvminstancesConsoleGetUnauthorized

func NewPcloudPvminstancesConsoleGetUnauthorized() *PcloudPvminstancesConsoleGetUnauthorized

NewPcloudPvminstancesConsoleGetUnauthorized creates a PcloudPvminstancesConsoleGetUnauthorized with default headers values

func (*PcloudPvminstancesConsoleGetUnauthorized) Code

Code gets the status code for the pcloud pvminstances console get unauthorized response

func (*PcloudPvminstancesConsoleGetUnauthorized) Error

func (*PcloudPvminstancesConsoleGetUnauthorized) GetPayload

func (*PcloudPvminstancesConsoleGetUnauthorized) IsClientError

IsClientError returns true when this pcloud pvminstances console get unauthorized response has a 4xx status code

func (*PcloudPvminstancesConsoleGetUnauthorized) IsCode

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

func (*PcloudPvminstancesConsoleGetUnauthorized) IsRedirect

IsRedirect returns true when this pcloud pvminstances console get unauthorized response has a 3xx status code

func (*PcloudPvminstancesConsoleGetUnauthorized) IsServerError

IsServerError returns true when this pcloud pvminstances console get unauthorized response has a 5xx status code

func (*PcloudPvminstancesConsoleGetUnauthorized) IsSuccess

IsSuccess returns true when this pcloud pvminstances console get unauthorized response has a 2xx status code

func (*PcloudPvminstancesConsoleGetUnauthorized) String

type PcloudPvminstancesConsolePostCreated

type PcloudPvminstancesConsolePostCreated struct {
	Payload *models.PVMInstanceConsole
}

PcloudPvminstancesConsolePostCreated describes a response with status code 201, with default header values.

Created

func NewPcloudPvminstancesConsolePostCreated

func NewPcloudPvminstancesConsolePostCreated() *PcloudPvminstancesConsolePostCreated

NewPcloudPvminstancesConsolePostCreated creates a PcloudPvminstancesConsolePostCreated with default headers values

func (*PcloudPvminstancesConsolePostCreated) Code

Code gets the status code for the pcloud pvminstances console post created response

func (*PcloudPvminstancesConsolePostCreated) Error

func (*PcloudPvminstancesConsolePostCreated) GetPayload

func (*PcloudPvminstancesConsolePostCreated) IsClientError

func (o *PcloudPvminstancesConsolePostCreated) IsClientError() bool

IsClientError returns true when this pcloud pvminstances console post created response has a 4xx status code

func (*PcloudPvminstancesConsolePostCreated) IsCode

IsCode returns true when this pcloud pvminstances console post created response a status code equal to that given

func (*PcloudPvminstancesConsolePostCreated) IsRedirect

IsRedirect returns true when this pcloud pvminstances console post created response has a 3xx status code

func (*PcloudPvminstancesConsolePostCreated) IsServerError

func (o *PcloudPvminstancesConsolePostCreated) IsServerError() bool

IsServerError returns true when this pcloud pvminstances console post created response has a 5xx status code

func (*PcloudPvminstancesConsolePostCreated) IsSuccess

IsSuccess returns true when this pcloud pvminstances console post created response has a 2xx status code

func (*PcloudPvminstancesConsolePostCreated) String

type PcloudPvminstancesConsolePostForbidden

type PcloudPvminstancesConsolePostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesConsolePostForbidden

func NewPcloudPvminstancesConsolePostForbidden() *PcloudPvminstancesConsolePostForbidden

NewPcloudPvminstancesConsolePostForbidden creates a PcloudPvminstancesConsolePostForbidden with default headers values

func (*PcloudPvminstancesConsolePostForbidden) Code

Code gets the status code for the pcloud pvminstances console post forbidden response

func (*PcloudPvminstancesConsolePostForbidden) Error

func (*PcloudPvminstancesConsolePostForbidden) GetPayload

func (*PcloudPvminstancesConsolePostForbidden) IsClientError

func (o *PcloudPvminstancesConsolePostForbidden) IsClientError() bool

IsClientError returns true when this pcloud pvminstances console post forbidden response has a 4xx status code

func (*PcloudPvminstancesConsolePostForbidden) IsCode

IsCode returns true when this pcloud pvminstances console post forbidden response a status code equal to that given

func (*PcloudPvminstancesConsolePostForbidden) IsRedirect

IsRedirect returns true when this pcloud pvminstances console post forbidden response has a 3xx status code

func (*PcloudPvminstancesConsolePostForbidden) IsServerError

func (o *PcloudPvminstancesConsolePostForbidden) IsServerError() bool

IsServerError returns true when this pcloud pvminstances console post forbidden response has a 5xx status code

func (*PcloudPvminstancesConsolePostForbidden) IsSuccess

IsSuccess returns true when this pcloud pvminstances console post forbidden response has a 2xx status code

func (*PcloudPvminstancesConsolePostForbidden) String

type PcloudPvminstancesConsolePostInternalServerError

type PcloudPvminstancesConsolePostInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesConsolePostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPvminstancesConsolePostInternalServerError

func NewPcloudPvminstancesConsolePostInternalServerError() *PcloudPvminstancesConsolePostInternalServerError

NewPcloudPvminstancesConsolePostInternalServerError creates a PcloudPvminstancesConsolePostInternalServerError with default headers values

func (*PcloudPvminstancesConsolePostInternalServerError) Code

Code gets the status code for the pcloud pvminstances console post internal server error response

func (*PcloudPvminstancesConsolePostInternalServerError) Error

func (*PcloudPvminstancesConsolePostInternalServerError) GetPayload

func (*PcloudPvminstancesConsolePostInternalServerError) IsClientError

IsClientError returns true when this pcloud pvminstances console post internal server error response has a 4xx status code

func (*PcloudPvminstancesConsolePostInternalServerError) IsCode

IsCode returns true when this pcloud pvminstances console post internal server error response a status code equal to that given

func (*PcloudPvminstancesConsolePostInternalServerError) IsRedirect

IsRedirect returns true when this pcloud pvminstances console post internal server error response has a 3xx status code

func (*PcloudPvminstancesConsolePostInternalServerError) IsServerError

IsServerError returns true when this pcloud pvminstances console post internal server error response has a 5xx status code

func (*PcloudPvminstancesConsolePostInternalServerError) IsSuccess

IsSuccess returns true when this pcloud pvminstances console post internal server error response has a 2xx status code

func (*PcloudPvminstancesConsolePostInternalServerError) String

type PcloudPvminstancesConsolePostNotFound

type PcloudPvminstancesConsolePostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesConsolePostNotFound

func NewPcloudPvminstancesConsolePostNotFound() *PcloudPvminstancesConsolePostNotFound

NewPcloudPvminstancesConsolePostNotFound creates a PcloudPvminstancesConsolePostNotFound with default headers values

func (*PcloudPvminstancesConsolePostNotFound) Code

Code gets the status code for the pcloud pvminstances console post not found response

func (*PcloudPvminstancesConsolePostNotFound) Error

func (*PcloudPvminstancesConsolePostNotFound) GetPayload

func (*PcloudPvminstancesConsolePostNotFound) IsClientError

func (o *PcloudPvminstancesConsolePostNotFound) IsClientError() bool

IsClientError returns true when this pcloud pvminstances console post not found response has a 4xx status code

func (*PcloudPvminstancesConsolePostNotFound) IsCode

IsCode returns true when this pcloud pvminstances console post not found response a status code equal to that given

func (*PcloudPvminstancesConsolePostNotFound) IsRedirect

IsRedirect returns true when this pcloud pvminstances console post not found response has a 3xx status code

func (*PcloudPvminstancesConsolePostNotFound) IsServerError

func (o *PcloudPvminstancesConsolePostNotFound) IsServerError() bool

IsServerError returns true when this pcloud pvminstances console post not found response has a 5xx status code

func (*PcloudPvminstancesConsolePostNotFound) IsSuccess

IsSuccess returns true when this pcloud pvminstances console post not found response has a 2xx status code

func (*PcloudPvminstancesConsolePostNotFound) String

type PcloudPvminstancesConsolePostParams

type PcloudPvminstancesConsolePostParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPvminstancesConsolePostParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances console post operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesConsolePostParams

func NewPcloudPvminstancesConsolePostParams() *PcloudPvminstancesConsolePostParams

NewPcloudPvminstancesConsolePostParams creates a new PcloudPvminstancesConsolePostParams 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 NewPcloudPvminstancesConsolePostParamsWithContext

func NewPcloudPvminstancesConsolePostParamsWithContext(ctx context.Context) *PcloudPvminstancesConsolePostParams

NewPcloudPvminstancesConsolePostParamsWithContext creates a new PcloudPvminstancesConsolePostParams object with the ability to set a context for a request.

func NewPcloudPvminstancesConsolePostParamsWithHTTPClient

func NewPcloudPvminstancesConsolePostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesConsolePostParams

NewPcloudPvminstancesConsolePostParamsWithHTTPClient creates a new PcloudPvminstancesConsolePostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesConsolePostParamsWithTimeout

func NewPcloudPvminstancesConsolePostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesConsolePostParams

NewPcloudPvminstancesConsolePostParamsWithTimeout creates a new PcloudPvminstancesConsolePostParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesConsolePostParams) SetCloudInstanceID

func (o *PcloudPvminstancesConsolePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) SetContext

SetContext adds the context to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) SetDefaults

func (o *PcloudPvminstancesConsolePostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud pvminstances console post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesConsolePostParams) SetHTTPClient

func (o *PcloudPvminstancesConsolePostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) SetPvmInstanceID

func (o *PcloudPvminstancesConsolePostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) SetTimeout

func (o *PcloudPvminstancesConsolePostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) WithCloudInstanceID

func (o *PcloudPvminstancesConsolePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesConsolePostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) WithContext

WithContext adds the context to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances console post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesConsolePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesConsolePostReader

type PcloudPvminstancesConsolePostReader struct {
	// contains filtered or unexported fields
}

PcloudPvminstancesConsolePostReader is a Reader for the PcloudPvminstancesConsolePost structure.

func (*PcloudPvminstancesConsolePostReader) ReadResponse

func (o *PcloudPvminstancesConsolePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPvminstancesConsolePostUnauthorized

type PcloudPvminstancesConsolePostUnauthorized struct {
	Payload *models.Error
}

PcloudPvminstancesConsolePostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPvminstancesConsolePostUnauthorized

func NewPcloudPvminstancesConsolePostUnauthorized() *PcloudPvminstancesConsolePostUnauthorized

NewPcloudPvminstancesConsolePostUnauthorized creates a PcloudPvminstancesConsolePostUnauthorized with default headers values

func (*PcloudPvminstancesConsolePostUnauthorized) Code

Code gets the status code for the pcloud pvminstances console post unauthorized response

func (*PcloudPvminstancesConsolePostUnauthorized) Error

func (*PcloudPvminstancesConsolePostUnauthorized) GetPayload

func (*PcloudPvminstancesConsolePostUnauthorized) IsClientError

IsClientError returns true when this pcloud pvminstances console post unauthorized response has a 4xx status code

func (*PcloudPvminstancesConsolePostUnauthorized) IsCode

IsCode returns true when this pcloud pvminstances console post unauthorized response a status code equal to that given

func (*PcloudPvminstancesConsolePostUnauthorized) IsRedirect

IsRedirect returns true when this pcloud pvminstances console post unauthorized response has a 3xx status code

func (*PcloudPvminstancesConsolePostUnauthorized) IsServerError

IsServerError returns true when this pcloud pvminstances console post unauthorized response has a 5xx status code

func (*PcloudPvminstancesConsolePostUnauthorized) IsSuccess

IsSuccess returns true when this pcloud pvminstances console post unauthorized response has a 2xx status code

func (*PcloudPvminstancesConsolePostUnauthorized) String

type PcloudPvminstancesConsolePostUnprocessableEntity

type PcloudPvminstancesConsolePostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudPvminstancesConsolePostUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewPcloudPvminstancesConsolePostUnprocessableEntity

func NewPcloudPvminstancesConsolePostUnprocessableEntity() *PcloudPvminstancesConsolePostUnprocessableEntity

NewPcloudPvminstancesConsolePostUnprocessableEntity creates a PcloudPvminstancesConsolePostUnprocessableEntity with default headers values

func (*PcloudPvminstancesConsolePostUnprocessableEntity) Code

Code gets the status code for the pcloud pvminstances console post unprocessable entity response

func (*PcloudPvminstancesConsolePostUnprocessableEntity) Error

func (*PcloudPvminstancesConsolePostUnprocessableEntity) GetPayload

func (*PcloudPvminstancesConsolePostUnprocessableEntity) IsClientError

IsClientError returns true when this pcloud pvminstances console post unprocessable entity response has a 4xx status code

func (*PcloudPvminstancesConsolePostUnprocessableEntity) IsCode

IsCode returns true when this pcloud pvminstances console post unprocessable entity response a status code equal to that given

func (*PcloudPvminstancesConsolePostUnprocessableEntity) IsRedirect

IsRedirect returns true when this pcloud pvminstances console post unprocessable entity response has a 3xx status code

func (*PcloudPvminstancesConsolePostUnprocessableEntity) IsServerError

IsServerError returns true when this pcloud pvminstances console post unprocessable entity response has a 5xx status code

func (*PcloudPvminstancesConsolePostUnprocessableEntity) IsSuccess

IsSuccess returns true when this pcloud pvminstances console post unprocessable entity response has a 2xx status code

func (*PcloudPvminstancesConsolePostUnprocessableEntity) String

type PcloudPvminstancesConsolePutBadRequest

type PcloudPvminstancesConsolePutBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesConsolePutBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudPvminstancesConsolePutBadRequest

func NewPcloudPvminstancesConsolePutBadRequest() *PcloudPvminstancesConsolePutBadRequest

NewPcloudPvminstancesConsolePutBadRequest creates a PcloudPvminstancesConsolePutBadRequest with default headers values

func (*PcloudPvminstancesConsolePutBadRequest) Code

Code gets the status code for the pcloud pvminstances console put bad request response

func (*PcloudPvminstancesConsolePutBadRequest) Error

func (*PcloudPvminstancesConsolePutBadRequest) GetPayload

func (*PcloudPvminstancesConsolePutBadRequest) IsClientError

func (o *PcloudPvminstancesConsolePutBadRequest) IsClientError() bool

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

func (*PcloudPvminstancesConsolePutBadRequest) IsCode

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

func (*PcloudPvminstancesConsolePutBadRequest) IsRedirect

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

func (*PcloudPvminstancesConsolePutBadRequest) IsServerError

func (o *PcloudPvminstancesConsolePutBadRequest) IsServerError() bool

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

func (*PcloudPvminstancesConsolePutBadRequest) IsSuccess

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

func (*PcloudPvminstancesConsolePutBadRequest) String

type PcloudPvminstancesConsolePutForbidden

type PcloudPvminstancesConsolePutForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesConsolePutForbidden

func NewPcloudPvminstancesConsolePutForbidden() *PcloudPvminstancesConsolePutForbidden

NewPcloudPvminstancesConsolePutForbidden creates a PcloudPvminstancesConsolePutForbidden with default headers values

func (*PcloudPvminstancesConsolePutForbidden) Code

Code gets the status code for the pcloud pvminstances console put forbidden response

func (*PcloudPvminstancesConsolePutForbidden) Error

func (*PcloudPvminstancesConsolePutForbidden) GetPayload

func (*PcloudPvminstancesConsolePutForbidden) IsClientError

func (o *PcloudPvminstancesConsolePutForbidden) IsClientError() bool

IsClientError returns true when this pcloud pvminstances console put forbidden response has a 4xx status code

func (*PcloudPvminstancesConsolePutForbidden) IsCode

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

func (*PcloudPvminstancesConsolePutForbidden) IsRedirect

IsRedirect returns true when this pcloud pvminstances console put forbidden response has a 3xx status code

func (*PcloudPvminstancesConsolePutForbidden) IsServerError

func (o *PcloudPvminstancesConsolePutForbidden) IsServerError() bool

IsServerError returns true when this pcloud pvminstances console put forbidden response has a 5xx status code

func (*PcloudPvminstancesConsolePutForbidden) IsSuccess

IsSuccess returns true when this pcloud pvminstances console put forbidden response has a 2xx status code

func (*PcloudPvminstancesConsolePutForbidden) String

type PcloudPvminstancesConsolePutInternalServerError

type PcloudPvminstancesConsolePutInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesConsolePutInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPvminstancesConsolePutInternalServerError

func NewPcloudPvminstancesConsolePutInternalServerError() *PcloudPvminstancesConsolePutInternalServerError

NewPcloudPvminstancesConsolePutInternalServerError creates a PcloudPvminstancesConsolePutInternalServerError with default headers values

func (*PcloudPvminstancesConsolePutInternalServerError) Code

Code gets the status code for the pcloud pvminstances console put internal server error response

func (*PcloudPvminstancesConsolePutInternalServerError) Error

func (*PcloudPvminstancesConsolePutInternalServerError) GetPayload

func (*PcloudPvminstancesConsolePutInternalServerError) IsClientError

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

func (*PcloudPvminstancesConsolePutInternalServerError) IsCode

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

func (*PcloudPvminstancesConsolePutInternalServerError) IsRedirect

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

func (*PcloudPvminstancesConsolePutInternalServerError) IsServerError

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

func (*PcloudPvminstancesConsolePutInternalServerError) IsSuccess

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

func (*PcloudPvminstancesConsolePutInternalServerError) String

type PcloudPvminstancesConsolePutNotFound

type PcloudPvminstancesConsolePutNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesConsolePutNotFound

func NewPcloudPvminstancesConsolePutNotFound() *PcloudPvminstancesConsolePutNotFound

NewPcloudPvminstancesConsolePutNotFound creates a PcloudPvminstancesConsolePutNotFound with default headers values

func (*PcloudPvminstancesConsolePutNotFound) Code

Code gets the status code for the pcloud pvminstances console put not found response

func (*PcloudPvminstancesConsolePutNotFound) Error

func (*PcloudPvminstancesConsolePutNotFound) GetPayload

func (*PcloudPvminstancesConsolePutNotFound) IsClientError

func (o *PcloudPvminstancesConsolePutNotFound) IsClientError() bool

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

func (*PcloudPvminstancesConsolePutNotFound) IsCode

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

func (*PcloudPvminstancesConsolePutNotFound) IsRedirect

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

func (*PcloudPvminstancesConsolePutNotFound) IsServerError

func (o *PcloudPvminstancesConsolePutNotFound) IsServerError() bool

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

func (*PcloudPvminstancesConsolePutNotFound) IsSuccess

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

func (*PcloudPvminstancesConsolePutNotFound) String

type PcloudPvminstancesConsolePutOK

type PcloudPvminstancesConsolePutOK struct {
	Payload *models.ConsoleLanguage
}

PcloudPvminstancesConsolePutOK describes a response with status code 200, with default header values.

OK

func NewPcloudPvminstancesConsolePutOK

func NewPcloudPvminstancesConsolePutOK() *PcloudPvminstancesConsolePutOK

NewPcloudPvminstancesConsolePutOK creates a PcloudPvminstancesConsolePutOK with default headers values

func (*PcloudPvminstancesConsolePutOK) Code

Code gets the status code for the pcloud pvminstances console put o k response

func (*PcloudPvminstancesConsolePutOK) Error

func (*PcloudPvminstancesConsolePutOK) GetPayload

func (*PcloudPvminstancesConsolePutOK) IsClientError

func (o *PcloudPvminstancesConsolePutOK) IsClientError() bool

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

func (*PcloudPvminstancesConsolePutOK) IsCode

func (o *PcloudPvminstancesConsolePutOK) IsCode(code int) bool

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

func (*PcloudPvminstancesConsolePutOK) IsRedirect

func (o *PcloudPvminstancesConsolePutOK) IsRedirect() bool

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

func (*PcloudPvminstancesConsolePutOK) IsServerError

func (o *PcloudPvminstancesConsolePutOK) IsServerError() bool

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

func (*PcloudPvminstancesConsolePutOK) IsSuccess

func (o *PcloudPvminstancesConsolePutOK) IsSuccess() bool

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

func (*PcloudPvminstancesConsolePutOK) String

type PcloudPvminstancesConsolePutParams

type PcloudPvminstancesConsolePutParams struct {

	/* Body.

	   Parameters to update a PVMInstance console required codepage
	*/
	Body *models.ConsoleLanguage

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPvminstancesConsolePutParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances console put operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesConsolePutParams

func NewPcloudPvminstancesConsolePutParams() *PcloudPvminstancesConsolePutParams

NewPcloudPvminstancesConsolePutParams creates a new PcloudPvminstancesConsolePutParams 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 NewPcloudPvminstancesConsolePutParamsWithContext

func NewPcloudPvminstancesConsolePutParamsWithContext(ctx context.Context) *PcloudPvminstancesConsolePutParams

NewPcloudPvminstancesConsolePutParamsWithContext creates a new PcloudPvminstancesConsolePutParams object with the ability to set a context for a request.

func NewPcloudPvminstancesConsolePutParamsWithHTTPClient

func NewPcloudPvminstancesConsolePutParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesConsolePutParams

NewPcloudPvminstancesConsolePutParamsWithHTTPClient creates a new PcloudPvminstancesConsolePutParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesConsolePutParamsWithTimeout

func NewPcloudPvminstancesConsolePutParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesConsolePutParams

NewPcloudPvminstancesConsolePutParamsWithTimeout creates a new PcloudPvminstancesConsolePutParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesConsolePutParams) SetBody

SetBody adds the body to the pcloud pvminstances console put params

func (*PcloudPvminstancesConsolePutParams) SetCloudInstanceID

func (o *PcloudPvminstancesConsolePutParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances console put params

func (*PcloudPvminstancesConsolePutParams) SetContext

SetContext adds the context to the pcloud pvminstances console put params

func (*PcloudPvminstancesConsolePutParams) SetDefaults

func (o *PcloudPvminstancesConsolePutParams) SetDefaults()

SetDefaults hydrates default values in the pcloud pvminstances console put params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesConsolePutParams) SetHTTPClient

func (o *PcloudPvminstancesConsolePutParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud pvminstances console put params

func (*PcloudPvminstancesConsolePutParams) SetPvmInstanceID

func (o *PcloudPvminstancesConsolePutParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances console put params

func (*PcloudPvminstancesConsolePutParams) SetTimeout

func (o *PcloudPvminstancesConsolePutParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud pvminstances console put params

func (*PcloudPvminstancesConsolePutParams) WithBody

WithBody adds the body to the pcloud pvminstances console put params

func (*PcloudPvminstancesConsolePutParams) WithCloudInstanceID

func (o *PcloudPvminstancesConsolePutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesConsolePutParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances console put params

func (*PcloudPvminstancesConsolePutParams) WithContext

WithContext adds the context to the pcloud pvminstances console put params

func (*PcloudPvminstancesConsolePutParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances console put params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesConsolePutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances console put params

func (*PcloudPvminstancesConsolePutParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances console put params

func (*PcloudPvminstancesConsolePutParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances console put params

func (*PcloudPvminstancesConsolePutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesConsolePutReader

type PcloudPvminstancesConsolePutReader struct {
	// contains filtered or unexported fields
}

PcloudPvminstancesConsolePutReader is a Reader for the PcloudPvminstancesConsolePut structure.

func (*PcloudPvminstancesConsolePutReader) ReadResponse

func (o *PcloudPvminstancesConsolePutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPvminstancesConsolePutUnauthorized

type PcloudPvminstancesConsolePutUnauthorized struct {
	Payload *models.Error
}

PcloudPvminstancesConsolePutUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPvminstancesConsolePutUnauthorized

func NewPcloudPvminstancesConsolePutUnauthorized() *PcloudPvminstancesConsolePutUnauthorized

NewPcloudPvminstancesConsolePutUnauthorized creates a PcloudPvminstancesConsolePutUnauthorized with default headers values

func (*PcloudPvminstancesConsolePutUnauthorized) Code

Code gets the status code for the pcloud pvminstances console put unauthorized response

func (*PcloudPvminstancesConsolePutUnauthorized) Error

func (*PcloudPvminstancesConsolePutUnauthorized) GetPayload

func (*PcloudPvminstancesConsolePutUnauthorized) IsClientError

IsClientError returns true when this pcloud pvminstances console put unauthorized response has a 4xx status code

func (*PcloudPvminstancesConsolePutUnauthorized) IsCode

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

func (*PcloudPvminstancesConsolePutUnauthorized) IsRedirect

IsRedirect returns true when this pcloud pvminstances console put unauthorized response has a 3xx status code

func (*PcloudPvminstancesConsolePutUnauthorized) IsServerError

IsServerError returns true when this pcloud pvminstances console put unauthorized response has a 5xx status code

func (*PcloudPvminstancesConsolePutUnauthorized) IsSuccess

IsSuccess returns true when this pcloud pvminstances console put unauthorized response has a 2xx status code

func (*PcloudPvminstancesConsolePutUnauthorized) String

type PcloudPvminstancesDeleteBadRequest

type PcloudPvminstancesDeleteBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesDeleteBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudPvminstancesDeleteBadRequest

func NewPcloudPvminstancesDeleteBadRequest() *PcloudPvminstancesDeleteBadRequest

NewPcloudPvminstancesDeleteBadRequest creates a PcloudPvminstancesDeleteBadRequest with default headers values

func (*PcloudPvminstancesDeleteBadRequest) Code

Code gets the status code for the pcloud pvminstances delete bad request response

func (*PcloudPvminstancesDeleteBadRequest) Error

func (*PcloudPvminstancesDeleteBadRequest) GetPayload

func (*PcloudPvminstancesDeleteBadRequest) IsClientError

func (o *PcloudPvminstancesDeleteBadRequest) IsClientError() bool

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

func (*PcloudPvminstancesDeleteBadRequest) IsCode

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

func (*PcloudPvminstancesDeleteBadRequest) IsRedirect

func (o *PcloudPvminstancesDeleteBadRequest) IsRedirect() bool

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

func (*PcloudPvminstancesDeleteBadRequest) IsServerError

func (o *PcloudPvminstancesDeleteBadRequest) IsServerError() bool

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

func (*PcloudPvminstancesDeleteBadRequest) IsSuccess

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

func (*PcloudPvminstancesDeleteBadRequest) String

type PcloudPvminstancesDeleteForbidden

type PcloudPvminstancesDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesDeleteForbidden

func NewPcloudPvminstancesDeleteForbidden() *PcloudPvminstancesDeleteForbidden

NewPcloudPvminstancesDeleteForbidden creates a PcloudPvminstancesDeleteForbidden with default headers values

func (*PcloudPvminstancesDeleteForbidden) Code

Code gets the status code for the pcloud pvminstances delete forbidden response

func (*PcloudPvminstancesDeleteForbidden) Error

func (*PcloudPvminstancesDeleteForbidden) GetPayload

func (*PcloudPvminstancesDeleteForbidden) IsClientError

func (o *PcloudPvminstancesDeleteForbidden) IsClientError() bool

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

func (*PcloudPvminstancesDeleteForbidden) IsCode

func (o *PcloudPvminstancesDeleteForbidden) IsCode(code int) bool

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

func (*PcloudPvminstancesDeleteForbidden) IsRedirect

func (o *PcloudPvminstancesDeleteForbidden) IsRedirect() bool

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

func (*PcloudPvminstancesDeleteForbidden) IsServerError

func (o *PcloudPvminstancesDeleteForbidden) IsServerError() bool

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

func (*PcloudPvminstancesDeleteForbidden) IsSuccess

func (o *PcloudPvminstancesDeleteForbidden) IsSuccess() bool

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

func (*PcloudPvminstancesDeleteForbidden) String

type PcloudPvminstancesDeleteGone

type PcloudPvminstancesDeleteGone struct {
	Payload *models.Error
}

PcloudPvminstancesDeleteGone describes a response with status code 410, with default header values.

Gone

func NewPcloudPvminstancesDeleteGone

func NewPcloudPvminstancesDeleteGone() *PcloudPvminstancesDeleteGone

NewPcloudPvminstancesDeleteGone creates a PcloudPvminstancesDeleteGone with default headers values

func (*PcloudPvminstancesDeleteGone) Code

Code gets the status code for the pcloud pvminstances delete gone response

func (*PcloudPvminstancesDeleteGone) Error

func (*PcloudPvminstancesDeleteGone) GetPayload

func (o *PcloudPvminstancesDeleteGone) GetPayload() *models.Error

func (*PcloudPvminstancesDeleteGone) IsClientError

func (o *PcloudPvminstancesDeleteGone) IsClientError() bool

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

func (*PcloudPvminstancesDeleteGone) IsCode

func (o *PcloudPvminstancesDeleteGone) IsCode(code int) bool

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

func (*PcloudPvminstancesDeleteGone) IsRedirect

func (o *PcloudPvminstancesDeleteGone) IsRedirect() bool

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

func (*PcloudPvminstancesDeleteGone) IsServerError

func (o *PcloudPvminstancesDeleteGone) IsServerError() bool

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

func (*PcloudPvminstancesDeleteGone) IsSuccess

func (o *PcloudPvminstancesDeleteGone) IsSuccess() bool

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

func (*PcloudPvminstancesDeleteGone) String

type PcloudPvminstancesDeleteInternalServerError

type PcloudPvminstancesDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesDeleteInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPvminstancesDeleteInternalServerError

func NewPcloudPvminstancesDeleteInternalServerError() *PcloudPvminstancesDeleteInternalServerError

NewPcloudPvminstancesDeleteInternalServerError creates a PcloudPvminstancesDeleteInternalServerError with default headers values

func (*PcloudPvminstancesDeleteInternalServerError) Code

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

func (*PcloudPvminstancesDeleteInternalServerError) Error

func (*PcloudPvminstancesDeleteInternalServerError) GetPayload

func (*PcloudPvminstancesDeleteInternalServerError) IsClientError

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

func (*PcloudPvminstancesDeleteInternalServerError) IsCode

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

func (*PcloudPvminstancesDeleteInternalServerError) IsRedirect

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

func (*PcloudPvminstancesDeleteInternalServerError) IsServerError

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

func (*PcloudPvminstancesDeleteInternalServerError) IsSuccess

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

func (*PcloudPvminstancesDeleteInternalServerError) String

type PcloudPvminstancesDeleteNotFound

type PcloudPvminstancesDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesDeleteNotFound

func NewPcloudPvminstancesDeleteNotFound() *PcloudPvminstancesDeleteNotFound

NewPcloudPvminstancesDeleteNotFound creates a PcloudPvminstancesDeleteNotFound with default headers values

func (*PcloudPvminstancesDeleteNotFound) Code

Code gets the status code for the pcloud pvminstances delete not found response

func (*PcloudPvminstancesDeleteNotFound) Error

func (*PcloudPvminstancesDeleteNotFound) GetPayload

func (*PcloudPvminstancesDeleteNotFound) IsClientError

func (o *PcloudPvminstancesDeleteNotFound) IsClientError() bool

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

func (*PcloudPvminstancesDeleteNotFound) IsCode

func (o *PcloudPvminstancesDeleteNotFound) IsCode(code int) bool

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

func (*PcloudPvminstancesDeleteNotFound) IsRedirect

func (o *PcloudPvminstancesDeleteNotFound) IsRedirect() bool

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

func (*PcloudPvminstancesDeleteNotFound) IsServerError

func (o *PcloudPvminstancesDeleteNotFound) IsServerError() bool

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

func (*PcloudPvminstancesDeleteNotFound) IsSuccess

func (o *PcloudPvminstancesDeleteNotFound) IsSuccess() bool

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

func (*PcloudPvminstancesDeleteNotFound) String

type PcloudPvminstancesDeleteOK

type PcloudPvminstancesDeleteOK struct {
	Payload models.Object
}

PcloudPvminstancesDeleteOK describes a response with status code 200, with default header values.

OK

func NewPcloudPvminstancesDeleteOK

func NewPcloudPvminstancesDeleteOK() *PcloudPvminstancesDeleteOK

NewPcloudPvminstancesDeleteOK creates a PcloudPvminstancesDeleteOK with default headers values

func (*PcloudPvminstancesDeleteOK) Code

func (o *PcloudPvminstancesDeleteOK) Code() int

Code gets the status code for the pcloud pvminstances delete o k response

func (*PcloudPvminstancesDeleteOK) Error

func (*PcloudPvminstancesDeleteOK) GetPayload

func (o *PcloudPvminstancesDeleteOK) GetPayload() models.Object

func (*PcloudPvminstancesDeleteOK) IsClientError

func (o *PcloudPvminstancesDeleteOK) IsClientError() bool

IsClientError returns true when this pcloud pvminstances delete o k response has a 4xx status code

func (*PcloudPvminstancesDeleteOK) IsCode

func (o *PcloudPvminstancesDeleteOK) IsCode(code int) bool

IsCode returns true when this pcloud pvminstances delete o k response a status code equal to that given

func (*PcloudPvminstancesDeleteOK) IsRedirect

func (o *PcloudPvminstancesDeleteOK) IsRedirect() bool

IsRedirect returns true when this pcloud pvminstances delete o k response has a 3xx status code

func (*PcloudPvminstancesDeleteOK) IsServerError

func (o *PcloudPvminstancesDeleteOK) IsServerError() bool

IsServerError returns true when this pcloud pvminstances delete o k response has a 5xx status code

func (*PcloudPvminstancesDeleteOK) IsSuccess

func (o *PcloudPvminstancesDeleteOK) IsSuccess() bool

IsSuccess returns true when this pcloud pvminstances delete o k response has a 2xx status code

func (*PcloudPvminstancesDeleteOK) String

func (o *PcloudPvminstancesDeleteOK) String() string

type PcloudPvminstancesDeleteParams

type PcloudPvminstancesDeleteParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* DeleteDataVolumes.

	   Indicates if all data volumes attached to the PVMInstance should be deleted when deleting the PVMInstance. Shared data volumes will be deleted if there are no other PVMInstances attached.
	*/
	DeleteDataVolumes *bool

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPvminstancesDeleteParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances delete operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesDeleteParams

func NewPcloudPvminstancesDeleteParams() *PcloudPvminstancesDeleteParams

NewPcloudPvminstancesDeleteParams creates a new PcloudPvminstancesDeleteParams 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 NewPcloudPvminstancesDeleteParamsWithContext

func NewPcloudPvminstancesDeleteParamsWithContext(ctx context.Context) *PcloudPvminstancesDeleteParams

NewPcloudPvminstancesDeleteParamsWithContext creates a new PcloudPvminstancesDeleteParams object with the ability to set a context for a request.

func NewPcloudPvminstancesDeleteParamsWithHTTPClient

func NewPcloudPvminstancesDeleteParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesDeleteParams

NewPcloudPvminstancesDeleteParamsWithHTTPClient creates a new PcloudPvminstancesDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesDeleteParamsWithTimeout

func NewPcloudPvminstancesDeleteParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesDeleteParams

NewPcloudPvminstancesDeleteParamsWithTimeout creates a new PcloudPvminstancesDeleteParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesDeleteParams) SetCloudInstanceID

func (o *PcloudPvminstancesDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) SetContext

func (o *PcloudPvminstancesDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) SetDefaults

func (o *PcloudPvminstancesDeleteParams) SetDefaults()

SetDefaults hydrates default values in the pcloud pvminstances delete params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesDeleteParams) SetDeleteDataVolumes

func (o *PcloudPvminstancesDeleteParams) SetDeleteDataVolumes(deleteDataVolumes *bool)

SetDeleteDataVolumes adds the deleteDataVolumes to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) SetHTTPClient

func (o *PcloudPvminstancesDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) SetPvmInstanceID

func (o *PcloudPvminstancesDeleteParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) SetTimeout

func (o *PcloudPvminstancesDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) WithCloudInstanceID

func (o *PcloudPvminstancesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesDeleteParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) WithContext

WithContext adds the context to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances delete params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesDeleteParams) WithDeleteDataVolumes

func (o *PcloudPvminstancesDeleteParams) WithDeleteDataVolumes(deleteDataVolumes *bool) *PcloudPvminstancesDeleteParams

WithDeleteDataVolumes adds the deleteDataVolumes to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) WithPvmInstanceID

func (o *PcloudPvminstancesDeleteParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesDeleteParams

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesDeleteReader

type PcloudPvminstancesDeleteReader struct {
	// contains filtered or unexported fields
}

PcloudPvminstancesDeleteReader is a Reader for the PcloudPvminstancesDelete structure.

func (*PcloudPvminstancesDeleteReader) ReadResponse

func (o *PcloudPvminstancesDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPvminstancesDeleteUnauthorized

type PcloudPvminstancesDeleteUnauthorized struct {
	Payload *models.Error
}

PcloudPvminstancesDeleteUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPvminstancesDeleteUnauthorized

func NewPcloudPvminstancesDeleteUnauthorized() *PcloudPvminstancesDeleteUnauthorized

NewPcloudPvminstancesDeleteUnauthorized creates a PcloudPvminstancesDeleteUnauthorized with default headers values

func (*PcloudPvminstancesDeleteUnauthorized) Code

Code gets the status code for the pcloud pvminstances delete unauthorized response

func (*PcloudPvminstancesDeleteUnauthorized) Error

func (*PcloudPvminstancesDeleteUnauthorized) GetPayload

func (*PcloudPvminstancesDeleteUnauthorized) IsClientError

func (o *PcloudPvminstancesDeleteUnauthorized) IsClientError() bool

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

func (*PcloudPvminstancesDeleteUnauthorized) IsCode

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

func (*PcloudPvminstancesDeleteUnauthorized) IsRedirect

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

func (*PcloudPvminstancesDeleteUnauthorized) IsServerError

func (o *PcloudPvminstancesDeleteUnauthorized) IsServerError() bool

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

func (*PcloudPvminstancesDeleteUnauthorized) IsSuccess

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

func (*PcloudPvminstancesDeleteUnauthorized) String

type PcloudPvminstancesGetBadRequest

type PcloudPvminstancesGetBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudPvminstancesGetBadRequest

func NewPcloudPvminstancesGetBadRequest() *PcloudPvminstancesGetBadRequest

NewPcloudPvminstancesGetBadRequest creates a PcloudPvminstancesGetBadRequest with default headers values

func (*PcloudPvminstancesGetBadRequest) Code

Code gets the status code for the pcloud pvminstances get bad request response

func (*PcloudPvminstancesGetBadRequest) Error

func (*PcloudPvminstancesGetBadRequest) GetPayload

func (o *PcloudPvminstancesGetBadRequest) GetPayload() *models.Error

func (*PcloudPvminstancesGetBadRequest) IsClientError

func (o *PcloudPvminstancesGetBadRequest) IsClientError() bool

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

func (*PcloudPvminstancesGetBadRequest) IsCode

func (o *PcloudPvminstancesGetBadRequest) IsCode(code int) bool

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

func (*PcloudPvminstancesGetBadRequest) IsRedirect

func (o *PcloudPvminstancesGetBadRequest) IsRedirect() bool

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

func (*PcloudPvminstancesGetBadRequest) IsServerError

func (o *PcloudPvminstancesGetBadRequest) IsServerError() bool

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

func (*PcloudPvminstancesGetBadRequest) IsSuccess

func (o *PcloudPvminstancesGetBadRequest) IsSuccess() bool

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

func (*PcloudPvminstancesGetBadRequest) String

type PcloudPvminstancesGetForbidden

type PcloudPvminstancesGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesGetForbidden

func NewPcloudPvminstancesGetForbidden() *PcloudPvminstancesGetForbidden

NewPcloudPvminstancesGetForbidden creates a PcloudPvminstancesGetForbidden with default headers values

func (*PcloudPvminstancesGetForbidden) Code

Code gets the status code for the pcloud pvminstances get forbidden response

func (*PcloudPvminstancesGetForbidden) Error

func (*PcloudPvminstancesGetForbidden) GetPayload

func (o *PcloudPvminstancesGetForbidden) GetPayload() *models.Error

func (*PcloudPvminstancesGetForbidden) IsClientError

func (o *PcloudPvminstancesGetForbidden) IsClientError() bool

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

func (*PcloudPvminstancesGetForbidden) IsCode

func (o *PcloudPvminstancesGetForbidden) IsCode(code int) bool

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

func (*PcloudPvminstancesGetForbidden) IsRedirect

func (o *PcloudPvminstancesGetForbidden) IsRedirect() bool

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

func (*PcloudPvminstancesGetForbidden) IsServerError

func (o *PcloudPvminstancesGetForbidden) IsServerError() bool

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

func (*PcloudPvminstancesGetForbidden) IsSuccess

func (o *PcloudPvminstancesGetForbidden) IsSuccess() bool

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

func (*PcloudPvminstancesGetForbidden) String

type PcloudPvminstancesGetInternalServerError

type PcloudPvminstancesGetInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPvminstancesGetInternalServerError

func NewPcloudPvminstancesGetInternalServerError() *PcloudPvminstancesGetInternalServerError

NewPcloudPvminstancesGetInternalServerError creates a PcloudPvminstancesGetInternalServerError with default headers values

func (*PcloudPvminstancesGetInternalServerError) Code

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

func (*PcloudPvminstancesGetInternalServerError) Error

func (*PcloudPvminstancesGetInternalServerError) GetPayload

func (*PcloudPvminstancesGetInternalServerError) IsClientError

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

func (*PcloudPvminstancesGetInternalServerError) IsCode

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

func (*PcloudPvminstancesGetInternalServerError) IsRedirect

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

func (*PcloudPvminstancesGetInternalServerError) IsServerError

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

func (*PcloudPvminstancesGetInternalServerError) IsSuccess

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

func (*PcloudPvminstancesGetInternalServerError) String

type PcloudPvminstancesGetNotFound

type PcloudPvminstancesGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesGetNotFound

func NewPcloudPvminstancesGetNotFound() *PcloudPvminstancesGetNotFound

NewPcloudPvminstancesGetNotFound creates a PcloudPvminstancesGetNotFound with default headers values

func (*PcloudPvminstancesGetNotFound) Code

Code gets the status code for the pcloud pvminstances get not found response

func (*PcloudPvminstancesGetNotFound) Error

func (*PcloudPvminstancesGetNotFound) GetPayload

func (o *PcloudPvminstancesGetNotFound) GetPayload() *models.Error

func (*PcloudPvminstancesGetNotFound) IsClientError

func (o *PcloudPvminstancesGetNotFound) IsClientError() bool

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

func (*PcloudPvminstancesGetNotFound) IsCode

func (o *PcloudPvminstancesGetNotFound) IsCode(code int) bool

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

func (*PcloudPvminstancesGetNotFound) IsRedirect

func (o *PcloudPvminstancesGetNotFound) IsRedirect() bool

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

func (*PcloudPvminstancesGetNotFound) IsServerError

func (o *PcloudPvminstancesGetNotFound) IsServerError() bool

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

func (*PcloudPvminstancesGetNotFound) IsSuccess

func (o *PcloudPvminstancesGetNotFound) IsSuccess() bool

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

func (*PcloudPvminstancesGetNotFound) String

type PcloudPvminstancesGetOK

type PcloudPvminstancesGetOK struct {
	Payload *models.PVMInstance
}

PcloudPvminstancesGetOK describes a response with status code 200, with default header values.

OK

func NewPcloudPvminstancesGetOK

func NewPcloudPvminstancesGetOK() *PcloudPvminstancesGetOK

NewPcloudPvminstancesGetOK creates a PcloudPvminstancesGetOK with default headers values

func (*PcloudPvminstancesGetOK) Code

func (o *PcloudPvminstancesGetOK) Code() int

Code gets the status code for the pcloud pvminstances get o k response

func (*PcloudPvminstancesGetOK) Error

func (o *PcloudPvminstancesGetOK) Error() string

func (*PcloudPvminstancesGetOK) GetPayload

func (o *PcloudPvminstancesGetOK) GetPayload() *models.PVMInstance

func (*PcloudPvminstancesGetOK) IsClientError

func (o *PcloudPvminstancesGetOK) IsClientError() bool

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

func (*PcloudPvminstancesGetOK) IsCode

func (o *PcloudPvminstancesGetOK) IsCode(code int) bool

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

func (*PcloudPvminstancesGetOK) IsRedirect

func (o *PcloudPvminstancesGetOK) IsRedirect() bool

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

func (*PcloudPvminstancesGetOK) IsServerError

func (o *PcloudPvminstancesGetOK) IsServerError() bool

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

func (*PcloudPvminstancesGetOK) IsSuccess

func (o *PcloudPvminstancesGetOK) IsSuccess() bool

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

func (*PcloudPvminstancesGetOK) String

func (o *PcloudPvminstancesGetOK) String() string

type PcloudPvminstancesGetParams

type PcloudPvminstancesGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPvminstancesGetParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances get operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesGetParams

func NewPcloudPvminstancesGetParams() *PcloudPvminstancesGetParams

NewPcloudPvminstancesGetParams creates a new PcloudPvminstancesGetParams 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 NewPcloudPvminstancesGetParamsWithContext

func NewPcloudPvminstancesGetParamsWithContext(ctx context.Context) *PcloudPvminstancesGetParams

NewPcloudPvminstancesGetParamsWithContext creates a new PcloudPvminstancesGetParams object with the ability to set a context for a request.

func NewPcloudPvminstancesGetParamsWithHTTPClient

func NewPcloudPvminstancesGetParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesGetParams

NewPcloudPvminstancesGetParamsWithHTTPClient creates a new PcloudPvminstancesGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesGetParamsWithTimeout

func NewPcloudPvminstancesGetParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesGetParams

NewPcloudPvminstancesGetParamsWithTimeout creates a new PcloudPvminstancesGetParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesGetParams) SetCloudInstanceID

func (o *PcloudPvminstancesGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) SetContext

func (o *PcloudPvminstancesGetParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) SetDefaults

func (o *PcloudPvminstancesGetParams) SetDefaults()

SetDefaults hydrates default values in the pcloud pvminstances get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesGetParams) SetHTTPClient

func (o *PcloudPvminstancesGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) SetPvmInstanceID

func (o *PcloudPvminstancesGetParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) SetTimeout

func (o *PcloudPvminstancesGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) WithCloudInstanceID

func (o *PcloudPvminstancesGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesGetParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) WithContext

WithContext adds the context to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) WithPvmInstanceID

func (o *PcloudPvminstancesGetParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesGetParams

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesGetReader

type PcloudPvminstancesGetReader struct {
	// contains filtered or unexported fields
}

PcloudPvminstancesGetReader is a Reader for the PcloudPvminstancesGet structure.

func (*PcloudPvminstancesGetReader) ReadResponse

func (o *PcloudPvminstancesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPvminstancesGetUnauthorized

type PcloudPvminstancesGetUnauthorized struct {
	Payload *models.Error
}

PcloudPvminstancesGetUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPvminstancesGetUnauthorized

func NewPcloudPvminstancesGetUnauthorized() *PcloudPvminstancesGetUnauthorized

NewPcloudPvminstancesGetUnauthorized creates a PcloudPvminstancesGetUnauthorized with default headers values

func (*PcloudPvminstancesGetUnauthorized) Code

Code gets the status code for the pcloud pvminstances get unauthorized response

func (*PcloudPvminstancesGetUnauthorized) Error

func (*PcloudPvminstancesGetUnauthorized) GetPayload

func (*PcloudPvminstancesGetUnauthorized) IsClientError

func (o *PcloudPvminstancesGetUnauthorized) IsClientError() bool

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

func (*PcloudPvminstancesGetUnauthorized) IsCode

func (o *PcloudPvminstancesGetUnauthorized) IsCode(code int) bool

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

func (*PcloudPvminstancesGetUnauthorized) IsRedirect

func (o *PcloudPvminstancesGetUnauthorized) IsRedirect() bool

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

func (*PcloudPvminstancesGetUnauthorized) IsServerError

func (o *PcloudPvminstancesGetUnauthorized) IsServerError() bool

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

func (*PcloudPvminstancesGetUnauthorized) IsSuccess

func (o *PcloudPvminstancesGetUnauthorized) IsSuccess() bool

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

func (*PcloudPvminstancesGetUnauthorized) String

type PcloudPvminstancesGetallBadRequest

type PcloudPvminstancesGetallBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesGetallBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudPvminstancesGetallBadRequest

func NewPcloudPvminstancesGetallBadRequest() *PcloudPvminstancesGetallBadRequest

NewPcloudPvminstancesGetallBadRequest creates a PcloudPvminstancesGetallBadRequest with default headers values

func (*PcloudPvminstancesGetallBadRequest) Code

Code gets the status code for the pcloud pvminstances getall bad request response

func (*PcloudPvminstancesGetallBadRequest) Error

func (*PcloudPvminstancesGetallBadRequest) GetPayload

func (*PcloudPvminstancesGetallBadRequest) IsClientError

func (o *PcloudPvminstancesGetallBadRequest) IsClientError() bool

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

func (*PcloudPvminstancesGetallBadRequest) IsCode

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

func (*PcloudPvminstancesGetallBadRequest) IsRedirect

func (o *PcloudPvminstancesGetallBadRequest) IsRedirect() bool

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

func (*PcloudPvminstancesGetallBadRequest) IsServerError

func (o *PcloudPvminstancesGetallBadRequest) IsServerError() bool

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

func (*PcloudPvminstancesGetallBadRequest) IsSuccess

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

func (*PcloudPvminstancesGetallBadRequest) String

type PcloudPvminstancesGetallForbidden

type PcloudPvminstancesGetallForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesGetallForbidden

func NewPcloudPvminstancesGetallForbidden() *PcloudPvminstancesGetallForbidden

NewPcloudPvminstancesGetallForbidden creates a PcloudPvminstancesGetallForbidden with default headers values

func (*PcloudPvminstancesGetallForbidden) Code

Code gets the status code for the pcloud pvminstances getall forbidden response

func (*PcloudPvminstancesGetallForbidden) Error

func (*PcloudPvminstancesGetallForbidden) GetPayload

func (*PcloudPvminstancesGetallForbidden) IsClientError

func (o *PcloudPvminstancesGetallForbidden) IsClientError() bool

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

func (*PcloudPvminstancesGetallForbidden) IsCode

func (o *PcloudPvminstancesGetallForbidden) IsCode(code int) bool

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

func (*PcloudPvminstancesGetallForbidden) IsRedirect

func (o *PcloudPvminstancesGetallForbidden) IsRedirect() bool

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

func (*PcloudPvminstancesGetallForbidden) IsServerError

func (o *PcloudPvminstancesGetallForbidden) IsServerError() bool

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

func (*PcloudPvminstancesGetallForbidden) IsSuccess

func (o *PcloudPvminstancesGetallForbidden) IsSuccess() bool

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

func (*PcloudPvminstancesGetallForbidden) String

type PcloudPvminstancesGetallInternalServerError

type PcloudPvminstancesGetallInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesGetallInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPvminstancesGetallInternalServerError

func NewPcloudPvminstancesGetallInternalServerError() *PcloudPvminstancesGetallInternalServerError

NewPcloudPvminstancesGetallInternalServerError creates a PcloudPvminstancesGetallInternalServerError with default headers values

func (*PcloudPvminstancesGetallInternalServerError) Code

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

func (*PcloudPvminstancesGetallInternalServerError) Error

func (*PcloudPvminstancesGetallInternalServerError) GetPayload

func (*PcloudPvminstancesGetallInternalServerError) IsClientError

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

func (*PcloudPvminstancesGetallInternalServerError) IsCode

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

func (*PcloudPvminstancesGetallInternalServerError) IsRedirect

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

func (*PcloudPvminstancesGetallInternalServerError) IsServerError

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

func (*PcloudPvminstancesGetallInternalServerError) IsSuccess

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

func (*PcloudPvminstancesGetallInternalServerError) String

type PcloudPvminstancesGetallOK

type PcloudPvminstancesGetallOK struct {
	Payload *models.PVMInstances
}

PcloudPvminstancesGetallOK describes a response with status code 200, with default header values.

OK

func NewPcloudPvminstancesGetallOK

func NewPcloudPvminstancesGetallOK() *PcloudPvminstancesGetallOK

NewPcloudPvminstancesGetallOK creates a PcloudPvminstancesGetallOK with default headers values

func (*PcloudPvminstancesGetallOK) Code

func (o *PcloudPvminstancesGetallOK) Code() int

Code gets the status code for the pcloud pvminstances getall o k response

func (*PcloudPvminstancesGetallOK) Error

func (*PcloudPvminstancesGetallOK) GetPayload

func (*PcloudPvminstancesGetallOK) IsClientError

func (o *PcloudPvminstancesGetallOK) IsClientError() bool

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

func (*PcloudPvminstancesGetallOK) IsCode

func (o *PcloudPvminstancesGetallOK) IsCode(code int) bool

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

func (*PcloudPvminstancesGetallOK) IsRedirect

func (o *PcloudPvminstancesGetallOK) IsRedirect() bool

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

func (*PcloudPvminstancesGetallOK) IsServerError

func (o *PcloudPvminstancesGetallOK) IsServerError() bool

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

func (*PcloudPvminstancesGetallOK) IsSuccess

func (o *PcloudPvminstancesGetallOK) IsSuccess() bool

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

func (*PcloudPvminstancesGetallOK) String

func (o *PcloudPvminstancesGetallOK) String() string

type PcloudPvminstancesGetallParams

type PcloudPvminstancesGetallParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPvminstancesGetallParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances getall operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesGetallParams

func NewPcloudPvminstancesGetallParams() *PcloudPvminstancesGetallParams

NewPcloudPvminstancesGetallParams creates a new PcloudPvminstancesGetallParams 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 NewPcloudPvminstancesGetallParamsWithContext

func NewPcloudPvminstancesGetallParamsWithContext(ctx context.Context) *PcloudPvminstancesGetallParams

NewPcloudPvminstancesGetallParamsWithContext creates a new PcloudPvminstancesGetallParams object with the ability to set a context for a request.

func NewPcloudPvminstancesGetallParamsWithHTTPClient

func NewPcloudPvminstancesGetallParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesGetallParams

NewPcloudPvminstancesGetallParamsWithHTTPClient creates a new PcloudPvminstancesGetallParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesGetallParamsWithTimeout

func NewPcloudPvminstancesGetallParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesGetallParams

NewPcloudPvminstancesGetallParamsWithTimeout creates a new PcloudPvminstancesGetallParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesGetallParams) SetCloudInstanceID

func (o *PcloudPvminstancesGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances getall params

func (*PcloudPvminstancesGetallParams) SetContext

func (o *PcloudPvminstancesGetallParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud pvminstances getall params

func (*PcloudPvminstancesGetallParams) SetDefaults

func (o *PcloudPvminstancesGetallParams) SetDefaults()

SetDefaults hydrates default values in the pcloud pvminstances getall params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesGetallParams) SetHTTPClient

func (o *PcloudPvminstancesGetallParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud pvminstances getall params

func (*PcloudPvminstancesGetallParams) SetTimeout

func (o *PcloudPvminstancesGetallParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud pvminstances getall params

func (*PcloudPvminstancesGetallParams) WithCloudInstanceID

func (o *PcloudPvminstancesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesGetallParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances getall params

func (*PcloudPvminstancesGetallParams) WithContext

WithContext adds the context to the pcloud pvminstances getall params

func (*PcloudPvminstancesGetallParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances getall params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances getall params

func (*PcloudPvminstancesGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances getall params

func (*PcloudPvminstancesGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesGetallReader

type PcloudPvminstancesGetallReader struct {
	// contains filtered or unexported fields
}

PcloudPvminstancesGetallReader is a Reader for the PcloudPvminstancesGetall structure.

func (*PcloudPvminstancesGetallReader) ReadResponse

func (o *PcloudPvminstancesGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPvminstancesGetallRequestTimeout

type PcloudPvminstancesGetallRequestTimeout struct {
	Payload *models.Error
}

PcloudPvminstancesGetallRequestTimeout describes a response with status code 408, with default header values.

Request Timeout

func NewPcloudPvminstancesGetallRequestTimeout

func NewPcloudPvminstancesGetallRequestTimeout() *PcloudPvminstancesGetallRequestTimeout

NewPcloudPvminstancesGetallRequestTimeout creates a PcloudPvminstancesGetallRequestTimeout with default headers values

func (*PcloudPvminstancesGetallRequestTimeout) Code

Code gets the status code for the pcloud pvminstances getall request timeout response

func (*PcloudPvminstancesGetallRequestTimeout) Error

func (*PcloudPvminstancesGetallRequestTimeout) GetPayload

func (*PcloudPvminstancesGetallRequestTimeout) IsClientError

func (o *PcloudPvminstancesGetallRequestTimeout) IsClientError() bool

IsClientError returns true when this pcloud pvminstances getall request timeout response has a 4xx status code

func (*PcloudPvminstancesGetallRequestTimeout) IsCode

IsCode returns true when this pcloud pvminstances getall request timeout response a status code equal to that given

func (*PcloudPvminstancesGetallRequestTimeout) IsRedirect

IsRedirect returns true when this pcloud pvminstances getall request timeout response has a 3xx status code

func (*PcloudPvminstancesGetallRequestTimeout) IsServerError

func (o *PcloudPvminstancesGetallRequestTimeout) IsServerError() bool

IsServerError returns true when this pcloud pvminstances getall request timeout response has a 5xx status code

func (*PcloudPvminstancesGetallRequestTimeout) IsSuccess

IsSuccess returns true when this pcloud pvminstances getall request timeout response has a 2xx status code

func (*PcloudPvminstancesGetallRequestTimeout) String

type PcloudPvminstancesGetallUnauthorized

type PcloudPvminstancesGetallUnauthorized struct {
	Payload *models.Error
}

PcloudPvminstancesGetallUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPvminstancesGetallUnauthorized

func NewPcloudPvminstancesGetallUnauthorized() *PcloudPvminstancesGetallUnauthorized

NewPcloudPvminstancesGetallUnauthorized creates a PcloudPvminstancesGetallUnauthorized with default headers values

func (*PcloudPvminstancesGetallUnauthorized) Code

Code gets the status code for the pcloud pvminstances getall unauthorized response

func (*PcloudPvminstancesGetallUnauthorized) Error

func (*PcloudPvminstancesGetallUnauthorized) GetPayload

func (*PcloudPvminstancesGetallUnauthorized) IsClientError

func (o *PcloudPvminstancesGetallUnauthorized) IsClientError() bool

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

func (*PcloudPvminstancesGetallUnauthorized) IsCode

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

func (*PcloudPvminstancesGetallUnauthorized) IsRedirect

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

func (*PcloudPvminstancesGetallUnauthorized) IsServerError

func (o *PcloudPvminstancesGetallUnauthorized) IsServerError() bool

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

func (*PcloudPvminstancesGetallUnauthorized) IsSuccess

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

func (*PcloudPvminstancesGetallUnauthorized) String

type PcloudPvminstancesNetworksDeleteBadRequest

type PcloudPvminstancesNetworksDeleteBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksDeleteBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudPvminstancesNetworksDeleteBadRequest

func NewPcloudPvminstancesNetworksDeleteBadRequest() *PcloudPvminstancesNetworksDeleteBadRequest

NewPcloudPvminstancesNetworksDeleteBadRequest creates a PcloudPvminstancesNetworksDeleteBadRequest with default headers values

func (*PcloudPvminstancesNetworksDeleteBadRequest) Code

Code gets the status code for the pcloud pvminstances networks delete bad request response

func (*PcloudPvminstancesNetworksDeleteBadRequest) Error

func (*PcloudPvminstancesNetworksDeleteBadRequest) GetPayload

func (*PcloudPvminstancesNetworksDeleteBadRequest) IsClientError

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

func (*PcloudPvminstancesNetworksDeleteBadRequest) IsCode

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

func (*PcloudPvminstancesNetworksDeleteBadRequest) IsRedirect

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

func (*PcloudPvminstancesNetworksDeleteBadRequest) IsServerError

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

func (*PcloudPvminstancesNetworksDeleteBadRequest) IsSuccess

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

func (*PcloudPvminstancesNetworksDeleteBadRequest) String

type PcloudPvminstancesNetworksDeleteGone

type PcloudPvminstancesNetworksDeleteGone struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksDeleteGone describes a response with status code 410, with default header values.

Gone

func NewPcloudPvminstancesNetworksDeleteGone

func NewPcloudPvminstancesNetworksDeleteGone() *PcloudPvminstancesNetworksDeleteGone

NewPcloudPvminstancesNetworksDeleteGone creates a PcloudPvminstancesNetworksDeleteGone with default headers values

func (*PcloudPvminstancesNetworksDeleteGone) Code

Code gets the status code for the pcloud pvminstances networks delete gone response

func (*PcloudPvminstancesNetworksDeleteGone) Error

func (*PcloudPvminstancesNetworksDeleteGone) GetPayload

func (*PcloudPvminstancesNetworksDeleteGone) IsClientError

func (o *PcloudPvminstancesNetworksDeleteGone) IsClientError() bool

IsClientError returns true when this pcloud pvminstances networks delete gone response has a 4xx status code

func (*PcloudPvminstancesNetworksDeleteGone) IsCode

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

func (*PcloudPvminstancesNetworksDeleteGone) IsRedirect

IsRedirect returns true when this pcloud pvminstances networks delete gone response has a 3xx status code

func (*PcloudPvminstancesNetworksDeleteGone) IsServerError

func (o *PcloudPvminstancesNetworksDeleteGone) IsServerError() bool

IsServerError returns true when this pcloud pvminstances networks delete gone response has a 5xx status code

func (*PcloudPvminstancesNetworksDeleteGone) IsSuccess

IsSuccess returns true when this pcloud pvminstances networks delete gone response has a 2xx status code

func (*PcloudPvminstancesNetworksDeleteGone) String

type PcloudPvminstancesNetworksDeleteInternalServerError

type PcloudPvminstancesNetworksDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksDeleteInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPvminstancesNetworksDeleteInternalServerError

func NewPcloudPvminstancesNetworksDeleteInternalServerError() *PcloudPvminstancesNetworksDeleteInternalServerError

NewPcloudPvminstancesNetworksDeleteInternalServerError creates a PcloudPvminstancesNetworksDeleteInternalServerError with default headers values

func (*PcloudPvminstancesNetworksDeleteInternalServerError) Code

Code gets the status code for the pcloud pvminstances networks delete internal server error response

func (*PcloudPvminstancesNetworksDeleteInternalServerError) Error

func (*PcloudPvminstancesNetworksDeleteInternalServerError) GetPayload

func (*PcloudPvminstancesNetworksDeleteInternalServerError) IsClientError

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

func (*PcloudPvminstancesNetworksDeleteInternalServerError) IsCode

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

func (*PcloudPvminstancesNetworksDeleteInternalServerError) IsRedirect

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

func (*PcloudPvminstancesNetworksDeleteInternalServerError) IsServerError

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

func (*PcloudPvminstancesNetworksDeleteInternalServerError) IsSuccess

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

func (*PcloudPvminstancesNetworksDeleteInternalServerError) String

type PcloudPvminstancesNetworksDeleteNotFound

type PcloudPvminstancesNetworksDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesNetworksDeleteNotFound

func NewPcloudPvminstancesNetworksDeleteNotFound() *PcloudPvminstancesNetworksDeleteNotFound

NewPcloudPvminstancesNetworksDeleteNotFound creates a PcloudPvminstancesNetworksDeleteNotFound with default headers values

func (*PcloudPvminstancesNetworksDeleteNotFound) Code

Code gets the status code for the pcloud pvminstances networks delete not found response

func (*PcloudPvminstancesNetworksDeleteNotFound) Error

func (*PcloudPvminstancesNetworksDeleteNotFound) GetPayload

func (*PcloudPvminstancesNetworksDeleteNotFound) IsClientError

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

func (*PcloudPvminstancesNetworksDeleteNotFound) IsCode

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

func (*PcloudPvminstancesNetworksDeleteNotFound) IsRedirect

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

func (*PcloudPvminstancesNetworksDeleteNotFound) IsServerError

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

func (*PcloudPvminstancesNetworksDeleteNotFound) IsSuccess

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

func (*PcloudPvminstancesNetworksDeleteNotFound) String

type PcloudPvminstancesNetworksDeleteOK

type PcloudPvminstancesNetworksDeleteOK struct {
	Payload models.Object
}

PcloudPvminstancesNetworksDeleteOK describes a response with status code 200, with default header values.

OK

func NewPcloudPvminstancesNetworksDeleteOK

func NewPcloudPvminstancesNetworksDeleteOK() *PcloudPvminstancesNetworksDeleteOK

NewPcloudPvminstancesNetworksDeleteOK creates a PcloudPvminstancesNetworksDeleteOK with default headers values

func (*PcloudPvminstancesNetworksDeleteOK) Code

Code gets the status code for the pcloud pvminstances networks delete o k response

func (*PcloudPvminstancesNetworksDeleteOK) Error

func (*PcloudPvminstancesNetworksDeleteOK) GetPayload

func (*PcloudPvminstancesNetworksDeleteOK) IsClientError

func (o *PcloudPvminstancesNetworksDeleteOK) IsClientError() bool

IsClientError returns true when this pcloud pvminstances networks delete o k response has a 4xx status code

func (*PcloudPvminstancesNetworksDeleteOK) IsCode

IsCode returns true when this pcloud pvminstances networks delete o k response a status code equal to that given

func (*PcloudPvminstancesNetworksDeleteOK) IsRedirect

func (o *PcloudPvminstancesNetworksDeleteOK) IsRedirect() bool

IsRedirect returns true when this pcloud pvminstances networks delete o k response has a 3xx status code

func (*PcloudPvminstancesNetworksDeleteOK) IsServerError

func (o *PcloudPvminstancesNetworksDeleteOK) IsServerError() bool

IsServerError returns true when this pcloud pvminstances networks delete o k response has a 5xx status code

func (*PcloudPvminstancesNetworksDeleteOK) IsSuccess

IsSuccess returns true when this pcloud pvminstances networks delete o k response has a 2xx status code

func (*PcloudPvminstancesNetworksDeleteOK) String

type PcloudPvminstancesNetworksDeleteParams

type PcloudPvminstancesNetworksDeleteParams struct {

	/* Body.

	   Remove a network from PVM Instance parameters
	*/
	Body *models.PVMInstanceRemoveNetwork

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPvminstancesNetworksDeleteParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances networks delete operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesNetworksDeleteParams

func NewPcloudPvminstancesNetworksDeleteParams() *PcloudPvminstancesNetworksDeleteParams

NewPcloudPvminstancesNetworksDeleteParams creates a new PcloudPvminstancesNetworksDeleteParams 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 NewPcloudPvminstancesNetworksDeleteParamsWithContext

func NewPcloudPvminstancesNetworksDeleteParamsWithContext(ctx context.Context) *PcloudPvminstancesNetworksDeleteParams

NewPcloudPvminstancesNetworksDeleteParamsWithContext creates a new PcloudPvminstancesNetworksDeleteParams object with the ability to set a context for a request.

func NewPcloudPvminstancesNetworksDeleteParamsWithHTTPClient

func NewPcloudPvminstancesNetworksDeleteParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksDeleteParams

NewPcloudPvminstancesNetworksDeleteParamsWithHTTPClient creates a new PcloudPvminstancesNetworksDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesNetworksDeleteParamsWithTimeout

func NewPcloudPvminstancesNetworksDeleteParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksDeleteParams

NewPcloudPvminstancesNetworksDeleteParamsWithTimeout creates a new PcloudPvminstancesNetworksDeleteParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesNetworksDeleteParams) SetBody

SetBody adds the body to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) SetCloudInstanceID

func (o *PcloudPvminstancesNetworksDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) SetContext

SetContext adds the context to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) SetDefaults

func (o *PcloudPvminstancesNetworksDeleteParams) SetDefaults()

SetDefaults hydrates default values in the pcloud pvminstances networks delete params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesNetworksDeleteParams) SetHTTPClient

func (o *PcloudPvminstancesNetworksDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) SetNetworkID

func (o *PcloudPvminstancesNetworksDeleteParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) SetPvmInstanceID

func (o *PcloudPvminstancesNetworksDeleteParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) SetTimeout

func (o *PcloudPvminstancesNetworksDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) WithBody

WithBody adds the body to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) WithContext

WithContext adds the context to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances networks delete params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesNetworksDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) WithNetworkID

WithNetworkID adds the networkID to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesNetworksDeleteReader

type PcloudPvminstancesNetworksDeleteReader struct {
	// contains filtered or unexported fields
}

PcloudPvminstancesNetworksDeleteReader is a Reader for the PcloudPvminstancesNetworksDelete structure.

func (*PcloudPvminstancesNetworksDeleteReader) ReadResponse

func (o *PcloudPvminstancesNetworksDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPvminstancesNetworksDeleteUnauthorized

type PcloudPvminstancesNetworksDeleteUnauthorized struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksDeleteUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPvminstancesNetworksDeleteUnauthorized

func NewPcloudPvminstancesNetworksDeleteUnauthorized() *PcloudPvminstancesNetworksDeleteUnauthorized

NewPcloudPvminstancesNetworksDeleteUnauthorized creates a PcloudPvminstancesNetworksDeleteUnauthorized with default headers values

func (*PcloudPvminstancesNetworksDeleteUnauthorized) Code

Code gets the status code for the pcloud pvminstances networks delete unauthorized response

func (*PcloudPvminstancesNetworksDeleteUnauthorized) Error

func (*PcloudPvminstancesNetworksDeleteUnauthorized) GetPayload

func (*PcloudPvminstancesNetworksDeleteUnauthorized) IsClientError

IsClientError returns true when this pcloud pvminstances networks delete unauthorized response has a 4xx status code

func (*PcloudPvminstancesNetworksDeleteUnauthorized) IsCode

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

func (*PcloudPvminstancesNetworksDeleteUnauthorized) IsRedirect

IsRedirect returns true when this pcloud pvminstances networks delete unauthorized response has a 3xx status code

func (*PcloudPvminstancesNetworksDeleteUnauthorized) IsServerError

IsServerError returns true when this pcloud pvminstances networks delete unauthorized response has a 5xx status code

func (*PcloudPvminstancesNetworksDeleteUnauthorized) IsSuccess

IsSuccess returns true when this pcloud pvminstances networks delete unauthorized response has a 2xx status code

func (*PcloudPvminstancesNetworksDeleteUnauthorized) String

type PcloudPvminstancesNetworksGetInternalServerError

type PcloudPvminstancesNetworksGetInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPvminstancesNetworksGetInternalServerError

func NewPcloudPvminstancesNetworksGetInternalServerError() *PcloudPvminstancesNetworksGetInternalServerError

NewPcloudPvminstancesNetworksGetInternalServerError creates a PcloudPvminstancesNetworksGetInternalServerError with default headers values

func (*PcloudPvminstancesNetworksGetInternalServerError) Code

Code gets the status code for the pcloud pvminstances networks get internal server error response

func (*PcloudPvminstancesNetworksGetInternalServerError) Error

func (*PcloudPvminstancesNetworksGetInternalServerError) GetPayload

func (*PcloudPvminstancesNetworksGetInternalServerError) IsClientError

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

func (*PcloudPvminstancesNetworksGetInternalServerError) IsCode

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

func (*PcloudPvminstancesNetworksGetInternalServerError) IsRedirect

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

func (*PcloudPvminstancesNetworksGetInternalServerError) IsServerError

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

func (*PcloudPvminstancesNetworksGetInternalServerError) IsSuccess

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

func (*PcloudPvminstancesNetworksGetInternalServerError) String

type PcloudPvminstancesNetworksGetNotFound

type PcloudPvminstancesNetworksGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesNetworksGetNotFound

func NewPcloudPvminstancesNetworksGetNotFound() *PcloudPvminstancesNetworksGetNotFound

NewPcloudPvminstancesNetworksGetNotFound creates a PcloudPvminstancesNetworksGetNotFound with default headers values

func (*PcloudPvminstancesNetworksGetNotFound) Code

Code gets the status code for the pcloud pvminstances networks get not found response

func (*PcloudPvminstancesNetworksGetNotFound) Error

func (*PcloudPvminstancesNetworksGetNotFound) GetPayload

func (*PcloudPvminstancesNetworksGetNotFound) IsClientError

func (o *PcloudPvminstancesNetworksGetNotFound) IsClientError() bool

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

func (*PcloudPvminstancesNetworksGetNotFound) IsCode

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

func (*PcloudPvminstancesNetworksGetNotFound) IsRedirect

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

func (*PcloudPvminstancesNetworksGetNotFound) IsServerError

func (o *PcloudPvminstancesNetworksGetNotFound) IsServerError() bool

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

func (*PcloudPvminstancesNetworksGetNotFound) IsSuccess

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

func (*PcloudPvminstancesNetworksGetNotFound) String

type PcloudPvminstancesNetworksGetOK

type PcloudPvminstancesNetworksGetOK struct {
	Payload *models.PVMInstanceNetworks
}

PcloudPvminstancesNetworksGetOK describes a response with status code 200, with default header values.

OK

func NewPcloudPvminstancesNetworksGetOK

func NewPcloudPvminstancesNetworksGetOK() *PcloudPvminstancesNetworksGetOK

NewPcloudPvminstancesNetworksGetOK creates a PcloudPvminstancesNetworksGetOK with default headers values

func (*PcloudPvminstancesNetworksGetOK) Code

Code gets the status code for the pcloud pvminstances networks get o k response

func (*PcloudPvminstancesNetworksGetOK) Error

func (*PcloudPvminstancesNetworksGetOK) GetPayload

func (*PcloudPvminstancesNetworksGetOK) IsClientError

func (o *PcloudPvminstancesNetworksGetOK) IsClientError() bool

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

func (*PcloudPvminstancesNetworksGetOK) IsCode

func (o *PcloudPvminstancesNetworksGetOK) IsCode(code int) bool

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

func (*PcloudPvminstancesNetworksGetOK) IsRedirect

func (o *PcloudPvminstancesNetworksGetOK) IsRedirect() bool

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

func (*PcloudPvminstancesNetworksGetOK) IsServerError

func (o *PcloudPvminstancesNetworksGetOK) IsServerError() bool

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

func (*PcloudPvminstancesNetworksGetOK) IsSuccess

func (o *PcloudPvminstancesNetworksGetOK) IsSuccess() bool

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

func (*PcloudPvminstancesNetworksGetOK) String

type PcloudPvminstancesNetworksGetParams

type PcloudPvminstancesNetworksGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPvminstancesNetworksGetParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances networks get operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesNetworksGetParams

func NewPcloudPvminstancesNetworksGetParams() *PcloudPvminstancesNetworksGetParams

NewPcloudPvminstancesNetworksGetParams creates a new PcloudPvminstancesNetworksGetParams 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 NewPcloudPvminstancesNetworksGetParamsWithContext

func NewPcloudPvminstancesNetworksGetParamsWithContext(ctx context.Context) *PcloudPvminstancesNetworksGetParams

NewPcloudPvminstancesNetworksGetParamsWithContext creates a new PcloudPvminstancesNetworksGetParams object with the ability to set a context for a request.

func NewPcloudPvminstancesNetworksGetParamsWithHTTPClient

func NewPcloudPvminstancesNetworksGetParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksGetParams

NewPcloudPvminstancesNetworksGetParamsWithHTTPClient creates a new PcloudPvminstancesNetworksGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesNetworksGetParamsWithTimeout

func NewPcloudPvminstancesNetworksGetParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksGetParams

NewPcloudPvminstancesNetworksGetParamsWithTimeout creates a new PcloudPvminstancesNetworksGetParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesNetworksGetParams) SetCloudInstanceID

func (o *PcloudPvminstancesNetworksGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) SetContext

SetContext adds the context to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) SetDefaults

func (o *PcloudPvminstancesNetworksGetParams) SetDefaults()

SetDefaults hydrates default values in the pcloud pvminstances networks get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesNetworksGetParams) SetHTTPClient

func (o *PcloudPvminstancesNetworksGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) SetNetworkID

func (o *PcloudPvminstancesNetworksGetParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) SetPvmInstanceID

func (o *PcloudPvminstancesNetworksGetParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) SetTimeout

func (o *PcloudPvminstancesNetworksGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) WithCloudInstanceID

func (o *PcloudPvminstancesNetworksGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesNetworksGetParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) WithContext

WithContext adds the context to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances networks get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesNetworksGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) WithNetworkID

WithNetworkID adds the networkID to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesNetworksGetReader

type PcloudPvminstancesNetworksGetReader struct {
	// contains filtered or unexported fields
}

PcloudPvminstancesNetworksGetReader is a Reader for the PcloudPvminstancesNetworksGet structure.

func (*PcloudPvminstancesNetworksGetReader) ReadResponse

func (o *PcloudPvminstancesNetworksGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPvminstancesNetworksGetUnauthorized

type PcloudPvminstancesNetworksGetUnauthorized struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksGetUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPvminstancesNetworksGetUnauthorized

func NewPcloudPvminstancesNetworksGetUnauthorized() *PcloudPvminstancesNetworksGetUnauthorized

NewPcloudPvminstancesNetworksGetUnauthorized creates a PcloudPvminstancesNetworksGetUnauthorized with default headers values

func (*PcloudPvminstancesNetworksGetUnauthorized) Code

Code gets the status code for the pcloud pvminstances networks get unauthorized response

func (*PcloudPvminstancesNetworksGetUnauthorized) Error

func (*PcloudPvminstancesNetworksGetUnauthorized) GetPayload

func (*PcloudPvminstancesNetworksGetUnauthorized) IsClientError

IsClientError returns true when this pcloud pvminstances networks get unauthorized response has a 4xx status code

func (*PcloudPvminstancesNetworksGetUnauthorized) IsCode

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

func (*PcloudPvminstancesNetworksGetUnauthorized) IsRedirect

IsRedirect returns true when this pcloud pvminstances networks get unauthorized response has a 3xx status code

func (*PcloudPvminstancesNetworksGetUnauthorized) IsServerError

IsServerError returns true when this pcloud pvminstances networks get unauthorized response has a 5xx status code

func (*PcloudPvminstancesNetworksGetUnauthorized) IsSuccess

IsSuccess returns true when this pcloud pvminstances networks get unauthorized response has a 2xx status code

func (*PcloudPvminstancesNetworksGetUnauthorized) String

type PcloudPvminstancesNetworksGetallBadRequest

type PcloudPvminstancesNetworksGetallBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksGetallBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudPvminstancesNetworksGetallBadRequest

func NewPcloudPvminstancesNetworksGetallBadRequest() *PcloudPvminstancesNetworksGetallBadRequest

NewPcloudPvminstancesNetworksGetallBadRequest creates a PcloudPvminstancesNetworksGetallBadRequest with default headers values

func (*PcloudPvminstancesNetworksGetallBadRequest) Code

Code gets the status code for the pcloud pvminstances networks getall bad request response

func (*PcloudPvminstancesNetworksGetallBadRequest) Error

func (*PcloudPvminstancesNetworksGetallBadRequest) GetPayload

func (*PcloudPvminstancesNetworksGetallBadRequest) IsClientError

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

func (*PcloudPvminstancesNetworksGetallBadRequest) IsCode

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

func (*PcloudPvminstancesNetworksGetallBadRequest) IsRedirect

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

func (*PcloudPvminstancesNetworksGetallBadRequest) IsServerError

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

func (*PcloudPvminstancesNetworksGetallBadRequest) IsSuccess

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

func (*PcloudPvminstancesNetworksGetallBadRequest) String

type PcloudPvminstancesNetworksGetallInternalServerError

type PcloudPvminstancesNetworksGetallInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksGetallInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPvminstancesNetworksGetallInternalServerError

func NewPcloudPvminstancesNetworksGetallInternalServerError() *PcloudPvminstancesNetworksGetallInternalServerError

NewPcloudPvminstancesNetworksGetallInternalServerError creates a PcloudPvminstancesNetworksGetallInternalServerError with default headers values

func (*PcloudPvminstancesNetworksGetallInternalServerError) Code

Code gets the status code for the pcloud pvminstances networks getall internal server error response

func (*PcloudPvminstancesNetworksGetallInternalServerError) Error

func (*PcloudPvminstancesNetworksGetallInternalServerError) GetPayload

func (*PcloudPvminstancesNetworksGetallInternalServerError) IsClientError

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

func (*PcloudPvminstancesNetworksGetallInternalServerError) IsCode

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

func (*PcloudPvminstancesNetworksGetallInternalServerError) IsRedirect

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

func (*PcloudPvminstancesNetworksGetallInternalServerError) IsServerError

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

func (*PcloudPvminstancesNetworksGetallInternalServerError) IsSuccess

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

func (*PcloudPvminstancesNetworksGetallInternalServerError) String

type PcloudPvminstancesNetworksGetallOK

type PcloudPvminstancesNetworksGetallOK struct {
	Payload *models.PVMInstanceNetworks
}

PcloudPvminstancesNetworksGetallOK describes a response with status code 200, with default header values.

OK

func NewPcloudPvminstancesNetworksGetallOK

func NewPcloudPvminstancesNetworksGetallOK() *PcloudPvminstancesNetworksGetallOK

NewPcloudPvminstancesNetworksGetallOK creates a PcloudPvminstancesNetworksGetallOK with default headers values

func (*PcloudPvminstancesNetworksGetallOK) Code

Code gets the status code for the pcloud pvminstances networks getall o k response

func (*PcloudPvminstancesNetworksGetallOK) Error

func (*PcloudPvminstancesNetworksGetallOK) GetPayload

func (*PcloudPvminstancesNetworksGetallOK) IsClientError

func (o *PcloudPvminstancesNetworksGetallOK) IsClientError() bool

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

func (*PcloudPvminstancesNetworksGetallOK) IsCode

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

func (*PcloudPvminstancesNetworksGetallOK) IsRedirect

func (o *PcloudPvminstancesNetworksGetallOK) IsRedirect() bool

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

func (*PcloudPvminstancesNetworksGetallOK) IsServerError

func (o *PcloudPvminstancesNetworksGetallOK) IsServerError() bool

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

func (*PcloudPvminstancesNetworksGetallOK) IsSuccess

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

func (*PcloudPvminstancesNetworksGetallOK) String

type PcloudPvminstancesNetworksGetallParams

type PcloudPvminstancesNetworksGetallParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPvminstancesNetworksGetallParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances networks getall operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesNetworksGetallParams

func NewPcloudPvminstancesNetworksGetallParams() *PcloudPvminstancesNetworksGetallParams

NewPcloudPvminstancesNetworksGetallParams creates a new PcloudPvminstancesNetworksGetallParams 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 NewPcloudPvminstancesNetworksGetallParamsWithContext

func NewPcloudPvminstancesNetworksGetallParamsWithContext(ctx context.Context) *PcloudPvminstancesNetworksGetallParams

NewPcloudPvminstancesNetworksGetallParamsWithContext creates a new PcloudPvminstancesNetworksGetallParams object with the ability to set a context for a request.

func NewPcloudPvminstancesNetworksGetallParamsWithHTTPClient

func NewPcloudPvminstancesNetworksGetallParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksGetallParams

NewPcloudPvminstancesNetworksGetallParamsWithHTTPClient creates a new PcloudPvminstancesNetworksGetallParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesNetworksGetallParamsWithTimeout

func NewPcloudPvminstancesNetworksGetallParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksGetallParams

NewPcloudPvminstancesNetworksGetallParamsWithTimeout creates a new PcloudPvminstancesNetworksGetallParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesNetworksGetallParams) SetCloudInstanceID

func (o *PcloudPvminstancesNetworksGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) SetContext

SetContext adds the context to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) SetDefaults

func (o *PcloudPvminstancesNetworksGetallParams) SetDefaults()

SetDefaults hydrates default values in the pcloud pvminstances networks getall params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesNetworksGetallParams) SetHTTPClient

func (o *PcloudPvminstancesNetworksGetallParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) SetPvmInstanceID

func (o *PcloudPvminstancesNetworksGetallParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) SetTimeout

func (o *PcloudPvminstancesNetworksGetallParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) WithContext

WithContext adds the context to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances networks getall params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesNetworksGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesNetworksGetallReader

type PcloudPvminstancesNetworksGetallReader struct {
	// contains filtered or unexported fields
}

PcloudPvminstancesNetworksGetallReader is a Reader for the PcloudPvminstancesNetworksGetall structure.

func (*PcloudPvminstancesNetworksGetallReader) ReadResponse

func (o *PcloudPvminstancesNetworksGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPvminstancesNetworksGetallUnauthorized

type PcloudPvminstancesNetworksGetallUnauthorized struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksGetallUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPvminstancesNetworksGetallUnauthorized

func NewPcloudPvminstancesNetworksGetallUnauthorized() *PcloudPvminstancesNetworksGetallUnauthorized

NewPcloudPvminstancesNetworksGetallUnauthorized creates a PcloudPvminstancesNetworksGetallUnauthorized with default headers values

func (*PcloudPvminstancesNetworksGetallUnauthorized) Code

Code gets the status code for the pcloud pvminstances networks getall unauthorized response

func (*PcloudPvminstancesNetworksGetallUnauthorized) Error

func (*PcloudPvminstancesNetworksGetallUnauthorized) GetPayload

func (*PcloudPvminstancesNetworksGetallUnauthorized) IsClientError

IsClientError returns true when this pcloud pvminstances networks getall unauthorized response has a 4xx status code

func (*PcloudPvminstancesNetworksGetallUnauthorized) IsCode

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

func (*PcloudPvminstancesNetworksGetallUnauthorized) IsRedirect

IsRedirect returns true when this pcloud pvminstances networks getall unauthorized response has a 3xx status code

func (*PcloudPvminstancesNetworksGetallUnauthorized) IsServerError

IsServerError returns true when this pcloud pvminstances networks getall unauthorized response has a 5xx status code

func (*PcloudPvminstancesNetworksGetallUnauthorized) IsSuccess

IsSuccess returns true when this pcloud pvminstances networks getall unauthorized response has a 2xx status code

func (*PcloudPvminstancesNetworksGetallUnauthorized) String

type PcloudPvminstancesNetworksPostBadRequest

type PcloudPvminstancesNetworksPostBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksPostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudPvminstancesNetworksPostBadRequest

func NewPcloudPvminstancesNetworksPostBadRequest() *PcloudPvminstancesNetworksPostBadRequest

NewPcloudPvminstancesNetworksPostBadRequest creates a PcloudPvminstancesNetworksPostBadRequest with default headers values

func (*PcloudPvminstancesNetworksPostBadRequest) Code

Code gets the status code for the pcloud pvminstances networks post bad request response

func (*PcloudPvminstancesNetworksPostBadRequest) Error

func (*PcloudPvminstancesNetworksPostBadRequest) GetPayload

func (*PcloudPvminstancesNetworksPostBadRequest) IsClientError

IsClientError returns true when this pcloud pvminstances networks post bad request response has a 4xx status code

func (*PcloudPvminstancesNetworksPostBadRequest) IsCode

IsCode returns true when this pcloud pvminstances networks post bad request response a status code equal to that given

func (*PcloudPvminstancesNetworksPostBadRequest) IsRedirect

IsRedirect returns true when this pcloud pvminstances networks post bad request response has a 3xx status code

func (*PcloudPvminstancesNetworksPostBadRequest) IsServerError

IsServerError returns true when this pcloud pvminstances networks post bad request response has a 5xx status code

func (*PcloudPvminstancesNetworksPostBadRequest) IsSuccess

IsSuccess returns true when this pcloud pvminstances networks post bad request response has a 2xx status code

func (*PcloudPvminstancesNetworksPostBadRequest) String

type PcloudPvminstancesNetworksPostConflict

type PcloudPvminstancesNetworksPostConflict struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksPostConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudPvminstancesNetworksPostConflict

func NewPcloudPvminstancesNetworksPostConflict() *PcloudPvminstancesNetworksPostConflict

NewPcloudPvminstancesNetworksPostConflict creates a PcloudPvminstancesNetworksPostConflict with default headers values

func (*PcloudPvminstancesNetworksPostConflict) Code

Code gets the status code for the pcloud pvminstances networks post conflict response

func (*PcloudPvminstancesNetworksPostConflict) Error

func (*PcloudPvminstancesNetworksPostConflict) GetPayload

func (*PcloudPvminstancesNetworksPostConflict) IsClientError

func (o *PcloudPvminstancesNetworksPostConflict) IsClientError() bool

IsClientError returns true when this pcloud pvminstances networks post conflict response has a 4xx status code

func (*PcloudPvminstancesNetworksPostConflict) IsCode

IsCode returns true when this pcloud pvminstances networks post conflict response a status code equal to that given

func (*PcloudPvminstancesNetworksPostConflict) IsRedirect

IsRedirect returns true when this pcloud pvminstances networks post conflict response has a 3xx status code

func (*PcloudPvminstancesNetworksPostConflict) IsServerError

func (o *PcloudPvminstancesNetworksPostConflict) IsServerError() bool

IsServerError returns true when this pcloud pvminstances networks post conflict response has a 5xx status code

func (*PcloudPvminstancesNetworksPostConflict) IsSuccess

IsSuccess returns true when this pcloud pvminstances networks post conflict response has a 2xx status code

func (*PcloudPvminstancesNetworksPostConflict) String

type PcloudPvminstancesNetworksPostCreated

type PcloudPvminstancesNetworksPostCreated struct {
	Payload *models.PVMInstanceNetwork
}

PcloudPvminstancesNetworksPostCreated describes a response with status code 201, with default header values.

Created

func NewPcloudPvminstancesNetworksPostCreated

func NewPcloudPvminstancesNetworksPostCreated() *PcloudPvminstancesNetworksPostCreated

NewPcloudPvminstancesNetworksPostCreated creates a PcloudPvminstancesNetworksPostCreated with default headers values

func (*PcloudPvminstancesNetworksPostCreated) Code

Code gets the status code for the pcloud pvminstances networks post created response

func (*PcloudPvminstancesNetworksPostCreated) Error

func (*PcloudPvminstancesNetworksPostCreated) GetPayload

func (*PcloudPvminstancesNetworksPostCreated) IsClientError

func (o *PcloudPvminstancesNetworksPostCreated) IsClientError() bool

IsClientError returns true when this pcloud pvminstances networks post created response has a 4xx status code

func (*PcloudPvminstancesNetworksPostCreated) IsCode

IsCode returns true when this pcloud pvminstances networks post created response a status code equal to that given

func (*PcloudPvminstancesNetworksPostCreated) IsRedirect

IsRedirect returns true when this pcloud pvminstances networks post created response has a 3xx status code

func (*PcloudPvminstancesNetworksPostCreated) IsServerError

func (o *PcloudPvminstancesNetworksPostCreated) IsServerError() bool

IsServerError returns true when this pcloud pvminstances networks post created response has a 5xx status code

func (*PcloudPvminstancesNetworksPostCreated) IsSuccess

IsSuccess returns true when this pcloud pvminstances networks post created response has a 2xx status code

func (*PcloudPvminstancesNetworksPostCreated) String

type PcloudPvminstancesNetworksPostInternalServerError

type PcloudPvminstancesNetworksPostInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPvminstancesNetworksPostInternalServerError

func NewPcloudPvminstancesNetworksPostInternalServerError() *PcloudPvminstancesNetworksPostInternalServerError

NewPcloudPvminstancesNetworksPostInternalServerError creates a PcloudPvminstancesNetworksPostInternalServerError with default headers values

func (*PcloudPvminstancesNetworksPostInternalServerError) Code

Code gets the status code for the pcloud pvminstances networks post internal server error response

func (*PcloudPvminstancesNetworksPostInternalServerError) Error

func (*PcloudPvminstancesNetworksPostInternalServerError) GetPayload

func (*PcloudPvminstancesNetworksPostInternalServerError) IsClientError

IsClientError returns true when this pcloud pvminstances networks post internal server error response has a 4xx status code

func (*PcloudPvminstancesNetworksPostInternalServerError) IsCode

IsCode returns true when this pcloud pvminstances networks post internal server error response a status code equal to that given

func (*PcloudPvminstancesNetworksPostInternalServerError) IsRedirect

IsRedirect returns true when this pcloud pvminstances networks post internal server error response has a 3xx status code

func (*PcloudPvminstancesNetworksPostInternalServerError) IsServerError

IsServerError returns true when this pcloud pvminstances networks post internal server error response has a 5xx status code

func (*PcloudPvminstancesNetworksPostInternalServerError) IsSuccess

IsSuccess returns true when this pcloud pvminstances networks post internal server error response has a 2xx status code

func (*PcloudPvminstancesNetworksPostInternalServerError) String

type PcloudPvminstancesNetworksPostParams

type PcloudPvminstancesNetworksPostParams struct {

	/* Body.

	   Add network to PVM Instance parameters
	*/
	Body *models.PVMInstanceAddNetwork

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPvminstancesNetworksPostParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances networks post operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesNetworksPostParams

func NewPcloudPvminstancesNetworksPostParams() *PcloudPvminstancesNetworksPostParams

NewPcloudPvminstancesNetworksPostParams creates a new PcloudPvminstancesNetworksPostParams 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 NewPcloudPvminstancesNetworksPostParamsWithContext

func NewPcloudPvminstancesNetworksPostParamsWithContext(ctx context.Context) *PcloudPvminstancesNetworksPostParams

NewPcloudPvminstancesNetworksPostParamsWithContext creates a new PcloudPvminstancesNetworksPostParams object with the ability to set a context for a request.

func NewPcloudPvminstancesNetworksPostParamsWithHTTPClient

func NewPcloudPvminstancesNetworksPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksPostParams

NewPcloudPvminstancesNetworksPostParamsWithHTTPClient creates a new PcloudPvminstancesNetworksPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesNetworksPostParamsWithTimeout

func NewPcloudPvminstancesNetworksPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksPostParams

NewPcloudPvminstancesNetworksPostParamsWithTimeout creates a new PcloudPvminstancesNetworksPostParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesNetworksPostParams) SetBody

SetBody adds the body to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) SetCloudInstanceID

func (o *PcloudPvminstancesNetworksPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) SetContext

SetContext adds the context to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) SetDefaults

func (o *PcloudPvminstancesNetworksPostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud pvminstances networks post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesNetworksPostParams) SetHTTPClient

func (o *PcloudPvminstancesNetworksPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) SetPvmInstanceID

func (o *PcloudPvminstancesNetworksPostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) SetTimeout

func (o *PcloudPvminstancesNetworksPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) WithBody

WithBody adds the body to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) WithCloudInstanceID

func (o *PcloudPvminstancesNetworksPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesNetworksPostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) WithContext

WithContext adds the context to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances networks post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesNetworksPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesNetworksPostReader

type PcloudPvminstancesNetworksPostReader struct {
	// contains filtered or unexported fields
}

PcloudPvminstancesNetworksPostReader is a Reader for the PcloudPvminstancesNetworksPost structure.

func (*PcloudPvminstancesNetworksPostReader) ReadResponse

func (o *PcloudPvminstancesNetworksPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPvminstancesNetworksPostUnauthorized

type PcloudPvminstancesNetworksPostUnauthorized struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksPostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPvminstancesNetworksPostUnauthorized

func NewPcloudPvminstancesNetworksPostUnauthorized() *PcloudPvminstancesNetworksPostUnauthorized

NewPcloudPvminstancesNetworksPostUnauthorized creates a PcloudPvminstancesNetworksPostUnauthorized with default headers values

func (*PcloudPvminstancesNetworksPostUnauthorized) Code

Code gets the status code for the pcloud pvminstances networks post unauthorized response

func (*PcloudPvminstancesNetworksPostUnauthorized) Error

func (*PcloudPvminstancesNetworksPostUnauthorized) GetPayload

func (*PcloudPvminstancesNetworksPostUnauthorized) IsClientError

IsClientError returns true when this pcloud pvminstances networks post unauthorized response has a 4xx status code

func (*PcloudPvminstancesNetworksPostUnauthorized) IsCode

IsCode returns true when this pcloud pvminstances networks post unauthorized response a status code equal to that given

func (*PcloudPvminstancesNetworksPostUnauthorized) IsRedirect

IsRedirect returns true when this pcloud pvminstances networks post unauthorized response has a 3xx status code

func (*PcloudPvminstancesNetworksPostUnauthorized) IsServerError

IsServerError returns true when this pcloud pvminstances networks post unauthorized response has a 5xx status code

func (*PcloudPvminstancesNetworksPostUnauthorized) IsSuccess

IsSuccess returns true when this pcloud pvminstances networks post unauthorized response has a 2xx status code

func (*PcloudPvminstancesNetworksPostUnauthorized) String

type PcloudPvminstancesNetworksPostUnprocessableEntity

type PcloudPvminstancesNetworksPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksPostUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewPcloudPvminstancesNetworksPostUnprocessableEntity

func NewPcloudPvminstancesNetworksPostUnprocessableEntity() *PcloudPvminstancesNetworksPostUnprocessableEntity

NewPcloudPvminstancesNetworksPostUnprocessableEntity creates a PcloudPvminstancesNetworksPostUnprocessableEntity with default headers values

func (*PcloudPvminstancesNetworksPostUnprocessableEntity) Code

Code gets the status code for the pcloud pvminstances networks post unprocessable entity response

func (*PcloudPvminstancesNetworksPostUnprocessableEntity) Error

func (*PcloudPvminstancesNetworksPostUnprocessableEntity) GetPayload

func (*PcloudPvminstancesNetworksPostUnprocessableEntity) IsClientError

IsClientError returns true when this pcloud pvminstances networks post unprocessable entity response has a 4xx status code

func (*PcloudPvminstancesNetworksPostUnprocessableEntity) IsCode

IsCode returns true when this pcloud pvminstances networks post unprocessable entity response a status code equal to that given

func (*PcloudPvminstancesNetworksPostUnprocessableEntity) IsRedirect

IsRedirect returns true when this pcloud pvminstances networks post unprocessable entity response has a 3xx status code

func (*PcloudPvminstancesNetworksPostUnprocessableEntity) IsServerError

IsServerError returns true when this pcloud pvminstances networks post unprocessable entity response has a 5xx status code

func (*PcloudPvminstancesNetworksPostUnprocessableEntity) IsSuccess

IsSuccess returns true when this pcloud pvminstances networks post unprocessable entity response has a 2xx status code

func (*PcloudPvminstancesNetworksPostUnprocessableEntity) String

type PcloudPvminstancesOperationsPostBadRequest

type PcloudPvminstancesOperationsPostBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesOperationsPostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudPvminstancesOperationsPostBadRequest

func NewPcloudPvminstancesOperationsPostBadRequest() *PcloudPvminstancesOperationsPostBadRequest

NewPcloudPvminstancesOperationsPostBadRequest creates a PcloudPvminstancesOperationsPostBadRequest with default headers values

func (*PcloudPvminstancesOperationsPostBadRequest) Code

Code gets the status code for the pcloud pvminstances operations post bad request response

func (*PcloudPvminstancesOperationsPostBadRequest) Error

func (*PcloudPvminstancesOperationsPostBadRequest) GetPayload

func (*PcloudPvminstancesOperationsPostBadRequest) IsClientError

IsClientError returns true when this pcloud pvminstances operations post bad request response has a 4xx status code

func (*PcloudPvminstancesOperationsPostBadRequest) IsCode

IsCode returns true when this pcloud pvminstances operations post bad request response a status code equal to that given

func (*PcloudPvminstancesOperationsPostBadRequest) IsRedirect

IsRedirect returns true when this pcloud pvminstances operations post bad request response has a 3xx status code

func (*PcloudPvminstancesOperationsPostBadRequest) IsServerError

IsServerError returns true when this pcloud pvminstances operations post bad request response has a 5xx status code

func (*PcloudPvminstancesOperationsPostBadRequest) IsSuccess

IsSuccess returns true when this pcloud pvminstances operations post bad request response has a 2xx status code

func (*PcloudPvminstancesOperationsPostBadRequest) String

type PcloudPvminstancesOperationsPostInternalServerError

type PcloudPvminstancesOperationsPostInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesOperationsPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPvminstancesOperationsPostInternalServerError

func NewPcloudPvminstancesOperationsPostInternalServerError() *PcloudPvminstancesOperationsPostInternalServerError

NewPcloudPvminstancesOperationsPostInternalServerError creates a PcloudPvminstancesOperationsPostInternalServerError with default headers values

func (*PcloudPvminstancesOperationsPostInternalServerError) Code

Code gets the status code for the pcloud pvminstances operations post internal server error response

func (*PcloudPvminstancesOperationsPostInternalServerError) Error

func (*PcloudPvminstancesOperationsPostInternalServerError) GetPayload

func (*PcloudPvminstancesOperationsPostInternalServerError) IsClientError

IsClientError returns true when this pcloud pvminstances operations post internal server error response has a 4xx status code

func (*PcloudPvminstancesOperationsPostInternalServerError) IsCode

IsCode returns true when this pcloud pvminstances operations post internal server error response a status code equal to that given

func (*PcloudPvminstancesOperationsPostInternalServerError) IsRedirect

IsRedirect returns true when this pcloud pvminstances operations post internal server error response has a 3xx status code

func (*PcloudPvminstancesOperationsPostInternalServerError) IsServerError

IsServerError returns true when this pcloud pvminstances operations post internal server error response has a 5xx status code

func (*PcloudPvminstancesOperationsPostInternalServerError) IsSuccess

IsSuccess returns true when this pcloud pvminstances operations post internal server error response has a 2xx status code

func (*PcloudPvminstancesOperationsPostInternalServerError) String

type PcloudPvminstancesOperationsPostNotFound

type PcloudPvminstancesOperationsPostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesOperationsPostNotFound

func NewPcloudPvminstancesOperationsPostNotFound() *PcloudPvminstancesOperationsPostNotFound

NewPcloudPvminstancesOperationsPostNotFound creates a PcloudPvminstancesOperationsPostNotFound with default headers values

func (*PcloudPvminstancesOperationsPostNotFound) Code

Code gets the status code for the pcloud pvminstances operations post not found response

func (*PcloudPvminstancesOperationsPostNotFound) Error

func (*PcloudPvminstancesOperationsPostNotFound) GetPayload

func (*PcloudPvminstancesOperationsPostNotFound) IsClientError

IsClientError returns true when this pcloud pvminstances operations post not found response has a 4xx status code

func (*PcloudPvminstancesOperationsPostNotFound) IsCode

IsCode returns true when this pcloud pvminstances operations post not found response a status code equal to that given

func (*PcloudPvminstancesOperationsPostNotFound) IsRedirect

IsRedirect returns true when this pcloud pvminstances operations post not found response has a 3xx status code

func (*PcloudPvminstancesOperationsPostNotFound) IsServerError

IsServerError returns true when this pcloud pvminstances operations post not found response has a 5xx status code

func (*PcloudPvminstancesOperationsPostNotFound) IsSuccess

IsSuccess returns true when this pcloud pvminstances operations post not found response has a 2xx status code

func (*PcloudPvminstancesOperationsPostNotFound) String

type PcloudPvminstancesOperationsPostOK

type PcloudPvminstancesOperationsPostOK struct {
	Payload models.Object
}

PcloudPvminstancesOperationsPostOK describes a response with status code 200, with default header values.

OK

func NewPcloudPvminstancesOperationsPostOK

func NewPcloudPvminstancesOperationsPostOK() *PcloudPvminstancesOperationsPostOK

NewPcloudPvminstancesOperationsPostOK creates a PcloudPvminstancesOperationsPostOK with default headers values

func (*PcloudPvminstancesOperationsPostOK) Code

Code gets the status code for the pcloud pvminstances operations post o k response

func (*PcloudPvminstancesOperationsPostOK) Error

func (*PcloudPvminstancesOperationsPostOK) GetPayload

func (*PcloudPvminstancesOperationsPostOK) IsClientError

func (o *PcloudPvminstancesOperationsPostOK) IsClientError() bool

IsClientError returns true when this pcloud pvminstances operations post o k response has a 4xx status code

func (*PcloudPvminstancesOperationsPostOK) IsCode

IsCode returns true when this pcloud pvminstances operations post o k response a status code equal to that given

func (*PcloudPvminstancesOperationsPostOK) IsRedirect

func (o *PcloudPvminstancesOperationsPostOK) IsRedirect() bool

IsRedirect returns true when this pcloud pvminstances operations post o k response has a 3xx status code

func (*PcloudPvminstancesOperationsPostOK) IsServerError

func (o *PcloudPvminstancesOperationsPostOK) IsServerError() bool

IsServerError returns true when this pcloud pvminstances operations post o k response has a 5xx status code

func (*PcloudPvminstancesOperationsPostOK) IsSuccess

IsSuccess returns true when this pcloud pvminstances operations post o k response has a 2xx status code

func (*PcloudPvminstancesOperationsPostOK) String

type PcloudPvminstancesOperationsPostParams

type PcloudPvminstancesOperationsPostParams struct {

	/* Body.

	   Parameters for the desired operations
	*/
	Body *models.PVMInstanceOperation

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPvminstancesOperationsPostParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances operations post operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesOperationsPostParams

func NewPcloudPvminstancesOperationsPostParams() *PcloudPvminstancesOperationsPostParams

NewPcloudPvminstancesOperationsPostParams creates a new PcloudPvminstancesOperationsPostParams 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 NewPcloudPvminstancesOperationsPostParamsWithContext

func NewPcloudPvminstancesOperationsPostParamsWithContext(ctx context.Context) *PcloudPvminstancesOperationsPostParams

NewPcloudPvminstancesOperationsPostParamsWithContext creates a new PcloudPvminstancesOperationsPostParams object with the ability to set a context for a request.

func NewPcloudPvminstancesOperationsPostParamsWithHTTPClient

func NewPcloudPvminstancesOperationsPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesOperationsPostParams

NewPcloudPvminstancesOperationsPostParamsWithHTTPClient creates a new PcloudPvminstancesOperationsPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesOperationsPostParamsWithTimeout

func NewPcloudPvminstancesOperationsPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesOperationsPostParams

NewPcloudPvminstancesOperationsPostParamsWithTimeout creates a new PcloudPvminstancesOperationsPostParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesOperationsPostParams) SetBody

SetBody adds the body to the pcloud pvminstances operations post params

func (*PcloudPvminstancesOperationsPostParams) SetCloudInstanceID

func (o *PcloudPvminstancesOperationsPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances operations post params

func (*PcloudPvminstancesOperationsPostParams) SetContext

SetContext adds the context to the pcloud pvminstances operations post params

func (*PcloudPvminstancesOperationsPostParams) SetDefaults

func (o *PcloudPvminstancesOperationsPostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud pvminstances operations post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesOperationsPostParams) SetHTTPClient

func (o *PcloudPvminstancesOperationsPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud pvminstances operations post params

func (*PcloudPvminstancesOperationsPostParams) SetPvmInstanceID

func (o *PcloudPvminstancesOperationsPostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances operations post params

func (*PcloudPvminstancesOperationsPostParams) SetTimeout

func (o *PcloudPvminstancesOperationsPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud pvminstances operations post params

func (*PcloudPvminstancesOperationsPostParams) WithBody

WithBody adds the body to the pcloud pvminstances operations post params

func (*PcloudPvminstancesOperationsPostParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances operations post params

func (*PcloudPvminstancesOperationsPostParams) WithContext

WithContext adds the context to the pcloud pvminstances operations post params

func (*PcloudPvminstancesOperationsPostParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances operations post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesOperationsPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances operations post params

func (*PcloudPvminstancesOperationsPostParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances operations post params

func (*PcloudPvminstancesOperationsPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances operations post params

func (*PcloudPvminstancesOperationsPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesOperationsPostReader

type PcloudPvminstancesOperationsPostReader struct {
	// contains filtered or unexported fields
}

PcloudPvminstancesOperationsPostReader is a Reader for the PcloudPvminstancesOperationsPost structure.

func (*PcloudPvminstancesOperationsPostReader) ReadResponse

func (o *PcloudPvminstancesOperationsPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPvminstancesOperationsPostUnauthorized

type PcloudPvminstancesOperationsPostUnauthorized struct {
	Payload *models.Error
}

PcloudPvminstancesOperationsPostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPvminstancesOperationsPostUnauthorized

func NewPcloudPvminstancesOperationsPostUnauthorized() *PcloudPvminstancesOperationsPostUnauthorized

NewPcloudPvminstancesOperationsPostUnauthorized creates a PcloudPvminstancesOperationsPostUnauthorized with default headers values

func (*PcloudPvminstancesOperationsPostUnauthorized) Code

Code gets the status code for the pcloud pvminstances operations post unauthorized response

func (*PcloudPvminstancesOperationsPostUnauthorized) Error

func (*PcloudPvminstancesOperationsPostUnauthorized) GetPayload

func (*PcloudPvminstancesOperationsPostUnauthorized) IsClientError

IsClientError returns true when this pcloud pvminstances operations post unauthorized response has a 4xx status code

func (*PcloudPvminstancesOperationsPostUnauthorized) IsCode

IsCode returns true when this pcloud pvminstances operations post unauthorized response a status code equal to that given

func (*PcloudPvminstancesOperationsPostUnauthorized) IsRedirect

IsRedirect returns true when this pcloud pvminstances operations post unauthorized response has a 3xx status code

func (*PcloudPvminstancesOperationsPostUnauthorized) IsServerError

IsServerError returns true when this pcloud pvminstances operations post unauthorized response has a 5xx status code

func (*PcloudPvminstancesOperationsPostUnauthorized) IsSuccess

IsSuccess returns true when this pcloud pvminstances operations post unauthorized response has a 2xx status code

func (*PcloudPvminstancesOperationsPostUnauthorized) String

type PcloudPvminstancesOperationsPostUnprocessableEntity

type PcloudPvminstancesOperationsPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudPvminstancesOperationsPostUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewPcloudPvminstancesOperationsPostUnprocessableEntity

func NewPcloudPvminstancesOperationsPostUnprocessableEntity() *PcloudPvminstancesOperationsPostUnprocessableEntity

NewPcloudPvminstancesOperationsPostUnprocessableEntity creates a PcloudPvminstancesOperationsPostUnprocessableEntity with default headers values

func (*PcloudPvminstancesOperationsPostUnprocessableEntity) Code

Code gets the status code for the pcloud pvminstances operations post unprocessable entity response

func (*PcloudPvminstancesOperationsPostUnprocessableEntity) Error

func (*PcloudPvminstancesOperationsPostUnprocessableEntity) GetPayload

func (*PcloudPvminstancesOperationsPostUnprocessableEntity) IsClientError

IsClientError returns true when this pcloud pvminstances operations post unprocessable entity response has a 4xx status code

func (*PcloudPvminstancesOperationsPostUnprocessableEntity) IsCode

IsCode returns true when this pcloud pvminstances operations post unprocessable entity response a status code equal to that given

func (*PcloudPvminstancesOperationsPostUnprocessableEntity) IsRedirect

IsRedirect returns true when this pcloud pvminstances operations post unprocessable entity response has a 3xx status code

func (*PcloudPvminstancesOperationsPostUnprocessableEntity) IsServerError

IsServerError returns true when this pcloud pvminstances operations post unprocessable entity response has a 5xx status code

func (*PcloudPvminstancesOperationsPostUnprocessableEntity) IsSuccess

IsSuccess returns true when this pcloud pvminstances operations post unprocessable entity response has a 2xx status code

func (*PcloudPvminstancesOperationsPostUnprocessableEntity) String

type PcloudPvminstancesPostAccepted

type PcloudPvminstancesPostAccepted struct {
	Payload models.PVMInstanceList
}

PcloudPvminstancesPostAccepted describes a response with status code 202, with default header values.

Accepted

func NewPcloudPvminstancesPostAccepted

func NewPcloudPvminstancesPostAccepted() *PcloudPvminstancesPostAccepted

NewPcloudPvminstancesPostAccepted creates a PcloudPvminstancesPostAccepted with default headers values

func (*PcloudPvminstancesPostAccepted) Code

Code gets the status code for the pcloud pvminstances post accepted response

func (*PcloudPvminstancesPostAccepted) Error

func (*PcloudPvminstancesPostAccepted) GetPayload

func (*PcloudPvminstancesPostAccepted) IsClientError

func (o *PcloudPvminstancesPostAccepted) IsClientError() bool

IsClientError returns true when this pcloud pvminstances post accepted response has a 4xx status code

func (*PcloudPvminstancesPostAccepted) IsCode

func (o *PcloudPvminstancesPostAccepted) IsCode(code int) bool

IsCode returns true when this pcloud pvminstances post accepted response a status code equal to that given

func (*PcloudPvminstancesPostAccepted) IsRedirect

func (o *PcloudPvminstancesPostAccepted) IsRedirect() bool

IsRedirect returns true when this pcloud pvminstances post accepted response has a 3xx status code

func (*PcloudPvminstancesPostAccepted) IsServerError

func (o *PcloudPvminstancesPostAccepted) IsServerError() bool

IsServerError returns true when this pcloud pvminstances post accepted response has a 5xx status code

func (*PcloudPvminstancesPostAccepted) IsSuccess

func (o *PcloudPvminstancesPostAccepted) IsSuccess() bool

IsSuccess returns true when this pcloud pvminstances post accepted response has a 2xx status code

func (*PcloudPvminstancesPostAccepted) String

type PcloudPvminstancesPostBadRequest

type PcloudPvminstancesPostBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesPostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudPvminstancesPostBadRequest

func NewPcloudPvminstancesPostBadRequest() *PcloudPvminstancesPostBadRequest

NewPcloudPvminstancesPostBadRequest creates a PcloudPvminstancesPostBadRequest with default headers values

func (*PcloudPvminstancesPostBadRequest) Code

Code gets the status code for the pcloud pvminstances post bad request response

func (*PcloudPvminstancesPostBadRequest) Error

func (*PcloudPvminstancesPostBadRequest) GetPayload

func (*PcloudPvminstancesPostBadRequest) IsClientError

func (o *PcloudPvminstancesPostBadRequest) IsClientError() bool

IsClientError returns true when this pcloud pvminstances post bad request response has a 4xx status code

func (*PcloudPvminstancesPostBadRequest) IsCode

func (o *PcloudPvminstancesPostBadRequest) IsCode(code int) bool

IsCode returns true when this pcloud pvminstances post bad request response a status code equal to that given

func (*PcloudPvminstancesPostBadRequest) IsRedirect

func (o *PcloudPvminstancesPostBadRequest) IsRedirect() bool

IsRedirect returns true when this pcloud pvminstances post bad request response has a 3xx status code

func (*PcloudPvminstancesPostBadRequest) IsServerError

func (o *PcloudPvminstancesPostBadRequest) IsServerError() bool

IsServerError returns true when this pcloud pvminstances post bad request response has a 5xx status code

func (*PcloudPvminstancesPostBadRequest) IsSuccess

func (o *PcloudPvminstancesPostBadRequest) IsSuccess() bool

IsSuccess returns true when this pcloud pvminstances post bad request response has a 2xx status code

func (*PcloudPvminstancesPostBadRequest) String

type PcloudPvminstancesPostConflict

type PcloudPvminstancesPostConflict struct {
	Payload *models.Error
}

PcloudPvminstancesPostConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudPvminstancesPostConflict

func NewPcloudPvminstancesPostConflict() *PcloudPvminstancesPostConflict

NewPcloudPvminstancesPostConflict creates a PcloudPvminstancesPostConflict with default headers values

func (*PcloudPvminstancesPostConflict) Code

Code gets the status code for the pcloud pvminstances post conflict response

func (*PcloudPvminstancesPostConflict) Error

func (*PcloudPvminstancesPostConflict) GetPayload

func (o *PcloudPvminstancesPostConflict) GetPayload() *models.Error

func (*PcloudPvminstancesPostConflict) IsClientError

func (o *PcloudPvminstancesPostConflict) IsClientError() bool

IsClientError returns true when this pcloud pvminstances post conflict response has a 4xx status code

func (*PcloudPvminstancesPostConflict) IsCode

func (o *PcloudPvminstancesPostConflict) IsCode(code int) bool

IsCode returns true when this pcloud pvminstances post conflict response a status code equal to that given

func (*PcloudPvminstancesPostConflict) IsRedirect

func (o *PcloudPvminstancesPostConflict) IsRedirect() bool

IsRedirect returns true when this pcloud pvminstances post conflict response has a 3xx status code

func (*PcloudPvminstancesPostConflict) IsServerError

func (o *PcloudPvminstancesPostConflict) IsServerError() bool

IsServerError returns true when this pcloud pvminstances post conflict response has a 5xx status code

func (*PcloudPvminstancesPostConflict) IsSuccess

func (o *PcloudPvminstancesPostConflict) IsSuccess() bool

IsSuccess returns true when this pcloud pvminstances post conflict response has a 2xx status code

func (*PcloudPvminstancesPostConflict) String

type PcloudPvminstancesPostCreated

type PcloudPvminstancesPostCreated struct {
	Payload models.PVMInstanceList
}

PcloudPvminstancesPostCreated describes a response with status code 201, with default header values.

Created

func NewPcloudPvminstancesPostCreated

func NewPcloudPvminstancesPostCreated() *PcloudPvminstancesPostCreated

NewPcloudPvminstancesPostCreated creates a PcloudPvminstancesPostCreated with default headers values

func (*PcloudPvminstancesPostCreated) Code

Code gets the status code for the pcloud pvminstances post created response

func (*PcloudPvminstancesPostCreated) Error

func (*PcloudPvminstancesPostCreated) GetPayload

func (*PcloudPvminstancesPostCreated) IsClientError

func (o *PcloudPvminstancesPostCreated) IsClientError() bool

IsClientError returns true when this pcloud pvminstances post created response has a 4xx status code

func (*PcloudPvminstancesPostCreated) IsCode

func (o *PcloudPvminstancesPostCreated) IsCode(code int) bool

IsCode returns true when this pcloud pvminstances post created response a status code equal to that given

func (*PcloudPvminstancesPostCreated) IsRedirect

func (o *PcloudPvminstancesPostCreated) IsRedirect() bool

IsRedirect returns true when this pcloud pvminstances post created response has a 3xx status code

func (*PcloudPvminstancesPostCreated) IsServerError

func (o *PcloudPvminstancesPostCreated) IsServerError() bool

IsServerError returns true when this pcloud pvminstances post created response has a 5xx status code

func (*PcloudPvminstancesPostCreated) IsSuccess

func (o *PcloudPvminstancesPostCreated) IsSuccess() bool

IsSuccess returns true when this pcloud pvminstances post created response has a 2xx status code

func (*PcloudPvminstancesPostCreated) String

type PcloudPvminstancesPostForbidden

type PcloudPvminstancesPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesPostForbidden

func NewPcloudPvminstancesPostForbidden() *PcloudPvminstancesPostForbidden

NewPcloudPvminstancesPostForbidden creates a PcloudPvminstancesPostForbidden with default headers values

func (*PcloudPvminstancesPostForbidden) Code

Code gets the status code for the pcloud pvminstances post forbidden response

func (*PcloudPvminstancesPostForbidden) Error

func (*PcloudPvminstancesPostForbidden) GetPayload

func (o *PcloudPvminstancesPostForbidden) GetPayload() *models.Error

func (*PcloudPvminstancesPostForbidden) IsClientError

func (o *PcloudPvminstancesPostForbidden) IsClientError() bool

IsClientError returns true when this pcloud pvminstances post forbidden response has a 4xx status code

func (*PcloudPvminstancesPostForbidden) IsCode

func (o *PcloudPvminstancesPostForbidden) IsCode(code int) bool

IsCode returns true when this pcloud pvminstances post forbidden response a status code equal to that given

func (*PcloudPvminstancesPostForbidden) IsRedirect

func (o *PcloudPvminstancesPostForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud pvminstances post forbidden response has a 3xx status code

func (*PcloudPvminstancesPostForbidden) IsServerError

func (o *PcloudPvminstancesPostForbidden) IsServerError() bool

IsServerError returns true when this pcloud pvminstances post forbidden response has a 5xx status code

func (*PcloudPvminstancesPostForbidden) IsSuccess

func (o *PcloudPvminstancesPostForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud pvminstances post forbidden response has a 2xx status code

func (*PcloudPvminstancesPostForbidden) String

type PcloudPvminstancesPostGatewayTimeout

type PcloudPvminstancesPostGatewayTimeout struct {
	Payload *models.Error
}

PcloudPvminstancesPostGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. Request is still processing and taking longer than expected.

func NewPcloudPvminstancesPostGatewayTimeout

func NewPcloudPvminstancesPostGatewayTimeout() *PcloudPvminstancesPostGatewayTimeout

NewPcloudPvminstancesPostGatewayTimeout creates a PcloudPvminstancesPostGatewayTimeout with default headers values

func (*PcloudPvminstancesPostGatewayTimeout) Code

Code gets the status code for the pcloud pvminstances post gateway timeout response

func (*PcloudPvminstancesPostGatewayTimeout) Error

func (*PcloudPvminstancesPostGatewayTimeout) GetPayload

func (*PcloudPvminstancesPostGatewayTimeout) IsClientError

func (o *PcloudPvminstancesPostGatewayTimeout) IsClientError() bool

IsClientError returns true when this pcloud pvminstances post gateway timeout response has a 4xx status code

func (*PcloudPvminstancesPostGatewayTimeout) IsCode

IsCode returns true when this pcloud pvminstances post gateway timeout response a status code equal to that given

func (*PcloudPvminstancesPostGatewayTimeout) IsRedirect

IsRedirect returns true when this pcloud pvminstances post gateway timeout response has a 3xx status code

func (*PcloudPvminstancesPostGatewayTimeout) IsServerError

func (o *PcloudPvminstancesPostGatewayTimeout) IsServerError() bool

IsServerError returns true when this pcloud pvminstances post gateway timeout response has a 5xx status code

func (*PcloudPvminstancesPostGatewayTimeout) IsSuccess

IsSuccess returns true when this pcloud pvminstances post gateway timeout response has a 2xx status code

func (*PcloudPvminstancesPostGatewayTimeout) String

type PcloudPvminstancesPostInternalServerError

type PcloudPvminstancesPostInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPvminstancesPostInternalServerError

func NewPcloudPvminstancesPostInternalServerError() *PcloudPvminstancesPostInternalServerError

NewPcloudPvminstancesPostInternalServerError creates a PcloudPvminstancesPostInternalServerError with default headers values

func (*PcloudPvminstancesPostInternalServerError) Code

Code gets the status code for the pcloud pvminstances post internal server error response

func (*PcloudPvminstancesPostInternalServerError) Error

func (*PcloudPvminstancesPostInternalServerError) GetPayload

func (*PcloudPvminstancesPostInternalServerError) IsClientError

IsClientError returns true when this pcloud pvminstances post internal server error response has a 4xx status code

func (*PcloudPvminstancesPostInternalServerError) IsCode

IsCode returns true when this pcloud pvminstances post internal server error response a status code equal to that given

func (*PcloudPvminstancesPostInternalServerError) IsRedirect

IsRedirect returns true when this pcloud pvminstances post internal server error response has a 3xx status code

func (*PcloudPvminstancesPostInternalServerError) IsServerError

IsServerError returns true when this pcloud pvminstances post internal server error response has a 5xx status code

func (*PcloudPvminstancesPostInternalServerError) IsSuccess

IsSuccess returns true when this pcloud pvminstances post internal server error response has a 2xx status code

func (*PcloudPvminstancesPostInternalServerError) String

type PcloudPvminstancesPostNotFound

type PcloudPvminstancesPostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesPostNotFound

func NewPcloudPvminstancesPostNotFound() *PcloudPvminstancesPostNotFound

NewPcloudPvminstancesPostNotFound creates a PcloudPvminstancesPostNotFound with default headers values

func (*PcloudPvminstancesPostNotFound) Code

Code gets the status code for the pcloud pvminstances post not found response

func (*PcloudPvminstancesPostNotFound) Error

func (*PcloudPvminstancesPostNotFound) GetPayload

func (o *PcloudPvminstancesPostNotFound) GetPayload() *models.Error

func (*PcloudPvminstancesPostNotFound) IsClientError

func (o *PcloudPvminstancesPostNotFound) IsClientError() bool

IsClientError returns true when this pcloud pvminstances post not found response has a 4xx status code

func (*PcloudPvminstancesPostNotFound) IsCode

func (o *PcloudPvminstancesPostNotFound) IsCode(code int) bool

IsCode returns true when this pcloud pvminstances post not found response a status code equal to that given

func (*PcloudPvminstancesPostNotFound) IsRedirect

func (o *PcloudPvminstancesPostNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud pvminstances post not found response has a 3xx status code

func (*PcloudPvminstancesPostNotFound) IsServerError

func (o *PcloudPvminstancesPostNotFound) IsServerError() bool

IsServerError returns true when this pcloud pvminstances post not found response has a 5xx status code

func (*PcloudPvminstancesPostNotFound) IsSuccess

func (o *PcloudPvminstancesPostNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud pvminstances post not found response has a 2xx status code

func (*PcloudPvminstancesPostNotFound) String

type PcloudPvminstancesPostOK

type PcloudPvminstancesPostOK struct {
	Payload models.PVMInstanceList
}

PcloudPvminstancesPostOK describes a response with status code 200, with default header values.

OK

func NewPcloudPvminstancesPostOK

func NewPcloudPvminstancesPostOK() *PcloudPvminstancesPostOK

NewPcloudPvminstancesPostOK creates a PcloudPvminstancesPostOK with default headers values

func (*PcloudPvminstancesPostOK) Code

func (o *PcloudPvminstancesPostOK) Code() int

Code gets the status code for the pcloud pvminstances post o k response

func (*PcloudPvminstancesPostOK) Error

func (o *PcloudPvminstancesPostOK) Error() string

func (*PcloudPvminstancesPostOK) GetPayload

func (*PcloudPvminstancesPostOK) IsClientError

func (o *PcloudPvminstancesPostOK) IsClientError() bool

IsClientError returns true when this pcloud pvminstances post o k response has a 4xx status code

func (*PcloudPvminstancesPostOK) IsCode

func (o *PcloudPvminstancesPostOK) IsCode(code int) bool

IsCode returns true when this pcloud pvminstances post o k response a status code equal to that given

func (*PcloudPvminstancesPostOK) IsRedirect

func (o *PcloudPvminstancesPostOK) IsRedirect() bool

IsRedirect returns true when this pcloud pvminstances post o k response has a 3xx status code

func (*PcloudPvminstancesPostOK) IsServerError

func (o *PcloudPvminstancesPostOK) IsServerError() bool

IsServerError returns true when this pcloud pvminstances post o k response has a 5xx status code

func (*PcloudPvminstancesPostOK) IsSuccess

func (o *PcloudPvminstancesPostOK) IsSuccess() bool

IsSuccess returns true when this pcloud pvminstances post o k response has a 2xx status code

func (*PcloudPvminstancesPostOK) String

func (o *PcloudPvminstancesPostOK) String() string

type PcloudPvminstancesPostParams

type PcloudPvminstancesPostParams struct {

	/* Body.

	   Parameters for the creation of a new Power VM Instance
	*/
	Body *models.PVMInstanceCreate

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* SkipHostValidation.

	   Option to skip host validation on PVMInstance Create API
	*/
	SkipHostValidation *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPvminstancesPostParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances post operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesPostParams

func NewPcloudPvminstancesPostParams() *PcloudPvminstancesPostParams

NewPcloudPvminstancesPostParams creates a new PcloudPvminstancesPostParams 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 NewPcloudPvminstancesPostParamsWithContext

func NewPcloudPvminstancesPostParamsWithContext(ctx context.Context) *PcloudPvminstancesPostParams

NewPcloudPvminstancesPostParamsWithContext creates a new PcloudPvminstancesPostParams object with the ability to set a context for a request.

func NewPcloudPvminstancesPostParamsWithHTTPClient

func NewPcloudPvminstancesPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesPostParams

NewPcloudPvminstancesPostParamsWithHTTPClient creates a new PcloudPvminstancesPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesPostParamsWithTimeout

func NewPcloudPvminstancesPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesPostParams

NewPcloudPvminstancesPostParamsWithTimeout creates a new PcloudPvminstancesPostParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesPostParams) SetBody

SetBody adds the body to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) SetCloudInstanceID

func (o *PcloudPvminstancesPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) SetContext

func (o *PcloudPvminstancesPostParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) SetDefaults

func (o *PcloudPvminstancesPostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud pvminstances post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesPostParams) SetHTTPClient

func (o *PcloudPvminstancesPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) SetSkipHostValidation

func (o *PcloudPvminstancesPostParams) SetSkipHostValidation(skipHostValidation *bool)

SetSkipHostValidation adds the skipHostValidation to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) SetTimeout

func (o *PcloudPvminstancesPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) WithBody

WithBody adds the body to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) WithCloudInstanceID

func (o *PcloudPvminstancesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesPostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) WithContext

WithContext adds the context to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) WithSkipHostValidation

func (o *PcloudPvminstancesPostParams) WithSkipHostValidation(skipHostValidation *bool) *PcloudPvminstancesPostParams

WithSkipHostValidation adds the skipHostValidation to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesPostReader

type PcloudPvminstancesPostReader struct {
	// contains filtered or unexported fields
}

PcloudPvminstancesPostReader is a Reader for the PcloudPvminstancesPost structure.

func (*PcloudPvminstancesPostReader) ReadResponse

func (o *PcloudPvminstancesPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPvminstancesPostUnauthorized

type PcloudPvminstancesPostUnauthorized struct {
	Payload *models.Error
}

PcloudPvminstancesPostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPvminstancesPostUnauthorized

func NewPcloudPvminstancesPostUnauthorized() *PcloudPvminstancesPostUnauthorized

NewPcloudPvminstancesPostUnauthorized creates a PcloudPvminstancesPostUnauthorized with default headers values

func (*PcloudPvminstancesPostUnauthorized) Code

Code gets the status code for the pcloud pvminstances post unauthorized response

func (*PcloudPvminstancesPostUnauthorized) Error

func (*PcloudPvminstancesPostUnauthorized) GetPayload

func (*PcloudPvminstancesPostUnauthorized) IsClientError

func (o *PcloudPvminstancesPostUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud pvminstances post unauthorized response has a 4xx status code

func (*PcloudPvminstancesPostUnauthorized) IsCode

IsCode returns true when this pcloud pvminstances post unauthorized response a status code equal to that given

func (*PcloudPvminstancesPostUnauthorized) IsRedirect

func (o *PcloudPvminstancesPostUnauthorized) IsRedirect() bool

IsRedirect returns true when this pcloud pvminstances post unauthorized response has a 3xx status code

func (*PcloudPvminstancesPostUnauthorized) IsServerError

func (o *PcloudPvminstancesPostUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud pvminstances post unauthorized response has a 5xx status code

func (*PcloudPvminstancesPostUnauthorized) IsSuccess

IsSuccess returns true when this pcloud pvminstances post unauthorized response has a 2xx status code

func (*PcloudPvminstancesPostUnauthorized) String

type PcloudPvminstancesPostUnprocessableEntity

type PcloudPvminstancesPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudPvminstancesPostUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewPcloudPvminstancesPostUnprocessableEntity

func NewPcloudPvminstancesPostUnprocessableEntity() *PcloudPvminstancesPostUnprocessableEntity

NewPcloudPvminstancesPostUnprocessableEntity creates a PcloudPvminstancesPostUnprocessableEntity with default headers values

func (*PcloudPvminstancesPostUnprocessableEntity) Code

Code gets the status code for the pcloud pvminstances post unprocessable entity response

func (*PcloudPvminstancesPostUnprocessableEntity) Error

func (*PcloudPvminstancesPostUnprocessableEntity) GetPayload

func (*PcloudPvminstancesPostUnprocessableEntity) IsClientError

IsClientError returns true when this pcloud pvminstances post unprocessable entity response has a 4xx status code

func (*PcloudPvminstancesPostUnprocessableEntity) IsCode

IsCode returns true when this pcloud pvminstances post unprocessable entity response a status code equal to that given

func (*PcloudPvminstancesPostUnprocessableEntity) IsRedirect

IsRedirect returns true when this pcloud pvminstances post unprocessable entity response has a 3xx status code

func (*PcloudPvminstancesPostUnprocessableEntity) IsServerError

IsServerError returns true when this pcloud pvminstances post unprocessable entity response has a 5xx status code

func (*PcloudPvminstancesPostUnprocessableEntity) IsSuccess

IsSuccess returns true when this pcloud pvminstances post unprocessable entity response has a 2xx status code

func (*PcloudPvminstancesPostUnprocessableEntity) String

type PcloudPvminstancesPutAccepted

type PcloudPvminstancesPutAccepted struct {
	Payload *models.PVMInstanceUpdateResponse
}

PcloudPvminstancesPutAccepted describes a response with status code 202, with default header values.

Accepted (this is a long running operation)

func NewPcloudPvminstancesPutAccepted

func NewPcloudPvminstancesPutAccepted() *PcloudPvminstancesPutAccepted

NewPcloudPvminstancesPutAccepted creates a PcloudPvminstancesPutAccepted with default headers values

func (*PcloudPvminstancesPutAccepted) Code

Code gets the status code for the pcloud pvminstances put accepted response

func (*PcloudPvminstancesPutAccepted) Error

func (*PcloudPvminstancesPutAccepted) GetPayload

func (*PcloudPvminstancesPutAccepted) IsClientError

func (o *PcloudPvminstancesPutAccepted) IsClientError() bool

IsClientError returns true when this pcloud pvminstances put accepted response has a 4xx status code

func (*PcloudPvminstancesPutAccepted) IsCode

func (o *PcloudPvminstancesPutAccepted) IsCode(code int) bool

IsCode returns true when this pcloud pvminstances put accepted response a status code equal to that given

func (*PcloudPvminstancesPutAccepted) IsRedirect

func (o *PcloudPvminstancesPutAccepted) IsRedirect() bool

IsRedirect returns true when this pcloud pvminstances put accepted response has a 3xx status code

func (*PcloudPvminstancesPutAccepted) IsServerError

func (o *PcloudPvminstancesPutAccepted) IsServerError() bool

IsServerError returns true when this pcloud pvminstances put accepted response has a 5xx status code

func (*PcloudPvminstancesPutAccepted) IsSuccess

func (o *PcloudPvminstancesPutAccepted) IsSuccess() bool

IsSuccess returns true when this pcloud pvminstances put accepted response has a 2xx status code

func (*PcloudPvminstancesPutAccepted) String

type PcloudPvminstancesPutBadRequest

type PcloudPvminstancesPutBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesPutBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudPvminstancesPutBadRequest

func NewPcloudPvminstancesPutBadRequest() *PcloudPvminstancesPutBadRequest

NewPcloudPvminstancesPutBadRequest creates a PcloudPvminstancesPutBadRequest with default headers values

func (*PcloudPvminstancesPutBadRequest) Code

Code gets the status code for the pcloud pvminstances put bad request response

func (*PcloudPvminstancesPutBadRequest) Error

func (*PcloudPvminstancesPutBadRequest) GetPayload

func (o *PcloudPvminstancesPutBadRequest) GetPayload() *models.Error

func (*PcloudPvminstancesPutBadRequest) IsClientError

func (o *PcloudPvminstancesPutBadRequest) IsClientError() bool

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

func (*PcloudPvminstancesPutBadRequest) IsCode

func (o *PcloudPvminstancesPutBadRequest) IsCode(code int) bool

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

func (*PcloudPvminstancesPutBadRequest) IsRedirect

func (o *PcloudPvminstancesPutBadRequest) IsRedirect() bool

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

func (*PcloudPvminstancesPutBadRequest) IsServerError

func (o *PcloudPvminstancesPutBadRequest) IsServerError() bool

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

func (*PcloudPvminstancesPutBadRequest) IsSuccess

func (o *PcloudPvminstancesPutBadRequest) IsSuccess() bool

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

func (*PcloudPvminstancesPutBadRequest) String

type PcloudPvminstancesPutForbidden

type PcloudPvminstancesPutForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesPutForbidden

func NewPcloudPvminstancesPutForbidden() *PcloudPvminstancesPutForbidden

NewPcloudPvminstancesPutForbidden creates a PcloudPvminstancesPutForbidden with default headers values

func (*PcloudPvminstancesPutForbidden) Code

Code gets the status code for the pcloud pvminstances put forbidden response

func (*PcloudPvminstancesPutForbidden) Error

func (*PcloudPvminstancesPutForbidden) GetPayload

func (o *PcloudPvminstancesPutForbidden) GetPayload() *models.Error

func (*PcloudPvminstancesPutForbidden) IsClientError

func (o *PcloudPvminstancesPutForbidden) IsClientError() bool

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

func (*PcloudPvminstancesPutForbidden) IsCode

func (o *PcloudPvminstancesPutForbidden) IsCode(code int) bool

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

func (*PcloudPvminstancesPutForbidden) IsRedirect

func (o *PcloudPvminstancesPutForbidden) IsRedirect() bool

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

func (*PcloudPvminstancesPutForbidden) IsServerError

func (o *PcloudPvminstancesPutForbidden) IsServerError() bool

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

func (*PcloudPvminstancesPutForbidden) IsSuccess

func (o *PcloudPvminstancesPutForbidden) IsSuccess() bool

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

func (*PcloudPvminstancesPutForbidden) String

type PcloudPvminstancesPutInternalServerError

type PcloudPvminstancesPutInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesPutInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPvminstancesPutInternalServerError

func NewPcloudPvminstancesPutInternalServerError() *PcloudPvminstancesPutInternalServerError

NewPcloudPvminstancesPutInternalServerError creates a PcloudPvminstancesPutInternalServerError with default headers values

func (*PcloudPvminstancesPutInternalServerError) Code

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

func (*PcloudPvminstancesPutInternalServerError) Error

func (*PcloudPvminstancesPutInternalServerError) GetPayload

func (*PcloudPvminstancesPutInternalServerError) IsClientError

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

func (*PcloudPvminstancesPutInternalServerError) IsCode

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

func (*PcloudPvminstancesPutInternalServerError) IsRedirect

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

func (*PcloudPvminstancesPutInternalServerError) IsServerError

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

func (*PcloudPvminstancesPutInternalServerError) IsSuccess

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

func (*PcloudPvminstancesPutInternalServerError) String

type PcloudPvminstancesPutNotFound

type PcloudPvminstancesPutNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesPutNotFound

func NewPcloudPvminstancesPutNotFound() *PcloudPvminstancesPutNotFound

NewPcloudPvminstancesPutNotFound creates a PcloudPvminstancesPutNotFound with default headers values

func (*PcloudPvminstancesPutNotFound) Code

Code gets the status code for the pcloud pvminstances put not found response

func (*PcloudPvminstancesPutNotFound) Error

func (*PcloudPvminstancesPutNotFound) GetPayload

func (o *PcloudPvminstancesPutNotFound) GetPayload() *models.Error

func (*PcloudPvminstancesPutNotFound) IsClientError

func (o *PcloudPvminstancesPutNotFound) IsClientError() bool

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

func (*PcloudPvminstancesPutNotFound) IsCode

func (o *PcloudPvminstancesPutNotFound) IsCode(code int) bool

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

func (*PcloudPvminstancesPutNotFound) IsRedirect

func (o *PcloudPvminstancesPutNotFound) IsRedirect() bool

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

func (*PcloudPvminstancesPutNotFound) IsServerError

func (o *PcloudPvminstancesPutNotFound) IsServerError() bool

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

func (*PcloudPvminstancesPutNotFound) IsSuccess

func (o *PcloudPvminstancesPutNotFound) IsSuccess() bool

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

func (*PcloudPvminstancesPutNotFound) String

type PcloudPvminstancesPutParams

type PcloudPvminstancesPutParams struct {

	/* Body.

	   Parameters to update a PCloud PVM Instance
	*/
	Body *models.PVMInstanceUpdate

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPvminstancesPutParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances put operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesPutParams

func NewPcloudPvminstancesPutParams() *PcloudPvminstancesPutParams

NewPcloudPvminstancesPutParams creates a new PcloudPvminstancesPutParams 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 NewPcloudPvminstancesPutParamsWithContext

func NewPcloudPvminstancesPutParamsWithContext(ctx context.Context) *PcloudPvminstancesPutParams

NewPcloudPvminstancesPutParamsWithContext creates a new PcloudPvminstancesPutParams object with the ability to set a context for a request.

func NewPcloudPvminstancesPutParamsWithHTTPClient

func NewPcloudPvminstancesPutParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesPutParams

NewPcloudPvminstancesPutParamsWithHTTPClient creates a new PcloudPvminstancesPutParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesPutParamsWithTimeout

func NewPcloudPvminstancesPutParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesPutParams

NewPcloudPvminstancesPutParamsWithTimeout creates a new PcloudPvminstancesPutParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesPutParams) SetBody

SetBody adds the body to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) SetCloudInstanceID

func (o *PcloudPvminstancesPutParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) SetContext

func (o *PcloudPvminstancesPutParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) SetDefaults

func (o *PcloudPvminstancesPutParams) SetDefaults()

SetDefaults hydrates default values in the pcloud pvminstances put params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesPutParams) SetHTTPClient

func (o *PcloudPvminstancesPutParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) SetPvmInstanceID

func (o *PcloudPvminstancesPutParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) SetTimeout

func (o *PcloudPvminstancesPutParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) WithBody

WithBody adds the body to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) WithCloudInstanceID

func (o *PcloudPvminstancesPutParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPvminstancesPutParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) WithContext

WithContext adds the context to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances put params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) WithPvmInstanceID

func (o *PcloudPvminstancesPutParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesPutParams

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesPutReader

type PcloudPvminstancesPutReader struct {
	// contains filtered or unexported fields
}

PcloudPvminstancesPutReader is a Reader for the PcloudPvminstancesPut structure.

func (*PcloudPvminstancesPutReader) ReadResponse

func (o *PcloudPvminstancesPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPvminstancesPutUnauthorized

type PcloudPvminstancesPutUnauthorized struct {
	Payload *models.Error
}

PcloudPvminstancesPutUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPvminstancesPutUnauthorized

func NewPcloudPvminstancesPutUnauthorized() *PcloudPvminstancesPutUnauthorized

NewPcloudPvminstancesPutUnauthorized creates a PcloudPvminstancesPutUnauthorized with default headers values

func (*PcloudPvminstancesPutUnauthorized) Code

Code gets the status code for the pcloud pvminstances put unauthorized response

func (*PcloudPvminstancesPutUnauthorized) Error

func (*PcloudPvminstancesPutUnauthorized) GetPayload

func (*PcloudPvminstancesPutUnauthorized) IsClientError

func (o *PcloudPvminstancesPutUnauthorized) IsClientError() bool

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

func (*PcloudPvminstancesPutUnauthorized) IsCode

func (o *PcloudPvminstancesPutUnauthorized) IsCode(code int) bool

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

func (*PcloudPvminstancesPutUnauthorized) IsRedirect

func (o *PcloudPvminstancesPutUnauthorized) IsRedirect() bool

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

func (*PcloudPvminstancesPutUnauthorized) IsServerError

func (o *PcloudPvminstancesPutUnauthorized) IsServerError() bool

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

func (*PcloudPvminstancesPutUnauthorized) IsSuccess

func (o *PcloudPvminstancesPutUnauthorized) IsSuccess() bool

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

func (*PcloudPvminstancesPutUnauthorized) String

type PcloudPvminstancesPutUnprocessableEntity

type PcloudPvminstancesPutUnprocessableEntity struct {
	Payload *models.Error
}

PcloudPvminstancesPutUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewPcloudPvminstancesPutUnprocessableEntity

func NewPcloudPvminstancesPutUnprocessableEntity() *PcloudPvminstancesPutUnprocessableEntity

NewPcloudPvminstancesPutUnprocessableEntity creates a PcloudPvminstancesPutUnprocessableEntity with default headers values

func (*PcloudPvminstancesPutUnprocessableEntity) Code

Code gets the status code for the pcloud pvminstances put unprocessable entity response

func (*PcloudPvminstancesPutUnprocessableEntity) Error

func (*PcloudPvminstancesPutUnprocessableEntity) GetPayload

func (*PcloudPvminstancesPutUnprocessableEntity) IsClientError

IsClientError returns true when this pcloud pvminstances put unprocessable entity response has a 4xx status code

func (*PcloudPvminstancesPutUnprocessableEntity) IsCode

IsCode returns true when this pcloud pvminstances put unprocessable entity response a status code equal to that given

func (*PcloudPvminstancesPutUnprocessableEntity) IsRedirect

IsRedirect returns true when this pcloud pvminstances put unprocessable entity response has a 3xx status code

func (*PcloudPvminstancesPutUnprocessableEntity) IsServerError

IsServerError returns true when this pcloud pvminstances put unprocessable entity response has a 5xx status code

func (*PcloudPvminstancesPutUnprocessableEntity) IsSuccess

IsSuccess returns true when this pcloud pvminstances put unprocessable entity response has a 2xx status code

func (*PcloudPvminstancesPutUnprocessableEntity) String

type PcloudPvminstancesSnapshotsGetallBadRequest

type PcloudPvminstancesSnapshotsGetallBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsGetallBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudPvminstancesSnapshotsGetallBadRequest

func NewPcloudPvminstancesSnapshotsGetallBadRequest() *PcloudPvminstancesSnapshotsGetallBadRequest

NewPcloudPvminstancesSnapshotsGetallBadRequest creates a PcloudPvminstancesSnapshotsGetallBadRequest with default headers values

func (*PcloudPvminstancesSnapshotsGetallBadRequest) Code

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

func (*PcloudPvminstancesSnapshotsGetallBadRequest) Error

func (*PcloudPvminstancesSnapshotsGetallBadRequest) GetPayload

func (*PcloudPvminstancesSnapshotsGetallBadRequest) IsClientError

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

func (*PcloudPvminstancesSnapshotsGetallBadRequest) IsCode

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

func (*PcloudPvminstancesSnapshotsGetallBadRequest) IsRedirect

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

func (*PcloudPvminstancesSnapshotsGetallBadRequest) IsServerError

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

func (*PcloudPvminstancesSnapshotsGetallBadRequest) IsSuccess

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

func (*PcloudPvminstancesSnapshotsGetallBadRequest) String

type PcloudPvminstancesSnapshotsGetallForbidden

type PcloudPvminstancesSnapshotsGetallForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesSnapshotsGetallForbidden

func NewPcloudPvminstancesSnapshotsGetallForbidden() *PcloudPvminstancesSnapshotsGetallForbidden

NewPcloudPvminstancesSnapshotsGetallForbidden creates a PcloudPvminstancesSnapshotsGetallForbidden with default headers values

func (*PcloudPvminstancesSnapshotsGetallForbidden) Code

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

func (*PcloudPvminstancesSnapshotsGetallForbidden) Error

func (*PcloudPvminstancesSnapshotsGetallForbidden) GetPayload

func (*PcloudPvminstancesSnapshotsGetallForbidden) IsClientError

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

func (*PcloudPvminstancesSnapshotsGetallForbidden) IsCode

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

func (*PcloudPvminstancesSnapshotsGetallForbidden) IsRedirect

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

func (*PcloudPvminstancesSnapshotsGetallForbidden) IsServerError

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

func (*PcloudPvminstancesSnapshotsGetallForbidden) IsSuccess

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

func (*PcloudPvminstancesSnapshotsGetallForbidden) String

type PcloudPvminstancesSnapshotsGetallInternalServerError

type PcloudPvminstancesSnapshotsGetallInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsGetallInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPvminstancesSnapshotsGetallInternalServerError

func NewPcloudPvminstancesSnapshotsGetallInternalServerError() *PcloudPvminstancesSnapshotsGetallInternalServerError

NewPcloudPvminstancesSnapshotsGetallInternalServerError creates a PcloudPvminstancesSnapshotsGetallInternalServerError with default headers values

func (*PcloudPvminstancesSnapshotsGetallInternalServerError) Code

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

func (*PcloudPvminstancesSnapshotsGetallInternalServerError) Error

func (*PcloudPvminstancesSnapshotsGetallInternalServerError) GetPayload

func (*PcloudPvminstancesSnapshotsGetallInternalServerError) IsClientError

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

func (*PcloudPvminstancesSnapshotsGetallInternalServerError) IsCode

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

func (*PcloudPvminstancesSnapshotsGetallInternalServerError) IsRedirect

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

func (*PcloudPvminstancesSnapshotsGetallInternalServerError) IsServerError

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

func (*PcloudPvminstancesSnapshotsGetallInternalServerError) IsSuccess

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

func (*PcloudPvminstancesSnapshotsGetallInternalServerError) String

type PcloudPvminstancesSnapshotsGetallNotFound

type PcloudPvminstancesSnapshotsGetallNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesSnapshotsGetallNotFound

func NewPcloudPvminstancesSnapshotsGetallNotFound() *PcloudPvminstancesSnapshotsGetallNotFound

NewPcloudPvminstancesSnapshotsGetallNotFound creates a PcloudPvminstancesSnapshotsGetallNotFound with default headers values

func (*PcloudPvminstancesSnapshotsGetallNotFound) Code

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

func (*PcloudPvminstancesSnapshotsGetallNotFound) Error

func (*PcloudPvminstancesSnapshotsGetallNotFound) GetPayload

func (*PcloudPvminstancesSnapshotsGetallNotFound) IsClientError

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

func (*PcloudPvminstancesSnapshotsGetallNotFound) IsCode

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

func (*PcloudPvminstancesSnapshotsGetallNotFound) IsRedirect

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

func (*PcloudPvminstancesSnapshotsGetallNotFound) IsServerError

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

func (*PcloudPvminstancesSnapshotsGetallNotFound) IsSuccess

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

func (*PcloudPvminstancesSnapshotsGetallNotFound) String

type PcloudPvminstancesSnapshotsGetallOK

type PcloudPvminstancesSnapshotsGetallOK struct {
	Payload *models.Snapshots
}

PcloudPvminstancesSnapshotsGetallOK describes a response with status code 200, with default header values.

OK

func NewPcloudPvminstancesSnapshotsGetallOK

func NewPcloudPvminstancesSnapshotsGetallOK() *PcloudPvminstancesSnapshotsGetallOK

NewPcloudPvminstancesSnapshotsGetallOK creates a PcloudPvminstancesSnapshotsGetallOK with default headers values

func (*PcloudPvminstancesSnapshotsGetallOK) Code

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

func (*PcloudPvminstancesSnapshotsGetallOK) Error

func (*PcloudPvminstancesSnapshotsGetallOK) GetPayload

func (*PcloudPvminstancesSnapshotsGetallOK) IsClientError

func (o *PcloudPvminstancesSnapshotsGetallOK) IsClientError() bool

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

func (*PcloudPvminstancesSnapshotsGetallOK) IsCode

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

func (*PcloudPvminstancesSnapshotsGetallOK) IsRedirect

func (o *PcloudPvminstancesSnapshotsGetallOK) IsRedirect() bool

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

func (*PcloudPvminstancesSnapshotsGetallOK) IsServerError

func (o *PcloudPvminstancesSnapshotsGetallOK) IsServerError() bool

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

func (*PcloudPvminstancesSnapshotsGetallOK) IsSuccess

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

func (*PcloudPvminstancesSnapshotsGetallOK) String

type PcloudPvminstancesSnapshotsGetallParams

type PcloudPvminstancesSnapshotsGetallParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPvminstancesSnapshotsGetallParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances snapshots getall operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesSnapshotsGetallParams

func NewPcloudPvminstancesSnapshotsGetallParams() *PcloudPvminstancesSnapshotsGetallParams

NewPcloudPvminstancesSnapshotsGetallParams creates a new PcloudPvminstancesSnapshotsGetallParams 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 NewPcloudPvminstancesSnapshotsGetallParamsWithContext

func NewPcloudPvminstancesSnapshotsGetallParamsWithContext(ctx context.Context) *PcloudPvminstancesSnapshotsGetallParams

NewPcloudPvminstancesSnapshotsGetallParamsWithContext creates a new PcloudPvminstancesSnapshotsGetallParams object with the ability to set a context for a request.

func NewPcloudPvminstancesSnapshotsGetallParamsWithHTTPClient

func NewPcloudPvminstancesSnapshotsGetallParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesSnapshotsGetallParams

NewPcloudPvminstancesSnapshotsGetallParamsWithHTTPClient creates a new PcloudPvminstancesSnapshotsGetallParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesSnapshotsGetallParamsWithTimeout

func NewPcloudPvminstancesSnapshotsGetallParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesSnapshotsGetallParams

NewPcloudPvminstancesSnapshotsGetallParamsWithTimeout creates a new PcloudPvminstancesSnapshotsGetallParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesSnapshotsGetallParams) SetCloudInstanceID

func (o *PcloudPvminstancesSnapshotsGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) SetContext

SetContext adds the context to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) SetDefaults

func (o *PcloudPvminstancesSnapshotsGetallParams) SetDefaults()

SetDefaults hydrates default values in the pcloud pvminstances snapshots getall params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesSnapshotsGetallParams) SetHTTPClient

func (o *PcloudPvminstancesSnapshotsGetallParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) SetPvmInstanceID

func (o *PcloudPvminstancesSnapshotsGetallParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) SetTimeout

func (o *PcloudPvminstancesSnapshotsGetallParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) WithContext

WithContext adds the context to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances snapshots getall params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesSnapshotsGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesSnapshotsGetallReader

type PcloudPvminstancesSnapshotsGetallReader struct {
	// contains filtered or unexported fields
}

PcloudPvminstancesSnapshotsGetallReader is a Reader for the PcloudPvminstancesSnapshotsGetall structure.

func (*PcloudPvminstancesSnapshotsGetallReader) ReadResponse

func (o *PcloudPvminstancesSnapshotsGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPvminstancesSnapshotsGetallUnauthorized

type PcloudPvminstancesSnapshotsGetallUnauthorized struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsGetallUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPvminstancesSnapshotsGetallUnauthorized

func NewPcloudPvminstancesSnapshotsGetallUnauthorized() *PcloudPvminstancesSnapshotsGetallUnauthorized

NewPcloudPvminstancesSnapshotsGetallUnauthorized creates a PcloudPvminstancesSnapshotsGetallUnauthorized with default headers values

func (*PcloudPvminstancesSnapshotsGetallUnauthorized) Code

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

func (*PcloudPvminstancesSnapshotsGetallUnauthorized) Error

func (*PcloudPvminstancesSnapshotsGetallUnauthorized) GetPayload

func (*PcloudPvminstancesSnapshotsGetallUnauthorized) IsClientError

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

func (*PcloudPvminstancesSnapshotsGetallUnauthorized) IsCode

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

func (*PcloudPvminstancesSnapshotsGetallUnauthorized) IsRedirect

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

func (*PcloudPvminstancesSnapshotsGetallUnauthorized) IsServerError

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

func (*PcloudPvminstancesSnapshotsGetallUnauthorized) IsSuccess

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

func (*PcloudPvminstancesSnapshotsGetallUnauthorized) String

type PcloudPvminstancesSnapshotsPostAccepted

type PcloudPvminstancesSnapshotsPostAccepted struct {
	Payload *models.SnapshotCreateResponse
}

PcloudPvminstancesSnapshotsPostAccepted describes a response with status code 202, with default header values.

Accepted

func NewPcloudPvminstancesSnapshotsPostAccepted

func NewPcloudPvminstancesSnapshotsPostAccepted() *PcloudPvminstancesSnapshotsPostAccepted

NewPcloudPvminstancesSnapshotsPostAccepted creates a PcloudPvminstancesSnapshotsPostAccepted with default headers values

func (*PcloudPvminstancesSnapshotsPostAccepted) Code

Code gets the status code for the pcloud pvminstances snapshots post accepted response

func (*PcloudPvminstancesSnapshotsPostAccepted) Error

func (*PcloudPvminstancesSnapshotsPostAccepted) GetPayload

func (*PcloudPvminstancesSnapshotsPostAccepted) IsClientError

func (o *PcloudPvminstancesSnapshotsPostAccepted) IsClientError() bool

IsClientError returns true when this pcloud pvminstances snapshots post accepted response has a 4xx status code

func (*PcloudPvminstancesSnapshotsPostAccepted) IsCode

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

func (*PcloudPvminstancesSnapshotsPostAccepted) IsRedirect

IsRedirect returns true when this pcloud pvminstances snapshots post accepted response has a 3xx status code

func (*PcloudPvminstancesSnapshotsPostAccepted) IsServerError

func (o *PcloudPvminstancesSnapshotsPostAccepted) IsServerError() bool

IsServerError returns true when this pcloud pvminstances snapshots post accepted response has a 5xx status code

func (*PcloudPvminstancesSnapshotsPostAccepted) IsSuccess

IsSuccess returns true when this pcloud pvminstances snapshots post accepted response has a 2xx status code

func (*PcloudPvminstancesSnapshotsPostAccepted) String

type PcloudPvminstancesSnapshotsPostBadRequest

type PcloudPvminstancesSnapshotsPostBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsPostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudPvminstancesSnapshotsPostBadRequest

func NewPcloudPvminstancesSnapshotsPostBadRequest() *PcloudPvminstancesSnapshotsPostBadRequest

NewPcloudPvminstancesSnapshotsPostBadRequest creates a PcloudPvminstancesSnapshotsPostBadRequest with default headers values

func (*PcloudPvminstancesSnapshotsPostBadRequest) Code

Code gets the status code for the pcloud pvminstances snapshots post bad request response

func (*PcloudPvminstancesSnapshotsPostBadRequest) Error

func (*PcloudPvminstancesSnapshotsPostBadRequest) GetPayload

func (*PcloudPvminstancesSnapshotsPostBadRequest) IsClientError

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

func (*PcloudPvminstancesSnapshotsPostBadRequest) IsCode

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

func (*PcloudPvminstancesSnapshotsPostBadRequest) IsRedirect

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

func (*PcloudPvminstancesSnapshotsPostBadRequest) IsServerError

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

func (*PcloudPvminstancesSnapshotsPostBadRequest) IsSuccess

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

func (*PcloudPvminstancesSnapshotsPostBadRequest) String

type PcloudPvminstancesSnapshotsPostConflict

type PcloudPvminstancesSnapshotsPostConflict struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsPostConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudPvminstancesSnapshotsPostConflict

func NewPcloudPvminstancesSnapshotsPostConflict() *PcloudPvminstancesSnapshotsPostConflict

NewPcloudPvminstancesSnapshotsPostConflict creates a PcloudPvminstancesSnapshotsPostConflict with default headers values

func (*PcloudPvminstancesSnapshotsPostConflict) Code

Code gets the status code for the pcloud pvminstances snapshots post conflict response

func (*PcloudPvminstancesSnapshotsPostConflict) Error

func (*PcloudPvminstancesSnapshotsPostConflict) GetPayload

func (*PcloudPvminstancesSnapshotsPostConflict) IsClientError

func (o *PcloudPvminstancesSnapshotsPostConflict) IsClientError() bool

IsClientError returns true when this pcloud pvminstances snapshots post conflict response has a 4xx status code

func (*PcloudPvminstancesSnapshotsPostConflict) IsCode

IsCode returns true when this pcloud pvminstances snapshots post conflict response a status code equal to that given

func (*PcloudPvminstancesSnapshotsPostConflict) IsRedirect

IsRedirect returns true when this pcloud pvminstances snapshots post conflict response has a 3xx status code

func (*PcloudPvminstancesSnapshotsPostConflict) IsServerError

func (o *PcloudPvminstancesSnapshotsPostConflict) IsServerError() bool

IsServerError returns true when this pcloud pvminstances snapshots post conflict response has a 5xx status code

func (*PcloudPvminstancesSnapshotsPostConflict) IsSuccess

IsSuccess returns true when this pcloud pvminstances snapshots post conflict response has a 2xx status code

func (*PcloudPvminstancesSnapshotsPostConflict) String

type PcloudPvminstancesSnapshotsPostForbidden

type PcloudPvminstancesSnapshotsPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesSnapshotsPostForbidden

func NewPcloudPvminstancesSnapshotsPostForbidden() *PcloudPvminstancesSnapshotsPostForbidden

NewPcloudPvminstancesSnapshotsPostForbidden creates a PcloudPvminstancesSnapshotsPostForbidden with default headers values

func (*PcloudPvminstancesSnapshotsPostForbidden) Code

Code gets the status code for the pcloud pvminstances snapshots post forbidden response

func (*PcloudPvminstancesSnapshotsPostForbidden) Error

func (*PcloudPvminstancesSnapshotsPostForbidden) GetPayload

func (*PcloudPvminstancesSnapshotsPostForbidden) IsClientError

IsClientError returns true when this pcloud pvminstances snapshots post forbidden response has a 4xx status code

func (*PcloudPvminstancesSnapshotsPostForbidden) IsCode

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

func (*PcloudPvminstancesSnapshotsPostForbidden) IsRedirect

IsRedirect returns true when this pcloud pvminstances snapshots post forbidden response has a 3xx status code

func (*PcloudPvminstancesSnapshotsPostForbidden) IsServerError

IsServerError returns true when this pcloud pvminstances snapshots post forbidden response has a 5xx status code

func (*PcloudPvminstancesSnapshotsPostForbidden) IsSuccess

IsSuccess returns true when this pcloud pvminstances snapshots post forbidden response has a 2xx status code

func (*PcloudPvminstancesSnapshotsPostForbidden) String

type PcloudPvminstancesSnapshotsPostGatewayTimeout

type PcloudPvminstancesSnapshotsPostGatewayTimeout struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsPostGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout

func NewPcloudPvminstancesSnapshotsPostGatewayTimeout

func NewPcloudPvminstancesSnapshotsPostGatewayTimeout() *PcloudPvminstancesSnapshotsPostGatewayTimeout

NewPcloudPvminstancesSnapshotsPostGatewayTimeout creates a PcloudPvminstancesSnapshotsPostGatewayTimeout with default headers values

func (*PcloudPvminstancesSnapshotsPostGatewayTimeout) Code

Code gets the status code for the pcloud pvminstances snapshots post gateway timeout response

func (*PcloudPvminstancesSnapshotsPostGatewayTimeout) Error

func (*PcloudPvminstancesSnapshotsPostGatewayTimeout) GetPayload

func (*PcloudPvminstancesSnapshotsPostGatewayTimeout) IsClientError

IsClientError returns true when this pcloud pvminstances snapshots post gateway timeout response has a 4xx status code

func (*PcloudPvminstancesSnapshotsPostGatewayTimeout) IsCode

IsCode returns true when this pcloud pvminstances snapshots post gateway timeout response a status code equal to that given

func (*PcloudPvminstancesSnapshotsPostGatewayTimeout) IsRedirect

IsRedirect returns true when this pcloud pvminstances snapshots post gateway timeout response has a 3xx status code

func (*PcloudPvminstancesSnapshotsPostGatewayTimeout) IsServerError

IsServerError returns true when this pcloud pvminstances snapshots post gateway timeout response has a 5xx status code

func (*PcloudPvminstancesSnapshotsPostGatewayTimeout) IsSuccess

IsSuccess returns true when this pcloud pvminstances snapshots post gateway timeout response has a 2xx status code

func (*PcloudPvminstancesSnapshotsPostGatewayTimeout) String

type PcloudPvminstancesSnapshotsPostInternalServerError

type PcloudPvminstancesSnapshotsPostInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPvminstancesSnapshotsPostInternalServerError

func NewPcloudPvminstancesSnapshotsPostInternalServerError() *PcloudPvminstancesSnapshotsPostInternalServerError

NewPcloudPvminstancesSnapshotsPostInternalServerError creates a PcloudPvminstancesSnapshotsPostInternalServerError with default headers values

func (*PcloudPvminstancesSnapshotsPostInternalServerError) Code

Code gets the status code for the pcloud pvminstances snapshots post internal server error response

func (*PcloudPvminstancesSnapshotsPostInternalServerError) Error

func (*PcloudPvminstancesSnapshotsPostInternalServerError) GetPayload

func (*PcloudPvminstancesSnapshotsPostInternalServerError) IsClientError

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

func (*PcloudPvminstancesSnapshotsPostInternalServerError) IsCode

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

func (*PcloudPvminstancesSnapshotsPostInternalServerError) IsRedirect

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

func (*PcloudPvminstancesSnapshotsPostInternalServerError) IsServerError

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

func (*PcloudPvminstancesSnapshotsPostInternalServerError) IsSuccess

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

func (*PcloudPvminstancesSnapshotsPostInternalServerError) String

type PcloudPvminstancesSnapshotsPostNotFound

type PcloudPvminstancesSnapshotsPostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesSnapshotsPostNotFound

func NewPcloudPvminstancesSnapshotsPostNotFound() *PcloudPvminstancesSnapshotsPostNotFound

NewPcloudPvminstancesSnapshotsPostNotFound creates a PcloudPvminstancesSnapshotsPostNotFound with default headers values

func (*PcloudPvminstancesSnapshotsPostNotFound) Code

Code gets the status code for the pcloud pvminstances snapshots post not found response

func (*PcloudPvminstancesSnapshotsPostNotFound) Error

func (*PcloudPvminstancesSnapshotsPostNotFound) GetPayload

func (*PcloudPvminstancesSnapshotsPostNotFound) IsClientError

func (o *PcloudPvminstancesSnapshotsPostNotFound) IsClientError() bool

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

func (*PcloudPvminstancesSnapshotsPostNotFound) IsCode

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

func (*PcloudPvminstancesSnapshotsPostNotFound) IsRedirect

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

func (*PcloudPvminstancesSnapshotsPostNotFound) IsServerError

func (o *PcloudPvminstancesSnapshotsPostNotFound) IsServerError() bool

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

func (*PcloudPvminstancesSnapshotsPostNotFound) IsSuccess

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

func (*PcloudPvminstancesSnapshotsPostNotFound) String

type PcloudPvminstancesSnapshotsPostParams

type PcloudPvminstancesSnapshotsPostParams struct {

	/* Body.

	   PVM Instance snapshot create parameters
	*/
	Body *models.SnapshotCreate

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPvminstancesSnapshotsPostParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances snapshots post operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesSnapshotsPostParams

func NewPcloudPvminstancesSnapshotsPostParams() *PcloudPvminstancesSnapshotsPostParams

NewPcloudPvminstancesSnapshotsPostParams creates a new PcloudPvminstancesSnapshotsPostParams 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 NewPcloudPvminstancesSnapshotsPostParamsWithContext

func NewPcloudPvminstancesSnapshotsPostParamsWithContext(ctx context.Context) *PcloudPvminstancesSnapshotsPostParams

NewPcloudPvminstancesSnapshotsPostParamsWithContext creates a new PcloudPvminstancesSnapshotsPostParams object with the ability to set a context for a request.

func NewPcloudPvminstancesSnapshotsPostParamsWithHTTPClient

func NewPcloudPvminstancesSnapshotsPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesSnapshotsPostParams

NewPcloudPvminstancesSnapshotsPostParamsWithHTTPClient creates a new PcloudPvminstancesSnapshotsPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesSnapshotsPostParamsWithTimeout

func NewPcloudPvminstancesSnapshotsPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesSnapshotsPostParams

NewPcloudPvminstancesSnapshotsPostParamsWithTimeout creates a new PcloudPvminstancesSnapshotsPostParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesSnapshotsPostParams) SetBody

SetBody adds the body to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) SetCloudInstanceID

func (o *PcloudPvminstancesSnapshotsPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) SetContext

SetContext adds the context to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) SetDefaults

func (o *PcloudPvminstancesSnapshotsPostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud pvminstances snapshots post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesSnapshotsPostParams) SetHTTPClient

func (o *PcloudPvminstancesSnapshotsPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) SetPvmInstanceID

func (o *PcloudPvminstancesSnapshotsPostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) SetTimeout

func (o *PcloudPvminstancesSnapshotsPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) WithBody

WithBody adds the body to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) WithContext

WithContext adds the context to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances snapshots post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesSnapshotsPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesSnapshotsPostReader

type PcloudPvminstancesSnapshotsPostReader struct {
	// contains filtered or unexported fields
}

PcloudPvminstancesSnapshotsPostReader is a Reader for the PcloudPvminstancesSnapshotsPost structure.

func (*PcloudPvminstancesSnapshotsPostReader) ReadResponse

func (o *PcloudPvminstancesSnapshotsPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPvminstancesSnapshotsPostUnauthorized

type PcloudPvminstancesSnapshotsPostUnauthorized struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsPostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPvminstancesSnapshotsPostUnauthorized

func NewPcloudPvminstancesSnapshotsPostUnauthorized() *PcloudPvminstancesSnapshotsPostUnauthorized

NewPcloudPvminstancesSnapshotsPostUnauthorized creates a PcloudPvminstancesSnapshotsPostUnauthorized with default headers values

func (*PcloudPvminstancesSnapshotsPostUnauthorized) Code

Code gets the status code for the pcloud pvminstances snapshots post unauthorized response

func (*PcloudPvminstancesSnapshotsPostUnauthorized) Error

func (*PcloudPvminstancesSnapshotsPostUnauthorized) GetPayload

func (*PcloudPvminstancesSnapshotsPostUnauthorized) IsClientError

IsClientError returns true when this pcloud pvminstances snapshots post unauthorized response has a 4xx status code

func (*PcloudPvminstancesSnapshotsPostUnauthorized) IsCode

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

func (*PcloudPvminstancesSnapshotsPostUnauthorized) IsRedirect

IsRedirect returns true when this pcloud pvminstances snapshots post unauthorized response has a 3xx status code

func (*PcloudPvminstancesSnapshotsPostUnauthorized) IsServerError

IsServerError returns true when this pcloud pvminstances snapshots post unauthorized response has a 5xx status code

func (*PcloudPvminstancesSnapshotsPostUnauthorized) IsSuccess

IsSuccess returns true when this pcloud pvminstances snapshots post unauthorized response has a 2xx status code

func (*PcloudPvminstancesSnapshotsPostUnauthorized) String

type PcloudPvminstancesSnapshotsRestorePostAccepted

type PcloudPvminstancesSnapshotsRestorePostAccepted struct {
	Payload *models.Snapshot
}

PcloudPvminstancesSnapshotsRestorePostAccepted describes a response with status code 202, with default header values.

Accepted

func NewPcloudPvminstancesSnapshotsRestorePostAccepted

func NewPcloudPvminstancesSnapshotsRestorePostAccepted() *PcloudPvminstancesSnapshotsRestorePostAccepted

NewPcloudPvminstancesSnapshotsRestorePostAccepted creates a PcloudPvminstancesSnapshotsRestorePostAccepted with default headers values

func (*PcloudPvminstancesSnapshotsRestorePostAccepted) Code

Code gets the status code for the pcloud pvminstances snapshots restore post accepted response

func (*PcloudPvminstancesSnapshotsRestorePostAccepted) Error

func (*PcloudPvminstancesSnapshotsRestorePostAccepted) GetPayload

func (*PcloudPvminstancesSnapshotsRestorePostAccepted) IsClientError

IsClientError returns true when this pcloud pvminstances snapshots restore post accepted response has a 4xx status code

func (*PcloudPvminstancesSnapshotsRestorePostAccepted) IsCode

IsCode returns true when this pcloud pvminstances snapshots restore post accepted response a status code equal to that given

func (*PcloudPvminstancesSnapshotsRestorePostAccepted) IsRedirect

IsRedirect returns true when this pcloud pvminstances snapshots restore post accepted response has a 3xx status code

func (*PcloudPvminstancesSnapshotsRestorePostAccepted) IsServerError

IsServerError returns true when this pcloud pvminstances snapshots restore post accepted response has a 5xx status code

func (*PcloudPvminstancesSnapshotsRestorePostAccepted) IsSuccess

IsSuccess returns true when this pcloud pvminstances snapshots restore post accepted response has a 2xx status code

func (*PcloudPvminstancesSnapshotsRestorePostAccepted) String

type PcloudPvminstancesSnapshotsRestorePostBadRequest

type PcloudPvminstancesSnapshotsRestorePostBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsRestorePostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudPvminstancesSnapshotsRestorePostBadRequest

func NewPcloudPvminstancesSnapshotsRestorePostBadRequest() *PcloudPvminstancesSnapshotsRestorePostBadRequest

NewPcloudPvminstancesSnapshotsRestorePostBadRequest creates a PcloudPvminstancesSnapshotsRestorePostBadRequest with default headers values

func (*PcloudPvminstancesSnapshotsRestorePostBadRequest) Code

Code gets the status code for the pcloud pvminstances snapshots restore post bad request response

func (*PcloudPvminstancesSnapshotsRestorePostBadRequest) Error

func (*PcloudPvminstancesSnapshotsRestorePostBadRequest) GetPayload

func (*PcloudPvminstancesSnapshotsRestorePostBadRequest) IsClientError

IsClientError returns true when this pcloud pvminstances snapshots restore post bad request response has a 4xx status code

func (*PcloudPvminstancesSnapshotsRestorePostBadRequest) IsCode

IsCode returns true when this pcloud pvminstances snapshots restore post bad request response a status code equal to that given

func (*PcloudPvminstancesSnapshotsRestorePostBadRequest) IsRedirect

IsRedirect returns true when this pcloud pvminstances snapshots restore post bad request response has a 3xx status code

func (*PcloudPvminstancesSnapshotsRestorePostBadRequest) IsServerError

IsServerError returns true when this pcloud pvminstances snapshots restore post bad request response has a 5xx status code

func (*PcloudPvminstancesSnapshotsRestorePostBadRequest) IsSuccess

IsSuccess returns true when this pcloud pvminstances snapshots restore post bad request response has a 2xx status code

func (*PcloudPvminstancesSnapshotsRestorePostBadRequest) String

type PcloudPvminstancesSnapshotsRestorePostConflict

type PcloudPvminstancesSnapshotsRestorePostConflict struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsRestorePostConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudPvminstancesSnapshotsRestorePostConflict

func NewPcloudPvminstancesSnapshotsRestorePostConflict() *PcloudPvminstancesSnapshotsRestorePostConflict

NewPcloudPvminstancesSnapshotsRestorePostConflict creates a PcloudPvminstancesSnapshotsRestorePostConflict with default headers values

func (*PcloudPvminstancesSnapshotsRestorePostConflict) Code

Code gets the status code for the pcloud pvminstances snapshots restore post conflict response

func (*PcloudPvminstancesSnapshotsRestorePostConflict) Error

func (*PcloudPvminstancesSnapshotsRestorePostConflict) GetPayload

func (*PcloudPvminstancesSnapshotsRestorePostConflict) IsClientError

IsClientError returns true when this pcloud pvminstances snapshots restore post conflict response has a 4xx status code

func (*PcloudPvminstancesSnapshotsRestorePostConflict) IsCode

IsCode returns true when this pcloud pvminstances snapshots restore post conflict response a status code equal to that given

func (*PcloudPvminstancesSnapshotsRestorePostConflict) IsRedirect

IsRedirect returns true when this pcloud pvminstances snapshots restore post conflict response has a 3xx status code

func (*PcloudPvminstancesSnapshotsRestorePostConflict) IsServerError

IsServerError returns true when this pcloud pvminstances snapshots restore post conflict response has a 5xx status code

func (*PcloudPvminstancesSnapshotsRestorePostConflict) IsSuccess

IsSuccess returns true when this pcloud pvminstances snapshots restore post conflict response has a 2xx status code

func (*PcloudPvminstancesSnapshotsRestorePostConflict) String

type PcloudPvminstancesSnapshotsRestorePostForbidden

type PcloudPvminstancesSnapshotsRestorePostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesSnapshotsRestorePostForbidden

func NewPcloudPvminstancesSnapshotsRestorePostForbidden() *PcloudPvminstancesSnapshotsRestorePostForbidden

NewPcloudPvminstancesSnapshotsRestorePostForbidden creates a PcloudPvminstancesSnapshotsRestorePostForbidden with default headers values

func (*PcloudPvminstancesSnapshotsRestorePostForbidden) Code

Code gets the status code for the pcloud pvminstances snapshots restore post forbidden response

func (*PcloudPvminstancesSnapshotsRestorePostForbidden) Error

func (*PcloudPvminstancesSnapshotsRestorePostForbidden) GetPayload

func (*PcloudPvminstancesSnapshotsRestorePostForbidden) IsClientError

IsClientError returns true when this pcloud pvminstances snapshots restore post forbidden response has a 4xx status code

func (*PcloudPvminstancesSnapshotsRestorePostForbidden) IsCode

IsCode returns true when this pcloud pvminstances snapshots restore post forbidden response a status code equal to that given

func (*PcloudPvminstancesSnapshotsRestorePostForbidden) IsRedirect

IsRedirect returns true when this pcloud pvminstances snapshots restore post forbidden response has a 3xx status code

func (*PcloudPvminstancesSnapshotsRestorePostForbidden) IsServerError

IsServerError returns true when this pcloud pvminstances snapshots restore post forbidden response has a 5xx status code

func (*PcloudPvminstancesSnapshotsRestorePostForbidden) IsSuccess

IsSuccess returns true when this pcloud pvminstances snapshots restore post forbidden response has a 2xx status code

func (*PcloudPvminstancesSnapshotsRestorePostForbidden) String

type PcloudPvminstancesSnapshotsRestorePostInternalServerError

type PcloudPvminstancesSnapshotsRestorePostInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsRestorePostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPvminstancesSnapshotsRestorePostInternalServerError

func NewPcloudPvminstancesSnapshotsRestorePostInternalServerError() *PcloudPvminstancesSnapshotsRestorePostInternalServerError

NewPcloudPvminstancesSnapshotsRestorePostInternalServerError creates a PcloudPvminstancesSnapshotsRestorePostInternalServerError with default headers values

func (*PcloudPvminstancesSnapshotsRestorePostInternalServerError) Code

Code gets the status code for the pcloud pvminstances snapshots restore post internal server error response

func (*PcloudPvminstancesSnapshotsRestorePostInternalServerError) Error

func (*PcloudPvminstancesSnapshotsRestorePostInternalServerError) GetPayload

func (*PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsClientError

IsClientError returns true when this pcloud pvminstances snapshots restore post internal server error response has a 4xx status code

func (*PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsCode

IsCode returns true when this pcloud pvminstances snapshots restore post internal server error response a status code equal to that given

func (*PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsRedirect

IsRedirect returns true when this pcloud pvminstances snapshots restore post internal server error response has a 3xx status code

func (*PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsServerError

IsServerError returns true when this pcloud pvminstances snapshots restore post internal server error response has a 5xx status code

func (*PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsSuccess

IsSuccess returns true when this pcloud pvminstances snapshots restore post internal server error response has a 2xx status code

func (*PcloudPvminstancesSnapshotsRestorePostInternalServerError) String

type PcloudPvminstancesSnapshotsRestorePostNotFound

type PcloudPvminstancesSnapshotsRestorePostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesSnapshotsRestorePostNotFound

func NewPcloudPvminstancesSnapshotsRestorePostNotFound() *PcloudPvminstancesSnapshotsRestorePostNotFound

NewPcloudPvminstancesSnapshotsRestorePostNotFound creates a PcloudPvminstancesSnapshotsRestorePostNotFound with default headers values

func (*PcloudPvminstancesSnapshotsRestorePostNotFound) Code

Code gets the status code for the pcloud pvminstances snapshots restore post not found response

func (*PcloudPvminstancesSnapshotsRestorePostNotFound) Error

func (*PcloudPvminstancesSnapshotsRestorePostNotFound) GetPayload

func (*PcloudPvminstancesSnapshotsRestorePostNotFound) IsClientError

IsClientError returns true when this pcloud pvminstances snapshots restore post not found response has a 4xx status code

func (*PcloudPvminstancesSnapshotsRestorePostNotFound) IsCode

IsCode returns true when this pcloud pvminstances snapshots restore post not found response a status code equal to that given

func (*PcloudPvminstancesSnapshotsRestorePostNotFound) IsRedirect

IsRedirect returns true when this pcloud pvminstances snapshots restore post not found response has a 3xx status code

func (*PcloudPvminstancesSnapshotsRestorePostNotFound) IsServerError

IsServerError returns true when this pcloud pvminstances snapshots restore post not found response has a 5xx status code

func (*PcloudPvminstancesSnapshotsRestorePostNotFound) IsSuccess

IsSuccess returns true when this pcloud pvminstances snapshots restore post not found response has a 2xx status code

func (*PcloudPvminstancesSnapshotsRestorePostNotFound) String

type PcloudPvminstancesSnapshotsRestorePostParams

type PcloudPvminstancesSnapshotsRestorePostParams struct {

	/* Body.

	   PVM Instance snapshot restore parameters
	*/
	Body *models.SnapshotRestore

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	/* RestoreFailAction.

	   Action to take on a failed snapshot restore
	*/
	RestoreFailAction *string

	/* SnapshotID.

	   PVM Instance snapshot id
	*/
	SnapshotID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPvminstancesSnapshotsRestorePostParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances snapshots restore post operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesSnapshotsRestorePostParams

func NewPcloudPvminstancesSnapshotsRestorePostParams() *PcloudPvminstancesSnapshotsRestorePostParams

NewPcloudPvminstancesSnapshotsRestorePostParams creates a new PcloudPvminstancesSnapshotsRestorePostParams 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 NewPcloudPvminstancesSnapshotsRestorePostParamsWithContext

func NewPcloudPvminstancesSnapshotsRestorePostParamsWithContext(ctx context.Context) *PcloudPvminstancesSnapshotsRestorePostParams

NewPcloudPvminstancesSnapshotsRestorePostParamsWithContext creates a new PcloudPvminstancesSnapshotsRestorePostParams object with the ability to set a context for a request.

func NewPcloudPvminstancesSnapshotsRestorePostParamsWithHTTPClient

func NewPcloudPvminstancesSnapshotsRestorePostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesSnapshotsRestorePostParams

NewPcloudPvminstancesSnapshotsRestorePostParamsWithHTTPClient creates a new PcloudPvminstancesSnapshotsRestorePostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesSnapshotsRestorePostParamsWithTimeout

func NewPcloudPvminstancesSnapshotsRestorePostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesSnapshotsRestorePostParams

NewPcloudPvminstancesSnapshotsRestorePostParamsWithTimeout creates a new PcloudPvminstancesSnapshotsRestorePostParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesSnapshotsRestorePostParams) SetBody

SetBody adds the body to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) SetCloudInstanceID

func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) SetContext

SetContext adds the context to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) SetDefaults

SetDefaults hydrates default values in the pcloud pvminstances snapshots restore post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesSnapshotsRestorePostParams) SetHTTPClient

func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) SetPvmInstanceID

func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) SetRestoreFailAction

func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetRestoreFailAction(restoreFailAction *string)

SetRestoreFailAction adds the restoreFailAction to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) SetSnapshotID

func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetSnapshotID(snapshotID string)

SetSnapshotID adds the snapshotId to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) SetTimeout

SetTimeout adds the timeout to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) WithBody

WithBody adds the body to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) WithContext

WithContext adds the context to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) WithDefaults

WithDefaults hydrates default values in the pcloud pvminstances snapshots restore post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPvminstancesSnapshotsRestorePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) WithRestoreFailAction

WithRestoreFailAction adds the restoreFailAction to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) WithSnapshotID

WithSnapshotID adds the snapshotID to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesSnapshotsRestorePostReader

type PcloudPvminstancesSnapshotsRestorePostReader struct {
	// contains filtered or unexported fields
}

PcloudPvminstancesSnapshotsRestorePostReader is a Reader for the PcloudPvminstancesSnapshotsRestorePost structure.

func (*PcloudPvminstancesSnapshotsRestorePostReader) ReadResponse

func (o *PcloudPvminstancesSnapshotsRestorePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPvminstancesSnapshotsRestorePostUnauthorized

type PcloudPvminstancesSnapshotsRestorePostUnauthorized struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsRestorePostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPvminstancesSnapshotsRestorePostUnauthorized

func NewPcloudPvminstancesSnapshotsRestorePostUnauthorized() *PcloudPvminstancesSnapshotsRestorePostUnauthorized

NewPcloudPvminstancesSnapshotsRestorePostUnauthorized creates a PcloudPvminstancesSnapshotsRestorePostUnauthorized with default headers values

func (*PcloudPvminstancesSnapshotsRestorePostUnauthorized) Code

Code gets the status code for the pcloud pvminstances snapshots restore post unauthorized response

func (*PcloudPvminstancesSnapshotsRestorePostUnauthorized) Error

func (*PcloudPvminstancesSnapshotsRestorePostUnauthorized) GetPayload

func (*PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsClientError

IsClientError returns true when this pcloud pvminstances snapshots restore post unauthorized response has a 4xx status code

func (*PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsCode

IsCode returns true when this pcloud pvminstances snapshots restore post unauthorized response a status code equal to that given

func (*PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsRedirect

IsRedirect returns true when this pcloud pvminstances snapshots restore post unauthorized response has a 3xx status code

func (*PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsServerError

IsServerError returns true when this pcloud pvminstances snapshots restore post unauthorized response has a 5xx status code

func (*PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsSuccess

IsSuccess returns true when this pcloud pvminstances snapshots restore post unauthorized response has a 2xx status code

func (*PcloudPvminstancesSnapshotsRestorePostUnauthorized) String

type PcloudV2PvminstancesCaptureGetInternalServerError

type PcloudV2PvminstancesCaptureGetInternalServerError struct {
	Payload *models.Error
}

PcloudV2PvminstancesCaptureGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudV2PvminstancesCaptureGetInternalServerError

func NewPcloudV2PvminstancesCaptureGetInternalServerError() *PcloudV2PvminstancesCaptureGetInternalServerError

NewPcloudV2PvminstancesCaptureGetInternalServerError creates a PcloudV2PvminstancesCaptureGetInternalServerError with default headers values

func (*PcloudV2PvminstancesCaptureGetInternalServerError) Code

Code gets the status code for the pcloud v2 pvminstances capture get internal server error response

func (*PcloudV2PvminstancesCaptureGetInternalServerError) Error

func (*PcloudV2PvminstancesCaptureGetInternalServerError) GetPayload

func (*PcloudV2PvminstancesCaptureGetInternalServerError) IsClientError

IsClientError returns true when this pcloud v2 pvminstances capture get internal server error response has a 4xx status code

func (*PcloudV2PvminstancesCaptureGetInternalServerError) IsCode

IsCode returns true when this pcloud v2 pvminstances capture get internal server error response a status code equal to that given

func (*PcloudV2PvminstancesCaptureGetInternalServerError) IsRedirect

IsRedirect returns true when this pcloud v2 pvminstances capture get internal server error response has a 3xx status code

func (*PcloudV2PvminstancesCaptureGetInternalServerError) IsServerError

IsServerError returns true when this pcloud v2 pvminstances capture get internal server error response has a 5xx status code

func (*PcloudV2PvminstancesCaptureGetInternalServerError) IsSuccess

IsSuccess returns true when this pcloud v2 pvminstances capture get internal server error response has a 2xx status code

func (*PcloudV2PvminstancesCaptureGetInternalServerError) String

type PcloudV2PvminstancesCaptureGetNotFound

type PcloudV2PvminstancesCaptureGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudV2PvminstancesCaptureGetNotFound

func NewPcloudV2PvminstancesCaptureGetNotFound() *PcloudV2PvminstancesCaptureGetNotFound

NewPcloudV2PvminstancesCaptureGetNotFound creates a PcloudV2PvminstancesCaptureGetNotFound with default headers values

func (*PcloudV2PvminstancesCaptureGetNotFound) Code

Code gets the status code for the pcloud v2 pvminstances capture get not found response

func (*PcloudV2PvminstancesCaptureGetNotFound) Error

func (*PcloudV2PvminstancesCaptureGetNotFound) GetPayload

func (*PcloudV2PvminstancesCaptureGetNotFound) IsClientError

func (o *PcloudV2PvminstancesCaptureGetNotFound) IsClientError() bool

IsClientError returns true when this pcloud v2 pvminstances capture get not found response has a 4xx status code

func (*PcloudV2PvminstancesCaptureGetNotFound) IsCode

IsCode returns true when this pcloud v2 pvminstances capture get not found response a status code equal to that given

func (*PcloudV2PvminstancesCaptureGetNotFound) IsRedirect

IsRedirect returns true when this pcloud v2 pvminstances capture get not found response has a 3xx status code

func (*PcloudV2PvminstancesCaptureGetNotFound) IsServerError

func (o *PcloudV2PvminstancesCaptureGetNotFound) IsServerError() bool

IsServerError returns true when this pcloud v2 pvminstances capture get not found response has a 5xx status code

func (*PcloudV2PvminstancesCaptureGetNotFound) IsSuccess

IsSuccess returns true when this pcloud v2 pvminstances capture get not found response has a 2xx status code

func (*PcloudV2PvminstancesCaptureGetNotFound) String

type PcloudV2PvminstancesCaptureGetOK

type PcloudV2PvminstancesCaptureGetOK struct {
	Payload *models.Job
}

PcloudV2PvminstancesCaptureGetOK describes a response with status code 200, with default header values.

OK

func NewPcloudV2PvminstancesCaptureGetOK

func NewPcloudV2PvminstancesCaptureGetOK() *PcloudV2PvminstancesCaptureGetOK

NewPcloudV2PvminstancesCaptureGetOK creates a PcloudV2PvminstancesCaptureGetOK with default headers values

func (*PcloudV2PvminstancesCaptureGetOK) Code

Code gets the status code for the pcloud v2 pvminstances capture get o k response

func (*PcloudV2PvminstancesCaptureGetOK) Error

func (*PcloudV2PvminstancesCaptureGetOK) GetPayload

func (o *PcloudV2PvminstancesCaptureGetOK) GetPayload() *models.Job

func (*PcloudV2PvminstancesCaptureGetOK) IsClientError

func (o *PcloudV2PvminstancesCaptureGetOK) IsClientError() bool

IsClientError returns true when this pcloud v2 pvminstances capture get o k response has a 4xx status code

func (*PcloudV2PvminstancesCaptureGetOK) IsCode

func (o *PcloudV2PvminstancesCaptureGetOK) IsCode(code int) bool

IsCode returns true when this pcloud v2 pvminstances capture get o k response a status code equal to that given

func (*PcloudV2PvminstancesCaptureGetOK) IsRedirect

func (o *PcloudV2PvminstancesCaptureGetOK) IsRedirect() bool

IsRedirect returns true when this pcloud v2 pvminstances capture get o k response has a 3xx status code

func (*PcloudV2PvminstancesCaptureGetOK) IsServerError

func (o *PcloudV2PvminstancesCaptureGetOK) IsServerError() bool

IsServerError returns true when this pcloud v2 pvminstances capture get o k response has a 5xx status code

func (*PcloudV2PvminstancesCaptureGetOK) IsSuccess

func (o *PcloudV2PvminstancesCaptureGetOK) IsSuccess() bool

IsSuccess returns true when this pcloud v2 pvminstances capture get o k response has a 2xx status code

func (*PcloudV2PvminstancesCaptureGetOK) String

type PcloudV2PvminstancesCaptureGetParams

type PcloudV2PvminstancesCaptureGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudV2PvminstancesCaptureGetParams contains all the parameters to send to the API endpoint

for the pcloud v2 pvminstances capture get operation.

Typically these are written to a http.Request.

func NewPcloudV2PvminstancesCaptureGetParams

func NewPcloudV2PvminstancesCaptureGetParams() *PcloudV2PvminstancesCaptureGetParams

NewPcloudV2PvminstancesCaptureGetParams creates a new PcloudV2PvminstancesCaptureGetParams 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 NewPcloudV2PvminstancesCaptureGetParamsWithContext

func NewPcloudV2PvminstancesCaptureGetParamsWithContext(ctx context.Context) *PcloudV2PvminstancesCaptureGetParams

NewPcloudV2PvminstancesCaptureGetParamsWithContext creates a new PcloudV2PvminstancesCaptureGetParams object with the ability to set a context for a request.

func NewPcloudV2PvminstancesCaptureGetParamsWithHTTPClient

func NewPcloudV2PvminstancesCaptureGetParamsWithHTTPClient(client *http.Client) *PcloudV2PvminstancesCaptureGetParams

NewPcloudV2PvminstancesCaptureGetParamsWithHTTPClient creates a new PcloudV2PvminstancesCaptureGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudV2PvminstancesCaptureGetParamsWithTimeout

func NewPcloudV2PvminstancesCaptureGetParamsWithTimeout(timeout time.Duration) *PcloudV2PvminstancesCaptureGetParams

NewPcloudV2PvminstancesCaptureGetParamsWithTimeout creates a new PcloudV2PvminstancesCaptureGetParams object with the ability to set a timeout on a request.

func (*PcloudV2PvminstancesCaptureGetParams) SetCloudInstanceID

func (o *PcloudV2PvminstancesCaptureGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 pvminstances capture get params

func (*PcloudV2PvminstancesCaptureGetParams) SetContext

SetContext adds the context to the pcloud v2 pvminstances capture get params

func (*PcloudV2PvminstancesCaptureGetParams) SetDefaults

func (o *PcloudV2PvminstancesCaptureGetParams) SetDefaults()

SetDefaults hydrates default values in the pcloud v2 pvminstances capture get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2PvminstancesCaptureGetParams) SetHTTPClient

func (o *PcloudV2PvminstancesCaptureGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 pvminstances capture get params

func (*PcloudV2PvminstancesCaptureGetParams) SetPvmInstanceID

func (o *PcloudV2PvminstancesCaptureGetParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud v2 pvminstances capture get params

func (*PcloudV2PvminstancesCaptureGetParams) SetTimeout

func (o *PcloudV2PvminstancesCaptureGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 pvminstances capture get params

func (*PcloudV2PvminstancesCaptureGetParams) WithCloudInstanceID

func (o *PcloudV2PvminstancesCaptureGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2PvminstancesCaptureGetParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 pvminstances capture get params

func (*PcloudV2PvminstancesCaptureGetParams) WithContext

WithContext adds the context to the pcloud v2 pvminstances capture get params

func (*PcloudV2PvminstancesCaptureGetParams) WithDefaults

WithDefaults hydrates default values in the pcloud v2 pvminstances capture get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2PvminstancesCaptureGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 pvminstances capture get params

func (*PcloudV2PvminstancesCaptureGetParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud v2 pvminstances capture get params

func (*PcloudV2PvminstancesCaptureGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 pvminstances capture get params

func (*PcloudV2PvminstancesCaptureGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2PvminstancesCaptureGetReader

type PcloudV2PvminstancesCaptureGetReader struct {
	// contains filtered or unexported fields
}

PcloudV2PvminstancesCaptureGetReader is a Reader for the PcloudV2PvminstancesCaptureGet structure.

func (*PcloudV2PvminstancesCaptureGetReader) ReadResponse

func (o *PcloudV2PvminstancesCaptureGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2PvminstancesCaptureGetUnauthorized

type PcloudV2PvminstancesCaptureGetUnauthorized struct {
	Payload *models.Error
}

PcloudV2PvminstancesCaptureGetUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudV2PvminstancesCaptureGetUnauthorized

func NewPcloudV2PvminstancesCaptureGetUnauthorized() *PcloudV2PvminstancesCaptureGetUnauthorized

NewPcloudV2PvminstancesCaptureGetUnauthorized creates a PcloudV2PvminstancesCaptureGetUnauthorized with default headers values

func (*PcloudV2PvminstancesCaptureGetUnauthorized) Code

Code gets the status code for the pcloud v2 pvminstances capture get unauthorized response

func (*PcloudV2PvminstancesCaptureGetUnauthorized) Error

func (*PcloudV2PvminstancesCaptureGetUnauthorized) GetPayload

func (*PcloudV2PvminstancesCaptureGetUnauthorized) IsClientError

IsClientError returns true when this pcloud v2 pvminstances capture get unauthorized response has a 4xx status code

func (*PcloudV2PvminstancesCaptureGetUnauthorized) IsCode

IsCode returns true when this pcloud v2 pvminstances capture get unauthorized response a status code equal to that given

func (*PcloudV2PvminstancesCaptureGetUnauthorized) IsRedirect

IsRedirect returns true when this pcloud v2 pvminstances capture get unauthorized response has a 3xx status code

func (*PcloudV2PvminstancesCaptureGetUnauthorized) IsServerError

IsServerError returns true when this pcloud v2 pvminstances capture get unauthorized response has a 5xx status code

func (*PcloudV2PvminstancesCaptureGetUnauthorized) IsSuccess

IsSuccess returns true when this pcloud v2 pvminstances capture get unauthorized response has a 2xx status code

func (*PcloudV2PvminstancesCaptureGetUnauthorized) String

type PcloudV2PvminstancesCapturePostAccepted

type PcloudV2PvminstancesCapturePostAccepted struct {
	Payload *models.JobReference
}

PcloudV2PvminstancesCapturePostAccepted describes a response with status code 202, with default header values.

Accepted, pvm-instance capture successfully added to the jobs queue

func NewPcloudV2PvminstancesCapturePostAccepted

func NewPcloudV2PvminstancesCapturePostAccepted() *PcloudV2PvminstancesCapturePostAccepted

NewPcloudV2PvminstancesCapturePostAccepted creates a PcloudV2PvminstancesCapturePostAccepted with default headers values

func (*PcloudV2PvminstancesCapturePostAccepted) Code

Code gets the status code for the pcloud v2 pvminstances capture post accepted response

func (*PcloudV2PvminstancesCapturePostAccepted) Error

func (*PcloudV2PvminstancesCapturePostAccepted) GetPayload

func (*PcloudV2PvminstancesCapturePostAccepted) IsClientError

func (o *PcloudV2PvminstancesCapturePostAccepted) IsClientError() bool

IsClientError returns true when this pcloud v2 pvminstances capture post accepted response has a 4xx status code

func (*PcloudV2PvminstancesCapturePostAccepted) IsCode

IsCode returns true when this pcloud v2 pvminstances capture post accepted response a status code equal to that given

func (*PcloudV2PvminstancesCapturePostAccepted) IsRedirect

IsRedirect returns true when this pcloud v2 pvminstances capture post accepted response has a 3xx status code

func (*PcloudV2PvminstancesCapturePostAccepted) IsServerError

func (o *PcloudV2PvminstancesCapturePostAccepted) IsServerError() bool

IsServerError returns true when this pcloud v2 pvminstances capture post accepted response has a 5xx status code

func (*PcloudV2PvminstancesCapturePostAccepted) IsSuccess

IsSuccess returns true when this pcloud v2 pvminstances capture post accepted response has a 2xx status code

func (*PcloudV2PvminstancesCapturePostAccepted) String

type PcloudV2PvminstancesCapturePostBadRequest

type PcloudV2PvminstancesCapturePostBadRequest struct {
	Payload *models.Error
}

PcloudV2PvminstancesCapturePostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudV2PvminstancesCapturePostBadRequest

func NewPcloudV2PvminstancesCapturePostBadRequest() *PcloudV2PvminstancesCapturePostBadRequest

NewPcloudV2PvminstancesCapturePostBadRequest creates a PcloudV2PvminstancesCapturePostBadRequest with default headers values

func (*PcloudV2PvminstancesCapturePostBadRequest) Code

Code gets the status code for the pcloud v2 pvminstances capture post bad request response

func (*PcloudV2PvminstancesCapturePostBadRequest) Error

func (*PcloudV2PvminstancesCapturePostBadRequest) GetPayload

func (*PcloudV2PvminstancesCapturePostBadRequest) IsClientError

IsClientError returns true when this pcloud v2 pvminstances capture post bad request response has a 4xx status code

func (*PcloudV2PvminstancesCapturePostBadRequest) IsCode

IsCode returns true when this pcloud v2 pvminstances capture post bad request response a status code equal to that given

func (*PcloudV2PvminstancesCapturePostBadRequest) IsRedirect

IsRedirect returns true when this pcloud v2 pvminstances capture post bad request response has a 3xx status code

func (*PcloudV2PvminstancesCapturePostBadRequest) IsServerError

IsServerError returns true when this pcloud v2 pvminstances capture post bad request response has a 5xx status code

func (*PcloudV2PvminstancesCapturePostBadRequest) IsSuccess

IsSuccess returns true when this pcloud v2 pvminstances capture post bad request response has a 2xx status code

func (*PcloudV2PvminstancesCapturePostBadRequest) String

type PcloudV2PvminstancesCapturePostConflict

type PcloudV2PvminstancesCapturePostConflict struct {
	Payload *models.Error
}

PcloudV2PvminstancesCapturePostConflict describes a response with status code 409, with default header values.

Conflict, a conflict has prevented adding the pvm-instance capture job

func NewPcloudV2PvminstancesCapturePostConflict

func NewPcloudV2PvminstancesCapturePostConflict() *PcloudV2PvminstancesCapturePostConflict

NewPcloudV2PvminstancesCapturePostConflict creates a PcloudV2PvminstancesCapturePostConflict with default headers values

func (*PcloudV2PvminstancesCapturePostConflict) Code

Code gets the status code for the pcloud v2 pvminstances capture post conflict response

func (*PcloudV2PvminstancesCapturePostConflict) Error

func (*PcloudV2PvminstancesCapturePostConflict) GetPayload

func (*PcloudV2PvminstancesCapturePostConflict) IsClientError

func (o *PcloudV2PvminstancesCapturePostConflict) IsClientError() bool

IsClientError returns true when this pcloud v2 pvminstances capture post conflict response has a 4xx status code

func (*PcloudV2PvminstancesCapturePostConflict) IsCode

IsCode returns true when this pcloud v2 pvminstances capture post conflict response a status code equal to that given

func (*PcloudV2PvminstancesCapturePostConflict) IsRedirect

IsRedirect returns true when this pcloud v2 pvminstances capture post conflict response has a 3xx status code

func (*PcloudV2PvminstancesCapturePostConflict) IsServerError

func (o *PcloudV2PvminstancesCapturePostConflict) IsServerError() bool

IsServerError returns true when this pcloud v2 pvminstances capture post conflict response has a 5xx status code

func (*PcloudV2PvminstancesCapturePostConflict) IsSuccess

IsSuccess returns true when this pcloud v2 pvminstances capture post conflict response has a 2xx status code

func (*PcloudV2PvminstancesCapturePostConflict) String

type PcloudV2PvminstancesCapturePostInternalServerError

type PcloudV2PvminstancesCapturePostInternalServerError struct {
	Payload *models.Error
}

PcloudV2PvminstancesCapturePostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudV2PvminstancesCapturePostInternalServerError

func NewPcloudV2PvminstancesCapturePostInternalServerError() *PcloudV2PvminstancesCapturePostInternalServerError

NewPcloudV2PvminstancesCapturePostInternalServerError creates a PcloudV2PvminstancesCapturePostInternalServerError with default headers values

func (*PcloudV2PvminstancesCapturePostInternalServerError) Code

Code gets the status code for the pcloud v2 pvminstances capture post internal server error response

func (*PcloudV2PvminstancesCapturePostInternalServerError) Error

func (*PcloudV2PvminstancesCapturePostInternalServerError) GetPayload

func (*PcloudV2PvminstancesCapturePostInternalServerError) IsClientError

IsClientError returns true when this pcloud v2 pvminstances capture post internal server error response has a 4xx status code

func (*PcloudV2PvminstancesCapturePostInternalServerError) IsCode

IsCode returns true when this pcloud v2 pvminstances capture post internal server error response a status code equal to that given

func (*PcloudV2PvminstancesCapturePostInternalServerError) IsRedirect

IsRedirect returns true when this pcloud v2 pvminstances capture post internal server error response has a 3xx status code

func (*PcloudV2PvminstancesCapturePostInternalServerError) IsServerError

IsServerError returns true when this pcloud v2 pvminstances capture post internal server error response has a 5xx status code

func (*PcloudV2PvminstancesCapturePostInternalServerError) IsSuccess

IsSuccess returns true when this pcloud v2 pvminstances capture post internal server error response has a 2xx status code

func (*PcloudV2PvminstancesCapturePostInternalServerError) String

type PcloudV2PvminstancesCapturePostNotFound

type PcloudV2PvminstancesCapturePostNotFound struct {
	Payload *models.Error
}

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

pvm instance id not found

func NewPcloudV2PvminstancesCapturePostNotFound

func NewPcloudV2PvminstancesCapturePostNotFound() *PcloudV2PvminstancesCapturePostNotFound

NewPcloudV2PvminstancesCapturePostNotFound creates a PcloudV2PvminstancesCapturePostNotFound with default headers values

func (*PcloudV2PvminstancesCapturePostNotFound) Code

Code gets the status code for the pcloud v2 pvminstances capture post not found response

func (*PcloudV2PvminstancesCapturePostNotFound) Error

func (*PcloudV2PvminstancesCapturePostNotFound) GetPayload

func (*PcloudV2PvminstancesCapturePostNotFound) IsClientError

func (o *PcloudV2PvminstancesCapturePostNotFound) IsClientError() bool

IsClientError returns true when this pcloud v2 pvminstances capture post not found response has a 4xx status code

func (*PcloudV2PvminstancesCapturePostNotFound) IsCode

IsCode returns true when this pcloud v2 pvminstances capture post not found response a status code equal to that given

func (*PcloudV2PvminstancesCapturePostNotFound) IsRedirect

IsRedirect returns true when this pcloud v2 pvminstances capture post not found response has a 3xx status code

func (*PcloudV2PvminstancesCapturePostNotFound) IsServerError

func (o *PcloudV2PvminstancesCapturePostNotFound) IsServerError() bool

IsServerError returns true when this pcloud v2 pvminstances capture post not found response has a 5xx status code

func (*PcloudV2PvminstancesCapturePostNotFound) IsSuccess

IsSuccess returns true when this pcloud v2 pvminstances capture post not found response has a 2xx status code

func (*PcloudV2PvminstancesCapturePostNotFound) String

type PcloudV2PvminstancesCapturePostParams

type PcloudV2PvminstancesCapturePostParams struct {

	/* Body.

	   Parameters for the capture
	*/
	Body *models.PVMInstanceCapture

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudV2PvminstancesCapturePostParams contains all the parameters to send to the API endpoint

for the pcloud v2 pvminstances capture post operation.

Typically these are written to a http.Request.

func NewPcloudV2PvminstancesCapturePostParams

func NewPcloudV2PvminstancesCapturePostParams() *PcloudV2PvminstancesCapturePostParams

NewPcloudV2PvminstancesCapturePostParams creates a new PcloudV2PvminstancesCapturePostParams 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 NewPcloudV2PvminstancesCapturePostParamsWithContext

func NewPcloudV2PvminstancesCapturePostParamsWithContext(ctx context.Context) *PcloudV2PvminstancesCapturePostParams

NewPcloudV2PvminstancesCapturePostParamsWithContext creates a new PcloudV2PvminstancesCapturePostParams object with the ability to set a context for a request.

func NewPcloudV2PvminstancesCapturePostParamsWithHTTPClient

func NewPcloudV2PvminstancesCapturePostParamsWithHTTPClient(client *http.Client) *PcloudV2PvminstancesCapturePostParams

NewPcloudV2PvminstancesCapturePostParamsWithHTTPClient creates a new PcloudV2PvminstancesCapturePostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudV2PvminstancesCapturePostParamsWithTimeout

func NewPcloudV2PvminstancesCapturePostParamsWithTimeout(timeout time.Duration) *PcloudV2PvminstancesCapturePostParams

NewPcloudV2PvminstancesCapturePostParamsWithTimeout creates a new PcloudV2PvminstancesCapturePostParams object with the ability to set a timeout on a request.

func (*PcloudV2PvminstancesCapturePostParams) SetBody

SetBody adds the body to the pcloud v2 pvminstances capture post params

func (*PcloudV2PvminstancesCapturePostParams) SetCloudInstanceID

func (o *PcloudV2PvminstancesCapturePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 pvminstances capture post params

func (*PcloudV2PvminstancesCapturePostParams) SetContext

SetContext adds the context to the pcloud v2 pvminstances capture post params

func (*PcloudV2PvminstancesCapturePostParams) SetDefaults

func (o *PcloudV2PvminstancesCapturePostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud v2 pvminstances capture post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2PvminstancesCapturePostParams) SetHTTPClient

func (o *PcloudV2PvminstancesCapturePostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 pvminstances capture post params

func (*PcloudV2PvminstancesCapturePostParams) SetPvmInstanceID

func (o *PcloudV2PvminstancesCapturePostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud v2 pvminstances capture post params

func (*PcloudV2PvminstancesCapturePostParams) SetTimeout

func (o *PcloudV2PvminstancesCapturePostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 pvminstances capture post params

func (*PcloudV2PvminstancesCapturePostParams) WithBody

WithBody adds the body to the pcloud v2 pvminstances capture post params

func (*PcloudV2PvminstancesCapturePostParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 pvminstances capture post params

func (*PcloudV2PvminstancesCapturePostParams) WithContext

WithContext adds the context to the pcloud v2 pvminstances capture post params

func (*PcloudV2PvminstancesCapturePostParams) WithDefaults

WithDefaults hydrates default values in the pcloud v2 pvminstances capture post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2PvminstancesCapturePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 pvminstances capture post params

func (*PcloudV2PvminstancesCapturePostParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud v2 pvminstances capture post params

func (*PcloudV2PvminstancesCapturePostParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 pvminstances capture post params

func (*PcloudV2PvminstancesCapturePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2PvminstancesCapturePostReader

type PcloudV2PvminstancesCapturePostReader struct {
	// contains filtered or unexported fields
}

PcloudV2PvminstancesCapturePostReader is a Reader for the PcloudV2PvminstancesCapturePost structure.

func (*PcloudV2PvminstancesCapturePostReader) ReadResponse

func (o *PcloudV2PvminstancesCapturePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2PvminstancesCapturePostUnauthorized

type PcloudV2PvminstancesCapturePostUnauthorized struct {
	Payload *models.Error
}

PcloudV2PvminstancesCapturePostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudV2PvminstancesCapturePostUnauthorized

func NewPcloudV2PvminstancesCapturePostUnauthorized() *PcloudV2PvminstancesCapturePostUnauthorized

NewPcloudV2PvminstancesCapturePostUnauthorized creates a PcloudV2PvminstancesCapturePostUnauthorized with default headers values

func (*PcloudV2PvminstancesCapturePostUnauthorized) Code

Code gets the status code for the pcloud v2 pvminstances capture post unauthorized response

func (*PcloudV2PvminstancesCapturePostUnauthorized) Error

func (*PcloudV2PvminstancesCapturePostUnauthorized) GetPayload

func (*PcloudV2PvminstancesCapturePostUnauthorized) IsClientError

IsClientError returns true when this pcloud v2 pvminstances capture post unauthorized response has a 4xx status code

func (*PcloudV2PvminstancesCapturePostUnauthorized) IsCode

IsCode returns true when this pcloud v2 pvminstances capture post unauthorized response a status code equal to that given

func (*PcloudV2PvminstancesCapturePostUnauthorized) IsRedirect

IsRedirect returns true when this pcloud v2 pvminstances capture post unauthorized response has a 3xx status code

func (*PcloudV2PvminstancesCapturePostUnauthorized) IsServerError

IsServerError returns true when this pcloud v2 pvminstances capture post unauthorized response has a 5xx status code

func (*PcloudV2PvminstancesCapturePostUnauthorized) IsSuccess

IsSuccess returns true when this pcloud v2 pvminstances capture post unauthorized response has a 2xx status code

func (*PcloudV2PvminstancesCapturePostUnauthorized) String

type PcloudV2PvminstancesCapturePostUnprocessableEntity

type PcloudV2PvminstancesCapturePostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudV2PvminstancesCapturePostUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewPcloudV2PvminstancesCapturePostUnprocessableEntity

func NewPcloudV2PvminstancesCapturePostUnprocessableEntity() *PcloudV2PvminstancesCapturePostUnprocessableEntity

NewPcloudV2PvminstancesCapturePostUnprocessableEntity creates a PcloudV2PvminstancesCapturePostUnprocessableEntity with default headers values

func (*PcloudV2PvminstancesCapturePostUnprocessableEntity) Code

Code gets the status code for the pcloud v2 pvminstances capture post unprocessable entity response

func (*PcloudV2PvminstancesCapturePostUnprocessableEntity) Error

func (*PcloudV2PvminstancesCapturePostUnprocessableEntity) GetPayload

func (*PcloudV2PvminstancesCapturePostUnprocessableEntity) IsClientError

IsClientError returns true when this pcloud v2 pvminstances capture post unprocessable entity response has a 4xx status code

func (*PcloudV2PvminstancesCapturePostUnprocessableEntity) IsCode

IsCode returns true when this pcloud v2 pvminstances capture post unprocessable entity response a status code equal to that given

func (*PcloudV2PvminstancesCapturePostUnprocessableEntity) IsRedirect

IsRedirect returns true when this pcloud v2 pvminstances capture post unprocessable entity response has a 3xx status code

func (*PcloudV2PvminstancesCapturePostUnprocessableEntity) IsServerError

IsServerError returns true when this pcloud v2 pvminstances capture post unprocessable entity response has a 5xx status code

func (*PcloudV2PvminstancesCapturePostUnprocessableEntity) IsSuccess

IsSuccess returns true when this pcloud v2 pvminstances capture post unprocessable entity response has a 2xx status code

func (*PcloudV2PvminstancesCapturePostUnprocessableEntity) String

type PcloudV2PvminstancesGetallBadRequest

type PcloudV2PvminstancesGetallBadRequest struct {
	Payload *models.Error
}

PcloudV2PvminstancesGetallBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudV2PvminstancesGetallBadRequest

func NewPcloudV2PvminstancesGetallBadRequest() *PcloudV2PvminstancesGetallBadRequest

NewPcloudV2PvminstancesGetallBadRequest creates a PcloudV2PvminstancesGetallBadRequest with default headers values

func (*PcloudV2PvminstancesGetallBadRequest) Code

Code gets the status code for the pcloud v2 pvminstances getall bad request response

func (*PcloudV2PvminstancesGetallBadRequest) Error

func (*PcloudV2PvminstancesGetallBadRequest) GetPayload

func (*PcloudV2PvminstancesGetallBadRequest) IsClientError

func (o *PcloudV2PvminstancesGetallBadRequest) IsClientError() bool

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

func (*PcloudV2PvminstancesGetallBadRequest) IsCode

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

func (*PcloudV2PvminstancesGetallBadRequest) IsRedirect

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

func (*PcloudV2PvminstancesGetallBadRequest) IsServerError

func (o *PcloudV2PvminstancesGetallBadRequest) IsServerError() bool

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

func (*PcloudV2PvminstancesGetallBadRequest) IsSuccess

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

func (*PcloudV2PvminstancesGetallBadRequest) String

type PcloudV2PvminstancesGetallForbidden

type PcloudV2PvminstancesGetallForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudV2PvminstancesGetallForbidden

func NewPcloudV2PvminstancesGetallForbidden() *PcloudV2PvminstancesGetallForbidden

NewPcloudV2PvminstancesGetallForbidden creates a PcloudV2PvminstancesGetallForbidden with default headers values

func (*PcloudV2PvminstancesGetallForbidden) Code

Code gets the status code for the pcloud v2 pvminstances getall forbidden response

func (*PcloudV2PvminstancesGetallForbidden) Error

func (*PcloudV2PvminstancesGetallForbidden) GetPayload

func (*PcloudV2PvminstancesGetallForbidden) IsClientError

func (o *PcloudV2PvminstancesGetallForbidden) IsClientError() bool

IsClientError returns true when this pcloud v2 pvminstances getall forbidden response has a 4xx status code

func (*PcloudV2PvminstancesGetallForbidden) IsCode

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

func (*PcloudV2PvminstancesGetallForbidden) IsRedirect

func (o *PcloudV2PvminstancesGetallForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud v2 pvminstances getall forbidden response has a 3xx status code

func (*PcloudV2PvminstancesGetallForbidden) IsServerError

func (o *PcloudV2PvminstancesGetallForbidden) IsServerError() bool

IsServerError returns true when this pcloud v2 pvminstances getall forbidden response has a 5xx status code

func (*PcloudV2PvminstancesGetallForbidden) IsSuccess

IsSuccess returns true when this pcloud v2 pvminstances getall forbidden response has a 2xx status code

func (*PcloudV2PvminstancesGetallForbidden) String

type PcloudV2PvminstancesGetallInternalServerError

type PcloudV2PvminstancesGetallInternalServerError struct {
	Payload *models.Error
}

PcloudV2PvminstancesGetallInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudV2PvminstancesGetallInternalServerError

func NewPcloudV2PvminstancesGetallInternalServerError() *PcloudV2PvminstancesGetallInternalServerError

NewPcloudV2PvminstancesGetallInternalServerError creates a PcloudV2PvminstancesGetallInternalServerError with default headers values

func (*PcloudV2PvminstancesGetallInternalServerError) Code

Code gets the status code for the pcloud v2 pvminstances getall internal server error response

func (*PcloudV2PvminstancesGetallInternalServerError) Error

func (*PcloudV2PvminstancesGetallInternalServerError) GetPayload

func (*PcloudV2PvminstancesGetallInternalServerError) IsClientError

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

func (*PcloudV2PvminstancesGetallInternalServerError) IsCode

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

func (*PcloudV2PvminstancesGetallInternalServerError) IsRedirect

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

func (*PcloudV2PvminstancesGetallInternalServerError) IsServerError

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

func (*PcloudV2PvminstancesGetallInternalServerError) IsSuccess

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

func (*PcloudV2PvminstancesGetallInternalServerError) String

type PcloudV2PvminstancesGetallOK

type PcloudV2PvminstancesGetallOK struct {
	Payload *models.PVMInstancesV2
}

PcloudV2PvminstancesGetallOK describes a response with status code 200, with default header values.

OK

func NewPcloudV2PvminstancesGetallOK

func NewPcloudV2PvminstancesGetallOK() *PcloudV2PvminstancesGetallOK

NewPcloudV2PvminstancesGetallOK creates a PcloudV2PvminstancesGetallOK with default headers values

func (*PcloudV2PvminstancesGetallOK) Code

Code gets the status code for the pcloud v2 pvminstances getall o k response

func (*PcloudV2PvminstancesGetallOK) Error

func (*PcloudV2PvminstancesGetallOK) GetPayload

func (*PcloudV2PvminstancesGetallOK) IsClientError

func (o *PcloudV2PvminstancesGetallOK) IsClientError() bool

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

func (*PcloudV2PvminstancesGetallOK) IsCode

func (o *PcloudV2PvminstancesGetallOK) IsCode(code int) bool

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

func (*PcloudV2PvminstancesGetallOK) IsRedirect

func (o *PcloudV2PvminstancesGetallOK) IsRedirect() bool

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

func (*PcloudV2PvminstancesGetallOK) IsServerError

func (o *PcloudV2PvminstancesGetallOK) IsServerError() bool

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

func (*PcloudV2PvminstancesGetallOK) IsSuccess

func (o *PcloudV2PvminstancesGetallOK) IsSuccess() bool

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

func (*PcloudV2PvminstancesGetallOK) String

type PcloudV2PvminstancesGetallParams

type PcloudV2PvminstancesGetallParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudV2PvminstancesGetallParams contains all the parameters to send to the API endpoint

for the pcloud v2 pvminstances getall operation.

Typically these are written to a http.Request.

func NewPcloudV2PvminstancesGetallParams

func NewPcloudV2PvminstancesGetallParams() *PcloudV2PvminstancesGetallParams

NewPcloudV2PvminstancesGetallParams creates a new PcloudV2PvminstancesGetallParams 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 NewPcloudV2PvminstancesGetallParamsWithContext

func NewPcloudV2PvminstancesGetallParamsWithContext(ctx context.Context) *PcloudV2PvminstancesGetallParams

NewPcloudV2PvminstancesGetallParamsWithContext creates a new PcloudV2PvminstancesGetallParams object with the ability to set a context for a request.

func NewPcloudV2PvminstancesGetallParamsWithHTTPClient

func NewPcloudV2PvminstancesGetallParamsWithHTTPClient(client *http.Client) *PcloudV2PvminstancesGetallParams

NewPcloudV2PvminstancesGetallParamsWithHTTPClient creates a new PcloudV2PvminstancesGetallParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudV2PvminstancesGetallParamsWithTimeout

func NewPcloudV2PvminstancesGetallParamsWithTimeout(timeout time.Duration) *PcloudV2PvminstancesGetallParams

NewPcloudV2PvminstancesGetallParamsWithTimeout creates a new PcloudV2PvminstancesGetallParams object with the ability to set a timeout on a request.

func (*PcloudV2PvminstancesGetallParams) SetCloudInstanceID

func (o *PcloudV2PvminstancesGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 pvminstances getall params

func (*PcloudV2PvminstancesGetallParams) SetContext

SetContext adds the context to the pcloud v2 pvminstances getall params

func (*PcloudV2PvminstancesGetallParams) SetDefaults

func (o *PcloudV2PvminstancesGetallParams) SetDefaults()

SetDefaults hydrates default values in the pcloud v2 pvminstances getall params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2PvminstancesGetallParams) SetHTTPClient

func (o *PcloudV2PvminstancesGetallParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 pvminstances getall params

func (*PcloudV2PvminstancesGetallParams) SetTimeout

func (o *PcloudV2PvminstancesGetallParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 pvminstances getall params

func (*PcloudV2PvminstancesGetallParams) WithCloudInstanceID

func (o *PcloudV2PvminstancesGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2PvminstancesGetallParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 pvminstances getall params

func (*PcloudV2PvminstancesGetallParams) WithContext

WithContext adds the context to the pcloud v2 pvminstances getall params

func (*PcloudV2PvminstancesGetallParams) WithDefaults

WithDefaults hydrates default values in the pcloud v2 pvminstances getall params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2PvminstancesGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 pvminstances getall params

func (*PcloudV2PvminstancesGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 pvminstances getall params

func (*PcloudV2PvminstancesGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2PvminstancesGetallReader

type PcloudV2PvminstancesGetallReader struct {
	// contains filtered or unexported fields
}

PcloudV2PvminstancesGetallReader is a Reader for the PcloudV2PvminstancesGetall structure.

func (*PcloudV2PvminstancesGetallReader) ReadResponse

func (o *PcloudV2PvminstancesGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2PvminstancesGetallRequestTimeout

type PcloudV2PvminstancesGetallRequestTimeout struct {
	Payload *models.Error
}

PcloudV2PvminstancesGetallRequestTimeout describes a response with status code 408, with default header values.

Request Timeout

func NewPcloudV2PvminstancesGetallRequestTimeout

func NewPcloudV2PvminstancesGetallRequestTimeout() *PcloudV2PvminstancesGetallRequestTimeout

NewPcloudV2PvminstancesGetallRequestTimeout creates a PcloudV2PvminstancesGetallRequestTimeout with default headers values

func (*PcloudV2PvminstancesGetallRequestTimeout) Code

Code gets the status code for the pcloud v2 pvminstances getall request timeout response

func (*PcloudV2PvminstancesGetallRequestTimeout) Error

func (*PcloudV2PvminstancesGetallRequestTimeout) GetPayload

func (*PcloudV2PvminstancesGetallRequestTimeout) IsClientError

IsClientError returns true when this pcloud v2 pvminstances getall request timeout response has a 4xx status code

func (*PcloudV2PvminstancesGetallRequestTimeout) IsCode

IsCode returns true when this pcloud v2 pvminstances getall request timeout response a status code equal to that given

func (*PcloudV2PvminstancesGetallRequestTimeout) IsRedirect

IsRedirect returns true when this pcloud v2 pvminstances getall request timeout response has a 3xx status code

func (*PcloudV2PvminstancesGetallRequestTimeout) IsServerError

IsServerError returns true when this pcloud v2 pvminstances getall request timeout response has a 5xx status code

func (*PcloudV2PvminstancesGetallRequestTimeout) IsSuccess

IsSuccess returns true when this pcloud v2 pvminstances getall request timeout response has a 2xx status code

func (*PcloudV2PvminstancesGetallRequestTimeout) String

type PcloudV2PvminstancesGetallUnauthorized

type PcloudV2PvminstancesGetallUnauthorized struct {
	Payload *models.Error
}

PcloudV2PvminstancesGetallUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudV2PvminstancesGetallUnauthorized

func NewPcloudV2PvminstancesGetallUnauthorized() *PcloudV2PvminstancesGetallUnauthorized

NewPcloudV2PvminstancesGetallUnauthorized creates a PcloudV2PvminstancesGetallUnauthorized with default headers values

func (*PcloudV2PvminstancesGetallUnauthorized) Code

Code gets the status code for the pcloud v2 pvminstances getall unauthorized response

func (*PcloudV2PvminstancesGetallUnauthorized) Error

func (*PcloudV2PvminstancesGetallUnauthorized) GetPayload

func (*PcloudV2PvminstancesGetallUnauthorized) IsClientError

func (o *PcloudV2PvminstancesGetallUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud v2 pvminstances getall unauthorized response has a 4xx status code

func (*PcloudV2PvminstancesGetallUnauthorized) IsCode

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

func (*PcloudV2PvminstancesGetallUnauthorized) IsRedirect

IsRedirect returns true when this pcloud v2 pvminstances getall unauthorized response has a 3xx status code

func (*PcloudV2PvminstancesGetallUnauthorized) IsServerError

func (o *PcloudV2PvminstancesGetallUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud v2 pvminstances getall unauthorized response has a 5xx status code

func (*PcloudV2PvminstancesGetallUnauthorized) IsSuccess

IsSuccess returns true when this pcloud v2 pvminstances getall unauthorized response has a 2xx status code

func (*PcloudV2PvminstancesGetallUnauthorized) String

Source Files

Jump to

Keyboard shortcuts

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