p_cloud_volumes

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 volumes API

func (*Client) PcloudCloudinstancesVolumesActionPost

PcloudCloudinstancesVolumesActionPost performs an action on a volume

func (*Client) PcloudCloudinstancesVolumesDelete

func (a *Client) PcloudCloudinstancesVolumesDelete(params *PcloudCloudinstancesVolumesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesDeleteOK, error)

PcloudCloudinstancesVolumesDelete deletes a cloud instance volume

func (*Client) PcloudCloudinstancesVolumesFlashCopyMappingsGet

PcloudCloudinstancesVolumesFlashCopyMappingsGet gets a list of flashcopy mappings of a given volume

func (*Client) PcloudCloudinstancesVolumesGet

func (a *Client) PcloudCloudinstancesVolumesGet(params *PcloudCloudinstancesVolumesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesGetOK, error)

PcloudCloudinstancesVolumesGet detaileds info of a volume

func (*Client) PcloudCloudinstancesVolumesGetall

func (a *Client) PcloudCloudinstancesVolumesGetall(params *PcloudCloudinstancesVolumesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesGetallOK, error)

PcloudCloudinstancesVolumesGetall lists all volumes for this cloud instance

func (*Client) PcloudCloudinstancesVolumesPost

PcloudCloudinstancesVolumesPost creates a new data volume

func (*Client) PcloudCloudinstancesVolumesPut

func (a *Client) PcloudCloudinstancesVolumesPut(params *PcloudCloudinstancesVolumesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesPutOK, error)

PcloudCloudinstancesVolumesPut updates a cloud instance volume

func (*Client) PcloudCloudinstancesVolumesRemoteCopyRelationshipGet

PcloudCloudinstancesVolumesRemoteCopyRelationshipGet gets remote copy relationship of a volume

func (*Client) PcloudPvminstancesVolumesDelete

PcloudPvminstancesVolumesDelete detaches a volume from a p VM instance

func (*Client) PcloudPvminstancesVolumesGet

func (a *Client) PcloudPvminstancesVolumesGet(params *PcloudPvminstancesVolumesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesGetOK, error)

PcloudPvminstancesVolumesGet detaileds info of a volume attached to a p VM instance

func (*Client) PcloudPvminstancesVolumesGetall

func (a *Client) PcloudPvminstancesVolumesGetall(params *PcloudPvminstancesVolumesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesGetallOK, error)

PcloudPvminstancesVolumesGetall lists all volumes attached to a p VM instance

func (*Client) PcloudPvminstancesVolumesPost

func (a *Client) PcloudPvminstancesVolumesPost(params *PcloudPvminstancesVolumesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesPostOK, error)

PcloudPvminstancesVolumesPost attaches a volume to a p VM instance

func (*Client) PcloudPvminstancesVolumesPut

func (a *Client) PcloudPvminstancesVolumesPut(params *PcloudPvminstancesVolumesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesPutOK, error)

PcloudPvminstancesVolumesPut updates a volume attached to a p VM instance

func (*Client) PcloudPvminstancesVolumesSetbootPut

func (a *Client) PcloudPvminstancesVolumesSetbootPut(params *PcloudPvminstancesVolumesSetbootPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesSetbootPutOK, error)

PcloudPvminstancesVolumesSetbootPut sets the p VM instance volume as the boot volume

func (*Client) PcloudV2PvminstancesVolumesPost

PcloudV2PvminstancesVolumesPost attaches all volumes to a p VM instance

func (*Client) PcloudV2VolumesClonePost

func (a *Client) PcloudV2VolumesClonePost(params *PcloudV2VolumesClonePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumesClonePostAccepted, error)

PcloudV2VolumesClonePost creates a volume clone for specified volumes

func (*Client) PcloudV2VolumesClonetasksGet

func (a *Client) PcloudV2VolumesClonetasksGet(params *PcloudV2VolumesClonetasksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumesClonetasksGetOK, error)

PcloudV2VolumesClonetasksGet gets the status of a volumes clone request for the specified clone task ID

func (*Client) PcloudV2VolumesPost

func (a *Client) PcloudV2VolumesPost(params *PcloudV2VolumesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumesPostCreated, error)

PcloudV2VolumesPost creates multiple data volumes from a single definition

func (*Client) PcloudV2VolumescloneCancelPost

PcloudV2VolumescloneCancelPost cancels a volumes clone request initiates the cleanup action cleanup action performs the cleanup of the preparatory clones and snapshot volumes

func (*Client) PcloudV2VolumescloneDelete

func (a *Client) PcloudV2VolumescloneDelete(params *PcloudV2VolumescloneDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneDeleteOK, error)

PcloudV2VolumescloneDelete deletes a volumes clone request

func (*Client) PcloudV2VolumescloneExecutePost

PcloudV2VolumescloneExecutePost initiates the execute action for a volumes clone request execute action creates the cloned volumes using the volume snapshots

func (*Client) PcloudV2VolumescloneGet

func (a *Client) PcloudV2VolumescloneGet(params *PcloudV2VolumescloneGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneGetOK, error)

PcloudV2VolumescloneGet gets the details for a volumes clone request

func (*Client) PcloudV2VolumescloneGetall

func (a *Client) PcloudV2VolumescloneGetall(params *PcloudV2VolumescloneGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneGetallOK, error)

PcloudV2VolumescloneGetall gets the list of volumes clone request for a cloud instance

func (*Client) PcloudV2VolumesclonePost

func (a *Client) PcloudV2VolumesclonePost(params *PcloudV2VolumesclonePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumesclonePostAccepted, error)

PcloudV2VolumesclonePost creates a new volumes clone request and initiates the prepare action requires a minimum of two volumes requires a minimum of one volume to be in the in use state requires a unique volumes clone name prepare action does the preparatory work for creating the snapshot volumes

func (*Client) PcloudV2VolumescloneStartPost

func (a *Client) PcloudV2VolumescloneStartPost(params *PcloudV2VolumescloneStartPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneStartPostOK, error)

PcloudV2VolumescloneStartPost initiates the start action for a volumes clone request start action starts the consistency group to initiate the flash copy

func (*Client) PcloudVolumesClonePost

func (a *Client) PcloudVolumesClonePost(params *PcloudVolumesClonePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumesClonePostOK, error)
PcloudVolumesClonePost creates a volume clone for specified volumes

This API is deprecated, use v2 clone API to perform the volume clone.

>*Note*: Support for this API will be available till 31st March 2023.

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 {
	PcloudCloudinstancesVolumesFlashCopyMappingsGet(params *PcloudCloudinstancesVolumesFlashCopyMappingsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesFlashCopyMappingsGetOK, error)

	PcloudCloudinstancesVolumesActionPost(params *PcloudCloudinstancesVolumesActionPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesActionPostAccepted, error)

	PcloudCloudinstancesVolumesDelete(params *PcloudCloudinstancesVolumesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesDeleteOK, error)

	PcloudCloudinstancesVolumesGet(params *PcloudCloudinstancesVolumesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesGetOK, error)

	PcloudCloudinstancesVolumesGetall(params *PcloudCloudinstancesVolumesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesGetallOK, error)

	PcloudCloudinstancesVolumesPost(params *PcloudCloudinstancesVolumesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesPostAccepted, error)

	PcloudCloudinstancesVolumesPut(params *PcloudCloudinstancesVolumesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesPutOK, error)

	PcloudCloudinstancesVolumesRemoteCopyRelationshipGet(params *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK, error)

	PcloudPvminstancesVolumesDelete(params *PcloudPvminstancesVolumesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesDeleteAccepted, error)

	PcloudPvminstancesVolumesGet(params *PcloudPvminstancesVolumesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesGetOK, error)

	PcloudPvminstancesVolumesGetall(params *PcloudPvminstancesVolumesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesGetallOK, error)

	PcloudPvminstancesVolumesPost(params *PcloudPvminstancesVolumesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesPostOK, error)

	PcloudPvminstancesVolumesPut(params *PcloudPvminstancesVolumesPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesPutOK, error)

	PcloudPvminstancesVolumesSetbootPut(params *PcloudPvminstancesVolumesSetbootPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPvminstancesVolumesSetbootPutOK, error)

	PcloudV2PvminstancesVolumesPost(params *PcloudV2PvminstancesVolumesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2PvminstancesVolumesPostAccepted, error)

	PcloudV2VolumesClonePost(params *PcloudV2VolumesClonePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumesClonePostAccepted, error)

	PcloudV2VolumesClonetasksGet(params *PcloudV2VolumesClonetasksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumesClonetasksGetOK, error)

	PcloudV2VolumesPost(params *PcloudV2VolumesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumesPostCreated, error)

	PcloudV2VolumescloneCancelPost(params *PcloudV2VolumescloneCancelPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneCancelPostAccepted, error)

	PcloudV2VolumescloneDelete(params *PcloudV2VolumescloneDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneDeleteOK, error)

	PcloudV2VolumescloneExecutePost(params *PcloudV2VolumescloneExecutePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneExecutePostAccepted, error)

	PcloudV2VolumescloneGet(params *PcloudV2VolumescloneGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneGetOK, error)

	PcloudV2VolumescloneGetall(params *PcloudV2VolumescloneGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneGetallOK, error)

	PcloudV2VolumesclonePost(params *PcloudV2VolumesclonePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumesclonePostAccepted, error)

	PcloudV2VolumescloneStartPost(params *PcloudV2VolumescloneStartPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumescloneStartPostOK, error)

	PcloudVolumesClonePost(params *PcloudVolumesClonePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumesClonePostOK, 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 volumes API client.

type PcloudCloudinstancesVolumesActionPostAccepted

type PcloudCloudinstancesVolumesActionPostAccepted struct {
	Payload models.Object
}

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

Accepted

func NewPcloudCloudinstancesVolumesActionPostAccepted

func NewPcloudCloudinstancesVolumesActionPostAccepted() *PcloudCloudinstancesVolumesActionPostAccepted

NewPcloudCloudinstancesVolumesActionPostAccepted creates a PcloudCloudinstancesVolumesActionPostAccepted with default headers values

func (*PcloudCloudinstancesVolumesActionPostAccepted) Code

Code gets the status code for the pcloud cloudinstances volumes action post accepted response

func (*PcloudCloudinstancesVolumesActionPostAccepted) Error

func (*PcloudCloudinstancesVolumesActionPostAccepted) GetPayload

func (*PcloudCloudinstancesVolumesActionPostAccepted) IsClientError

IsClientError returns true when this pcloud cloudinstances volumes action post accepted response has a 4xx status code

func (*PcloudCloudinstancesVolumesActionPostAccepted) IsCode

IsCode returns true when this pcloud cloudinstances volumes action post accepted response a status code equal to that given

func (*PcloudCloudinstancesVolumesActionPostAccepted) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes action post accepted response has a 3xx status code

func (*PcloudCloudinstancesVolumesActionPostAccepted) IsServerError

IsServerError returns true when this pcloud cloudinstances volumes action post accepted response has a 5xx status code

func (*PcloudCloudinstancesVolumesActionPostAccepted) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes action post accepted response has a 2xx status code

func (*PcloudCloudinstancesVolumesActionPostAccepted) String

type PcloudCloudinstancesVolumesActionPostBadRequest

type PcloudCloudinstancesVolumesActionPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudCloudinstancesVolumesActionPostBadRequest

func NewPcloudCloudinstancesVolumesActionPostBadRequest() *PcloudCloudinstancesVolumesActionPostBadRequest

NewPcloudCloudinstancesVolumesActionPostBadRequest creates a PcloudCloudinstancesVolumesActionPostBadRequest with default headers values

func (*PcloudCloudinstancesVolumesActionPostBadRequest) Code

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

func (*PcloudCloudinstancesVolumesActionPostBadRequest) Error

func (*PcloudCloudinstancesVolumesActionPostBadRequest) GetPayload

func (*PcloudCloudinstancesVolumesActionPostBadRequest) IsClientError

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

func (*PcloudCloudinstancesVolumesActionPostBadRequest) IsCode

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

func (*PcloudCloudinstancesVolumesActionPostBadRequest) IsRedirect

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

func (*PcloudCloudinstancesVolumesActionPostBadRequest) IsServerError

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

func (*PcloudCloudinstancesVolumesActionPostBadRequest) IsSuccess

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

func (*PcloudCloudinstancesVolumesActionPostBadRequest) String

type PcloudCloudinstancesVolumesActionPostConflict

type PcloudCloudinstancesVolumesActionPostConflict struct {
	Payload *models.Error
}

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

Conflict

func NewPcloudCloudinstancesVolumesActionPostConflict

func NewPcloudCloudinstancesVolumesActionPostConflict() *PcloudCloudinstancesVolumesActionPostConflict

NewPcloudCloudinstancesVolumesActionPostConflict creates a PcloudCloudinstancesVolumesActionPostConflict with default headers values

func (*PcloudCloudinstancesVolumesActionPostConflict) Code

Code gets the status code for the pcloud cloudinstances volumes action post conflict response

func (*PcloudCloudinstancesVolumesActionPostConflict) Error

func (*PcloudCloudinstancesVolumesActionPostConflict) GetPayload

func (*PcloudCloudinstancesVolumesActionPostConflict) IsClientError

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

func (*PcloudCloudinstancesVolumesActionPostConflict) IsCode

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

func (*PcloudCloudinstancesVolumesActionPostConflict) IsRedirect

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

func (*PcloudCloudinstancesVolumesActionPostConflict) IsServerError

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

func (*PcloudCloudinstancesVolumesActionPostConflict) IsSuccess

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

func (*PcloudCloudinstancesVolumesActionPostConflict) String

type PcloudCloudinstancesVolumesActionPostForbidden

type PcloudCloudinstancesVolumesActionPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesVolumesActionPostForbidden

func NewPcloudCloudinstancesVolumesActionPostForbidden() *PcloudCloudinstancesVolumesActionPostForbidden

NewPcloudCloudinstancesVolumesActionPostForbidden creates a PcloudCloudinstancesVolumesActionPostForbidden with default headers values

func (*PcloudCloudinstancesVolumesActionPostForbidden) Code

Code gets the status code for the pcloud cloudinstances volumes action post forbidden response

func (*PcloudCloudinstancesVolumesActionPostForbidden) Error

func (*PcloudCloudinstancesVolumesActionPostForbidden) GetPayload

func (*PcloudCloudinstancesVolumesActionPostForbidden) IsClientError

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

func (*PcloudCloudinstancesVolumesActionPostForbidden) IsCode

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

func (*PcloudCloudinstancesVolumesActionPostForbidden) IsRedirect

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

func (*PcloudCloudinstancesVolumesActionPostForbidden) IsServerError

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

func (*PcloudCloudinstancesVolumesActionPostForbidden) IsSuccess

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

func (*PcloudCloudinstancesVolumesActionPostForbidden) String

type PcloudCloudinstancesVolumesActionPostInternalServerError

type PcloudCloudinstancesVolumesActionPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudCloudinstancesVolumesActionPostInternalServerError

func NewPcloudCloudinstancesVolumesActionPostInternalServerError() *PcloudCloudinstancesVolumesActionPostInternalServerError

NewPcloudCloudinstancesVolumesActionPostInternalServerError creates a PcloudCloudinstancesVolumesActionPostInternalServerError with default headers values

func (*PcloudCloudinstancesVolumesActionPostInternalServerError) Code

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

func (*PcloudCloudinstancesVolumesActionPostInternalServerError) Error

func (*PcloudCloudinstancesVolumesActionPostInternalServerError) GetPayload

func (*PcloudCloudinstancesVolumesActionPostInternalServerError) IsClientError

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

func (*PcloudCloudinstancesVolumesActionPostInternalServerError) IsCode

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

func (*PcloudCloudinstancesVolumesActionPostInternalServerError) IsRedirect

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

func (*PcloudCloudinstancesVolumesActionPostInternalServerError) IsServerError

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

func (*PcloudCloudinstancesVolumesActionPostInternalServerError) IsSuccess

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

func (*PcloudCloudinstancesVolumesActionPostInternalServerError) String

type PcloudCloudinstancesVolumesActionPostNotFound

type PcloudCloudinstancesVolumesActionPostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudCloudinstancesVolumesActionPostNotFound

func NewPcloudCloudinstancesVolumesActionPostNotFound() *PcloudCloudinstancesVolumesActionPostNotFound

NewPcloudCloudinstancesVolumesActionPostNotFound creates a PcloudCloudinstancesVolumesActionPostNotFound with default headers values

func (*PcloudCloudinstancesVolumesActionPostNotFound) Code

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

func (*PcloudCloudinstancesVolumesActionPostNotFound) Error

func (*PcloudCloudinstancesVolumesActionPostNotFound) GetPayload

func (*PcloudCloudinstancesVolumesActionPostNotFound) IsClientError

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

func (*PcloudCloudinstancesVolumesActionPostNotFound) IsCode

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

func (*PcloudCloudinstancesVolumesActionPostNotFound) IsRedirect

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

func (*PcloudCloudinstancesVolumesActionPostNotFound) IsServerError

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

func (*PcloudCloudinstancesVolumesActionPostNotFound) IsSuccess

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

func (*PcloudCloudinstancesVolumesActionPostNotFound) String

type PcloudCloudinstancesVolumesActionPostParams

type PcloudCloudinstancesVolumesActionPostParams struct {

	/* Body.

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

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* VolumeID.

	   Volume ID
	*/
	VolumeID string

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

PcloudCloudinstancesVolumesActionPostParams contains all the parameters to send to the API endpoint

for the pcloud cloudinstances volumes action post operation.

Typically these are written to a http.Request.

func NewPcloudCloudinstancesVolumesActionPostParams

func NewPcloudCloudinstancesVolumesActionPostParams() *PcloudCloudinstancesVolumesActionPostParams

NewPcloudCloudinstancesVolumesActionPostParams creates a new PcloudCloudinstancesVolumesActionPostParams 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 NewPcloudCloudinstancesVolumesActionPostParamsWithContext

func NewPcloudCloudinstancesVolumesActionPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesActionPostParams

NewPcloudCloudinstancesVolumesActionPostParamsWithContext creates a new PcloudCloudinstancesVolumesActionPostParams object with the ability to set a context for a request.

func NewPcloudCloudinstancesVolumesActionPostParamsWithHTTPClient

func NewPcloudCloudinstancesVolumesActionPostParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesActionPostParams

NewPcloudCloudinstancesVolumesActionPostParamsWithHTTPClient creates a new PcloudCloudinstancesVolumesActionPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudCloudinstancesVolumesActionPostParamsWithTimeout

func NewPcloudCloudinstancesVolumesActionPostParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesActionPostParams

NewPcloudCloudinstancesVolumesActionPostParamsWithTimeout creates a new PcloudCloudinstancesVolumesActionPostParams object with the ability to set a timeout on a request.

func (*PcloudCloudinstancesVolumesActionPostParams) SetBody

SetBody adds the body to the pcloud cloudinstances volumes action post params

func (*PcloudCloudinstancesVolumesActionPostParams) SetCloudInstanceID

func (o *PcloudCloudinstancesVolumesActionPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances volumes action post params

func (*PcloudCloudinstancesVolumesActionPostParams) SetContext

SetContext adds the context to the pcloud cloudinstances volumes action post params

func (*PcloudCloudinstancesVolumesActionPostParams) SetDefaults

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

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

func (*PcloudCloudinstancesVolumesActionPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes action post params

func (*PcloudCloudinstancesVolumesActionPostParams) SetTimeout

SetTimeout adds the timeout to the pcloud cloudinstances volumes action post params

func (*PcloudCloudinstancesVolumesActionPostParams) SetVolumeID

func (o *PcloudCloudinstancesVolumesActionPostParams) SetVolumeID(volumeID string)

SetVolumeID adds the volumeId to the pcloud cloudinstances volumes action post params

func (*PcloudCloudinstancesVolumesActionPostParams) WithBody

WithBody adds the body to the pcloud cloudinstances volumes action post params

func (*PcloudCloudinstancesVolumesActionPostParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances volumes action post params

func (*PcloudCloudinstancesVolumesActionPostParams) WithContext

WithContext adds the context to the pcloud cloudinstances volumes action post params

func (*PcloudCloudinstancesVolumesActionPostParams) WithDefaults

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

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

func (*PcloudCloudinstancesVolumesActionPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes action post params

func (*PcloudCloudinstancesVolumesActionPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances volumes action post params

func (*PcloudCloudinstancesVolumesActionPostParams) WithVolumeID

WithVolumeID adds the volumeID to the pcloud cloudinstances volumes action post params

func (*PcloudCloudinstancesVolumesActionPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesVolumesActionPostReader

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

PcloudCloudinstancesVolumesActionPostReader is a Reader for the PcloudCloudinstancesVolumesActionPost structure.

func (*PcloudCloudinstancesVolumesActionPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesVolumesActionPostUnauthorized

type PcloudCloudinstancesVolumesActionPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudCloudinstancesVolumesActionPostUnauthorized

func NewPcloudCloudinstancesVolumesActionPostUnauthorized() *PcloudCloudinstancesVolumesActionPostUnauthorized

NewPcloudCloudinstancesVolumesActionPostUnauthorized creates a PcloudCloudinstancesVolumesActionPostUnauthorized with default headers values

func (*PcloudCloudinstancesVolumesActionPostUnauthorized) Code

Code gets the status code for the pcloud cloudinstances volumes action post unauthorized response

func (*PcloudCloudinstancesVolumesActionPostUnauthorized) Error

func (*PcloudCloudinstancesVolumesActionPostUnauthorized) GetPayload

func (*PcloudCloudinstancesVolumesActionPostUnauthorized) IsClientError

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

func (*PcloudCloudinstancesVolumesActionPostUnauthorized) IsCode

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

func (*PcloudCloudinstancesVolumesActionPostUnauthorized) IsRedirect

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

func (*PcloudCloudinstancesVolumesActionPostUnauthorized) IsServerError

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

func (*PcloudCloudinstancesVolumesActionPostUnauthorized) IsSuccess

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

func (*PcloudCloudinstancesVolumesActionPostUnauthorized) String

type PcloudCloudinstancesVolumesDeleteBadRequest

type PcloudCloudinstancesVolumesDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudCloudinstancesVolumesDeleteBadRequest

func NewPcloudCloudinstancesVolumesDeleteBadRequest() *PcloudCloudinstancesVolumesDeleteBadRequest

NewPcloudCloudinstancesVolumesDeleteBadRequest creates a PcloudCloudinstancesVolumesDeleteBadRequest with default headers values

func (*PcloudCloudinstancesVolumesDeleteBadRequest) Code

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

func (*PcloudCloudinstancesVolumesDeleteBadRequest) Error

func (*PcloudCloudinstancesVolumesDeleteBadRequest) GetPayload

func (*PcloudCloudinstancesVolumesDeleteBadRequest) IsClientError

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

func (*PcloudCloudinstancesVolumesDeleteBadRequest) IsCode

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

func (*PcloudCloudinstancesVolumesDeleteBadRequest) IsRedirect

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

func (*PcloudCloudinstancesVolumesDeleteBadRequest) IsServerError

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

func (*PcloudCloudinstancesVolumesDeleteBadRequest) IsSuccess

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

func (*PcloudCloudinstancesVolumesDeleteBadRequest) String

type PcloudCloudinstancesVolumesDeleteForbidden

type PcloudCloudinstancesVolumesDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesVolumesDeleteForbidden

func NewPcloudCloudinstancesVolumesDeleteForbidden() *PcloudCloudinstancesVolumesDeleteForbidden

NewPcloudCloudinstancesVolumesDeleteForbidden creates a PcloudCloudinstancesVolumesDeleteForbidden with default headers values

func (*PcloudCloudinstancesVolumesDeleteForbidden) Code

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

func (*PcloudCloudinstancesVolumesDeleteForbidden) Error

func (*PcloudCloudinstancesVolumesDeleteForbidden) GetPayload

func (*PcloudCloudinstancesVolumesDeleteForbidden) IsClientError

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

func (*PcloudCloudinstancesVolumesDeleteForbidden) IsCode

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

func (*PcloudCloudinstancesVolumesDeleteForbidden) IsRedirect

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

func (*PcloudCloudinstancesVolumesDeleteForbidden) IsServerError

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

func (*PcloudCloudinstancesVolumesDeleteForbidden) IsSuccess

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

func (*PcloudCloudinstancesVolumesDeleteForbidden) String

type PcloudCloudinstancesVolumesDeleteGone

type PcloudCloudinstancesVolumesDeleteGone struct {
	Payload *models.Error
}

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

Gone

func NewPcloudCloudinstancesVolumesDeleteGone

func NewPcloudCloudinstancesVolumesDeleteGone() *PcloudCloudinstancesVolumesDeleteGone

NewPcloudCloudinstancesVolumesDeleteGone creates a PcloudCloudinstancesVolumesDeleteGone with default headers values

func (*PcloudCloudinstancesVolumesDeleteGone) Code

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

func (*PcloudCloudinstancesVolumesDeleteGone) Error

func (*PcloudCloudinstancesVolumesDeleteGone) GetPayload

func (*PcloudCloudinstancesVolumesDeleteGone) IsClientError

func (o *PcloudCloudinstancesVolumesDeleteGone) IsClientError() bool

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

func (*PcloudCloudinstancesVolumesDeleteGone) IsCode

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

func (*PcloudCloudinstancesVolumesDeleteGone) IsRedirect

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

func (*PcloudCloudinstancesVolumesDeleteGone) IsServerError

func (o *PcloudCloudinstancesVolumesDeleteGone) IsServerError() bool

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

func (*PcloudCloudinstancesVolumesDeleteGone) IsSuccess

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

func (*PcloudCloudinstancesVolumesDeleteGone) String

type PcloudCloudinstancesVolumesDeleteInternalServerError

type PcloudCloudinstancesVolumesDeleteInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudCloudinstancesVolumesDeleteInternalServerError

func NewPcloudCloudinstancesVolumesDeleteInternalServerError() *PcloudCloudinstancesVolumesDeleteInternalServerError

NewPcloudCloudinstancesVolumesDeleteInternalServerError creates a PcloudCloudinstancesVolumesDeleteInternalServerError with default headers values

func (*PcloudCloudinstancesVolumesDeleteInternalServerError) Code

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

func (*PcloudCloudinstancesVolumesDeleteInternalServerError) Error

func (*PcloudCloudinstancesVolumesDeleteInternalServerError) GetPayload

func (*PcloudCloudinstancesVolumesDeleteInternalServerError) IsClientError

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

func (*PcloudCloudinstancesVolumesDeleteInternalServerError) IsCode

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

func (*PcloudCloudinstancesVolumesDeleteInternalServerError) IsRedirect

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

func (*PcloudCloudinstancesVolumesDeleteInternalServerError) IsServerError

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

func (*PcloudCloudinstancesVolumesDeleteInternalServerError) IsSuccess

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

func (*PcloudCloudinstancesVolumesDeleteInternalServerError) String

type PcloudCloudinstancesVolumesDeleteNotFound

type PcloudCloudinstancesVolumesDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudCloudinstancesVolumesDeleteNotFound

func NewPcloudCloudinstancesVolumesDeleteNotFound() *PcloudCloudinstancesVolumesDeleteNotFound

NewPcloudCloudinstancesVolumesDeleteNotFound creates a PcloudCloudinstancesVolumesDeleteNotFound with default headers values

func (*PcloudCloudinstancesVolumesDeleteNotFound) Code

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

func (*PcloudCloudinstancesVolumesDeleteNotFound) Error

func (*PcloudCloudinstancesVolumesDeleteNotFound) GetPayload

func (*PcloudCloudinstancesVolumesDeleteNotFound) IsClientError

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

func (*PcloudCloudinstancesVolumesDeleteNotFound) IsCode

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

func (*PcloudCloudinstancesVolumesDeleteNotFound) IsRedirect

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

func (*PcloudCloudinstancesVolumesDeleteNotFound) IsServerError

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

func (*PcloudCloudinstancesVolumesDeleteNotFound) IsSuccess

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

func (*PcloudCloudinstancesVolumesDeleteNotFound) String

type PcloudCloudinstancesVolumesDeleteOK

type PcloudCloudinstancesVolumesDeleteOK struct {
	Payload models.Object
}

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

OK

func NewPcloudCloudinstancesVolumesDeleteOK

func NewPcloudCloudinstancesVolumesDeleteOK() *PcloudCloudinstancesVolumesDeleteOK

NewPcloudCloudinstancesVolumesDeleteOK creates a PcloudCloudinstancesVolumesDeleteOK with default headers values

func (*PcloudCloudinstancesVolumesDeleteOK) Code

Code gets the status code for the pcloud cloudinstances volumes delete o k response

func (*PcloudCloudinstancesVolumesDeleteOK) Error

func (*PcloudCloudinstancesVolumesDeleteOK) GetPayload

func (*PcloudCloudinstancesVolumesDeleteOK) IsClientError

func (o *PcloudCloudinstancesVolumesDeleteOK) IsClientError() bool

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

func (*PcloudCloudinstancesVolumesDeleteOK) IsCode

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

func (*PcloudCloudinstancesVolumesDeleteOK) IsRedirect

func (o *PcloudCloudinstancesVolumesDeleteOK) IsRedirect() bool

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

func (*PcloudCloudinstancesVolumesDeleteOK) IsServerError

func (o *PcloudCloudinstancesVolumesDeleteOK) IsServerError() bool

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

func (*PcloudCloudinstancesVolumesDeleteOK) IsSuccess

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

func (*PcloudCloudinstancesVolumesDeleteOK) String

type PcloudCloudinstancesVolumesDeleteParams

type PcloudCloudinstancesVolumesDeleteParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* VolumeID.

	   Volume ID
	*/
	VolumeID string

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

PcloudCloudinstancesVolumesDeleteParams contains all the parameters to send to the API endpoint

for the pcloud cloudinstances volumes delete operation.

Typically these are written to a http.Request.

func NewPcloudCloudinstancesVolumesDeleteParams

func NewPcloudCloudinstancesVolumesDeleteParams() *PcloudCloudinstancesVolumesDeleteParams

NewPcloudCloudinstancesVolumesDeleteParams creates a new PcloudCloudinstancesVolumesDeleteParams 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 NewPcloudCloudinstancesVolumesDeleteParamsWithContext

func NewPcloudCloudinstancesVolumesDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesDeleteParams

NewPcloudCloudinstancesVolumesDeleteParamsWithContext creates a new PcloudCloudinstancesVolumesDeleteParams object with the ability to set a context for a request.

func NewPcloudCloudinstancesVolumesDeleteParamsWithHTTPClient

func NewPcloudCloudinstancesVolumesDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesDeleteParams

NewPcloudCloudinstancesVolumesDeleteParamsWithHTTPClient creates a new PcloudCloudinstancesVolumesDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudCloudinstancesVolumesDeleteParamsWithTimeout

func NewPcloudCloudinstancesVolumesDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesDeleteParams

NewPcloudCloudinstancesVolumesDeleteParamsWithTimeout creates a new PcloudCloudinstancesVolumesDeleteParams object with the ability to set a timeout on a request.

func (*PcloudCloudinstancesVolumesDeleteParams) SetCloudInstanceID

func (o *PcloudCloudinstancesVolumesDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances volumes delete params

func (*PcloudCloudinstancesVolumesDeleteParams) SetContext

SetContext adds the context to the pcloud cloudinstances volumes delete params

func (*PcloudCloudinstancesVolumesDeleteParams) SetDefaults

func (o *PcloudCloudinstancesVolumesDeleteParams) SetDefaults()

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

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

func (*PcloudCloudinstancesVolumesDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes delete params

func (*PcloudCloudinstancesVolumesDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud cloudinstances volumes delete params

func (*PcloudCloudinstancesVolumesDeleteParams) SetVolumeID

func (o *PcloudCloudinstancesVolumesDeleteParams) SetVolumeID(volumeID string)

SetVolumeID adds the volumeId to the pcloud cloudinstances volumes delete params

func (*PcloudCloudinstancesVolumesDeleteParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances volumes delete params

func (*PcloudCloudinstancesVolumesDeleteParams) WithContext

WithContext adds the context to the pcloud cloudinstances volumes delete params

func (*PcloudCloudinstancesVolumesDeleteParams) WithDefaults

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

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

func (*PcloudCloudinstancesVolumesDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes delete params

func (*PcloudCloudinstancesVolumesDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances volumes delete params

func (*PcloudCloudinstancesVolumesDeleteParams) WithVolumeID

WithVolumeID adds the volumeID to the pcloud cloudinstances volumes delete params

func (*PcloudCloudinstancesVolumesDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesVolumesDeleteReader

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

PcloudCloudinstancesVolumesDeleteReader is a Reader for the PcloudCloudinstancesVolumesDelete structure.

func (*PcloudCloudinstancesVolumesDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesVolumesDeleteUnauthorized

type PcloudCloudinstancesVolumesDeleteUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudCloudinstancesVolumesDeleteUnauthorized

func NewPcloudCloudinstancesVolumesDeleteUnauthorized() *PcloudCloudinstancesVolumesDeleteUnauthorized

NewPcloudCloudinstancesVolumesDeleteUnauthorized creates a PcloudCloudinstancesVolumesDeleteUnauthorized with default headers values

func (*PcloudCloudinstancesVolumesDeleteUnauthorized) Code

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

func (*PcloudCloudinstancesVolumesDeleteUnauthorized) Error

func (*PcloudCloudinstancesVolumesDeleteUnauthorized) GetPayload

func (*PcloudCloudinstancesVolumesDeleteUnauthorized) IsClientError

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

func (*PcloudCloudinstancesVolumesDeleteUnauthorized) IsCode

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

func (*PcloudCloudinstancesVolumesDeleteUnauthorized) IsRedirect

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

func (*PcloudCloudinstancesVolumesDeleteUnauthorized) IsServerError

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

func (*PcloudCloudinstancesVolumesDeleteUnauthorized) IsSuccess

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

func (*PcloudCloudinstancesVolumesDeleteUnauthorized) String

type PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest

type PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest() *PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest

NewPcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest creates a PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest with default headers values

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) Code

Code gets the status code for the pcloud cloudinstances volumes flash copy mappings get bad request response

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) Error

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) GetPayload

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) IsClientError

IsClientError returns true when this pcloud cloudinstances volumes flash copy mappings get bad request response has a 4xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) IsCode

IsCode returns true when this pcloud cloudinstances volumes flash copy mappings get bad request response a status code equal to that given

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes flash copy mappings get bad request response has a 3xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) IsServerError

IsServerError returns true when this pcloud cloudinstances volumes flash copy mappings get bad request response has a 5xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes flash copy mappings get bad request response has a 2xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) String

type PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden

type PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden() *PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden

NewPcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden creates a PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden with default headers values

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) Code

Code gets the status code for the pcloud cloudinstances volumes flash copy mappings get forbidden response

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) Error

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) GetPayload

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) IsClientError

IsClientError returns true when this pcloud cloudinstances volumes flash copy mappings get forbidden response has a 4xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) IsCode

IsCode returns true when this pcloud cloudinstances volumes flash copy mappings get forbidden response a status code equal to that given

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes flash copy mappings get forbidden response has a 3xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) IsServerError

IsServerError returns true when this pcloud cloudinstances volumes flash copy mappings get forbidden response has a 5xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes flash copy mappings get forbidden response has a 2xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) String

type PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError

type PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError() *PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError

NewPcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError creates a PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError with default headers values

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) Code

Code gets the status code for the pcloud cloudinstances volumes flash copy mappings get internal server error response

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) Error

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) GetPayload

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) IsClientError

IsClientError returns true when this pcloud cloudinstances volumes flash copy mappings get internal server error response has a 4xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) IsCode

IsCode returns true when this pcloud cloudinstances volumes flash copy mappings get internal server error response a status code equal to that given

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes flash copy mappings get internal server error response has a 3xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) IsServerError

IsServerError returns true when this pcloud cloudinstances volumes flash copy mappings get internal server error response has a 5xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes flash copy mappings get internal server error response has a 2xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) String

type PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound

type PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound() *PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound

NewPcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound creates a PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound with default headers values

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) Code

Code gets the status code for the pcloud cloudinstances volumes flash copy mappings get not found response

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) Error

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) GetPayload

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) IsClientError

IsClientError returns true when this pcloud cloudinstances volumes flash copy mappings get not found response has a 4xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) IsCode

IsCode returns true when this pcloud cloudinstances volumes flash copy mappings get not found response a status code equal to that given

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes flash copy mappings get not found response has a 3xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) IsServerError

IsServerError returns true when this pcloud cloudinstances volumes flash copy mappings get not found response has a 5xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes flash copy mappings get not found response has a 2xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) String

type PcloudCloudinstancesVolumesFlashCopyMappingsGetOK

type PcloudCloudinstancesVolumesFlashCopyMappingsGetOK struct {
	Payload models.FlashCopyMappings
}

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

OK

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetOK

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetOK() *PcloudCloudinstancesVolumesFlashCopyMappingsGetOK

NewPcloudCloudinstancesVolumesFlashCopyMappingsGetOK creates a PcloudCloudinstancesVolumesFlashCopyMappingsGetOK with default headers values

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) Code

Code gets the status code for the pcloud cloudinstances volumes flash copy mappings get o k response

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) Error

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) GetPayload

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) IsClientError

IsClientError returns true when this pcloud cloudinstances volumes flash copy mappings get o k response has a 4xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) IsCode

IsCode returns true when this pcloud cloudinstances volumes flash copy mappings get o k response a status code equal to that given

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes flash copy mappings get o k response has a 3xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) IsServerError

IsServerError returns true when this pcloud cloudinstances volumes flash copy mappings get o k response has a 5xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes flash copy mappings get o k response has a 2xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) String

type PcloudCloudinstancesVolumesFlashCopyMappingsGetParams

type PcloudCloudinstancesVolumesFlashCopyMappingsGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* VolumeID.

	   Volume ID
	*/
	VolumeID string

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

PcloudCloudinstancesVolumesFlashCopyMappingsGetParams contains all the parameters to send to the API endpoint

for the pcloud cloudinstances volumes flash copy mappings get operation.

Typically these are written to a http.Request.

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetParams

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetParams() *PcloudCloudinstancesVolumesFlashCopyMappingsGetParams

NewPcloudCloudinstancesVolumesFlashCopyMappingsGetParams creates a new PcloudCloudinstancesVolumesFlashCopyMappingsGetParams 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 NewPcloudCloudinstancesVolumesFlashCopyMappingsGetParamsWithContext

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesFlashCopyMappingsGetParams

NewPcloudCloudinstancesVolumesFlashCopyMappingsGetParamsWithContext creates a new PcloudCloudinstancesVolumesFlashCopyMappingsGetParams object with the ability to set a context for a request.

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetParamsWithHTTPClient

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesFlashCopyMappingsGetParams

NewPcloudCloudinstancesVolumesFlashCopyMappingsGetParamsWithHTTPClient creates a new PcloudCloudinstancesVolumesFlashCopyMappingsGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetParamsWithTimeout

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesFlashCopyMappingsGetParams

NewPcloudCloudinstancesVolumesFlashCopyMappingsGetParamsWithTimeout creates a new PcloudCloudinstancesVolumesFlashCopyMappingsGetParams object with the ability to set a timeout on a request.

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) SetCloudInstanceID

func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances volumes flash copy mappings get params

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) SetContext

SetContext adds the context to the pcloud cloudinstances volumes flash copy mappings get params

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) SetDefaults

SetDefaults hydrates default values in the pcloud cloudinstances volumes flash copy mappings get params (not the query body).

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes flash copy mappings get params

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) SetTimeout

SetTimeout adds the timeout to the pcloud cloudinstances volumes flash copy mappings get params

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) SetVolumeID

SetVolumeID adds the volumeId to the pcloud cloudinstances volumes flash copy mappings get params

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances volumes flash copy mappings get params

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) WithContext

WithContext adds the context to the pcloud cloudinstances volumes flash copy mappings get params

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) WithDefaults

WithDefaults hydrates default values in the pcloud cloudinstances volumes flash copy mappings get params (not the query body).

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes flash copy mappings get params

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances volumes flash copy mappings get params

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) WithVolumeID

WithVolumeID adds the volumeID to the pcloud cloudinstances volumes flash copy mappings get params

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesVolumesFlashCopyMappingsGetReader

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

PcloudCloudinstancesVolumesFlashCopyMappingsGetReader is a Reader for the PcloudCloudinstancesVolumesFlashCopyMappingsGet structure.

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests

type PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests struct {
	Payload *models.Error
}

PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests() *PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests

NewPcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests creates a PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests with default headers values

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) Code

Code gets the status code for the pcloud cloudinstances volumes flash copy mappings get too many requests response

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) Error

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) GetPayload

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) IsClientError

IsClientError returns true when this pcloud cloudinstances volumes flash copy mappings get too many requests response has a 4xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) IsCode

IsCode returns true when this pcloud cloudinstances volumes flash copy mappings get too many requests response a status code equal to that given

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes flash copy mappings get too many requests response has a 3xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) IsServerError

IsServerError returns true when this pcloud cloudinstances volumes flash copy mappings get too many requests response has a 5xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes flash copy mappings get too many requests response has a 2xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) String

type PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized

type PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized() *PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized

NewPcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized creates a PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized with default headers values

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) Code

Code gets the status code for the pcloud cloudinstances volumes flash copy mappings get unauthorized response

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) Error

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) GetPayload

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) IsClientError

IsClientError returns true when this pcloud cloudinstances volumes flash copy mappings get unauthorized response has a 4xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) IsCode

IsCode returns true when this pcloud cloudinstances volumes flash copy mappings get unauthorized response a status code equal to that given

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes flash copy mappings get unauthorized response has a 3xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) IsServerError

IsServerError returns true when this pcloud cloudinstances volumes flash copy mappings get unauthorized response has a 5xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes flash copy mappings get unauthorized response has a 2xx status code

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) String

type PcloudCloudinstancesVolumesGetBadRequest

type PcloudCloudinstancesVolumesGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudCloudinstancesVolumesGetBadRequest

func NewPcloudCloudinstancesVolumesGetBadRequest() *PcloudCloudinstancesVolumesGetBadRequest

NewPcloudCloudinstancesVolumesGetBadRequest creates a PcloudCloudinstancesVolumesGetBadRequest with default headers values

func (*PcloudCloudinstancesVolumesGetBadRequest) Code

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

func (*PcloudCloudinstancesVolumesGetBadRequest) Error

func (*PcloudCloudinstancesVolumesGetBadRequest) GetPayload

func (*PcloudCloudinstancesVolumesGetBadRequest) IsClientError

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

func (*PcloudCloudinstancesVolumesGetBadRequest) IsCode

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

func (*PcloudCloudinstancesVolumesGetBadRequest) IsRedirect

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

func (*PcloudCloudinstancesVolumesGetBadRequest) IsServerError

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

func (*PcloudCloudinstancesVolumesGetBadRequest) IsSuccess

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

func (*PcloudCloudinstancesVolumesGetBadRequest) String

type PcloudCloudinstancesVolumesGetForbidden

type PcloudCloudinstancesVolumesGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesVolumesGetForbidden

func NewPcloudCloudinstancesVolumesGetForbidden() *PcloudCloudinstancesVolumesGetForbidden

NewPcloudCloudinstancesVolumesGetForbidden creates a PcloudCloudinstancesVolumesGetForbidden with default headers values

func (*PcloudCloudinstancesVolumesGetForbidden) Code

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

func (*PcloudCloudinstancesVolumesGetForbidden) Error

func (*PcloudCloudinstancesVolumesGetForbidden) GetPayload

func (*PcloudCloudinstancesVolumesGetForbidden) IsClientError

func (o *PcloudCloudinstancesVolumesGetForbidden) IsClientError() bool

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

func (*PcloudCloudinstancesVolumesGetForbidden) IsCode

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

func (*PcloudCloudinstancesVolumesGetForbidden) IsRedirect

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

func (*PcloudCloudinstancesVolumesGetForbidden) IsServerError

func (o *PcloudCloudinstancesVolumesGetForbidden) IsServerError() bool

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

func (*PcloudCloudinstancesVolumesGetForbidden) IsSuccess

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

func (*PcloudCloudinstancesVolumesGetForbidden) String

type PcloudCloudinstancesVolumesGetInternalServerError

type PcloudCloudinstancesVolumesGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudCloudinstancesVolumesGetInternalServerError

func NewPcloudCloudinstancesVolumesGetInternalServerError() *PcloudCloudinstancesVolumesGetInternalServerError

NewPcloudCloudinstancesVolumesGetInternalServerError creates a PcloudCloudinstancesVolumesGetInternalServerError with default headers values

func (*PcloudCloudinstancesVolumesGetInternalServerError) Code

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

func (*PcloudCloudinstancesVolumesGetInternalServerError) Error

func (*PcloudCloudinstancesVolumesGetInternalServerError) GetPayload

func (*PcloudCloudinstancesVolumesGetInternalServerError) IsClientError

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

func (*PcloudCloudinstancesVolumesGetInternalServerError) IsCode

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

func (*PcloudCloudinstancesVolumesGetInternalServerError) IsRedirect

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

func (*PcloudCloudinstancesVolumesGetInternalServerError) IsServerError

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

func (*PcloudCloudinstancesVolumesGetInternalServerError) IsSuccess

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

func (*PcloudCloudinstancesVolumesGetInternalServerError) String

type PcloudCloudinstancesVolumesGetNotFound

type PcloudCloudinstancesVolumesGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudCloudinstancesVolumesGetNotFound

func NewPcloudCloudinstancesVolumesGetNotFound() *PcloudCloudinstancesVolumesGetNotFound

NewPcloudCloudinstancesVolumesGetNotFound creates a PcloudCloudinstancesVolumesGetNotFound with default headers values

func (*PcloudCloudinstancesVolumesGetNotFound) Code

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

func (*PcloudCloudinstancesVolumesGetNotFound) Error

func (*PcloudCloudinstancesVolumesGetNotFound) GetPayload

func (*PcloudCloudinstancesVolumesGetNotFound) IsClientError

func (o *PcloudCloudinstancesVolumesGetNotFound) IsClientError() bool

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

func (*PcloudCloudinstancesVolumesGetNotFound) IsCode

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

func (*PcloudCloudinstancesVolumesGetNotFound) IsRedirect

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

func (*PcloudCloudinstancesVolumesGetNotFound) IsServerError

func (o *PcloudCloudinstancesVolumesGetNotFound) IsServerError() bool

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

func (*PcloudCloudinstancesVolumesGetNotFound) IsSuccess

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

func (*PcloudCloudinstancesVolumesGetNotFound) String

type PcloudCloudinstancesVolumesGetOK

type PcloudCloudinstancesVolumesGetOK struct {
	Payload *models.Volume
}

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

OK

func NewPcloudCloudinstancesVolumesGetOK

func NewPcloudCloudinstancesVolumesGetOK() *PcloudCloudinstancesVolumesGetOK

NewPcloudCloudinstancesVolumesGetOK creates a PcloudCloudinstancesVolumesGetOK with default headers values

func (*PcloudCloudinstancesVolumesGetOK) Code

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

func (*PcloudCloudinstancesVolumesGetOK) Error

func (*PcloudCloudinstancesVolumesGetOK) GetPayload

func (*PcloudCloudinstancesVolumesGetOK) IsClientError

func (o *PcloudCloudinstancesVolumesGetOK) IsClientError() bool

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

func (*PcloudCloudinstancesVolumesGetOK) IsCode

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

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

func (*PcloudCloudinstancesVolumesGetOK) IsRedirect

func (o *PcloudCloudinstancesVolumesGetOK) IsRedirect() bool

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

func (*PcloudCloudinstancesVolumesGetOK) IsServerError

func (o *PcloudCloudinstancesVolumesGetOK) IsServerError() bool

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

func (*PcloudCloudinstancesVolumesGetOK) IsSuccess

func (o *PcloudCloudinstancesVolumesGetOK) IsSuccess() bool

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

func (*PcloudCloudinstancesVolumesGetOK) String

type PcloudCloudinstancesVolumesGetParams

type PcloudCloudinstancesVolumesGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* VolumeID.

	   Volume ID
	*/
	VolumeID string

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

PcloudCloudinstancesVolumesGetParams contains all the parameters to send to the API endpoint

for the pcloud cloudinstances volumes get operation.

Typically these are written to a http.Request.

func NewPcloudCloudinstancesVolumesGetParams

func NewPcloudCloudinstancesVolumesGetParams() *PcloudCloudinstancesVolumesGetParams

NewPcloudCloudinstancesVolumesGetParams creates a new PcloudCloudinstancesVolumesGetParams 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 NewPcloudCloudinstancesVolumesGetParamsWithContext

func NewPcloudCloudinstancesVolumesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesGetParams

NewPcloudCloudinstancesVolumesGetParamsWithContext creates a new PcloudCloudinstancesVolumesGetParams object with the ability to set a context for a request.

func NewPcloudCloudinstancesVolumesGetParamsWithHTTPClient

func NewPcloudCloudinstancesVolumesGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesGetParams

NewPcloudCloudinstancesVolumesGetParamsWithHTTPClient creates a new PcloudCloudinstancesVolumesGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudCloudinstancesVolumesGetParamsWithTimeout

func NewPcloudCloudinstancesVolumesGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesGetParams

NewPcloudCloudinstancesVolumesGetParamsWithTimeout creates a new PcloudCloudinstancesVolumesGetParams object with the ability to set a timeout on a request.

func (*PcloudCloudinstancesVolumesGetParams) SetCloudInstanceID

func (o *PcloudCloudinstancesVolumesGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances volumes get params

func (*PcloudCloudinstancesVolumesGetParams) SetContext

SetContext adds the context to the pcloud cloudinstances volumes get params

func (*PcloudCloudinstancesVolumesGetParams) SetDefaults

func (o *PcloudCloudinstancesVolumesGetParams) SetDefaults()

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

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

func (*PcloudCloudinstancesVolumesGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes get params

func (*PcloudCloudinstancesVolumesGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud cloudinstances volumes get params

func (*PcloudCloudinstancesVolumesGetParams) SetVolumeID

func (o *PcloudCloudinstancesVolumesGetParams) SetVolumeID(volumeID string)

SetVolumeID adds the volumeId to the pcloud cloudinstances volumes get params

func (*PcloudCloudinstancesVolumesGetParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances volumes get params

func (*PcloudCloudinstancesVolumesGetParams) WithContext

WithContext adds the context to the pcloud cloudinstances volumes get params

func (*PcloudCloudinstancesVolumesGetParams) WithDefaults

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

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

func (*PcloudCloudinstancesVolumesGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes get params

func (*PcloudCloudinstancesVolumesGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances volumes get params

func (*PcloudCloudinstancesVolumesGetParams) WithVolumeID

WithVolumeID adds the volumeID to the pcloud cloudinstances volumes get params

func (*PcloudCloudinstancesVolumesGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesVolumesGetReader

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

PcloudCloudinstancesVolumesGetReader is a Reader for the PcloudCloudinstancesVolumesGet structure.

func (*PcloudCloudinstancesVolumesGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesVolumesGetUnauthorized

type PcloudCloudinstancesVolumesGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudCloudinstancesVolumesGetUnauthorized

func NewPcloudCloudinstancesVolumesGetUnauthorized() *PcloudCloudinstancesVolumesGetUnauthorized

NewPcloudCloudinstancesVolumesGetUnauthorized creates a PcloudCloudinstancesVolumesGetUnauthorized with default headers values

func (*PcloudCloudinstancesVolumesGetUnauthorized) Code

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

func (*PcloudCloudinstancesVolumesGetUnauthorized) Error

func (*PcloudCloudinstancesVolumesGetUnauthorized) GetPayload

func (*PcloudCloudinstancesVolumesGetUnauthorized) IsClientError

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

func (*PcloudCloudinstancesVolumesGetUnauthorized) IsCode

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

func (*PcloudCloudinstancesVolumesGetUnauthorized) IsRedirect

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

func (*PcloudCloudinstancesVolumesGetUnauthorized) IsServerError

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

func (*PcloudCloudinstancesVolumesGetUnauthorized) IsSuccess

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

func (*PcloudCloudinstancesVolumesGetUnauthorized) String

type PcloudCloudinstancesVolumesGetallBadRequest

type PcloudCloudinstancesVolumesGetallBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudCloudinstancesVolumesGetallBadRequest

func NewPcloudCloudinstancesVolumesGetallBadRequest() *PcloudCloudinstancesVolumesGetallBadRequest

NewPcloudCloudinstancesVolumesGetallBadRequest creates a PcloudCloudinstancesVolumesGetallBadRequest with default headers values

func (*PcloudCloudinstancesVolumesGetallBadRequest) Code

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

func (*PcloudCloudinstancesVolumesGetallBadRequest) Error

func (*PcloudCloudinstancesVolumesGetallBadRequest) GetPayload

func (*PcloudCloudinstancesVolumesGetallBadRequest) IsClientError

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

func (*PcloudCloudinstancesVolumesGetallBadRequest) IsCode

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

func (*PcloudCloudinstancesVolumesGetallBadRequest) IsRedirect

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

func (*PcloudCloudinstancesVolumesGetallBadRequest) IsServerError

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

func (*PcloudCloudinstancesVolumesGetallBadRequest) IsSuccess

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

func (*PcloudCloudinstancesVolumesGetallBadRequest) String

type PcloudCloudinstancesVolumesGetallForbidden

type PcloudCloudinstancesVolumesGetallForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesVolumesGetallForbidden

func NewPcloudCloudinstancesVolumesGetallForbidden() *PcloudCloudinstancesVolumesGetallForbidden

NewPcloudCloudinstancesVolumesGetallForbidden creates a PcloudCloudinstancesVolumesGetallForbidden with default headers values

func (*PcloudCloudinstancesVolumesGetallForbidden) Code

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

func (*PcloudCloudinstancesVolumesGetallForbidden) Error

func (*PcloudCloudinstancesVolumesGetallForbidden) GetPayload

func (*PcloudCloudinstancesVolumesGetallForbidden) IsClientError

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

func (*PcloudCloudinstancesVolumesGetallForbidden) IsCode

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

func (*PcloudCloudinstancesVolumesGetallForbidden) IsRedirect

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

func (*PcloudCloudinstancesVolumesGetallForbidden) IsServerError

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

func (*PcloudCloudinstancesVolumesGetallForbidden) IsSuccess

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

func (*PcloudCloudinstancesVolumesGetallForbidden) String

type PcloudCloudinstancesVolumesGetallInternalServerError

type PcloudCloudinstancesVolumesGetallInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudCloudinstancesVolumesGetallInternalServerError

func NewPcloudCloudinstancesVolumesGetallInternalServerError() *PcloudCloudinstancesVolumesGetallInternalServerError

NewPcloudCloudinstancesVolumesGetallInternalServerError creates a PcloudCloudinstancesVolumesGetallInternalServerError with default headers values

func (*PcloudCloudinstancesVolumesGetallInternalServerError) Code

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

func (*PcloudCloudinstancesVolumesGetallInternalServerError) Error

func (*PcloudCloudinstancesVolumesGetallInternalServerError) GetPayload

func (*PcloudCloudinstancesVolumesGetallInternalServerError) IsClientError

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

func (*PcloudCloudinstancesVolumesGetallInternalServerError) IsCode

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

func (*PcloudCloudinstancesVolumesGetallInternalServerError) IsRedirect

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

func (*PcloudCloudinstancesVolumesGetallInternalServerError) IsServerError

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

func (*PcloudCloudinstancesVolumesGetallInternalServerError) IsSuccess

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

func (*PcloudCloudinstancesVolumesGetallInternalServerError) String

type PcloudCloudinstancesVolumesGetallNotFound

type PcloudCloudinstancesVolumesGetallNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudCloudinstancesVolumesGetallNotFound

func NewPcloudCloudinstancesVolumesGetallNotFound() *PcloudCloudinstancesVolumesGetallNotFound

NewPcloudCloudinstancesVolumesGetallNotFound creates a PcloudCloudinstancesVolumesGetallNotFound with default headers values

func (*PcloudCloudinstancesVolumesGetallNotFound) Code

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

func (*PcloudCloudinstancesVolumesGetallNotFound) Error

func (*PcloudCloudinstancesVolumesGetallNotFound) GetPayload

func (*PcloudCloudinstancesVolumesGetallNotFound) IsClientError

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

func (*PcloudCloudinstancesVolumesGetallNotFound) IsCode

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

func (*PcloudCloudinstancesVolumesGetallNotFound) IsRedirect

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

func (*PcloudCloudinstancesVolumesGetallNotFound) IsServerError

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

func (*PcloudCloudinstancesVolumesGetallNotFound) IsSuccess

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

func (*PcloudCloudinstancesVolumesGetallNotFound) String

type PcloudCloudinstancesVolumesGetallOK

type PcloudCloudinstancesVolumesGetallOK struct {
	Payload *models.Volumes
}

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

OK

func NewPcloudCloudinstancesVolumesGetallOK

func NewPcloudCloudinstancesVolumesGetallOK() *PcloudCloudinstancesVolumesGetallOK

NewPcloudCloudinstancesVolumesGetallOK creates a PcloudCloudinstancesVolumesGetallOK with default headers values

func (*PcloudCloudinstancesVolumesGetallOK) Code

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

func (*PcloudCloudinstancesVolumesGetallOK) Error

func (*PcloudCloudinstancesVolumesGetallOK) GetPayload

func (*PcloudCloudinstancesVolumesGetallOK) IsClientError

func (o *PcloudCloudinstancesVolumesGetallOK) IsClientError() bool

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

func (*PcloudCloudinstancesVolumesGetallOK) IsCode

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

func (*PcloudCloudinstancesVolumesGetallOK) IsRedirect

func (o *PcloudCloudinstancesVolumesGetallOK) IsRedirect() bool

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

func (*PcloudCloudinstancesVolumesGetallOK) IsServerError

func (o *PcloudCloudinstancesVolumesGetallOK) IsServerError() bool

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

func (*PcloudCloudinstancesVolumesGetallOK) IsSuccess

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

func (*PcloudCloudinstancesVolumesGetallOK) String

type PcloudCloudinstancesVolumesGetallParams

type PcloudCloudinstancesVolumesGetallParams struct {

	/* Affinity.

	   A pvmInstance (id or name), limits a volumes list response to only volumes that have affinity to the pvmInstance
	*/
	Affinity *string

	/* Auxiliary.

	   true or false, limits a volume list to auxiliary or non auxiliary volumes
	*/
	Auxiliary *bool

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* ReplicationEnabled.

	   true or false, limits a volumes list to replication or non replication enabled volumes
	*/
	ReplicationEnabled *bool

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

PcloudCloudinstancesVolumesGetallParams contains all the parameters to send to the API endpoint

for the pcloud cloudinstances volumes getall operation.

Typically these are written to a http.Request.

func NewPcloudCloudinstancesVolumesGetallParams

func NewPcloudCloudinstancesVolumesGetallParams() *PcloudCloudinstancesVolumesGetallParams

NewPcloudCloudinstancesVolumesGetallParams creates a new PcloudCloudinstancesVolumesGetallParams 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 NewPcloudCloudinstancesVolumesGetallParamsWithContext

func NewPcloudCloudinstancesVolumesGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesGetallParams

NewPcloudCloudinstancesVolumesGetallParamsWithContext creates a new PcloudCloudinstancesVolumesGetallParams object with the ability to set a context for a request.

func NewPcloudCloudinstancesVolumesGetallParamsWithHTTPClient

func NewPcloudCloudinstancesVolumesGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesGetallParams

NewPcloudCloudinstancesVolumesGetallParamsWithHTTPClient creates a new PcloudCloudinstancesVolumesGetallParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudCloudinstancesVolumesGetallParamsWithTimeout

func NewPcloudCloudinstancesVolumesGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesGetallParams

NewPcloudCloudinstancesVolumesGetallParamsWithTimeout creates a new PcloudCloudinstancesVolumesGetallParams object with the ability to set a timeout on a request.

func (*PcloudCloudinstancesVolumesGetallParams) SetAffinity

func (o *PcloudCloudinstancesVolumesGetallParams) SetAffinity(affinity *string)

SetAffinity adds the affinity to the pcloud cloudinstances volumes getall params

func (*PcloudCloudinstancesVolumesGetallParams) SetAuxiliary

func (o *PcloudCloudinstancesVolumesGetallParams) SetAuxiliary(auxiliary *bool)

SetAuxiliary adds the auxiliary to the pcloud cloudinstances volumes getall params

func (*PcloudCloudinstancesVolumesGetallParams) SetCloudInstanceID

func (o *PcloudCloudinstancesVolumesGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances volumes getall params

func (*PcloudCloudinstancesVolumesGetallParams) SetContext

SetContext adds the context to the pcloud cloudinstances volumes getall params

func (*PcloudCloudinstancesVolumesGetallParams) SetDefaults

func (o *PcloudCloudinstancesVolumesGetallParams) SetDefaults()

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

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

func (*PcloudCloudinstancesVolumesGetallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes getall params

func (*PcloudCloudinstancesVolumesGetallParams) SetReplicationEnabled

func (o *PcloudCloudinstancesVolumesGetallParams) SetReplicationEnabled(replicationEnabled *bool)

SetReplicationEnabled adds the replicationEnabled to the pcloud cloudinstances volumes getall params

func (*PcloudCloudinstancesVolumesGetallParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud cloudinstances volumes getall params

func (*PcloudCloudinstancesVolumesGetallParams) WithAffinity

WithAffinity adds the affinity to the pcloud cloudinstances volumes getall params

func (*PcloudCloudinstancesVolumesGetallParams) WithAuxiliary

WithAuxiliary adds the auxiliary to the pcloud cloudinstances volumes getall params

func (*PcloudCloudinstancesVolumesGetallParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances volumes getall params

func (*PcloudCloudinstancesVolumesGetallParams) WithContext

WithContext adds the context to the pcloud cloudinstances volumes getall params

func (*PcloudCloudinstancesVolumesGetallParams) WithDefaults

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

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

func (*PcloudCloudinstancesVolumesGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes getall params

func (*PcloudCloudinstancesVolumesGetallParams) WithReplicationEnabled

func (o *PcloudCloudinstancesVolumesGetallParams) WithReplicationEnabled(replicationEnabled *bool) *PcloudCloudinstancesVolumesGetallParams

WithReplicationEnabled adds the replicationEnabled to the pcloud cloudinstances volumes getall params

func (*PcloudCloudinstancesVolumesGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances volumes getall params

func (*PcloudCloudinstancesVolumesGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesVolumesGetallReader

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

PcloudCloudinstancesVolumesGetallReader is a Reader for the PcloudCloudinstancesVolumesGetall structure.

func (*PcloudCloudinstancesVolumesGetallReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesVolumesGetallUnauthorized

type PcloudCloudinstancesVolumesGetallUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudCloudinstancesVolumesGetallUnauthorized

func NewPcloudCloudinstancesVolumesGetallUnauthorized() *PcloudCloudinstancesVolumesGetallUnauthorized

NewPcloudCloudinstancesVolumesGetallUnauthorized creates a PcloudCloudinstancesVolumesGetallUnauthorized with default headers values

func (*PcloudCloudinstancesVolumesGetallUnauthorized) Code

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

func (*PcloudCloudinstancesVolumesGetallUnauthorized) Error

func (*PcloudCloudinstancesVolumesGetallUnauthorized) GetPayload

func (*PcloudCloudinstancesVolumesGetallUnauthorized) IsClientError

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

func (*PcloudCloudinstancesVolumesGetallUnauthorized) IsCode

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

func (*PcloudCloudinstancesVolumesGetallUnauthorized) IsRedirect

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

func (*PcloudCloudinstancesVolumesGetallUnauthorized) IsServerError

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

func (*PcloudCloudinstancesVolumesGetallUnauthorized) IsSuccess

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

func (*PcloudCloudinstancesVolumesGetallUnauthorized) String

type PcloudCloudinstancesVolumesPostAccepted

type PcloudCloudinstancesVolumesPostAccepted struct {
	Payload *models.Volume
}

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

Accepted

func NewPcloudCloudinstancesVolumesPostAccepted

func NewPcloudCloudinstancesVolumesPostAccepted() *PcloudCloudinstancesVolumesPostAccepted

NewPcloudCloudinstancesVolumesPostAccepted creates a PcloudCloudinstancesVolumesPostAccepted with default headers values

func (*PcloudCloudinstancesVolumesPostAccepted) Code

Code gets the status code for the pcloud cloudinstances volumes post accepted response

func (*PcloudCloudinstancesVolumesPostAccepted) Error

func (*PcloudCloudinstancesVolumesPostAccepted) GetPayload

func (*PcloudCloudinstancesVolumesPostAccepted) IsClientError

func (o *PcloudCloudinstancesVolumesPostAccepted) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances volumes post accepted response has a 4xx status code

func (*PcloudCloudinstancesVolumesPostAccepted) IsCode

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

func (*PcloudCloudinstancesVolumesPostAccepted) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes post accepted response has a 3xx status code

func (*PcloudCloudinstancesVolumesPostAccepted) IsServerError

func (o *PcloudCloudinstancesVolumesPostAccepted) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances volumes post accepted response has a 5xx status code

func (*PcloudCloudinstancesVolumesPostAccepted) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes post accepted response has a 2xx status code

func (*PcloudCloudinstancesVolumesPostAccepted) String

type PcloudCloudinstancesVolumesPostBadRequest

type PcloudCloudinstancesVolumesPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudCloudinstancesVolumesPostBadRequest

func NewPcloudCloudinstancesVolumesPostBadRequest() *PcloudCloudinstancesVolumesPostBadRequest

NewPcloudCloudinstancesVolumesPostBadRequest creates a PcloudCloudinstancesVolumesPostBadRequest with default headers values

func (*PcloudCloudinstancesVolumesPostBadRequest) Code

Code gets the status code for the pcloud cloudinstances volumes post bad request response

func (*PcloudCloudinstancesVolumesPostBadRequest) Error

func (*PcloudCloudinstancesVolumesPostBadRequest) GetPayload

func (*PcloudCloudinstancesVolumesPostBadRequest) IsClientError

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

func (*PcloudCloudinstancesVolumesPostBadRequest) IsCode

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

func (*PcloudCloudinstancesVolumesPostBadRequest) IsRedirect

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

func (*PcloudCloudinstancesVolumesPostBadRequest) IsServerError

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

func (*PcloudCloudinstancesVolumesPostBadRequest) IsSuccess

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

func (*PcloudCloudinstancesVolumesPostBadRequest) String

type PcloudCloudinstancesVolumesPostConflict

type PcloudCloudinstancesVolumesPostConflict struct {
	Payload *models.Error
}

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

Conflict

func NewPcloudCloudinstancesVolumesPostConflict

func NewPcloudCloudinstancesVolumesPostConflict() *PcloudCloudinstancesVolumesPostConflict

NewPcloudCloudinstancesVolumesPostConflict creates a PcloudCloudinstancesVolumesPostConflict with default headers values

func (*PcloudCloudinstancesVolumesPostConflict) Code

Code gets the status code for the pcloud cloudinstances volumes post conflict response

func (*PcloudCloudinstancesVolumesPostConflict) Error

func (*PcloudCloudinstancesVolumesPostConflict) GetPayload

func (*PcloudCloudinstancesVolumesPostConflict) IsClientError

func (o *PcloudCloudinstancesVolumesPostConflict) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances volumes post conflict response has a 4xx status code

func (*PcloudCloudinstancesVolumesPostConflict) IsCode

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

func (*PcloudCloudinstancesVolumesPostConflict) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes post conflict response has a 3xx status code

func (*PcloudCloudinstancesVolumesPostConflict) IsServerError

func (o *PcloudCloudinstancesVolumesPostConflict) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances volumes post conflict response has a 5xx status code

func (*PcloudCloudinstancesVolumesPostConflict) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes post conflict response has a 2xx status code

func (*PcloudCloudinstancesVolumesPostConflict) String

type PcloudCloudinstancesVolumesPostForbidden

type PcloudCloudinstancesVolumesPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesVolumesPostForbidden

func NewPcloudCloudinstancesVolumesPostForbidden() *PcloudCloudinstancesVolumesPostForbidden

NewPcloudCloudinstancesVolumesPostForbidden creates a PcloudCloudinstancesVolumesPostForbidden with default headers values

func (*PcloudCloudinstancesVolumesPostForbidden) Code

Code gets the status code for the pcloud cloudinstances volumes post forbidden response

func (*PcloudCloudinstancesVolumesPostForbidden) Error

func (*PcloudCloudinstancesVolumesPostForbidden) GetPayload

func (*PcloudCloudinstancesVolumesPostForbidden) IsClientError

IsClientError returns true when this pcloud cloudinstances volumes post forbidden response has a 4xx status code

func (*PcloudCloudinstancesVolumesPostForbidden) IsCode

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

func (*PcloudCloudinstancesVolumesPostForbidden) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes post forbidden response has a 3xx status code

func (*PcloudCloudinstancesVolumesPostForbidden) IsServerError

IsServerError returns true when this pcloud cloudinstances volumes post forbidden response has a 5xx status code

func (*PcloudCloudinstancesVolumesPostForbidden) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes post forbidden response has a 2xx status code

func (*PcloudCloudinstancesVolumesPostForbidden) String

type PcloudCloudinstancesVolumesPostInternalServerError

type PcloudCloudinstancesVolumesPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudCloudinstancesVolumesPostInternalServerError

func NewPcloudCloudinstancesVolumesPostInternalServerError() *PcloudCloudinstancesVolumesPostInternalServerError

NewPcloudCloudinstancesVolumesPostInternalServerError creates a PcloudCloudinstancesVolumesPostInternalServerError with default headers values

func (*PcloudCloudinstancesVolumesPostInternalServerError) Code

Code gets the status code for the pcloud cloudinstances volumes post internal server error response

func (*PcloudCloudinstancesVolumesPostInternalServerError) Error

func (*PcloudCloudinstancesVolumesPostInternalServerError) GetPayload

func (*PcloudCloudinstancesVolumesPostInternalServerError) IsClientError

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

func (*PcloudCloudinstancesVolumesPostInternalServerError) IsCode

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

func (*PcloudCloudinstancesVolumesPostInternalServerError) IsRedirect

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

func (*PcloudCloudinstancesVolumesPostInternalServerError) IsServerError

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

func (*PcloudCloudinstancesVolumesPostInternalServerError) IsSuccess

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

func (*PcloudCloudinstancesVolumesPostInternalServerError) String

type PcloudCloudinstancesVolumesPostParams

type PcloudCloudinstancesVolumesPostParams struct {

	/* Body.

	   Parameters for the creation of a new data volume
	*/
	Body *models.CreateDataVolume

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

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

PcloudCloudinstancesVolumesPostParams contains all the parameters to send to the API endpoint

for the pcloud cloudinstances volumes post operation.

Typically these are written to a http.Request.

func NewPcloudCloudinstancesVolumesPostParams

func NewPcloudCloudinstancesVolumesPostParams() *PcloudCloudinstancesVolumesPostParams

NewPcloudCloudinstancesVolumesPostParams creates a new PcloudCloudinstancesVolumesPostParams 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 NewPcloudCloudinstancesVolumesPostParamsWithContext

func NewPcloudCloudinstancesVolumesPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesPostParams

NewPcloudCloudinstancesVolumesPostParamsWithContext creates a new PcloudCloudinstancesVolumesPostParams object with the ability to set a context for a request.

func NewPcloudCloudinstancesVolumesPostParamsWithHTTPClient

func NewPcloudCloudinstancesVolumesPostParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesPostParams

NewPcloudCloudinstancesVolumesPostParamsWithHTTPClient creates a new PcloudCloudinstancesVolumesPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudCloudinstancesVolumesPostParamsWithTimeout

func NewPcloudCloudinstancesVolumesPostParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesPostParams

NewPcloudCloudinstancesVolumesPostParamsWithTimeout creates a new PcloudCloudinstancesVolumesPostParams object with the ability to set a timeout on a request.

func (*PcloudCloudinstancesVolumesPostParams) SetBody

SetBody adds the body to the pcloud cloudinstances volumes post params

func (*PcloudCloudinstancesVolumesPostParams) SetCloudInstanceID

func (o *PcloudCloudinstancesVolumesPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances volumes post params

func (*PcloudCloudinstancesVolumesPostParams) SetContext

SetContext adds the context to the pcloud cloudinstances volumes post params

func (*PcloudCloudinstancesVolumesPostParams) SetDefaults

func (o *PcloudCloudinstancesVolumesPostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud cloudinstances volumes post params (not the query body).

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

func (*PcloudCloudinstancesVolumesPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes post params

func (*PcloudCloudinstancesVolumesPostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud cloudinstances volumes post params

func (*PcloudCloudinstancesVolumesPostParams) WithBody

WithBody adds the body to the pcloud cloudinstances volumes post params

func (*PcloudCloudinstancesVolumesPostParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances volumes post params

func (*PcloudCloudinstancesVolumesPostParams) WithContext

WithContext adds the context to the pcloud cloudinstances volumes post params

func (*PcloudCloudinstancesVolumesPostParams) WithDefaults

WithDefaults hydrates default values in the pcloud cloudinstances volumes post params (not the query body).

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

func (*PcloudCloudinstancesVolumesPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes post params

func (*PcloudCloudinstancesVolumesPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances volumes post params

func (*PcloudCloudinstancesVolumesPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesVolumesPostReader

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

PcloudCloudinstancesVolumesPostReader is a Reader for the PcloudCloudinstancesVolumesPost structure.

func (*PcloudCloudinstancesVolumesPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesVolumesPostUnauthorized

type PcloudCloudinstancesVolumesPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudCloudinstancesVolumesPostUnauthorized

func NewPcloudCloudinstancesVolumesPostUnauthorized() *PcloudCloudinstancesVolumesPostUnauthorized

NewPcloudCloudinstancesVolumesPostUnauthorized creates a PcloudCloudinstancesVolumesPostUnauthorized with default headers values

func (*PcloudCloudinstancesVolumesPostUnauthorized) Code

Code gets the status code for the pcloud cloudinstances volumes post unauthorized response

func (*PcloudCloudinstancesVolumesPostUnauthorized) Error

func (*PcloudCloudinstancesVolumesPostUnauthorized) GetPayload

func (*PcloudCloudinstancesVolumesPostUnauthorized) IsClientError

IsClientError returns true when this pcloud cloudinstances volumes post unauthorized response has a 4xx status code

func (*PcloudCloudinstancesVolumesPostUnauthorized) IsCode

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

func (*PcloudCloudinstancesVolumesPostUnauthorized) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes post unauthorized response has a 3xx status code

func (*PcloudCloudinstancesVolumesPostUnauthorized) IsServerError

IsServerError returns true when this pcloud cloudinstances volumes post unauthorized response has a 5xx status code

func (*PcloudCloudinstancesVolumesPostUnauthorized) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes post unauthorized response has a 2xx status code

func (*PcloudCloudinstancesVolumesPostUnauthorized) String

type PcloudCloudinstancesVolumesPostUnprocessableEntity

type PcloudCloudinstancesVolumesPostUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Entity

func NewPcloudCloudinstancesVolumesPostUnprocessableEntity

func NewPcloudCloudinstancesVolumesPostUnprocessableEntity() *PcloudCloudinstancesVolumesPostUnprocessableEntity

NewPcloudCloudinstancesVolumesPostUnprocessableEntity creates a PcloudCloudinstancesVolumesPostUnprocessableEntity with default headers values

func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) Code

Code gets the status code for the pcloud cloudinstances volumes post unprocessable entity response

func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) Error

func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) GetPayload

func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) IsClientError

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

func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) IsCode

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

func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) IsRedirect

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

func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) IsServerError

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

func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) IsSuccess

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

func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) String

type PcloudCloudinstancesVolumesPutBadRequest

type PcloudCloudinstancesVolumesPutBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudCloudinstancesVolumesPutBadRequest

func NewPcloudCloudinstancesVolumesPutBadRequest() *PcloudCloudinstancesVolumesPutBadRequest

NewPcloudCloudinstancesVolumesPutBadRequest creates a PcloudCloudinstancesVolumesPutBadRequest with default headers values

func (*PcloudCloudinstancesVolumesPutBadRequest) Code

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

func (*PcloudCloudinstancesVolumesPutBadRequest) Error

func (*PcloudCloudinstancesVolumesPutBadRequest) GetPayload

func (*PcloudCloudinstancesVolumesPutBadRequest) IsClientError

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

func (*PcloudCloudinstancesVolumesPutBadRequest) IsCode

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

func (*PcloudCloudinstancesVolumesPutBadRequest) IsRedirect

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

func (*PcloudCloudinstancesVolumesPutBadRequest) IsServerError

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

func (*PcloudCloudinstancesVolumesPutBadRequest) IsSuccess

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

func (*PcloudCloudinstancesVolumesPutBadRequest) String

type PcloudCloudinstancesVolumesPutConflict

type PcloudCloudinstancesVolumesPutConflict struct {
	Payload *models.Error
}

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

Conflict

func NewPcloudCloudinstancesVolumesPutConflict

func NewPcloudCloudinstancesVolumesPutConflict() *PcloudCloudinstancesVolumesPutConflict

NewPcloudCloudinstancesVolumesPutConflict creates a PcloudCloudinstancesVolumesPutConflict with default headers values

func (*PcloudCloudinstancesVolumesPutConflict) Code

Code gets the status code for the pcloud cloudinstances volumes put conflict response

func (*PcloudCloudinstancesVolumesPutConflict) Error

func (*PcloudCloudinstancesVolumesPutConflict) GetPayload

func (*PcloudCloudinstancesVolumesPutConflict) IsClientError

func (o *PcloudCloudinstancesVolumesPutConflict) IsClientError() bool

IsClientError returns true when this pcloud cloudinstances volumes put conflict response has a 4xx status code

func (*PcloudCloudinstancesVolumesPutConflict) IsCode

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

func (*PcloudCloudinstancesVolumesPutConflict) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes put conflict response has a 3xx status code

func (*PcloudCloudinstancesVolumesPutConflict) IsServerError

func (o *PcloudCloudinstancesVolumesPutConflict) IsServerError() bool

IsServerError returns true when this pcloud cloudinstances volumes put conflict response has a 5xx status code

func (*PcloudCloudinstancesVolumesPutConflict) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes put conflict response has a 2xx status code

func (*PcloudCloudinstancesVolumesPutConflict) String

type PcloudCloudinstancesVolumesPutForbidden

type PcloudCloudinstancesVolumesPutForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesVolumesPutForbidden

func NewPcloudCloudinstancesVolumesPutForbidden() *PcloudCloudinstancesVolumesPutForbidden

NewPcloudCloudinstancesVolumesPutForbidden creates a PcloudCloudinstancesVolumesPutForbidden with default headers values

func (*PcloudCloudinstancesVolumesPutForbidden) Code

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

func (*PcloudCloudinstancesVolumesPutForbidden) Error

func (*PcloudCloudinstancesVolumesPutForbidden) GetPayload

func (*PcloudCloudinstancesVolumesPutForbidden) IsClientError

func (o *PcloudCloudinstancesVolumesPutForbidden) IsClientError() bool

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

func (*PcloudCloudinstancesVolumesPutForbidden) IsCode

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

func (*PcloudCloudinstancesVolumesPutForbidden) IsRedirect

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

func (*PcloudCloudinstancesVolumesPutForbidden) IsServerError

func (o *PcloudCloudinstancesVolumesPutForbidden) IsServerError() bool

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

func (*PcloudCloudinstancesVolumesPutForbidden) IsSuccess

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

func (*PcloudCloudinstancesVolumesPutForbidden) String

type PcloudCloudinstancesVolumesPutInternalServerError

type PcloudCloudinstancesVolumesPutInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudCloudinstancesVolumesPutInternalServerError

func NewPcloudCloudinstancesVolumesPutInternalServerError() *PcloudCloudinstancesVolumesPutInternalServerError

NewPcloudCloudinstancesVolumesPutInternalServerError creates a PcloudCloudinstancesVolumesPutInternalServerError with default headers values

func (*PcloudCloudinstancesVolumesPutInternalServerError) Code

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

func (*PcloudCloudinstancesVolumesPutInternalServerError) Error

func (*PcloudCloudinstancesVolumesPutInternalServerError) GetPayload

func (*PcloudCloudinstancesVolumesPutInternalServerError) IsClientError

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

func (*PcloudCloudinstancesVolumesPutInternalServerError) IsCode

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

func (*PcloudCloudinstancesVolumesPutInternalServerError) IsRedirect

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

func (*PcloudCloudinstancesVolumesPutInternalServerError) IsServerError

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

func (*PcloudCloudinstancesVolumesPutInternalServerError) IsSuccess

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

func (*PcloudCloudinstancesVolumesPutInternalServerError) String

type PcloudCloudinstancesVolumesPutNotFound

type PcloudCloudinstancesVolumesPutNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudCloudinstancesVolumesPutNotFound

func NewPcloudCloudinstancesVolumesPutNotFound() *PcloudCloudinstancesVolumesPutNotFound

NewPcloudCloudinstancesVolumesPutNotFound creates a PcloudCloudinstancesVolumesPutNotFound with default headers values

func (*PcloudCloudinstancesVolumesPutNotFound) Code

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

func (*PcloudCloudinstancesVolumesPutNotFound) Error

func (*PcloudCloudinstancesVolumesPutNotFound) GetPayload

func (*PcloudCloudinstancesVolumesPutNotFound) IsClientError

func (o *PcloudCloudinstancesVolumesPutNotFound) IsClientError() bool

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

func (*PcloudCloudinstancesVolumesPutNotFound) IsCode

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

func (*PcloudCloudinstancesVolumesPutNotFound) IsRedirect

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

func (*PcloudCloudinstancesVolumesPutNotFound) IsServerError

func (o *PcloudCloudinstancesVolumesPutNotFound) IsServerError() bool

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

func (*PcloudCloudinstancesVolumesPutNotFound) IsSuccess

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

func (*PcloudCloudinstancesVolumesPutNotFound) String

type PcloudCloudinstancesVolumesPutOK

type PcloudCloudinstancesVolumesPutOK struct {
	Payload *models.Volume
}

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

OK

func NewPcloudCloudinstancesVolumesPutOK

func NewPcloudCloudinstancesVolumesPutOK() *PcloudCloudinstancesVolumesPutOK

NewPcloudCloudinstancesVolumesPutOK creates a PcloudCloudinstancesVolumesPutOK with default headers values

func (*PcloudCloudinstancesVolumesPutOK) Code

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

func (*PcloudCloudinstancesVolumesPutOK) Error

func (*PcloudCloudinstancesVolumesPutOK) GetPayload

func (*PcloudCloudinstancesVolumesPutOK) IsClientError

func (o *PcloudCloudinstancesVolumesPutOK) IsClientError() bool

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

func (*PcloudCloudinstancesVolumesPutOK) IsCode

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

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

func (*PcloudCloudinstancesVolumesPutOK) IsRedirect

func (o *PcloudCloudinstancesVolumesPutOK) IsRedirect() bool

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

func (*PcloudCloudinstancesVolumesPutOK) IsServerError

func (o *PcloudCloudinstancesVolumesPutOK) IsServerError() bool

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

func (*PcloudCloudinstancesVolumesPutOK) IsSuccess

func (o *PcloudCloudinstancesVolumesPutOK) IsSuccess() bool

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

func (*PcloudCloudinstancesVolumesPutOK) String

type PcloudCloudinstancesVolumesPutParams

type PcloudCloudinstancesVolumesPutParams struct {

	/* Body.

	   Parameters to update a cloud instance volume
	*/
	Body *models.UpdateVolume

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* VolumeID.

	   Volume ID
	*/
	VolumeID string

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

PcloudCloudinstancesVolumesPutParams contains all the parameters to send to the API endpoint

for the pcloud cloudinstances volumes put operation.

Typically these are written to a http.Request.

func NewPcloudCloudinstancesVolumesPutParams

func NewPcloudCloudinstancesVolumesPutParams() *PcloudCloudinstancesVolumesPutParams

NewPcloudCloudinstancesVolumesPutParams creates a new PcloudCloudinstancesVolumesPutParams 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 NewPcloudCloudinstancesVolumesPutParamsWithContext

func NewPcloudCloudinstancesVolumesPutParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesPutParams

NewPcloudCloudinstancesVolumesPutParamsWithContext creates a new PcloudCloudinstancesVolumesPutParams object with the ability to set a context for a request.

func NewPcloudCloudinstancesVolumesPutParamsWithHTTPClient

func NewPcloudCloudinstancesVolumesPutParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesPutParams

NewPcloudCloudinstancesVolumesPutParamsWithHTTPClient creates a new PcloudCloudinstancesVolumesPutParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudCloudinstancesVolumesPutParamsWithTimeout

func NewPcloudCloudinstancesVolumesPutParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesPutParams

NewPcloudCloudinstancesVolumesPutParamsWithTimeout creates a new PcloudCloudinstancesVolumesPutParams object with the ability to set a timeout on a request.

func (*PcloudCloudinstancesVolumesPutParams) SetBody

SetBody adds the body to the pcloud cloudinstances volumes put params

func (*PcloudCloudinstancesVolumesPutParams) SetCloudInstanceID

func (o *PcloudCloudinstancesVolumesPutParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances volumes put params

func (*PcloudCloudinstancesVolumesPutParams) SetContext

SetContext adds the context to the pcloud cloudinstances volumes put params

func (*PcloudCloudinstancesVolumesPutParams) SetDefaults

func (o *PcloudCloudinstancesVolumesPutParams) SetDefaults()

SetDefaults hydrates default values in the pcloud cloudinstances volumes put params (not the query body).

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

func (*PcloudCloudinstancesVolumesPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes put params

func (*PcloudCloudinstancesVolumesPutParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud cloudinstances volumes put params

func (*PcloudCloudinstancesVolumesPutParams) SetVolumeID

func (o *PcloudCloudinstancesVolumesPutParams) SetVolumeID(volumeID string)

SetVolumeID adds the volumeId to the pcloud cloudinstances volumes put params

func (*PcloudCloudinstancesVolumesPutParams) WithBody

WithBody adds the body to the pcloud cloudinstances volumes put params

func (*PcloudCloudinstancesVolumesPutParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances volumes put params

func (*PcloudCloudinstancesVolumesPutParams) WithContext

WithContext adds the context to the pcloud cloudinstances volumes put params

func (*PcloudCloudinstancesVolumesPutParams) WithDefaults

WithDefaults hydrates default values in the pcloud cloudinstances volumes put params (not the query body).

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

func (*PcloudCloudinstancesVolumesPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes put params

func (*PcloudCloudinstancesVolumesPutParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances volumes put params

func (*PcloudCloudinstancesVolumesPutParams) WithVolumeID

WithVolumeID adds the volumeID to the pcloud cloudinstances volumes put params

func (*PcloudCloudinstancesVolumesPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesVolumesPutReader

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

PcloudCloudinstancesVolumesPutReader is a Reader for the PcloudCloudinstancesVolumesPut structure.

func (*PcloudCloudinstancesVolumesPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesVolumesPutUnauthorized

type PcloudCloudinstancesVolumesPutUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudCloudinstancesVolumesPutUnauthorized

func NewPcloudCloudinstancesVolumesPutUnauthorized() *PcloudCloudinstancesVolumesPutUnauthorized

NewPcloudCloudinstancesVolumesPutUnauthorized creates a PcloudCloudinstancesVolumesPutUnauthorized with default headers values

func (*PcloudCloudinstancesVolumesPutUnauthorized) Code

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

func (*PcloudCloudinstancesVolumesPutUnauthorized) Error

func (*PcloudCloudinstancesVolumesPutUnauthorized) GetPayload

func (*PcloudCloudinstancesVolumesPutUnauthorized) IsClientError

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

func (*PcloudCloudinstancesVolumesPutUnauthorized) IsCode

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

func (*PcloudCloudinstancesVolumesPutUnauthorized) IsRedirect

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

func (*PcloudCloudinstancesVolumesPutUnauthorized) IsServerError

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

func (*PcloudCloudinstancesVolumesPutUnauthorized) IsSuccess

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

func (*PcloudCloudinstancesVolumesPutUnauthorized) String

type PcloudCloudinstancesVolumesPutUnprocessableEntity

type PcloudCloudinstancesVolumesPutUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Entity

func NewPcloudCloudinstancesVolumesPutUnprocessableEntity

func NewPcloudCloudinstancesVolumesPutUnprocessableEntity() *PcloudCloudinstancesVolumesPutUnprocessableEntity

NewPcloudCloudinstancesVolumesPutUnprocessableEntity creates a PcloudCloudinstancesVolumesPutUnprocessableEntity with default headers values

func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) Code

Code gets the status code for the pcloud cloudinstances volumes put unprocessable entity response

func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) Error

func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) GetPayload

func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) IsClientError

IsClientError returns true when this pcloud cloudinstances volumes put unprocessable entity response has a 4xx status code

func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) IsCode

IsCode returns true when this pcloud cloudinstances volumes put unprocessable entity response a status code equal to that given

func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes put unprocessable entity response has a 3xx status code

func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) IsServerError

IsServerError returns true when this pcloud cloudinstances volumes put unprocessable entity response has a 5xx status code

func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes put unprocessable entity response has a 2xx status code

func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) String

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest() *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest

NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest creates a PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest with default headers values

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) Code

Code gets the status code for the pcloud cloudinstances volumes remote copy relationship get bad request response

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) Error

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) GetPayload

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) IsClientError

IsClientError returns true when this pcloud cloudinstances volumes remote copy relationship get bad request response has a 4xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) IsCode

IsCode returns true when this pcloud cloudinstances volumes remote copy relationship get bad request response a status code equal to that given

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes remote copy relationship get bad request response has a 3xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) IsServerError

IsServerError returns true when this pcloud cloudinstances volumes remote copy relationship get bad request response has a 5xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes remote copy relationship get bad request response has a 2xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) String

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden() *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden

NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden creates a PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden with default headers values

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) Code

Code gets the status code for the pcloud cloudinstances volumes remote copy relationship get forbidden response

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) Error

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) GetPayload

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) IsClientError

IsClientError returns true when this pcloud cloudinstances volumes remote copy relationship get forbidden response has a 4xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) IsCode

IsCode returns true when this pcloud cloudinstances volumes remote copy relationship get forbidden response a status code equal to that given

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes remote copy relationship get forbidden response has a 3xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) IsServerError

IsServerError returns true when this pcloud cloudinstances volumes remote copy relationship get forbidden response has a 5xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes remote copy relationship get forbidden response has a 2xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) String

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError() *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError

NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError creates a PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError with default headers values

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError) Code

Code gets the status code for the pcloud cloudinstances volumes remote copy relationship get internal server error response

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError) Error

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError) GetPayload

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError) IsClientError

IsClientError returns true when this pcloud cloudinstances volumes remote copy relationship get internal server error response has a 4xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError) IsCode

IsCode returns true when this pcloud cloudinstances volumes remote copy relationship get internal server error response a status code equal to that given

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes remote copy relationship get internal server error response has a 3xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError) IsServerError

IsServerError returns true when this pcloud cloudinstances volumes remote copy relationship get internal server error response has a 5xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes remote copy relationship get internal server error response has a 2xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError) String

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound() *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound

NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound creates a PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound with default headers values

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) Code

Code gets the status code for the pcloud cloudinstances volumes remote copy relationship get not found response

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) Error

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) GetPayload

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) IsClientError

IsClientError returns true when this pcloud cloudinstances volumes remote copy relationship get not found response has a 4xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) IsCode

IsCode returns true when this pcloud cloudinstances volumes remote copy relationship get not found response a status code equal to that given

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes remote copy relationship get not found response has a 3xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) IsServerError

IsServerError returns true when this pcloud cloudinstances volumes remote copy relationship get not found response has a 5xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes remote copy relationship get not found response has a 2xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) String

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK struct {
	Payload *models.VolumeRemoteCopyRelationship
}

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

OK

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK() *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK

NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK creates a PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK with default headers values

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) Code

Code gets the status code for the pcloud cloudinstances volumes remote copy relationship get o k response

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) Error

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) GetPayload

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) IsClientError

IsClientError returns true when this pcloud cloudinstances volumes remote copy relationship get o k response has a 4xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) IsCode

IsCode returns true when this pcloud cloudinstances volumes remote copy relationship get o k response a status code equal to that given

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes remote copy relationship get o k response has a 3xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) IsServerError

IsServerError returns true when this pcloud cloudinstances volumes remote copy relationship get o k response has a 5xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes remote copy relationship get o k response has a 2xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) String

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* VolumeID.

	   Volume ID
	*/
	VolumeID string

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

PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams contains all the parameters to send to the API endpoint

for the pcloud cloudinstances volumes remote copy relationship get operation.

Typically these are written to a http.Request.

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams() *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams

NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams creates a new PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams 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 NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetParamsWithContext

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams

NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetParamsWithContext creates a new PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams object with the ability to set a context for a request.

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetParamsWithHTTPClient

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams

NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetParamsWithHTTPClient creates a new PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetParamsWithTimeout

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams

NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetParamsWithTimeout creates a new PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams object with the ability to set a timeout on a request.

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) SetCloudInstanceID

func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances volumes remote copy relationship get params

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) SetContext

SetContext adds the context to the pcloud cloudinstances volumes remote copy relationship get params

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) SetDefaults

SetDefaults hydrates default values in the pcloud cloudinstances volumes remote copy relationship get params (not the query body).

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes remote copy relationship get params

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) SetTimeout

SetTimeout adds the timeout to the pcloud cloudinstances volumes remote copy relationship get params

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) SetVolumeID

SetVolumeID adds the volumeId to the pcloud cloudinstances volumes remote copy relationship get params

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances volumes remote copy relationship get params

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) WithContext

WithContext adds the context to the pcloud cloudinstances volumes remote copy relationship get params

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) WithDefaults

WithDefaults hydrates default values in the pcloud cloudinstances volumes remote copy relationship get params (not the query body).

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances volumes remote copy relationship get params

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances volumes remote copy relationship get params

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) WithVolumeID

WithVolumeID adds the volumeID to the pcloud cloudinstances volumes remote copy relationship get params

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetReader

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

PcloudCloudinstancesVolumesRemoteCopyRelationshipGetReader is a Reader for the PcloudCloudinstancesVolumesRemoteCopyRelationshipGet structure.

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetReader) ReadResponse

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests struct {
	Payload *models.Error
}

PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests() *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests

NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests creates a PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests with default headers values

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) Code

Code gets the status code for the pcloud cloudinstances volumes remote copy relationship get too many requests response

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) Error

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) GetPayload

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) IsClientError

IsClientError returns true when this pcloud cloudinstances volumes remote copy relationship get too many requests response has a 4xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) IsCode

IsCode returns true when this pcloud cloudinstances volumes remote copy relationship get too many requests response a status code equal to that given

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes remote copy relationship get too many requests response has a 3xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) IsServerError

IsServerError returns true when this pcloud cloudinstances volumes remote copy relationship get too many requests response has a 5xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes remote copy relationship get too many requests response has a 2xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) String

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized() *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized

NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized creates a PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized with default headers values

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) Code

Code gets the status code for the pcloud cloudinstances volumes remote copy relationship get unauthorized response

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) Error

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) GetPayload

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) IsClientError

IsClientError returns true when this pcloud cloudinstances volumes remote copy relationship get unauthorized response has a 4xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) IsCode

IsCode returns true when this pcloud cloudinstances volumes remote copy relationship get unauthorized response a status code equal to that given

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) IsRedirect

IsRedirect returns true when this pcloud cloudinstances volumes remote copy relationship get unauthorized response has a 3xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) IsServerError

IsServerError returns true when this pcloud cloudinstances volumes remote copy relationship get unauthorized response has a 5xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) IsSuccess

IsSuccess returns true when this pcloud cloudinstances volumes remote copy relationship get unauthorized response has a 2xx status code

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) String

type PcloudPvminstancesVolumesDeleteAccepted

type PcloudPvminstancesVolumesDeleteAccepted struct {
	Payload models.Object
}

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

OK

func NewPcloudPvminstancesVolumesDeleteAccepted

func NewPcloudPvminstancesVolumesDeleteAccepted() *PcloudPvminstancesVolumesDeleteAccepted

NewPcloudPvminstancesVolumesDeleteAccepted creates a PcloudPvminstancesVolumesDeleteAccepted with default headers values

func (*PcloudPvminstancesVolumesDeleteAccepted) Code

Code gets the status code for the pcloud pvminstances volumes delete accepted response

func (*PcloudPvminstancesVolumesDeleteAccepted) Error

func (*PcloudPvminstancesVolumesDeleteAccepted) GetPayload

func (*PcloudPvminstancesVolumesDeleteAccepted) IsClientError

func (o *PcloudPvminstancesVolumesDeleteAccepted) IsClientError() bool

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

func (*PcloudPvminstancesVolumesDeleteAccepted) IsCode

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

func (*PcloudPvminstancesVolumesDeleteAccepted) IsRedirect

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

func (*PcloudPvminstancesVolumesDeleteAccepted) IsServerError

func (o *PcloudPvminstancesVolumesDeleteAccepted) IsServerError() bool

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

func (*PcloudPvminstancesVolumesDeleteAccepted) IsSuccess

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

func (*PcloudPvminstancesVolumesDeleteAccepted) String

type PcloudPvminstancesVolumesDeleteBadRequest

type PcloudPvminstancesVolumesDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudPvminstancesVolumesDeleteBadRequest

func NewPcloudPvminstancesVolumesDeleteBadRequest() *PcloudPvminstancesVolumesDeleteBadRequest

NewPcloudPvminstancesVolumesDeleteBadRequest creates a PcloudPvminstancesVolumesDeleteBadRequest with default headers values

func (*PcloudPvminstancesVolumesDeleteBadRequest) Code

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

func (*PcloudPvminstancesVolumesDeleteBadRequest) Error

func (*PcloudPvminstancesVolumesDeleteBadRequest) GetPayload

func (*PcloudPvminstancesVolumesDeleteBadRequest) IsClientError

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

func (*PcloudPvminstancesVolumesDeleteBadRequest) IsCode

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

func (*PcloudPvminstancesVolumesDeleteBadRequest) IsRedirect

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

func (*PcloudPvminstancesVolumesDeleteBadRequest) IsServerError

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

func (*PcloudPvminstancesVolumesDeleteBadRequest) IsSuccess

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

func (*PcloudPvminstancesVolumesDeleteBadRequest) String

type PcloudPvminstancesVolumesDeleteConflict

type PcloudPvminstancesVolumesDeleteConflict struct {
	Payload *models.Error
}

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

Conflict

func NewPcloudPvminstancesVolumesDeleteConflict

func NewPcloudPvminstancesVolumesDeleteConflict() *PcloudPvminstancesVolumesDeleteConflict

NewPcloudPvminstancesVolumesDeleteConflict creates a PcloudPvminstancesVolumesDeleteConflict with default headers values

func (*PcloudPvminstancesVolumesDeleteConflict) Code

Code gets the status code for the pcloud pvminstances volumes delete conflict response

func (*PcloudPvminstancesVolumesDeleteConflict) Error

func (*PcloudPvminstancesVolumesDeleteConflict) GetPayload

func (*PcloudPvminstancesVolumesDeleteConflict) IsClientError

func (o *PcloudPvminstancesVolumesDeleteConflict) IsClientError() bool

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

func (*PcloudPvminstancesVolumesDeleteConflict) IsCode

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

func (*PcloudPvminstancesVolumesDeleteConflict) IsRedirect

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

func (*PcloudPvminstancesVolumesDeleteConflict) IsServerError

func (o *PcloudPvminstancesVolumesDeleteConflict) IsServerError() bool

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

func (*PcloudPvminstancesVolumesDeleteConflict) IsSuccess

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

func (*PcloudPvminstancesVolumesDeleteConflict) String

type PcloudPvminstancesVolumesDeleteForbidden

type PcloudPvminstancesVolumesDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesVolumesDeleteForbidden

func NewPcloudPvminstancesVolumesDeleteForbidden() *PcloudPvminstancesVolumesDeleteForbidden

NewPcloudPvminstancesVolumesDeleteForbidden creates a PcloudPvminstancesVolumesDeleteForbidden with default headers values

func (*PcloudPvminstancesVolumesDeleteForbidden) Code

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

func (*PcloudPvminstancesVolumesDeleteForbidden) Error

func (*PcloudPvminstancesVolumesDeleteForbidden) GetPayload

func (*PcloudPvminstancesVolumesDeleteForbidden) IsClientError

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

func (*PcloudPvminstancesVolumesDeleteForbidden) IsCode

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

func (*PcloudPvminstancesVolumesDeleteForbidden) IsRedirect

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

func (*PcloudPvminstancesVolumesDeleteForbidden) IsServerError

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

func (*PcloudPvminstancesVolumesDeleteForbidden) IsSuccess

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

func (*PcloudPvminstancesVolumesDeleteForbidden) String

type PcloudPvminstancesVolumesDeleteInternalServerError

type PcloudPvminstancesVolumesDeleteInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudPvminstancesVolumesDeleteInternalServerError

func NewPcloudPvminstancesVolumesDeleteInternalServerError() *PcloudPvminstancesVolumesDeleteInternalServerError

NewPcloudPvminstancesVolumesDeleteInternalServerError creates a PcloudPvminstancesVolumesDeleteInternalServerError with default headers values

func (*PcloudPvminstancesVolumesDeleteInternalServerError) Code

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

func (*PcloudPvminstancesVolumesDeleteInternalServerError) Error

func (*PcloudPvminstancesVolumesDeleteInternalServerError) GetPayload

func (*PcloudPvminstancesVolumesDeleteInternalServerError) IsClientError

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

func (*PcloudPvminstancesVolumesDeleteInternalServerError) IsCode

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

func (*PcloudPvminstancesVolumesDeleteInternalServerError) IsRedirect

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

func (*PcloudPvminstancesVolumesDeleteInternalServerError) IsServerError

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

func (*PcloudPvminstancesVolumesDeleteInternalServerError) IsSuccess

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

func (*PcloudPvminstancesVolumesDeleteInternalServerError) String

type PcloudPvminstancesVolumesDeleteNotFound

type PcloudPvminstancesVolumesDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesVolumesDeleteNotFound

func NewPcloudPvminstancesVolumesDeleteNotFound() *PcloudPvminstancesVolumesDeleteNotFound

NewPcloudPvminstancesVolumesDeleteNotFound creates a PcloudPvminstancesVolumesDeleteNotFound with default headers values

func (*PcloudPvminstancesVolumesDeleteNotFound) Code

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

func (*PcloudPvminstancesVolumesDeleteNotFound) Error

func (*PcloudPvminstancesVolumesDeleteNotFound) GetPayload

func (*PcloudPvminstancesVolumesDeleteNotFound) IsClientError

func (o *PcloudPvminstancesVolumesDeleteNotFound) IsClientError() bool

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

func (*PcloudPvminstancesVolumesDeleteNotFound) IsCode

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

func (*PcloudPvminstancesVolumesDeleteNotFound) IsRedirect

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

func (*PcloudPvminstancesVolumesDeleteNotFound) IsServerError

func (o *PcloudPvminstancesVolumesDeleteNotFound) IsServerError() bool

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

func (*PcloudPvminstancesVolumesDeleteNotFound) IsSuccess

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

func (*PcloudPvminstancesVolumesDeleteNotFound) String

type PcloudPvminstancesVolumesDeleteParams

type PcloudPvminstancesVolumesDeleteParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	/* VolumeID.

	   Volume ID
	*/
	VolumeID string

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

PcloudPvminstancesVolumesDeleteParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances volumes delete operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesVolumesDeleteParams

func NewPcloudPvminstancesVolumesDeleteParams() *PcloudPvminstancesVolumesDeleteParams

NewPcloudPvminstancesVolumesDeleteParams creates a new PcloudPvminstancesVolumesDeleteParams 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 NewPcloudPvminstancesVolumesDeleteParamsWithContext

func NewPcloudPvminstancesVolumesDeleteParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesDeleteParams

NewPcloudPvminstancesVolumesDeleteParamsWithContext creates a new PcloudPvminstancesVolumesDeleteParams object with the ability to set a context for a request.

func NewPcloudPvminstancesVolumesDeleteParamsWithHTTPClient

func NewPcloudPvminstancesVolumesDeleteParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesDeleteParams

NewPcloudPvminstancesVolumesDeleteParamsWithHTTPClient creates a new PcloudPvminstancesVolumesDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesVolumesDeleteParamsWithTimeout

func NewPcloudPvminstancesVolumesDeleteParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesDeleteParams

NewPcloudPvminstancesVolumesDeleteParamsWithTimeout creates a new PcloudPvminstancesVolumesDeleteParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesVolumesDeleteParams) SetCloudInstanceID

func (o *PcloudPvminstancesVolumesDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances volumes delete params

func (*PcloudPvminstancesVolumesDeleteParams) SetContext

SetContext adds the context to the pcloud pvminstances volumes delete params

func (*PcloudPvminstancesVolumesDeleteParams) SetDefaults

func (o *PcloudPvminstancesVolumesDeleteParams) SetDefaults()

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

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

func (*PcloudPvminstancesVolumesDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances volumes delete params

func (*PcloudPvminstancesVolumesDeleteParams) SetPvmInstanceID

func (o *PcloudPvminstancesVolumesDeleteParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances volumes delete params

func (*PcloudPvminstancesVolumesDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud pvminstances volumes delete params

func (*PcloudPvminstancesVolumesDeleteParams) SetVolumeID

func (o *PcloudPvminstancesVolumesDeleteParams) SetVolumeID(volumeID string)

SetVolumeID adds the volumeId to the pcloud pvminstances volumes delete params

func (*PcloudPvminstancesVolumesDeleteParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances volumes delete params

func (*PcloudPvminstancesVolumesDeleteParams) WithContext

WithContext adds the context to the pcloud pvminstances volumes delete params

func (*PcloudPvminstancesVolumesDeleteParams) WithDefaults

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

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

func (*PcloudPvminstancesVolumesDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances volumes delete params

func (*PcloudPvminstancesVolumesDeleteParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances volumes delete params

func (*PcloudPvminstancesVolumesDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances volumes delete params

func (*PcloudPvminstancesVolumesDeleteParams) WithVolumeID

WithVolumeID adds the volumeID to the pcloud pvminstances volumes delete params

func (*PcloudPvminstancesVolumesDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesVolumesDeleteReader

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

PcloudPvminstancesVolumesDeleteReader is a Reader for the PcloudPvminstancesVolumesDelete structure.

func (*PcloudPvminstancesVolumesDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesVolumesDeleteUnauthorized

type PcloudPvminstancesVolumesDeleteUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudPvminstancesVolumesDeleteUnauthorized

func NewPcloudPvminstancesVolumesDeleteUnauthorized() *PcloudPvminstancesVolumesDeleteUnauthorized

NewPcloudPvminstancesVolumesDeleteUnauthorized creates a PcloudPvminstancesVolumesDeleteUnauthorized with default headers values

func (*PcloudPvminstancesVolumesDeleteUnauthorized) Code

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

func (*PcloudPvminstancesVolumesDeleteUnauthorized) Error

func (*PcloudPvminstancesVolumesDeleteUnauthorized) GetPayload

func (*PcloudPvminstancesVolumesDeleteUnauthorized) IsClientError

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

func (*PcloudPvminstancesVolumesDeleteUnauthorized) IsCode

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

func (*PcloudPvminstancesVolumesDeleteUnauthorized) IsRedirect

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

func (*PcloudPvminstancesVolumesDeleteUnauthorized) IsServerError

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

func (*PcloudPvminstancesVolumesDeleteUnauthorized) IsSuccess

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

func (*PcloudPvminstancesVolumesDeleteUnauthorized) String

type PcloudPvminstancesVolumesGetBadRequest

type PcloudPvminstancesVolumesGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudPvminstancesVolumesGetBadRequest

func NewPcloudPvminstancesVolumesGetBadRequest() *PcloudPvminstancesVolumesGetBadRequest

NewPcloudPvminstancesVolumesGetBadRequest creates a PcloudPvminstancesVolumesGetBadRequest with default headers values

func (*PcloudPvminstancesVolumesGetBadRequest) Code

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

func (*PcloudPvminstancesVolumesGetBadRequest) Error

func (*PcloudPvminstancesVolumesGetBadRequest) GetPayload

func (*PcloudPvminstancesVolumesGetBadRequest) IsClientError

func (o *PcloudPvminstancesVolumesGetBadRequest) IsClientError() bool

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

func (*PcloudPvminstancesVolumesGetBadRequest) IsCode

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

func (*PcloudPvminstancesVolumesGetBadRequest) IsRedirect

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

func (*PcloudPvminstancesVolumesGetBadRequest) IsServerError

func (o *PcloudPvminstancesVolumesGetBadRequest) IsServerError() bool

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

func (*PcloudPvminstancesVolumesGetBadRequest) IsSuccess

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

func (*PcloudPvminstancesVolumesGetBadRequest) String

type PcloudPvminstancesVolumesGetForbidden

type PcloudPvminstancesVolumesGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesVolumesGetForbidden

func NewPcloudPvminstancesVolumesGetForbidden() *PcloudPvminstancesVolumesGetForbidden

NewPcloudPvminstancesVolumesGetForbidden creates a PcloudPvminstancesVolumesGetForbidden with default headers values

func (*PcloudPvminstancesVolumesGetForbidden) Code

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

func (*PcloudPvminstancesVolumesGetForbidden) Error

func (*PcloudPvminstancesVolumesGetForbidden) GetPayload

func (*PcloudPvminstancesVolumesGetForbidden) IsClientError

func (o *PcloudPvminstancesVolumesGetForbidden) IsClientError() bool

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

func (*PcloudPvminstancesVolumesGetForbidden) IsCode

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

func (*PcloudPvminstancesVolumesGetForbidden) IsRedirect

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

func (*PcloudPvminstancesVolumesGetForbidden) IsServerError

func (o *PcloudPvminstancesVolumesGetForbidden) IsServerError() bool

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

func (*PcloudPvminstancesVolumesGetForbidden) IsSuccess

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

func (*PcloudPvminstancesVolumesGetForbidden) String

type PcloudPvminstancesVolumesGetInternalServerError

type PcloudPvminstancesVolumesGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudPvminstancesVolumesGetInternalServerError

func NewPcloudPvminstancesVolumesGetInternalServerError() *PcloudPvminstancesVolumesGetInternalServerError

NewPcloudPvminstancesVolumesGetInternalServerError creates a PcloudPvminstancesVolumesGetInternalServerError with default headers values

func (*PcloudPvminstancesVolumesGetInternalServerError) Code

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

func (*PcloudPvminstancesVolumesGetInternalServerError) Error

func (*PcloudPvminstancesVolumesGetInternalServerError) GetPayload

func (*PcloudPvminstancesVolumesGetInternalServerError) IsClientError

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

func (*PcloudPvminstancesVolumesGetInternalServerError) IsCode

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

func (*PcloudPvminstancesVolumesGetInternalServerError) IsRedirect

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

func (*PcloudPvminstancesVolumesGetInternalServerError) IsServerError

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

func (*PcloudPvminstancesVolumesGetInternalServerError) IsSuccess

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

func (*PcloudPvminstancesVolumesGetInternalServerError) String

type PcloudPvminstancesVolumesGetNotFound

type PcloudPvminstancesVolumesGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesVolumesGetNotFound

func NewPcloudPvminstancesVolumesGetNotFound() *PcloudPvminstancesVolumesGetNotFound

NewPcloudPvminstancesVolumesGetNotFound creates a PcloudPvminstancesVolumesGetNotFound with default headers values

func (*PcloudPvminstancesVolumesGetNotFound) Code

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

func (*PcloudPvminstancesVolumesGetNotFound) Error

func (*PcloudPvminstancesVolumesGetNotFound) GetPayload

func (*PcloudPvminstancesVolumesGetNotFound) IsClientError

func (o *PcloudPvminstancesVolumesGetNotFound) IsClientError() bool

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

func (*PcloudPvminstancesVolumesGetNotFound) IsCode

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

func (*PcloudPvminstancesVolumesGetNotFound) IsRedirect

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

func (*PcloudPvminstancesVolumesGetNotFound) IsServerError

func (o *PcloudPvminstancesVolumesGetNotFound) IsServerError() bool

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

func (*PcloudPvminstancesVolumesGetNotFound) IsSuccess

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

func (*PcloudPvminstancesVolumesGetNotFound) String

type PcloudPvminstancesVolumesGetOK

type PcloudPvminstancesVolumesGetOK struct {
	Payload *models.Volume
}

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

OK

func NewPcloudPvminstancesVolumesGetOK

func NewPcloudPvminstancesVolumesGetOK() *PcloudPvminstancesVolumesGetOK

NewPcloudPvminstancesVolumesGetOK creates a PcloudPvminstancesVolumesGetOK with default headers values

func (*PcloudPvminstancesVolumesGetOK) Code

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

func (*PcloudPvminstancesVolumesGetOK) Error

func (*PcloudPvminstancesVolumesGetOK) GetPayload

func (o *PcloudPvminstancesVolumesGetOK) GetPayload() *models.Volume

func (*PcloudPvminstancesVolumesGetOK) IsClientError

func (o *PcloudPvminstancesVolumesGetOK) IsClientError() bool

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

func (*PcloudPvminstancesVolumesGetOK) IsCode

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

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

func (*PcloudPvminstancesVolumesGetOK) IsRedirect

func (o *PcloudPvminstancesVolumesGetOK) IsRedirect() bool

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

func (*PcloudPvminstancesVolumesGetOK) IsServerError

func (o *PcloudPvminstancesVolumesGetOK) IsServerError() bool

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

func (*PcloudPvminstancesVolumesGetOK) IsSuccess

func (o *PcloudPvminstancesVolumesGetOK) IsSuccess() bool

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

func (*PcloudPvminstancesVolumesGetOK) String

type PcloudPvminstancesVolumesGetParams

type PcloudPvminstancesVolumesGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	/* VolumeID.

	   Volume ID
	*/
	VolumeID string

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

PcloudPvminstancesVolumesGetParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances volumes get operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesVolumesGetParams

func NewPcloudPvminstancesVolumesGetParams() *PcloudPvminstancesVolumesGetParams

NewPcloudPvminstancesVolumesGetParams creates a new PcloudPvminstancesVolumesGetParams 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 NewPcloudPvminstancesVolumesGetParamsWithContext

func NewPcloudPvminstancesVolumesGetParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesGetParams

NewPcloudPvminstancesVolumesGetParamsWithContext creates a new PcloudPvminstancesVolumesGetParams object with the ability to set a context for a request.

func NewPcloudPvminstancesVolumesGetParamsWithHTTPClient

func NewPcloudPvminstancesVolumesGetParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesGetParams

NewPcloudPvminstancesVolumesGetParamsWithHTTPClient creates a new PcloudPvminstancesVolumesGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesVolumesGetParamsWithTimeout

func NewPcloudPvminstancesVolumesGetParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesGetParams

NewPcloudPvminstancesVolumesGetParamsWithTimeout creates a new PcloudPvminstancesVolumesGetParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesVolumesGetParams) SetCloudInstanceID

func (o *PcloudPvminstancesVolumesGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances volumes get params

func (*PcloudPvminstancesVolumesGetParams) SetContext

SetContext adds the context to the pcloud pvminstances volumes get params

func (*PcloudPvminstancesVolumesGetParams) SetDefaults

func (o *PcloudPvminstancesVolumesGetParams) SetDefaults()

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

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

func (*PcloudPvminstancesVolumesGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances volumes get params

func (*PcloudPvminstancesVolumesGetParams) SetPvmInstanceID

func (o *PcloudPvminstancesVolumesGetParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances volumes get params

func (*PcloudPvminstancesVolumesGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud pvminstances volumes get params

func (*PcloudPvminstancesVolumesGetParams) SetVolumeID

func (o *PcloudPvminstancesVolumesGetParams) SetVolumeID(volumeID string)

SetVolumeID adds the volumeId to the pcloud pvminstances volumes get params

func (*PcloudPvminstancesVolumesGetParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances volumes get params

func (*PcloudPvminstancesVolumesGetParams) WithContext

WithContext adds the context to the pcloud pvminstances volumes get params

func (*PcloudPvminstancesVolumesGetParams) WithDefaults

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

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

func (*PcloudPvminstancesVolumesGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances volumes get params

func (*PcloudPvminstancesVolumesGetParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances volumes get params

func (*PcloudPvminstancesVolumesGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances volumes get params

func (*PcloudPvminstancesVolumesGetParams) WithVolumeID

WithVolumeID adds the volumeID to the pcloud pvminstances volumes get params

func (*PcloudPvminstancesVolumesGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesVolumesGetReader

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

PcloudPvminstancesVolumesGetReader is a Reader for the PcloudPvminstancesVolumesGet structure.

func (*PcloudPvminstancesVolumesGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesVolumesGetUnauthorized

type PcloudPvminstancesVolumesGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudPvminstancesVolumesGetUnauthorized

func NewPcloudPvminstancesVolumesGetUnauthorized() *PcloudPvminstancesVolumesGetUnauthorized

NewPcloudPvminstancesVolumesGetUnauthorized creates a PcloudPvminstancesVolumesGetUnauthorized with default headers values

func (*PcloudPvminstancesVolumesGetUnauthorized) Code

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

func (*PcloudPvminstancesVolumesGetUnauthorized) Error

func (*PcloudPvminstancesVolumesGetUnauthorized) GetPayload

func (*PcloudPvminstancesVolumesGetUnauthorized) IsClientError

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

func (*PcloudPvminstancesVolumesGetUnauthorized) IsCode

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

func (*PcloudPvminstancesVolumesGetUnauthorized) IsRedirect

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

func (*PcloudPvminstancesVolumesGetUnauthorized) IsServerError

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

func (*PcloudPvminstancesVolumesGetUnauthorized) IsSuccess

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

func (*PcloudPvminstancesVolumesGetUnauthorized) String

type PcloudPvminstancesVolumesGetallBadRequest

type PcloudPvminstancesVolumesGetallBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudPvminstancesVolumesGetallBadRequest

func NewPcloudPvminstancesVolumesGetallBadRequest() *PcloudPvminstancesVolumesGetallBadRequest

NewPcloudPvminstancesVolumesGetallBadRequest creates a PcloudPvminstancesVolumesGetallBadRequest with default headers values

func (*PcloudPvminstancesVolumesGetallBadRequest) Code

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

func (*PcloudPvminstancesVolumesGetallBadRequest) Error

func (*PcloudPvminstancesVolumesGetallBadRequest) GetPayload

func (*PcloudPvminstancesVolumesGetallBadRequest) IsClientError

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

func (*PcloudPvminstancesVolumesGetallBadRequest) IsCode

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

func (*PcloudPvminstancesVolumesGetallBadRequest) IsRedirect

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

func (*PcloudPvminstancesVolumesGetallBadRequest) IsServerError

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

func (*PcloudPvminstancesVolumesGetallBadRequest) IsSuccess

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

func (*PcloudPvminstancesVolumesGetallBadRequest) String

type PcloudPvminstancesVolumesGetallForbidden

type PcloudPvminstancesVolumesGetallForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesVolumesGetallForbidden

func NewPcloudPvminstancesVolumesGetallForbidden() *PcloudPvminstancesVolumesGetallForbidden

NewPcloudPvminstancesVolumesGetallForbidden creates a PcloudPvminstancesVolumesGetallForbidden with default headers values

func (*PcloudPvminstancesVolumesGetallForbidden) Code

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

func (*PcloudPvminstancesVolumesGetallForbidden) Error

func (*PcloudPvminstancesVolumesGetallForbidden) GetPayload

func (*PcloudPvminstancesVolumesGetallForbidden) IsClientError

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

func (*PcloudPvminstancesVolumesGetallForbidden) IsCode

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

func (*PcloudPvminstancesVolumesGetallForbidden) IsRedirect

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

func (*PcloudPvminstancesVolumesGetallForbidden) IsServerError

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

func (*PcloudPvminstancesVolumesGetallForbidden) IsSuccess

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

func (*PcloudPvminstancesVolumesGetallForbidden) String

type PcloudPvminstancesVolumesGetallInternalServerError

type PcloudPvminstancesVolumesGetallInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudPvminstancesVolumesGetallInternalServerError

func NewPcloudPvminstancesVolumesGetallInternalServerError() *PcloudPvminstancesVolumesGetallInternalServerError

NewPcloudPvminstancesVolumesGetallInternalServerError creates a PcloudPvminstancesVolumesGetallInternalServerError with default headers values

func (*PcloudPvminstancesVolumesGetallInternalServerError) Code

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

func (*PcloudPvminstancesVolumesGetallInternalServerError) Error

func (*PcloudPvminstancesVolumesGetallInternalServerError) GetPayload

func (*PcloudPvminstancesVolumesGetallInternalServerError) IsClientError

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

func (*PcloudPvminstancesVolumesGetallInternalServerError) IsCode

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

func (*PcloudPvminstancesVolumesGetallInternalServerError) IsRedirect

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

func (*PcloudPvminstancesVolumesGetallInternalServerError) IsServerError

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

func (*PcloudPvminstancesVolumesGetallInternalServerError) IsSuccess

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

func (*PcloudPvminstancesVolumesGetallInternalServerError) String

type PcloudPvminstancesVolumesGetallNotFound

type PcloudPvminstancesVolumesGetallNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesVolumesGetallNotFound

func NewPcloudPvminstancesVolumesGetallNotFound() *PcloudPvminstancesVolumesGetallNotFound

NewPcloudPvminstancesVolumesGetallNotFound creates a PcloudPvminstancesVolumesGetallNotFound with default headers values

func (*PcloudPvminstancesVolumesGetallNotFound) Code

Code gets the status code for the pcloud pvminstances volumes getall not found response

func (*PcloudPvminstancesVolumesGetallNotFound) Error

func (*PcloudPvminstancesVolumesGetallNotFound) GetPayload

func (*PcloudPvminstancesVolumesGetallNotFound) IsClientError

func (o *PcloudPvminstancesVolumesGetallNotFound) IsClientError() bool

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

func (*PcloudPvminstancesVolumesGetallNotFound) IsCode

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

func (*PcloudPvminstancesVolumesGetallNotFound) IsRedirect

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

func (*PcloudPvminstancesVolumesGetallNotFound) IsServerError

func (o *PcloudPvminstancesVolumesGetallNotFound) IsServerError() bool

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

func (*PcloudPvminstancesVolumesGetallNotFound) IsSuccess

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

func (*PcloudPvminstancesVolumesGetallNotFound) String

type PcloudPvminstancesVolumesGetallOK

type PcloudPvminstancesVolumesGetallOK struct {
	Payload *models.Volumes
}

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

OK

func NewPcloudPvminstancesVolumesGetallOK

func NewPcloudPvminstancesVolumesGetallOK() *PcloudPvminstancesVolumesGetallOK

NewPcloudPvminstancesVolumesGetallOK creates a PcloudPvminstancesVolumesGetallOK with default headers values

func (*PcloudPvminstancesVolumesGetallOK) Code

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

func (*PcloudPvminstancesVolumesGetallOK) Error

func (*PcloudPvminstancesVolumesGetallOK) GetPayload

func (*PcloudPvminstancesVolumesGetallOK) IsClientError

func (o *PcloudPvminstancesVolumesGetallOK) IsClientError() bool

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

func (*PcloudPvminstancesVolumesGetallOK) IsCode

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

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

func (*PcloudPvminstancesVolumesGetallOK) IsRedirect

func (o *PcloudPvminstancesVolumesGetallOK) IsRedirect() bool

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

func (*PcloudPvminstancesVolumesGetallOK) IsServerError

func (o *PcloudPvminstancesVolumesGetallOK) IsServerError() bool

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

func (*PcloudPvminstancesVolumesGetallOK) IsSuccess

func (o *PcloudPvminstancesVolumesGetallOK) IsSuccess() bool

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

func (*PcloudPvminstancesVolumesGetallOK) String

type PcloudPvminstancesVolumesGetallParams

type PcloudPvminstancesVolumesGetallParams 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
}

PcloudPvminstancesVolumesGetallParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances volumes getall operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesVolumesGetallParams

func NewPcloudPvminstancesVolumesGetallParams() *PcloudPvminstancesVolumesGetallParams

NewPcloudPvminstancesVolumesGetallParams creates a new PcloudPvminstancesVolumesGetallParams 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 NewPcloudPvminstancesVolumesGetallParamsWithContext

func NewPcloudPvminstancesVolumesGetallParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesGetallParams

NewPcloudPvminstancesVolumesGetallParamsWithContext creates a new PcloudPvminstancesVolumesGetallParams object with the ability to set a context for a request.

func NewPcloudPvminstancesVolumesGetallParamsWithHTTPClient

func NewPcloudPvminstancesVolumesGetallParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesGetallParams

NewPcloudPvminstancesVolumesGetallParamsWithHTTPClient creates a new PcloudPvminstancesVolumesGetallParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesVolumesGetallParamsWithTimeout

func NewPcloudPvminstancesVolumesGetallParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesGetallParams

NewPcloudPvminstancesVolumesGetallParamsWithTimeout creates a new PcloudPvminstancesVolumesGetallParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesVolumesGetallParams) SetCloudInstanceID

func (o *PcloudPvminstancesVolumesGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances volumes getall params

func (*PcloudPvminstancesVolumesGetallParams) SetContext

SetContext adds the context to the pcloud pvminstances volumes getall params

func (*PcloudPvminstancesVolumesGetallParams) SetDefaults

func (o *PcloudPvminstancesVolumesGetallParams) SetDefaults()

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

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

func (*PcloudPvminstancesVolumesGetallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances volumes getall params

func (*PcloudPvminstancesVolumesGetallParams) SetPvmInstanceID

func (o *PcloudPvminstancesVolumesGetallParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances volumes getall params

func (*PcloudPvminstancesVolumesGetallParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud pvminstances volumes getall params

func (*PcloudPvminstancesVolumesGetallParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances volumes getall params

func (*PcloudPvminstancesVolumesGetallParams) WithContext

WithContext adds the context to the pcloud pvminstances volumes getall params

func (*PcloudPvminstancesVolumesGetallParams) WithDefaults

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

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

func (*PcloudPvminstancesVolumesGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances volumes getall params

func (*PcloudPvminstancesVolumesGetallParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances volumes getall params

func (*PcloudPvminstancesVolumesGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances volumes getall params

func (*PcloudPvminstancesVolumesGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesVolumesGetallReader

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

PcloudPvminstancesVolumesGetallReader is a Reader for the PcloudPvminstancesVolumesGetall structure.

func (*PcloudPvminstancesVolumesGetallReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesVolumesGetallUnauthorized

type PcloudPvminstancesVolumesGetallUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudPvminstancesVolumesGetallUnauthorized

func NewPcloudPvminstancesVolumesGetallUnauthorized() *PcloudPvminstancesVolumesGetallUnauthorized

NewPcloudPvminstancesVolumesGetallUnauthorized creates a PcloudPvminstancesVolumesGetallUnauthorized with default headers values

func (*PcloudPvminstancesVolumesGetallUnauthorized) Code

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

func (*PcloudPvminstancesVolumesGetallUnauthorized) Error

func (*PcloudPvminstancesVolumesGetallUnauthorized) GetPayload

func (*PcloudPvminstancesVolumesGetallUnauthorized) IsClientError

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

func (*PcloudPvminstancesVolumesGetallUnauthorized) IsCode

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

func (*PcloudPvminstancesVolumesGetallUnauthorized) IsRedirect

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

func (*PcloudPvminstancesVolumesGetallUnauthorized) IsServerError

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

func (*PcloudPvminstancesVolumesGetallUnauthorized) IsSuccess

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

func (*PcloudPvminstancesVolumesGetallUnauthorized) String

type PcloudPvminstancesVolumesPostBadRequest

type PcloudPvminstancesVolumesPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudPvminstancesVolumesPostBadRequest

func NewPcloudPvminstancesVolumesPostBadRequest() *PcloudPvminstancesVolumesPostBadRequest

NewPcloudPvminstancesVolumesPostBadRequest creates a PcloudPvminstancesVolumesPostBadRequest with default headers values

func (*PcloudPvminstancesVolumesPostBadRequest) Code

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

func (*PcloudPvminstancesVolumesPostBadRequest) Error

func (*PcloudPvminstancesVolumesPostBadRequest) GetPayload

func (*PcloudPvminstancesVolumesPostBadRequest) IsClientError

func (o *PcloudPvminstancesVolumesPostBadRequest) IsClientError() bool

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

func (*PcloudPvminstancesVolumesPostBadRequest) IsCode

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

func (*PcloudPvminstancesVolumesPostBadRequest) IsRedirect

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

func (*PcloudPvminstancesVolumesPostBadRequest) IsServerError

func (o *PcloudPvminstancesVolumesPostBadRequest) IsServerError() bool

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

func (*PcloudPvminstancesVolumesPostBadRequest) IsSuccess

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

func (*PcloudPvminstancesVolumesPostBadRequest) String

type PcloudPvminstancesVolumesPostConflict

type PcloudPvminstancesVolumesPostConflict struct {
	Payload *models.Error
}

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

Conflict

func NewPcloudPvminstancesVolumesPostConflict

func NewPcloudPvminstancesVolumesPostConflict() *PcloudPvminstancesVolumesPostConflict

NewPcloudPvminstancesVolumesPostConflict creates a PcloudPvminstancesVolumesPostConflict with default headers values

func (*PcloudPvminstancesVolumesPostConflict) Code

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

func (*PcloudPvminstancesVolumesPostConflict) Error

func (*PcloudPvminstancesVolumesPostConflict) GetPayload

func (*PcloudPvminstancesVolumesPostConflict) IsClientError

func (o *PcloudPvminstancesVolumesPostConflict) IsClientError() bool

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

func (*PcloudPvminstancesVolumesPostConflict) IsCode

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

func (*PcloudPvminstancesVolumesPostConflict) IsRedirect

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

func (*PcloudPvminstancesVolumesPostConflict) IsServerError

func (o *PcloudPvminstancesVolumesPostConflict) IsServerError() bool

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

func (*PcloudPvminstancesVolumesPostConflict) IsSuccess

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

func (*PcloudPvminstancesVolumesPostConflict) String

type PcloudPvminstancesVolumesPostForbidden

type PcloudPvminstancesVolumesPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesVolumesPostForbidden

func NewPcloudPvminstancesVolumesPostForbidden() *PcloudPvminstancesVolumesPostForbidden

NewPcloudPvminstancesVolumesPostForbidden creates a PcloudPvminstancesVolumesPostForbidden with default headers values

func (*PcloudPvminstancesVolumesPostForbidden) Code

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

func (*PcloudPvminstancesVolumesPostForbidden) Error

func (*PcloudPvminstancesVolumesPostForbidden) GetPayload

func (*PcloudPvminstancesVolumesPostForbidden) IsClientError

func (o *PcloudPvminstancesVolumesPostForbidden) IsClientError() bool

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

func (*PcloudPvminstancesVolumesPostForbidden) IsCode

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

func (*PcloudPvminstancesVolumesPostForbidden) IsRedirect

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

func (*PcloudPvminstancesVolumesPostForbidden) IsServerError

func (o *PcloudPvminstancesVolumesPostForbidden) IsServerError() bool

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

func (*PcloudPvminstancesVolumesPostForbidden) IsSuccess

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

func (*PcloudPvminstancesVolumesPostForbidden) String

type PcloudPvminstancesVolumesPostInternalServerError

type PcloudPvminstancesVolumesPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudPvminstancesVolumesPostInternalServerError

func NewPcloudPvminstancesVolumesPostInternalServerError() *PcloudPvminstancesVolumesPostInternalServerError

NewPcloudPvminstancesVolumesPostInternalServerError creates a PcloudPvminstancesVolumesPostInternalServerError with default headers values

func (*PcloudPvminstancesVolumesPostInternalServerError) Code

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

func (*PcloudPvminstancesVolumesPostInternalServerError) Error

func (*PcloudPvminstancesVolumesPostInternalServerError) GetPayload

func (*PcloudPvminstancesVolumesPostInternalServerError) IsClientError

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

func (*PcloudPvminstancesVolumesPostInternalServerError) IsCode

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

func (*PcloudPvminstancesVolumesPostInternalServerError) IsRedirect

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

func (*PcloudPvminstancesVolumesPostInternalServerError) IsServerError

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

func (*PcloudPvminstancesVolumesPostInternalServerError) IsSuccess

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

func (*PcloudPvminstancesVolumesPostInternalServerError) String

type PcloudPvminstancesVolumesPostNotFound

type PcloudPvminstancesVolumesPostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesVolumesPostNotFound

func NewPcloudPvminstancesVolumesPostNotFound() *PcloudPvminstancesVolumesPostNotFound

NewPcloudPvminstancesVolumesPostNotFound creates a PcloudPvminstancesVolumesPostNotFound with default headers values

func (*PcloudPvminstancesVolumesPostNotFound) Code

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

func (*PcloudPvminstancesVolumesPostNotFound) Error

func (*PcloudPvminstancesVolumesPostNotFound) GetPayload

func (*PcloudPvminstancesVolumesPostNotFound) IsClientError

func (o *PcloudPvminstancesVolumesPostNotFound) IsClientError() bool

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

func (*PcloudPvminstancesVolumesPostNotFound) IsCode

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

func (*PcloudPvminstancesVolumesPostNotFound) IsRedirect

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

func (*PcloudPvminstancesVolumesPostNotFound) IsServerError

func (o *PcloudPvminstancesVolumesPostNotFound) IsServerError() bool

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

func (*PcloudPvminstancesVolumesPostNotFound) IsSuccess

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

func (*PcloudPvminstancesVolumesPostNotFound) String

type PcloudPvminstancesVolumesPostOK

type PcloudPvminstancesVolumesPostOK struct {
	Payload models.Object
}

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

OK

func NewPcloudPvminstancesVolumesPostOK

func NewPcloudPvminstancesVolumesPostOK() *PcloudPvminstancesVolumesPostOK

NewPcloudPvminstancesVolumesPostOK creates a PcloudPvminstancesVolumesPostOK with default headers values

func (*PcloudPvminstancesVolumesPostOK) Code

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

func (*PcloudPvminstancesVolumesPostOK) Error

func (*PcloudPvminstancesVolumesPostOK) GetPayload

func (*PcloudPvminstancesVolumesPostOK) IsClientError

func (o *PcloudPvminstancesVolumesPostOK) IsClientError() bool

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

func (*PcloudPvminstancesVolumesPostOK) IsCode

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

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

func (*PcloudPvminstancesVolumesPostOK) IsRedirect

func (o *PcloudPvminstancesVolumesPostOK) IsRedirect() bool

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

func (*PcloudPvminstancesVolumesPostOK) IsServerError

func (o *PcloudPvminstancesVolumesPostOK) IsServerError() bool

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

func (*PcloudPvminstancesVolumesPostOK) IsSuccess

func (o *PcloudPvminstancesVolumesPostOK) IsSuccess() bool

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

func (*PcloudPvminstancesVolumesPostOK) String

type PcloudPvminstancesVolumesPostParams

type PcloudPvminstancesVolumesPostParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	/* VolumeID.

	   Volume ID
	*/
	VolumeID string

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

PcloudPvminstancesVolumesPostParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances volumes post operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesVolumesPostParams

func NewPcloudPvminstancesVolumesPostParams() *PcloudPvminstancesVolumesPostParams

NewPcloudPvminstancesVolumesPostParams creates a new PcloudPvminstancesVolumesPostParams 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 NewPcloudPvminstancesVolumesPostParamsWithContext

func NewPcloudPvminstancesVolumesPostParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesPostParams

NewPcloudPvminstancesVolumesPostParamsWithContext creates a new PcloudPvminstancesVolumesPostParams object with the ability to set a context for a request.

func NewPcloudPvminstancesVolumesPostParamsWithHTTPClient

func NewPcloudPvminstancesVolumesPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesPostParams

NewPcloudPvminstancesVolumesPostParamsWithHTTPClient creates a new PcloudPvminstancesVolumesPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesVolumesPostParamsWithTimeout

func NewPcloudPvminstancesVolumesPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesPostParams

NewPcloudPvminstancesVolumesPostParamsWithTimeout creates a new PcloudPvminstancesVolumesPostParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesVolumesPostParams) SetCloudInstanceID

func (o *PcloudPvminstancesVolumesPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances volumes post params

func (*PcloudPvminstancesVolumesPostParams) SetContext

SetContext adds the context to the pcloud pvminstances volumes post params

func (*PcloudPvminstancesVolumesPostParams) SetDefaults

func (o *PcloudPvminstancesVolumesPostParams) SetDefaults()

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

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

func (*PcloudPvminstancesVolumesPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances volumes post params

func (*PcloudPvminstancesVolumesPostParams) SetPvmInstanceID

func (o *PcloudPvminstancesVolumesPostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances volumes post params

func (*PcloudPvminstancesVolumesPostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud pvminstances volumes post params

func (*PcloudPvminstancesVolumesPostParams) SetVolumeID

func (o *PcloudPvminstancesVolumesPostParams) SetVolumeID(volumeID string)

SetVolumeID adds the volumeId to the pcloud pvminstances volumes post params

func (*PcloudPvminstancesVolumesPostParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances volumes post params

func (*PcloudPvminstancesVolumesPostParams) WithContext

WithContext adds the context to the pcloud pvminstances volumes post params

func (*PcloudPvminstancesVolumesPostParams) WithDefaults

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

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

func (*PcloudPvminstancesVolumesPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances volumes post params

func (*PcloudPvminstancesVolumesPostParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances volumes post params

func (*PcloudPvminstancesVolumesPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances volumes post params

func (*PcloudPvminstancesVolumesPostParams) WithVolumeID

WithVolumeID adds the volumeID to the pcloud pvminstances volumes post params

func (*PcloudPvminstancesVolumesPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesVolumesPostReader

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

PcloudPvminstancesVolumesPostReader is a Reader for the PcloudPvminstancesVolumesPost structure.

func (*PcloudPvminstancesVolumesPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesVolumesPostUnauthorized

type PcloudPvminstancesVolumesPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudPvminstancesVolumesPostUnauthorized

func NewPcloudPvminstancesVolumesPostUnauthorized() *PcloudPvminstancesVolumesPostUnauthorized

NewPcloudPvminstancesVolumesPostUnauthorized creates a PcloudPvminstancesVolumesPostUnauthorized with default headers values

func (*PcloudPvminstancesVolumesPostUnauthorized) Code

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

func (*PcloudPvminstancesVolumesPostUnauthorized) Error

func (*PcloudPvminstancesVolumesPostUnauthorized) GetPayload

func (*PcloudPvminstancesVolumesPostUnauthorized) IsClientError

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

func (*PcloudPvminstancesVolumesPostUnauthorized) IsCode

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

func (*PcloudPvminstancesVolumesPostUnauthorized) IsRedirect

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

func (*PcloudPvminstancesVolumesPostUnauthorized) IsServerError

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

func (*PcloudPvminstancesVolumesPostUnauthorized) IsSuccess

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

func (*PcloudPvminstancesVolumesPostUnauthorized) String

type PcloudPvminstancesVolumesPutBadRequest

type PcloudPvminstancesVolumesPutBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudPvminstancesVolumesPutBadRequest

func NewPcloudPvminstancesVolumesPutBadRequest() *PcloudPvminstancesVolumesPutBadRequest

NewPcloudPvminstancesVolumesPutBadRequest creates a PcloudPvminstancesVolumesPutBadRequest with default headers values

func (*PcloudPvminstancesVolumesPutBadRequest) Code

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

func (*PcloudPvminstancesVolumesPutBadRequest) Error

func (*PcloudPvminstancesVolumesPutBadRequest) GetPayload

func (*PcloudPvminstancesVolumesPutBadRequest) IsClientError

func (o *PcloudPvminstancesVolumesPutBadRequest) IsClientError() bool

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

func (*PcloudPvminstancesVolumesPutBadRequest) IsCode

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

func (*PcloudPvminstancesVolumesPutBadRequest) IsRedirect

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

func (*PcloudPvminstancesVolumesPutBadRequest) IsServerError

func (o *PcloudPvminstancesVolumesPutBadRequest) IsServerError() bool

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

func (*PcloudPvminstancesVolumesPutBadRequest) IsSuccess

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

func (*PcloudPvminstancesVolumesPutBadRequest) String

type PcloudPvminstancesVolumesPutForbidden

type PcloudPvminstancesVolumesPutForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesVolumesPutForbidden

func NewPcloudPvminstancesVolumesPutForbidden() *PcloudPvminstancesVolumesPutForbidden

NewPcloudPvminstancesVolumesPutForbidden creates a PcloudPvminstancesVolumesPutForbidden with default headers values

func (*PcloudPvminstancesVolumesPutForbidden) Code

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

func (*PcloudPvminstancesVolumesPutForbidden) Error

func (*PcloudPvminstancesVolumesPutForbidden) GetPayload

func (*PcloudPvminstancesVolumesPutForbidden) IsClientError

func (o *PcloudPvminstancesVolumesPutForbidden) IsClientError() bool

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

func (*PcloudPvminstancesVolumesPutForbidden) IsCode

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

func (*PcloudPvminstancesVolumesPutForbidden) IsRedirect

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

func (*PcloudPvminstancesVolumesPutForbidden) IsServerError

func (o *PcloudPvminstancesVolumesPutForbidden) IsServerError() bool

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

func (*PcloudPvminstancesVolumesPutForbidden) IsSuccess

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

func (*PcloudPvminstancesVolumesPutForbidden) String

type PcloudPvminstancesVolumesPutInternalServerError

type PcloudPvminstancesVolumesPutInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudPvminstancesVolumesPutInternalServerError

func NewPcloudPvminstancesVolumesPutInternalServerError() *PcloudPvminstancesVolumesPutInternalServerError

NewPcloudPvminstancesVolumesPutInternalServerError creates a PcloudPvminstancesVolumesPutInternalServerError with default headers values

func (*PcloudPvminstancesVolumesPutInternalServerError) Code

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

func (*PcloudPvminstancesVolumesPutInternalServerError) Error

func (*PcloudPvminstancesVolumesPutInternalServerError) GetPayload

func (*PcloudPvminstancesVolumesPutInternalServerError) IsClientError

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

func (*PcloudPvminstancesVolumesPutInternalServerError) IsCode

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

func (*PcloudPvminstancesVolumesPutInternalServerError) IsRedirect

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

func (*PcloudPvminstancesVolumesPutInternalServerError) IsServerError

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

func (*PcloudPvminstancesVolumesPutInternalServerError) IsSuccess

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

func (*PcloudPvminstancesVolumesPutInternalServerError) String

type PcloudPvminstancesVolumesPutNotFound

type PcloudPvminstancesVolumesPutNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesVolumesPutNotFound

func NewPcloudPvminstancesVolumesPutNotFound() *PcloudPvminstancesVolumesPutNotFound

NewPcloudPvminstancesVolumesPutNotFound creates a PcloudPvminstancesVolumesPutNotFound with default headers values

func (*PcloudPvminstancesVolumesPutNotFound) Code

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

func (*PcloudPvminstancesVolumesPutNotFound) Error

func (*PcloudPvminstancesVolumesPutNotFound) GetPayload

func (*PcloudPvminstancesVolumesPutNotFound) IsClientError

func (o *PcloudPvminstancesVolumesPutNotFound) IsClientError() bool

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

func (*PcloudPvminstancesVolumesPutNotFound) IsCode

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

func (*PcloudPvminstancesVolumesPutNotFound) IsRedirect

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

func (*PcloudPvminstancesVolumesPutNotFound) IsServerError

func (o *PcloudPvminstancesVolumesPutNotFound) IsServerError() bool

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

func (*PcloudPvminstancesVolumesPutNotFound) IsSuccess

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

func (*PcloudPvminstancesVolumesPutNotFound) String

type PcloudPvminstancesVolumesPutOK

type PcloudPvminstancesVolumesPutOK struct {
	Payload models.Object
}

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

OK

func NewPcloudPvminstancesVolumesPutOK

func NewPcloudPvminstancesVolumesPutOK() *PcloudPvminstancesVolumesPutOK

NewPcloudPvminstancesVolumesPutOK creates a PcloudPvminstancesVolumesPutOK with default headers values

func (*PcloudPvminstancesVolumesPutOK) Code

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

func (*PcloudPvminstancesVolumesPutOK) Error

func (*PcloudPvminstancesVolumesPutOK) GetPayload

func (*PcloudPvminstancesVolumesPutOK) IsClientError

func (o *PcloudPvminstancesVolumesPutOK) IsClientError() bool

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

func (*PcloudPvminstancesVolumesPutOK) IsCode

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

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

func (*PcloudPvminstancesVolumesPutOK) IsRedirect

func (o *PcloudPvminstancesVolumesPutOK) IsRedirect() bool

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

func (*PcloudPvminstancesVolumesPutOK) IsServerError

func (o *PcloudPvminstancesVolumesPutOK) IsServerError() bool

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

func (*PcloudPvminstancesVolumesPutOK) IsSuccess

func (o *PcloudPvminstancesVolumesPutOK) IsSuccess() bool

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

func (*PcloudPvminstancesVolumesPutOK) String

type PcloudPvminstancesVolumesPutParams

type PcloudPvminstancesVolumesPutParams struct {

	/* Body.

	   Parameters to update a volume attached to a PVMInstance
	*/
	Body *models.PVMInstanceVolumeUpdate

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	/* VolumeID.

	   Volume ID
	*/
	VolumeID string

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

PcloudPvminstancesVolumesPutParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances volumes put operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesVolumesPutParams

func NewPcloudPvminstancesVolumesPutParams() *PcloudPvminstancesVolumesPutParams

NewPcloudPvminstancesVolumesPutParams creates a new PcloudPvminstancesVolumesPutParams 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 NewPcloudPvminstancesVolumesPutParamsWithContext

func NewPcloudPvminstancesVolumesPutParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesPutParams

NewPcloudPvminstancesVolumesPutParamsWithContext creates a new PcloudPvminstancesVolumesPutParams object with the ability to set a context for a request.

func NewPcloudPvminstancesVolumesPutParamsWithHTTPClient

func NewPcloudPvminstancesVolumesPutParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesPutParams

NewPcloudPvminstancesVolumesPutParamsWithHTTPClient creates a new PcloudPvminstancesVolumesPutParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesVolumesPutParamsWithTimeout

func NewPcloudPvminstancesVolumesPutParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesPutParams

NewPcloudPvminstancesVolumesPutParamsWithTimeout creates a new PcloudPvminstancesVolumesPutParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesVolumesPutParams) SetBody

SetBody adds the body to the pcloud pvminstances volumes put params

func (*PcloudPvminstancesVolumesPutParams) SetCloudInstanceID

func (o *PcloudPvminstancesVolumesPutParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances volumes put params

func (*PcloudPvminstancesVolumesPutParams) SetContext

SetContext adds the context to the pcloud pvminstances volumes put params

func (*PcloudPvminstancesVolumesPutParams) SetDefaults

func (o *PcloudPvminstancesVolumesPutParams) SetDefaults()

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

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

func (*PcloudPvminstancesVolumesPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances volumes put params

func (*PcloudPvminstancesVolumesPutParams) SetPvmInstanceID

func (o *PcloudPvminstancesVolumesPutParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances volumes put params

func (*PcloudPvminstancesVolumesPutParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud pvminstances volumes put params

func (*PcloudPvminstancesVolumesPutParams) SetVolumeID

func (o *PcloudPvminstancesVolumesPutParams) SetVolumeID(volumeID string)

SetVolumeID adds the volumeId to the pcloud pvminstances volumes put params

func (*PcloudPvminstancesVolumesPutParams) WithBody

WithBody adds the body to the pcloud pvminstances volumes put params

func (*PcloudPvminstancesVolumesPutParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances volumes put params

func (*PcloudPvminstancesVolumesPutParams) WithContext

WithContext adds the context to the pcloud pvminstances volumes put params

func (*PcloudPvminstancesVolumesPutParams) WithDefaults

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

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

func (*PcloudPvminstancesVolumesPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances volumes put params

func (*PcloudPvminstancesVolumesPutParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances volumes put params

func (*PcloudPvminstancesVolumesPutParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances volumes put params

func (*PcloudPvminstancesVolumesPutParams) WithVolumeID

WithVolumeID adds the volumeID to the pcloud pvminstances volumes put params

func (*PcloudPvminstancesVolumesPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesVolumesPutReader

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

PcloudPvminstancesVolumesPutReader is a Reader for the PcloudPvminstancesVolumesPut structure.

func (*PcloudPvminstancesVolumesPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesVolumesSetbootPutBadRequest

type PcloudPvminstancesVolumesSetbootPutBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudPvminstancesVolumesSetbootPutBadRequest

func NewPcloudPvminstancesVolumesSetbootPutBadRequest() *PcloudPvminstancesVolumesSetbootPutBadRequest

NewPcloudPvminstancesVolumesSetbootPutBadRequest creates a PcloudPvminstancesVolumesSetbootPutBadRequest with default headers values

func (*PcloudPvminstancesVolumesSetbootPutBadRequest) Code

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

func (*PcloudPvminstancesVolumesSetbootPutBadRequest) Error

func (*PcloudPvminstancesVolumesSetbootPutBadRequest) GetPayload

func (*PcloudPvminstancesVolumesSetbootPutBadRequest) IsClientError

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

func (*PcloudPvminstancesVolumesSetbootPutBadRequest) IsCode

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

func (*PcloudPvminstancesVolumesSetbootPutBadRequest) IsRedirect

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

func (*PcloudPvminstancesVolumesSetbootPutBadRequest) IsServerError

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

func (*PcloudPvminstancesVolumesSetbootPutBadRequest) IsSuccess

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

func (*PcloudPvminstancesVolumesSetbootPutBadRequest) String

type PcloudPvminstancesVolumesSetbootPutForbidden

type PcloudPvminstancesVolumesSetbootPutForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesVolumesSetbootPutForbidden

func NewPcloudPvminstancesVolumesSetbootPutForbidden() *PcloudPvminstancesVolumesSetbootPutForbidden

NewPcloudPvminstancesVolumesSetbootPutForbidden creates a PcloudPvminstancesVolumesSetbootPutForbidden with default headers values

func (*PcloudPvminstancesVolumesSetbootPutForbidden) Code

Code gets the status code for the pcloud pvminstances volumes setboot put forbidden response

func (*PcloudPvminstancesVolumesSetbootPutForbidden) Error

func (*PcloudPvminstancesVolumesSetbootPutForbidden) GetPayload

func (*PcloudPvminstancesVolumesSetbootPutForbidden) IsClientError

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

func (*PcloudPvminstancesVolumesSetbootPutForbidden) IsCode

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

func (*PcloudPvminstancesVolumesSetbootPutForbidden) IsRedirect

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

func (*PcloudPvminstancesVolumesSetbootPutForbidden) IsServerError

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

func (*PcloudPvminstancesVolumesSetbootPutForbidden) IsSuccess

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

func (*PcloudPvminstancesVolumesSetbootPutForbidden) String

type PcloudPvminstancesVolumesSetbootPutInternalServerError

type PcloudPvminstancesVolumesSetbootPutInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudPvminstancesVolumesSetbootPutInternalServerError

func NewPcloudPvminstancesVolumesSetbootPutInternalServerError() *PcloudPvminstancesVolumesSetbootPutInternalServerError

NewPcloudPvminstancesVolumesSetbootPutInternalServerError creates a PcloudPvminstancesVolumesSetbootPutInternalServerError with default headers values

func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) Code

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

func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) Error

func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) GetPayload

func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) IsClientError

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

func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) IsCode

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

func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) IsRedirect

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

func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) IsServerError

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

func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) IsSuccess

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

func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) String

type PcloudPvminstancesVolumesSetbootPutNotFound

type PcloudPvminstancesVolumesSetbootPutNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesVolumesSetbootPutNotFound

func NewPcloudPvminstancesVolumesSetbootPutNotFound() *PcloudPvminstancesVolumesSetbootPutNotFound

NewPcloudPvminstancesVolumesSetbootPutNotFound creates a PcloudPvminstancesVolumesSetbootPutNotFound with default headers values

func (*PcloudPvminstancesVolumesSetbootPutNotFound) Code

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

func (*PcloudPvminstancesVolumesSetbootPutNotFound) Error

func (*PcloudPvminstancesVolumesSetbootPutNotFound) GetPayload

func (*PcloudPvminstancesVolumesSetbootPutNotFound) IsClientError

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

func (*PcloudPvminstancesVolumesSetbootPutNotFound) IsCode

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

func (*PcloudPvminstancesVolumesSetbootPutNotFound) IsRedirect

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

func (*PcloudPvminstancesVolumesSetbootPutNotFound) IsServerError

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

func (*PcloudPvminstancesVolumesSetbootPutNotFound) IsSuccess

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

func (*PcloudPvminstancesVolumesSetbootPutNotFound) String

type PcloudPvminstancesVolumesSetbootPutOK

type PcloudPvminstancesVolumesSetbootPutOK struct {
	Payload models.Object
}

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

OK

func NewPcloudPvminstancesVolumesSetbootPutOK

func NewPcloudPvminstancesVolumesSetbootPutOK() *PcloudPvminstancesVolumesSetbootPutOK

NewPcloudPvminstancesVolumesSetbootPutOK creates a PcloudPvminstancesVolumesSetbootPutOK with default headers values

func (*PcloudPvminstancesVolumesSetbootPutOK) Code

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

func (*PcloudPvminstancesVolumesSetbootPutOK) Error

func (*PcloudPvminstancesVolumesSetbootPutOK) GetPayload

func (*PcloudPvminstancesVolumesSetbootPutOK) IsClientError

func (o *PcloudPvminstancesVolumesSetbootPutOK) IsClientError() bool

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

func (*PcloudPvminstancesVolumesSetbootPutOK) IsCode

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

func (*PcloudPvminstancesVolumesSetbootPutOK) IsRedirect

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

func (*PcloudPvminstancesVolumesSetbootPutOK) IsServerError

func (o *PcloudPvminstancesVolumesSetbootPutOK) IsServerError() bool

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

func (*PcloudPvminstancesVolumesSetbootPutOK) IsSuccess

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

func (*PcloudPvminstancesVolumesSetbootPutOK) String

type PcloudPvminstancesVolumesSetbootPutParams

type PcloudPvminstancesVolumesSetbootPutParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	/* VolumeID.

	   Volume ID
	*/
	VolumeID string

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

PcloudPvminstancesVolumesSetbootPutParams contains all the parameters to send to the API endpoint

for the pcloud pvminstances volumes setboot put operation.

Typically these are written to a http.Request.

func NewPcloudPvminstancesVolumesSetbootPutParams

func NewPcloudPvminstancesVolumesSetbootPutParams() *PcloudPvminstancesVolumesSetbootPutParams

NewPcloudPvminstancesVolumesSetbootPutParams creates a new PcloudPvminstancesVolumesSetbootPutParams 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 NewPcloudPvminstancesVolumesSetbootPutParamsWithContext

func NewPcloudPvminstancesVolumesSetbootPutParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesSetbootPutParams

NewPcloudPvminstancesVolumesSetbootPutParamsWithContext creates a new PcloudPvminstancesVolumesSetbootPutParams object with the ability to set a context for a request.

func NewPcloudPvminstancesVolumesSetbootPutParamsWithHTTPClient

func NewPcloudPvminstancesVolumesSetbootPutParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesVolumesSetbootPutParams

NewPcloudPvminstancesVolumesSetbootPutParamsWithHTTPClient creates a new PcloudPvminstancesVolumesSetbootPutParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPvminstancesVolumesSetbootPutParamsWithTimeout

func NewPcloudPvminstancesVolumesSetbootPutParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesVolumesSetbootPutParams

NewPcloudPvminstancesVolumesSetbootPutParamsWithTimeout creates a new PcloudPvminstancesVolumesSetbootPutParams object with the ability to set a timeout on a request.

func (*PcloudPvminstancesVolumesSetbootPutParams) SetCloudInstanceID

func (o *PcloudPvminstancesVolumesSetbootPutParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances volumes setboot put params

func (*PcloudPvminstancesVolumesSetbootPutParams) SetContext

SetContext adds the context to the pcloud pvminstances volumes setboot put params

func (*PcloudPvminstancesVolumesSetbootPutParams) SetDefaults

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

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

func (*PcloudPvminstancesVolumesSetbootPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances volumes setboot put params

func (*PcloudPvminstancesVolumesSetbootPutParams) SetPvmInstanceID

func (o *PcloudPvminstancesVolumesSetbootPutParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances volumes setboot put params

func (*PcloudPvminstancesVolumesSetbootPutParams) SetTimeout

SetTimeout adds the timeout to the pcloud pvminstances volumes setboot put params

func (*PcloudPvminstancesVolumesSetbootPutParams) SetVolumeID

func (o *PcloudPvminstancesVolumesSetbootPutParams) SetVolumeID(volumeID string)

SetVolumeID adds the volumeId to the pcloud pvminstances volumes setboot put params

func (*PcloudPvminstancesVolumesSetbootPutParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances volumes setboot put params

func (*PcloudPvminstancesVolumesSetbootPutParams) WithContext

WithContext adds the context to the pcloud pvminstances volumes setboot put params

func (*PcloudPvminstancesVolumesSetbootPutParams) WithDefaults

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

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

func (*PcloudPvminstancesVolumesSetbootPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances volumes setboot put params

func (*PcloudPvminstancesVolumesSetbootPutParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances volumes setboot put params

func (*PcloudPvminstancesVolumesSetbootPutParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances volumes setboot put params

func (*PcloudPvminstancesVolumesSetbootPutParams) WithVolumeID

WithVolumeID adds the volumeID to the pcloud pvminstances volumes setboot put params

func (*PcloudPvminstancesVolumesSetbootPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesVolumesSetbootPutReader

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

PcloudPvminstancesVolumesSetbootPutReader is a Reader for the PcloudPvminstancesVolumesSetbootPut structure.

func (*PcloudPvminstancesVolumesSetbootPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesVolumesSetbootPutUnauthorized

type PcloudPvminstancesVolumesSetbootPutUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudPvminstancesVolumesSetbootPutUnauthorized

func NewPcloudPvminstancesVolumesSetbootPutUnauthorized() *PcloudPvminstancesVolumesSetbootPutUnauthorized

NewPcloudPvminstancesVolumesSetbootPutUnauthorized creates a PcloudPvminstancesVolumesSetbootPutUnauthorized with default headers values

func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) Code

Code gets the status code for the pcloud pvminstances volumes setboot put unauthorized response

func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) Error

func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) GetPayload

func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) IsClientError

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

func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) IsCode

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

func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) IsRedirect

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

func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) IsServerError

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

func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) IsSuccess

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

func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) String

type PcloudV2PvminstancesVolumesPostAccepted

type PcloudV2PvminstancesVolumesPostAccepted struct {
	Payload *models.VolumesAttachmentResponse
}

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

Accepted

func NewPcloudV2PvminstancesVolumesPostAccepted

func NewPcloudV2PvminstancesVolumesPostAccepted() *PcloudV2PvminstancesVolumesPostAccepted

NewPcloudV2PvminstancesVolumesPostAccepted creates a PcloudV2PvminstancesVolumesPostAccepted with default headers values

func (*PcloudV2PvminstancesVolumesPostAccepted) Code

Code gets the status code for the pcloud v2 pvminstances volumes post accepted response

func (*PcloudV2PvminstancesVolumesPostAccepted) Error

func (*PcloudV2PvminstancesVolumesPostAccepted) GetPayload

func (*PcloudV2PvminstancesVolumesPostAccepted) IsClientError

func (o *PcloudV2PvminstancesVolumesPostAccepted) IsClientError() bool

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

func (*PcloudV2PvminstancesVolumesPostAccepted) IsCode

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

func (*PcloudV2PvminstancesVolumesPostAccepted) IsRedirect

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

func (*PcloudV2PvminstancesVolumesPostAccepted) IsServerError

func (o *PcloudV2PvminstancesVolumesPostAccepted) IsServerError() bool

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

func (*PcloudV2PvminstancesVolumesPostAccepted) IsSuccess

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

func (*PcloudV2PvminstancesVolumesPostAccepted) String

type PcloudV2PvminstancesVolumesPostBadRequest

type PcloudV2PvminstancesVolumesPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudV2PvminstancesVolumesPostBadRequest

func NewPcloudV2PvminstancesVolumesPostBadRequest() *PcloudV2PvminstancesVolumesPostBadRequest

NewPcloudV2PvminstancesVolumesPostBadRequest creates a PcloudV2PvminstancesVolumesPostBadRequest with default headers values

func (*PcloudV2PvminstancesVolumesPostBadRequest) Code

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

func (*PcloudV2PvminstancesVolumesPostBadRequest) Error

func (*PcloudV2PvminstancesVolumesPostBadRequest) GetPayload

func (*PcloudV2PvminstancesVolumesPostBadRequest) IsClientError

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

func (*PcloudV2PvminstancesVolumesPostBadRequest) IsCode

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

func (*PcloudV2PvminstancesVolumesPostBadRequest) IsRedirect

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

func (*PcloudV2PvminstancesVolumesPostBadRequest) IsServerError

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

func (*PcloudV2PvminstancesVolumesPostBadRequest) IsSuccess

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

func (*PcloudV2PvminstancesVolumesPostBadRequest) String

type PcloudV2PvminstancesVolumesPostConflict

type PcloudV2PvminstancesVolumesPostConflict struct {
	Payload *models.Error
}

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

Conflict

func NewPcloudV2PvminstancesVolumesPostConflict

func NewPcloudV2PvminstancesVolumesPostConflict() *PcloudV2PvminstancesVolumesPostConflict

NewPcloudV2PvminstancesVolumesPostConflict creates a PcloudV2PvminstancesVolumesPostConflict with default headers values

func (*PcloudV2PvminstancesVolumesPostConflict) Code

Code gets the status code for the pcloud v2 pvminstances volumes post conflict response

func (*PcloudV2PvminstancesVolumesPostConflict) Error

func (*PcloudV2PvminstancesVolumesPostConflict) GetPayload

func (*PcloudV2PvminstancesVolumesPostConflict) IsClientError

func (o *PcloudV2PvminstancesVolumesPostConflict) IsClientError() bool

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

func (*PcloudV2PvminstancesVolumesPostConflict) IsCode

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

func (*PcloudV2PvminstancesVolumesPostConflict) IsRedirect

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

func (*PcloudV2PvminstancesVolumesPostConflict) IsServerError

func (o *PcloudV2PvminstancesVolumesPostConflict) IsServerError() bool

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

func (*PcloudV2PvminstancesVolumesPostConflict) IsSuccess

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

func (*PcloudV2PvminstancesVolumesPostConflict) String

type PcloudV2PvminstancesVolumesPostInternalServerError

type PcloudV2PvminstancesVolumesPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudV2PvminstancesVolumesPostInternalServerError

func NewPcloudV2PvminstancesVolumesPostInternalServerError() *PcloudV2PvminstancesVolumesPostInternalServerError

NewPcloudV2PvminstancesVolumesPostInternalServerError creates a PcloudV2PvminstancesVolumesPostInternalServerError with default headers values

func (*PcloudV2PvminstancesVolumesPostInternalServerError) Code

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

func (*PcloudV2PvminstancesVolumesPostInternalServerError) Error

func (*PcloudV2PvminstancesVolumesPostInternalServerError) GetPayload

func (*PcloudV2PvminstancesVolumesPostInternalServerError) IsClientError

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

func (*PcloudV2PvminstancesVolumesPostInternalServerError) IsCode

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

func (*PcloudV2PvminstancesVolumesPostInternalServerError) IsRedirect

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

func (*PcloudV2PvminstancesVolumesPostInternalServerError) IsServerError

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

func (*PcloudV2PvminstancesVolumesPostInternalServerError) IsSuccess

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

func (*PcloudV2PvminstancesVolumesPostInternalServerError) String

type PcloudV2PvminstancesVolumesPostNotFound

type PcloudV2PvminstancesVolumesPostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudV2PvminstancesVolumesPostNotFound

func NewPcloudV2PvminstancesVolumesPostNotFound() *PcloudV2PvminstancesVolumesPostNotFound

NewPcloudV2PvminstancesVolumesPostNotFound creates a PcloudV2PvminstancesVolumesPostNotFound with default headers values

func (*PcloudV2PvminstancesVolumesPostNotFound) Code

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

func (*PcloudV2PvminstancesVolumesPostNotFound) Error

func (*PcloudV2PvminstancesVolumesPostNotFound) GetPayload

func (*PcloudV2PvminstancesVolumesPostNotFound) IsClientError

func (o *PcloudV2PvminstancesVolumesPostNotFound) IsClientError() bool

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

func (*PcloudV2PvminstancesVolumesPostNotFound) IsCode

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

func (*PcloudV2PvminstancesVolumesPostNotFound) IsRedirect

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

func (*PcloudV2PvminstancesVolumesPostNotFound) IsServerError

func (o *PcloudV2PvminstancesVolumesPostNotFound) IsServerError() bool

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

func (*PcloudV2PvminstancesVolumesPostNotFound) IsSuccess

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

func (*PcloudV2PvminstancesVolumesPostNotFound) String

type PcloudV2PvminstancesVolumesPostParams

type PcloudV2PvminstancesVolumesPostParams struct {

	/* Body.

	   Parameter to attach volumes to a PVMInstance
	*/
	Body *models.VolumesAttach

	/* 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
}

PcloudV2PvminstancesVolumesPostParams contains all the parameters to send to the API endpoint

for the pcloud v2 pvminstances volumes post operation.

Typically these are written to a http.Request.

func NewPcloudV2PvminstancesVolumesPostParams

func NewPcloudV2PvminstancesVolumesPostParams() *PcloudV2PvminstancesVolumesPostParams

NewPcloudV2PvminstancesVolumesPostParams creates a new PcloudV2PvminstancesVolumesPostParams 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 NewPcloudV2PvminstancesVolumesPostParamsWithContext

func NewPcloudV2PvminstancesVolumesPostParamsWithContext(ctx context.Context) *PcloudV2PvminstancesVolumesPostParams

NewPcloudV2PvminstancesVolumesPostParamsWithContext creates a new PcloudV2PvminstancesVolumesPostParams object with the ability to set a context for a request.

func NewPcloudV2PvminstancesVolumesPostParamsWithHTTPClient

func NewPcloudV2PvminstancesVolumesPostParamsWithHTTPClient(client *http.Client) *PcloudV2PvminstancesVolumesPostParams

NewPcloudV2PvminstancesVolumesPostParamsWithHTTPClient creates a new PcloudV2PvminstancesVolumesPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudV2PvminstancesVolumesPostParamsWithTimeout

func NewPcloudV2PvminstancesVolumesPostParamsWithTimeout(timeout time.Duration) *PcloudV2PvminstancesVolumesPostParams

NewPcloudV2PvminstancesVolumesPostParamsWithTimeout creates a new PcloudV2PvminstancesVolumesPostParams object with the ability to set a timeout on a request.

func (*PcloudV2PvminstancesVolumesPostParams) SetBody

SetBody adds the body to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) SetCloudInstanceID

func (o *PcloudV2PvminstancesVolumesPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) SetContext

SetContext adds the context to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) SetDefaults

func (o *PcloudV2PvminstancesVolumesPostParams) SetDefaults()

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

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

func (*PcloudV2PvminstancesVolumesPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) SetPvmInstanceID

func (o *PcloudV2PvminstancesVolumesPostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) WithBody

WithBody adds the body to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) WithContext

WithContext adds the context to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) WithDefaults

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

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

func (*PcloudV2PvminstancesVolumesPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2PvminstancesVolumesPostReader

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

PcloudV2PvminstancesVolumesPostReader is a Reader for the PcloudV2PvminstancesVolumesPost structure.

func (*PcloudV2PvminstancesVolumesPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudV2PvminstancesVolumesPostUnauthorized

type PcloudV2PvminstancesVolumesPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudV2PvminstancesVolumesPostUnauthorized

func NewPcloudV2PvminstancesVolumesPostUnauthorized() *PcloudV2PvminstancesVolumesPostUnauthorized

NewPcloudV2PvminstancesVolumesPostUnauthorized creates a PcloudV2PvminstancesVolumesPostUnauthorized with default headers values

func (*PcloudV2PvminstancesVolumesPostUnauthorized) Code

Code gets the status code for the pcloud v2 pvminstances volumes post unauthorized response

func (*PcloudV2PvminstancesVolumesPostUnauthorized) Error

func (*PcloudV2PvminstancesVolumesPostUnauthorized) GetPayload

func (*PcloudV2PvminstancesVolumesPostUnauthorized) IsClientError

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

func (*PcloudV2PvminstancesVolumesPostUnauthorized) IsCode

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

func (*PcloudV2PvminstancesVolumesPostUnauthorized) IsRedirect

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

func (*PcloudV2PvminstancesVolumesPostUnauthorized) IsServerError

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

func (*PcloudV2PvminstancesVolumesPostUnauthorized) IsSuccess

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

func (*PcloudV2PvminstancesVolumesPostUnauthorized) String

type PcloudV2VolumesClonePostAccepted

type PcloudV2VolumesClonePostAccepted struct {
	Payload *models.CloneTaskReference
}

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

Accepted

func NewPcloudV2VolumesClonePostAccepted

func NewPcloudV2VolumesClonePostAccepted() *PcloudV2VolumesClonePostAccepted

NewPcloudV2VolumesClonePostAccepted creates a PcloudV2VolumesClonePostAccepted with default headers values

func (*PcloudV2VolumesClonePostAccepted) Code

Code gets the status code for the pcloud v2 volumes clone post accepted response

func (*PcloudV2VolumesClonePostAccepted) Error

func (*PcloudV2VolumesClonePostAccepted) GetPayload

func (*PcloudV2VolumesClonePostAccepted) IsClientError

func (o *PcloudV2VolumesClonePostAccepted) IsClientError() bool

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

func (*PcloudV2VolumesClonePostAccepted) IsCode

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

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

func (*PcloudV2VolumesClonePostAccepted) IsRedirect

func (o *PcloudV2VolumesClonePostAccepted) IsRedirect() bool

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

func (*PcloudV2VolumesClonePostAccepted) IsServerError

func (o *PcloudV2VolumesClonePostAccepted) IsServerError() bool

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

func (*PcloudV2VolumesClonePostAccepted) IsSuccess

func (o *PcloudV2VolumesClonePostAccepted) IsSuccess() bool

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

func (*PcloudV2VolumesClonePostAccepted) String

type PcloudV2VolumesClonePostBadRequest

type PcloudV2VolumesClonePostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudV2VolumesClonePostBadRequest

func NewPcloudV2VolumesClonePostBadRequest() *PcloudV2VolumesClonePostBadRequest

NewPcloudV2VolumesClonePostBadRequest creates a PcloudV2VolumesClonePostBadRequest with default headers values

func (*PcloudV2VolumesClonePostBadRequest) Code

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

func (*PcloudV2VolumesClonePostBadRequest) Error

func (*PcloudV2VolumesClonePostBadRequest) GetPayload

func (*PcloudV2VolumesClonePostBadRequest) IsClientError

func (o *PcloudV2VolumesClonePostBadRequest) IsClientError() bool

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

func (*PcloudV2VolumesClonePostBadRequest) IsCode

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

func (*PcloudV2VolumesClonePostBadRequest) IsRedirect

func (o *PcloudV2VolumesClonePostBadRequest) IsRedirect() bool

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

func (*PcloudV2VolumesClonePostBadRequest) IsServerError

func (o *PcloudV2VolumesClonePostBadRequest) IsServerError() bool

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

func (*PcloudV2VolumesClonePostBadRequest) IsSuccess

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

func (*PcloudV2VolumesClonePostBadRequest) String

type PcloudV2VolumesClonePostForbidden

type PcloudV2VolumesClonePostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudV2VolumesClonePostForbidden

func NewPcloudV2VolumesClonePostForbidden() *PcloudV2VolumesClonePostForbidden

NewPcloudV2VolumesClonePostForbidden creates a PcloudV2VolumesClonePostForbidden with default headers values

func (*PcloudV2VolumesClonePostForbidden) Code

Code gets the status code for the pcloud v2 volumes clone post forbidden response

func (*PcloudV2VolumesClonePostForbidden) Error

func (*PcloudV2VolumesClonePostForbidden) GetPayload

func (*PcloudV2VolumesClonePostForbidden) IsClientError

func (o *PcloudV2VolumesClonePostForbidden) IsClientError() bool

IsClientError returns true when this pcloud v2 volumes clone post forbidden response has a 4xx status code

func (*PcloudV2VolumesClonePostForbidden) IsCode

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

IsCode returns true when this pcloud v2 volumes clone post forbidden response a status code equal to that given

func (*PcloudV2VolumesClonePostForbidden) IsRedirect

func (o *PcloudV2VolumesClonePostForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumes clone post forbidden response has a 3xx status code

func (*PcloudV2VolumesClonePostForbidden) IsServerError

func (o *PcloudV2VolumesClonePostForbidden) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes clone post forbidden response has a 5xx status code

func (*PcloudV2VolumesClonePostForbidden) IsSuccess

func (o *PcloudV2VolumesClonePostForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumes clone post forbidden response has a 2xx status code

func (*PcloudV2VolumesClonePostForbidden) String

type PcloudV2VolumesClonePostInternalServerError

type PcloudV2VolumesClonePostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudV2VolumesClonePostInternalServerError

func NewPcloudV2VolumesClonePostInternalServerError() *PcloudV2VolumesClonePostInternalServerError

NewPcloudV2VolumesClonePostInternalServerError creates a PcloudV2VolumesClonePostInternalServerError with default headers values

func (*PcloudV2VolumesClonePostInternalServerError) Code

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

func (*PcloudV2VolumesClonePostInternalServerError) Error

func (*PcloudV2VolumesClonePostInternalServerError) GetPayload

func (*PcloudV2VolumesClonePostInternalServerError) IsClientError

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

func (*PcloudV2VolumesClonePostInternalServerError) IsCode

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

func (*PcloudV2VolumesClonePostInternalServerError) IsRedirect

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

func (*PcloudV2VolumesClonePostInternalServerError) IsServerError

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

func (*PcloudV2VolumesClonePostInternalServerError) IsSuccess

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

func (*PcloudV2VolumesClonePostInternalServerError) String

type PcloudV2VolumesClonePostNotFound

type PcloudV2VolumesClonePostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudV2VolumesClonePostNotFound

func NewPcloudV2VolumesClonePostNotFound() *PcloudV2VolumesClonePostNotFound

NewPcloudV2VolumesClonePostNotFound creates a PcloudV2VolumesClonePostNotFound with default headers values

func (*PcloudV2VolumesClonePostNotFound) Code

Code gets the status code for the pcloud v2 volumes clone post not found response

func (*PcloudV2VolumesClonePostNotFound) Error

func (*PcloudV2VolumesClonePostNotFound) GetPayload

func (*PcloudV2VolumesClonePostNotFound) IsClientError

func (o *PcloudV2VolumesClonePostNotFound) IsClientError() bool

IsClientError returns true when this pcloud v2 volumes clone post not found response has a 4xx status code

func (*PcloudV2VolumesClonePostNotFound) IsCode

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

IsCode returns true when this pcloud v2 volumes clone post not found response a status code equal to that given

func (*PcloudV2VolumesClonePostNotFound) IsRedirect

func (o *PcloudV2VolumesClonePostNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumes clone post not found response has a 3xx status code

func (*PcloudV2VolumesClonePostNotFound) IsServerError

func (o *PcloudV2VolumesClonePostNotFound) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes clone post not found response has a 5xx status code

func (*PcloudV2VolumesClonePostNotFound) IsSuccess

func (o *PcloudV2VolumesClonePostNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumes clone post not found response has a 2xx status code

func (*PcloudV2VolumesClonePostNotFound) String

type PcloudV2VolumesClonePostParams

type PcloudV2VolumesClonePostParams struct {

	/* Body.

	   Parameters for the cloning of volumes
	*/
	Body *models.VolumesCloneAsyncRequest

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

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

PcloudV2VolumesClonePostParams contains all the parameters to send to the API endpoint

for the pcloud v2 volumes clone post operation.

Typically these are written to a http.Request.

func NewPcloudV2VolumesClonePostParams

func NewPcloudV2VolumesClonePostParams() *PcloudV2VolumesClonePostParams

NewPcloudV2VolumesClonePostParams creates a new PcloudV2VolumesClonePostParams 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 NewPcloudV2VolumesClonePostParamsWithContext

func NewPcloudV2VolumesClonePostParamsWithContext(ctx context.Context) *PcloudV2VolumesClonePostParams

NewPcloudV2VolumesClonePostParamsWithContext creates a new PcloudV2VolumesClonePostParams object with the ability to set a context for a request.

func NewPcloudV2VolumesClonePostParamsWithHTTPClient

func NewPcloudV2VolumesClonePostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumesClonePostParams

NewPcloudV2VolumesClonePostParamsWithHTTPClient creates a new PcloudV2VolumesClonePostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudV2VolumesClonePostParamsWithTimeout

func NewPcloudV2VolumesClonePostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumesClonePostParams

NewPcloudV2VolumesClonePostParamsWithTimeout creates a new PcloudV2VolumesClonePostParams object with the ability to set a timeout on a request.

func (*PcloudV2VolumesClonePostParams) SetBody

SetBody adds the body to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) SetCloudInstanceID

func (o *PcloudV2VolumesClonePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) SetContext

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

SetContext adds the context to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) SetDefaults

func (o *PcloudV2VolumesClonePostParams) SetDefaults()

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

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

func (*PcloudV2VolumesClonePostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) WithBody

WithBody adds the body to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) WithContext

WithContext adds the context to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) WithDefaults

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

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

func (*PcloudV2VolumesClonePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumesClonePostReader

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

PcloudV2VolumesClonePostReader is a Reader for the PcloudV2VolumesClonePost structure.

func (*PcloudV2VolumesClonePostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudV2VolumesClonePostUnauthorized

type PcloudV2VolumesClonePostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudV2VolumesClonePostUnauthorized

func NewPcloudV2VolumesClonePostUnauthorized() *PcloudV2VolumesClonePostUnauthorized

NewPcloudV2VolumesClonePostUnauthorized creates a PcloudV2VolumesClonePostUnauthorized with default headers values

func (*PcloudV2VolumesClonePostUnauthorized) Code

Code gets the status code for the pcloud v2 volumes clone post unauthorized response

func (*PcloudV2VolumesClonePostUnauthorized) Error

func (*PcloudV2VolumesClonePostUnauthorized) GetPayload

func (*PcloudV2VolumesClonePostUnauthorized) IsClientError

func (o *PcloudV2VolumesClonePostUnauthorized) IsClientError() bool

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

func (*PcloudV2VolumesClonePostUnauthorized) IsCode

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

func (*PcloudV2VolumesClonePostUnauthorized) IsRedirect

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

func (*PcloudV2VolumesClonePostUnauthorized) IsServerError

func (o *PcloudV2VolumesClonePostUnauthorized) IsServerError() bool

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

func (*PcloudV2VolumesClonePostUnauthorized) IsSuccess

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

func (*PcloudV2VolumesClonePostUnauthorized) String

type PcloudV2VolumesClonetasksGetBadRequest

type PcloudV2VolumesClonetasksGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudV2VolumesClonetasksGetBadRequest

func NewPcloudV2VolumesClonetasksGetBadRequest() *PcloudV2VolumesClonetasksGetBadRequest

NewPcloudV2VolumesClonetasksGetBadRequest creates a PcloudV2VolumesClonetasksGetBadRequest with default headers values

func (*PcloudV2VolumesClonetasksGetBadRequest) Code

Code gets the status code for the pcloud v2 volumes clonetasks get bad request response

func (*PcloudV2VolumesClonetasksGetBadRequest) Error

func (*PcloudV2VolumesClonetasksGetBadRequest) GetPayload

func (*PcloudV2VolumesClonetasksGetBadRequest) IsClientError

func (o *PcloudV2VolumesClonetasksGetBadRequest) IsClientError() bool

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

func (*PcloudV2VolumesClonetasksGetBadRequest) IsCode

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

func (*PcloudV2VolumesClonetasksGetBadRequest) IsRedirect

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

func (*PcloudV2VolumesClonetasksGetBadRequest) IsServerError

func (o *PcloudV2VolumesClonetasksGetBadRequest) IsServerError() bool

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

func (*PcloudV2VolumesClonetasksGetBadRequest) IsSuccess

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

func (*PcloudV2VolumesClonetasksGetBadRequest) String

type PcloudV2VolumesClonetasksGetConflict

type PcloudV2VolumesClonetasksGetConflict struct {
	Payload *models.Error
}

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

Conflict

func NewPcloudV2VolumesClonetasksGetConflict

func NewPcloudV2VolumesClonetasksGetConflict() *PcloudV2VolumesClonetasksGetConflict

NewPcloudV2VolumesClonetasksGetConflict creates a PcloudV2VolumesClonetasksGetConflict with default headers values

func (*PcloudV2VolumesClonetasksGetConflict) Code

Code gets the status code for the pcloud v2 volumes clonetasks get conflict response

func (*PcloudV2VolumesClonetasksGetConflict) Error

func (*PcloudV2VolumesClonetasksGetConflict) GetPayload

func (*PcloudV2VolumesClonetasksGetConflict) IsClientError

func (o *PcloudV2VolumesClonetasksGetConflict) IsClientError() bool

IsClientError returns true when this pcloud v2 volumes clonetasks get conflict response has a 4xx status code

func (*PcloudV2VolumesClonetasksGetConflict) IsCode

IsCode returns true when this pcloud v2 volumes clonetasks get conflict response a status code equal to that given

func (*PcloudV2VolumesClonetasksGetConflict) IsRedirect

IsRedirect returns true when this pcloud v2 volumes clonetasks get conflict response has a 3xx status code

func (*PcloudV2VolumesClonetasksGetConflict) IsServerError

func (o *PcloudV2VolumesClonetasksGetConflict) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes clonetasks get conflict response has a 5xx status code

func (*PcloudV2VolumesClonetasksGetConflict) IsSuccess

IsSuccess returns true when this pcloud v2 volumes clonetasks get conflict response has a 2xx status code

func (*PcloudV2VolumesClonetasksGetConflict) String

type PcloudV2VolumesClonetasksGetForbidden

type PcloudV2VolumesClonetasksGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudV2VolumesClonetasksGetForbidden

func NewPcloudV2VolumesClonetasksGetForbidden() *PcloudV2VolumesClonetasksGetForbidden

NewPcloudV2VolumesClonetasksGetForbidden creates a PcloudV2VolumesClonetasksGetForbidden with default headers values

func (*PcloudV2VolumesClonetasksGetForbidden) Code

Code gets the status code for the pcloud v2 volumes clonetasks get forbidden response

func (*PcloudV2VolumesClonetasksGetForbidden) Error

func (*PcloudV2VolumesClonetasksGetForbidden) GetPayload

func (*PcloudV2VolumesClonetasksGetForbidden) IsClientError

func (o *PcloudV2VolumesClonetasksGetForbidden) IsClientError() bool

IsClientError returns true when this pcloud v2 volumes clonetasks get forbidden response has a 4xx status code

func (*PcloudV2VolumesClonetasksGetForbidden) IsCode

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

func (*PcloudV2VolumesClonetasksGetForbidden) IsRedirect

IsRedirect returns true when this pcloud v2 volumes clonetasks get forbidden response has a 3xx status code

func (*PcloudV2VolumesClonetasksGetForbidden) IsServerError

func (o *PcloudV2VolumesClonetasksGetForbidden) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes clonetasks get forbidden response has a 5xx status code

func (*PcloudV2VolumesClonetasksGetForbidden) IsSuccess

IsSuccess returns true when this pcloud v2 volumes clonetasks get forbidden response has a 2xx status code

func (*PcloudV2VolumesClonetasksGetForbidden) String

type PcloudV2VolumesClonetasksGetInternalServerError

type PcloudV2VolumesClonetasksGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudV2VolumesClonetasksGetInternalServerError

func NewPcloudV2VolumesClonetasksGetInternalServerError() *PcloudV2VolumesClonetasksGetInternalServerError

NewPcloudV2VolumesClonetasksGetInternalServerError creates a PcloudV2VolumesClonetasksGetInternalServerError with default headers values

func (*PcloudV2VolumesClonetasksGetInternalServerError) Code

Code gets the status code for the pcloud v2 volumes clonetasks get internal server error response

func (*PcloudV2VolumesClonetasksGetInternalServerError) Error

func (*PcloudV2VolumesClonetasksGetInternalServerError) GetPayload

func (*PcloudV2VolumesClonetasksGetInternalServerError) IsClientError

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

func (*PcloudV2VolumesClonetasksGetInternalServerError) IsCode

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

func (*PcloudV2VolumesClonetasksGetInternalServerError) IsRedirect

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

func (*PcloudV2VolumesClonetasksGetInternalServerError) IsServerError

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

func (*PcloudV2VolumesClonetasksGetInternalServerError) IsSuccess

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

func (*PcloudV2VolumesClonetasksGetInternalServerError) String

type PcloudV2VolumesClonetasksGetNotFound

type PcloudV2VolumesClonetasksGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudV2VolumesClonetasksGetNotFound

func NewPcloudV2VolumesClonetasksGetNotFound() *PcloudV2VolumesClonetasksGetNotFound

NewPcloudV2VolumesClonetasksGetNotFound creates a PcloudV2VolumesClonetasksGetNotFound with default headers values

func (*PcloudV2VolumesClonetasksGetNotFound) Code

Code gets the status code for the pcloud v2 volumes clonetasks get not found response

func (*PcloudV2VolumesClonetasksGetNotFound) Error

func (*PcloudV2VolumesClonetasksGetNotFound) GetPayload

func (*PcloudV2VolumesClonetasksGetNotFound) IsClientError

func (o *PcloudV2VolumesClonetasksGetNotFound) IsClientError() bool

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

func (*PcloudV2VolumesClonetasksGetNotFound) IsCode

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

func (*PcloudV2VolumesClonetasksGetNotFound) IsRedirect

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

func (*PcloudV2VolumesClonetasksGetNotFound) IsServerError

func (o *PcloudV2VolumesClonetasksGetNotFound) IsServerError() bool

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

func (*PcloudV2VolumesClonetasksGetNotFound) IsSuccess

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

func (*PcloudV2VolumesClonetasksGetNotFound) String

type PcloudV2VolumesClonetasksGetOK

type PcloudV2VolumesClonetasksGetOK struct {
	Payload *models.CloneTaskStatus
}

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

OK

func NewPcloudV2VolumesClonetasksGetOK

func NewPcloudV2VolumesClonetasksGetOK() *PcloudV2VolumesClonetasksGetOK

NewPcloudV2VolumesClonetasksGetOK creates a PcloudV2VolumesClonetasksGetOK with default headers values

func (*PcloudV2VolumesClonetasksGetOK) Code

Code gets the status code for the pcloud v2 volumes clonetasks get o k response

func (*PcloudV2VolumesClonetasksGetOK) Error

func (*PcloudV2VolumesClonetasksGetOK) GetPayload

func (*PcloudV2VolumesClonetasksGetOK) IsClientError

func (o *PcloudV2VolumesClonetasksGetOK) IsClientError() bool

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

func (*PcloudV2VolumesClonetasksGetOK) IsCode

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

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

func (*PcloudV2VolumesClonetasksGetOK) IsRedirect

func (o *PcloudV2VolumesClonetasksGetOK) IsRedirect() bool

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

func (*PcloudV2VolumesClonetasksGetOK) IsServerError

func (o *PcloudV2VolumesClonetasksGetOK) IsServerError() bool

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

func (*PcloudV2VolumesClonetasksGetOK) IsSuccess

func (o *PcloudV2VolumesClonetasksGetOK) IsSuccess() bool

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

func (*PcloudV2VolumesClonetasksGetOK) String

type PcloudV2VolumesClonetasksGetParams

type PcloudV2VolumesClonetasksGetParams struct {

	/* CloneTaskID.

	   Volumes Clone Task ID
	*/
	CloneTaskID string

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

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

PcloudV2VolumesClonetasksGetParams contains all the parameters to send to the API endpoint

for the pcloud v2 volumes clonetasks get operation.

Typically these are written to a http.Request.

func NewPcloudV2VolumesClonetasksGetParams

func NewPcloudV2VolumesClonetasksGetParams() *PcloudV2VolumesClonetasksGetParams

NewPcloudV2VolumesClonetasksGetParams creates a new PcloudV2VolumesClonetasksGetParams 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 NewPcloudV2VolumesClonetasksGetParamsWithContext

func NewPcloudV2VolumesClonetasksGetParamsWithContext(ctx context.Context) *PcloudV2VolumesClonetasksGetParams

NewPcloudV2VolumesClonetasksGetParamsWithContext creates a new PcloudV2VolumesClonetasksGetParams object with the ability to set a context for a request.

func NewPcloudV2VolumesClonetasksGetParamsWithHTTPClient

func NewPcloudV2VolumesClonetasksGetParamsWithHTTPClient(client *http.Client) *PcloudV2VolumesClonetasksGetParams

NewPcloudV2VolumesClonetasksGetParamsWithHTTPClient creates a new PcloudV2VolumesClonetasksGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudV2VolumesClonetasksGetParamsWithTimeout

func NewPcloudV2VolumesClonetasksGetParamsWithTimeout(timeout time.Duration) *PcloudV2VolumesClonetasksGetParams

NewPcloudV2VolumesClonetasksGetParamsWithTimeout creates a new PcloudV2VolumesClonetasksGetParams object with the ability to set a timeout on a request.

func (*PcloudV2VolumesClonetasksGetParams) SetCloneTaskID

func (o *PcloudV2VolumesClonetasksGetParams) SetCloneTaskID(cloneTaskID string)

SetCloneTaskID adds the cloneTaskId to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) SetCloudInstanceID

func (o *PcloudV2VolumesClonetasksGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) SetContext

SetContext adds the context to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) SetDefaults

func (o *PcloudV2VolumesClonetasksGetParams) SetDefaults()

SetDefaults hydrates default values in the pcloud v2 volumes clonetasks get params (not the query body).

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

func (*PcloudV2VolumesClonetasksGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) WithCloneTaskID

WithCloneTaskID adds the cloneTaskID to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) WithContext

WithContext adds the context to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) WithDefaults

WithDefaults hydrates default values in the pcloud v2 volumes clonetasks get params (not the query body).

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

func (*PcloudV2VolumesClonetasksGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumesClonetasksGetReader

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

PcloudV2VolumesClonetasksGetReader is a Reader for the PcloudV2VolumesClonetasksGet structure.

func (*PcloudV2VolumesClonetasksGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudV2VolumesClonetasksGetUnauthorized

type PcloudV2VolumesClonetasksGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudV2VolumesClonetasksGetUnauthorized

func NewPcloudV2VolumesClonetasksGetUnauthorized() *PcloudV2VolumesClonetasksGetUnauthorized

NewPcloudV2VolumesClonetasksGetUnauthorized creates a PcloudV2VolumesClonetasksGetUnauthorized with default headers values

func (*PcloudV2VolumesClonetasksGetUnauthorized) Code

Code gets the status code for the pcloud v2 volumes clonetasks get unauthorized response

func (*PcloudV2VolumesClonetasksGetUnauthorized) Error

func (*PcloudV2VolumesClonetasksGetUnauthorized) GetPayload

func (*PcloudV2VolumesClonetasksGetUnauthorized) IsClientError

IsClientError returns true when this pcloud v2 volumes clonetasks get unauthorized response has a 4xx status code

func (*PcloudV2VolumesClonetasksGetUnauthorized) IsCode

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

func (*PcloudV2VolumesClonetasksGetUnauthorized) IsRedirect

IsRedirect returns true when this pcloud v2 volumes clonetasks get unauthorized response has a 3xx status code

func (*PcloudV2VolumesClonetasksGetUnauthorized) IsServerError

IsServerError returns true when this pcloud v2 volumes clonetasks get unauthorized response has a 5xx status code

func (*PcloudV2VolumesClonetasksGetUnauthorized) IsSuccess

IsSuccess returns true when this pcloud v2 volumes clonetasks get unauthorized response has a 2xx status code

func (*PcloudV2VolumesClonetasksGetUnauthorized) String

type PcloudV2VolumesPostBadRequest

type PcloudV2VolumesPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudV2VolumesPostBadRequest

func NewPcloudV2VolumesPostBadRequest() *PcloudV2VolumesPostBadRequest

NewPcloudV2VolumesPostBadRequest creates a PcloudV2VolumesPostBadRequest with default headers values

func (*PcloudV2VolumesPostBadRequest) Code

Code gets the status code for the pcloud v2 volumes post bad request response

func (*PcloudV2VolumesPostBadRequest) Error

func (*PcloudV2VolumesPostBadRequest) GetPayload

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

func (*PcloudV2VolumesPostBadRequest) IsClientError

func (o *PcloudV2VolumesPostBadRequest) IsClientError() bool

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

func (*PcloudV2VolumesPostBadRequest) IsCode

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

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

func (*PcloudV2VolumesPostBadRequest) IsRedirect

func (o *PcloudV2VolumesPostBadRequest) IsRedirect() bool

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

func (*PcloudV2VolumesPostBadRequest) IsServerError

func (o *PcloudV2VolumesPostBadRequest) IsServerError() bool

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

func (*PcloudV2VolumesPostBadRequest) IsSuccess

func (o *PcloudV2VolumesPostBadRequest) IsSuccess() bool

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

func (*PcloudV2VolumesPostBadRequest) String

type PcloudV2VolumesPostConflict

type PcloudV2VolumesPostConflict struct {
	Payload *models.Error
}

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

Conflict

func NewPcloudV2VolumesPostConflict

func NewPcloudV2VolumesPostConflict() *PcloudV2VolumesPostConflict

NewPcloudV2VolumesPostConflict creates a PcloudV2VolumesPostConflict with default headers values

func (*PcloudV2VolumesPostConflict) Code

func (o *PcloudV2VolumesPostConflict) Code() int

Code gets the status code for the pcloud v2 volumes post conflict response

func (*PcloudV2VolumesPostConflict) Error

func (*PcloudV2VolumesPostConflict) GetPayload

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

func (*PcloudV2VolumesPostConflict) IsClientError

func (o *PcloudV2VolumesPostConflict) IsClientError() bool

IsClientError returns true when this pcloud v2 volumes post conflict response has a 4xx status code

func (*PcloudV2VolumesPostConflict) IsCode

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

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

func (*PcloudV2VolumesPostConflict) IsRedirect

func (o *PcloudV2VolumesPostConflict) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumes post conflict response has a 3xx status code

func (*PcloudV2VolumesPostConflict) IsServerError

func (o *PcloudV2VolumesPostConflict) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes post conflict response has a 5xx status code

func (*PcloudV2VolumesPostConflict) IsSuccess

func (o *PcloudV2VolumesPostConflict) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumes post conflict response has a 2xx status code

func (*PcloudV2VolumesPostConflict) String

func (o *PcloudV2VolumesPostConflict) String() string

type PcloudV2VolumesPostCreated

type PcloudV2VolumesPostCreated struct {
	Payload *models.Volumes
}

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

Created

func NewPcloudV2VolumesPostCreated

func NewPcloudV2VolumesPostCreated() *PcloudV2VolumesPostCreated

NewPcloudV2VolumesPostCreated creates a PcloudV2VolumesPostCreated with default headers values

func (*PcloudV2VolumesPostCreated) Code

func (o *PcloudV2VolumesPostCreated) Code() int

Code gets the status code for the pcloud v2 volumes post created response

func (*PcloudV2VolumesPostCreated) Error

func (*PcloudV2VolumesPostCreated) GetPayload

func (o *PcloudV2VolumesPostCreated) GetPayload() *models.Volumes

func (*PcloudV2VolumesPostCreated) IsClientError

func (o *PcloudV2VolumesPostCreated) IsClientError() bool

IsClientError returns true when this pcloud v2 volumes post created response has a 4xx status code

func (*PcloudV2VolumesPostCreated) IsCode

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

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

func (*PcloudV2VolumesPostCreated) IsRedirect

func (o *PcloudV2VolumesPostCreated) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumes post created response has a 3xx status code

func (*PcloudV2VolumesPostCreated) IsServerError

func (o *PcloudV2VolumesPostCreated) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes post created response has a 5xx status code

func (*PcloudV2VolumesPostCreated) IsSuccess

func (o *PcloudV2VolumesPostCreated) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumes post created response has a 2xx status code

func (*PcloudV2VolumesPostCreated) String

func (o *PcloudV2VolumesPostCreated) String() string

type PcloudV2VolumesPostForbidden

type PcloudV2VolumesPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudV2VolumesPostForbidden

func NewPcloudV2VolumesPostForbidden() *PcloudV2VolumesPostForbidden

NewPcloudV2VolumesPostForbidden creates a PcloudV2VolumesPostForbidden with default headers values

func (*PcloudV2VolumesPostForbidden) Code

Code gets the status code for the pcloud v2 volumes post forbidden response

func (*PcloudV2VolumesPostForbidden) Error

func (*PcloudV2VolumesPostForbidden) GetPayload

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

func (*PcloudV2VolumesPostForbidden) IsClientError

func (o *PcloudV2VolumesPostForbidden) IsClientError() bool

IsClientError returns true when this pcloud v2 volumes post forbidden response has a 4xx status code

func (*PcloudV2VolumesPostForbidden) IsCode

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

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

func (*PcloudV2VolumesPostForbidden) IsRedirect

func (o *PcloudV2VolumesPostForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumes post forbidden response has a 3xx status code

func (*PcloudV2VolumesPostForbidden) IsServerError

func (o *PcloudV2VolumesPostForbidden) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes post forbidden response has a 5xx status code

func (*PcloudV2VolumesPostForbidden) IsSuccess

func (o *PcloudV2VolumesPostForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumes post forbidden response has a 2xx status code

func (*PcloudV2VolumesPostForbidden) String

type PcloudV2VolumesPostInternalServerError

type PcloudV2VolumesPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudV2VolumesPostInternalServerError

func NewPcloudV2VolumesPostInternalServerError() *PcloudV2VolumesPostInternalServerError

NewPcloudV2VolumesPostInternalServerError creates a PcloudV2VolumesPostInternalServerError with default headers values

func (*PcloudV2VolumesPostInternalServerError) Code

Code gets the status code for the pcloud v2 volumes post internal server error response

func (*PcloudV2VolumesPostInternalServerError) Error

func (*PcloudV2VolumesPostInternalServerError) GetPayload

func (*PcloudV2VolumesPostInternalServerError) IsClientError

func (o *PcloudV2VolumesPostInternalServerError) IsClientError() bool

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

func (*PcloudV2VolumesPostInternalServerError) IsCode

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

func (*PcloudV2VolumesPostInternalServerError) IsRedirect

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

func (*PcloudV2VolumesPostInternalServerError) IsServerError

func (o *PcloudV2VolumesPostInternalServerError) IsServerError() bool

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

func (*PcloudV2VolumesPostInternalServerError) IsSuccess

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

func (*PcloudV2VolumesPostInternalServerError) String

type PcloudV2VolumesPostParams

type PcloudV2VolumesPostParams struct {

	/* Body.

	   Parameters for creating multiple volumes
	*/
	Body *models.MultiVolumesCreate

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

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

PcloudV2VolumesPostParams contains all the parameters to send to the API endpoint

for the pcloud v2 volumes post operation.

Typically these are written to a http.Request.

func NewPcloudV2VolumesPostParams

func NewPcloudV2VolumesPostParams() *PcloudV2VolumesPostParams

NewPcloudV2VolumesPostParams creates a new PcloudV2VolumesPostParams 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 NewPcloudV2VolumesPostParamsWithContext

func NewPcloudV2VolumesPostParamsWithContext(ctx context.Context) *PcloudV2VolumesPostParams

NewPcloudV2VolumesPostParamsWithContext creates a new PcloudV2VolumesPostParams object with the ability to set a context for a request.

func NewPcloudV2VolumesPostParamsWithHTTPClient

func NewPcloudV2VolumesPostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumesPostParams

NewPcloudV2VolumesPostParamsWithHTTPClient creates a new PcloudV2VolumesPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudV2VolumesPostParamsWithTimeout

func NewPcloudV2VolumesPostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumesPostParams

NewPcloudV2VolumesPostParamsWithTimeout creates a new PcloudV2VolumesPostParams object with the ability to set a timeout on a request.

func (*PcloudV2VolumesPostParams) SetBody

SetBody adds the body to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) SetCloudInstanceID

func (o *PcloudV2VolumesPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) SetContext

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

SetContext adds the context to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) SetDefaults

func (o *PcloudV2VolumesPostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud v2 volumes post params (not the query body).

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

func (*PcloudV2VolumesPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) WithBody

WithBody adds the body to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) WithContext

WithContext adds the context to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) WithDefaults

WithDefaults hydrates default values in the pcloud v2 volumes post params (not the query body).

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

func (*PcloudV2VolumesPostParams) WithHTTPClient

func (o *PcloudV2VolumesPostParams) WithHTTPClient(client *http.Client) *PcloudV2VolumesPostParams

WithHTTPClient adds the HTTPClient to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumesPostReader

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

PcloudV2VolumesPostReader is a Reader for the PcloudV2VolumesPost structure.

func (*PcloudV2VolumesPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudV2VolumesPostUnauthorized

type PcloudV2VolumesPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudV2VolumesPostUnauthorized

func NewPcloudV2VolumesPostUnauthorized() *PcloudV2VolumesPostUnauthorized

NewPcloudV2VolumesPostUnauthorized creates a PcloudV2VolumesPostUnauthorized with default headers values

func (*PcloudV2VolumesPostUnauthorized) Code

Code gets the status code for the pcloud v2 volumes post unauthorized response

func (*PcloudV2VolumesPostUnauthorized) Error

func (*PcloudV2VolumesPostUnauthorized) GetPayload

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

func (*PcloudV2VolumesPostUnauthorized) IsClientError

func (o *PcloudV2VolumesPostUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud v2 volumes post unauthorized response has a 4xx status code

func (*PcloudV2VolumesPostUnauthorized) IsCode

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

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

func (*PcloudV2VolumesPostUnauthorized) IsRedirect

func (o *PcloudV2VolumesPostUnauthorized) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumes post unauthorized response has a 3xx status code

func (*PcloudV2VolumesPostUnauthorized) IsServerError

func (o *PcloudV2VolumesPostUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes post unauthorized response has a 5xx status code

func (*PcloudV2VolumesPostUnauthorized) IsSuccess

func (o *PcloudV2VolumesPostUnauthorized) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumes post unauthorized response has a 2xx status code

func (*PcloudV2VolumesPostUnauthorized) String

type PcloudV2VolumesPostUnprocessableEntity

type PcloudV2VolumesPostUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable Entity

func NewPcloudV2VolumesPostUnprocessableEntity

func NewPcloudV2VolumesPostUnprocessableEntity() *PcloudV2VolumesPostUnprocessableEntity

NewPcloudV2VolumesPostUnprocessableEntity creates a PcloudV2VolumesPostUnprocessableEntity with default headers values

func (*PcloudV2VolumesPostUnprocessableEntity) Code

Code gets the status code for the pcloud v2 volumes post unprocessable entity response

func (*PcloudV2VolumesPostUnprocessableEntity) Error

func (*PcloudV2VolumesPostUnprocessableEntity) GetPayload

func (*PcloudV2VolumesPostUnprocessableEntity) IsClientError

func (o *PcloudV2VolumesPostUnprocessableEntity) IsClientError() bool

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

func (*PcloudV2VolumesPostUnprocessableEntity) IsCode

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

func (*PcloudV2VolumesPostUnprocessableEntity) IsRedirect

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

func (*PcloudV2VolumesPostUnprocessableEntity) IsServerError

func (o *PcloudV2VolumesPostUnprocessableEntity) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes post unprocessable entity response has a 5xx status code

func (*PcloudV2VolumesPostUnprocessableEntity) IsSuccess

IsSuccess returns true when this pcloud v2 volumes post unprocessable entity response has a 2xx status code

func (*PcloudV2VolumesPostUnprocessableEntity) String

type PcloudV2VolumescloneCancelPostAccepted

type PcloudV2VolumescloneCancelPostAccepted struct {
	Payload *models.VolumesClone
}

PcloudV2VolumescloneCancelPostAccepted describes a response with status code 202, with default header values.

Accepted

func NewPcloudV2VolumescloneCancelPostAccepted

func NewPcloudV2VolumescloneCancelPostAccepted() *PcloudV2VolumescloneCancelPostAccepted

NewPcloudV2VolumescloneCancelPostAccepted creates a PcloudV2VolumescloneCancelPostAccepted with default headers values

func (*PcloudV2VolumescloneCancelPostAccepted) Code

Code gets the status code for the pcloud v2 volumesclone cancel post accepted response

func (*PcloudV2VolumescloneCancelPostAccepted) Error

func (*PcloudV2VolumescloneCancelPostAccepted) GetPayload

func (*PcloudV2VolumescloneCancelPostAccepted) IsClientError

func (o *PcloudV2VolumescloneCancelPostAccepted) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone cancel post accepted response has a 4xx status code

func (*PcloudV2VolumescloneCancelPostAccepted) IsCode

IsCode returns true when this pcloud v2 volumesclone cancel post accepted response a status code equal to that given

func (*PcloudV2VolumescloneCancelPostAccepted) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone cancel post accepted response has a 3xx status code

func (*PcloudV2VolumescloneCancelPostAccepted) IsServerError

func (o *PcloudV2VolumescloneCancelPostAccepted) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone cancel post accepted response has a 5xx status code

func (*PcloudV2VolumescloneCancelPostAccepted) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone cancel post accepted response has a 2xx status code

func (*PcloudV2VolumescloneCancelPostAccepted) String

type PcloudV2VolumescloneCancelPostForbidden

type PcloudV2VolumescloneCancelPostForbidden struct {
	Payload *models.Error
}

PcloudV2VolumescloneCancelPostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudV2VolumescloneCancelPostForbidden

func NewPcloudV2VolumescloneCancelPostForbidden() *PcloudV2VolumescloneCancelPostForbidden

NewPcloudV2VolumescloneCancelPostForbidden creates a PcloudV2VolumescloneCancelPostForbidden with default headers values

func (*PcloudV2VolumescloneCancelPostForbidden) Code

Code gets the status code for the pcloud v2 volumesclone cancel post forbidden response

func (*PcloudV2VolumescloneCancelPostForbidden) Error

func (*PcloudV2VolumescloneCancelPostForbidden) GetPayload

func (*PcloudV2VolumescloneCancelPostForbidden) IsClientError

func (o *PcloudV2VolumescloneCancelPostForbidden) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone cancel post forbidden response has a 4xx status code

func (*PcloudV2VolumescloneCancelPostForbidden) IsCode

IsCode returns true when this pcloud v2 volumesclone cancel post forbidden response a status code equal to that given

func (*PcloudV2VolumescloneCancelPostForbidden) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone cancel post forbidden response has a 3xx status code

func (*PcloudV2VolumescloneCancelPostForbidden) IsServerError

func (o *PcloudV2VolumescloneCancelPostForbidden) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone cancel post forbidden response has a 5xx status code

func (*PcloudV2VolumescloneCancelPostForbidden) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone cancel post forbidden response has a 2xx status code

func (*PcloudV2VolumescloneCancelPostForbidden) String

type PcloudV2VolumescloneCancelPostInternalServerError

type PcloudV2VolumescloneCancelPostInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumescloneCancelPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudV2VolumescloneCancelPostInternalServerError

func NewPcloudV2VolumescloneCancelPostInternalServerError() *PcloudV2VolumescloneCancelPostInternalServerError

NewPcloudV2VolumescloneCancelPostInternalServerError creates a PcloudV2VolumescloneCancelPostInternalServerError with default headers values

func (*PcloudV2VolumescloneCancelPostInternalServerError) Code

Code gets the status code for the pcloud v2 volumesclone cancel post internal server error response

func (*PcloudV2VolumescloneCancelPostInternalServerError) Error

func (*PcloudV2VolumescloneCancelPostInternalServerError) GetPayload

func (*PcloudV2VolumescloneCancelPostInternalServerError) IsClientError

IsClientError returns true when this pcloud v2 volumesclone cancel post internal server error response has a 4xx status code

func (*PcloudV2VolumescloneCancelPostInternalServerError) IsCode

IsCode returns true when this pcloud v2 volumesclone cancel post internal server error response a status code equal to that given

func (*PcloudV2VolumescloneCancelPostInternalServerError) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone cancel post internal server error response has a 3xx status code

func (*PcloudV2VolumescloneCancelPostInternalServerError) IsServerError

IsServerError returns true when this pcloud v2 volumesclone cancel post internal server error response has a 5xx status code

func (*PcloudV2VolumescloneCancelPostInternalServerError) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone cancel post internal server error response has a 2xx status code

func (*PcloudV2VolumescloneCancelPostInternalServerError) String

type PcloudV2VolumescloneCancelPostNotFound

type PcloudV2VolumescloneCancelPostNotFound struct {
	Payload *models.Error
}

PcloudV2VolumescloneCancelPostNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudV2VolumescloneCancelPostNotFound

func NewPcloudV2VolumescloneCancelPostNotFound() *PcloudV2VolumescloneCancelPostNotFound

NewPcloudV2VolumescloneCancelPostNotFound creates a PcloudV2VolumescloneCancelPostNotFound with default headers values

func (*PcloudV2VolumescloneCancelPostNotFound) Code

Code gets the status code for the pcloud v2 volumesclone cancel post not found response

func (*PcloudV2VolumescloneCancelPostNotFound) Error

func (*PcloudV2VolumescloneCancelPostNotFound) GetPayload

func (*PcloudV2VolumescloneCancelPostNotFound) IsClientError

func (o *PcloudV2VolumescloneCancelPostNotFound) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone cancel post not found response has a 4xx status code

func (*PcloudV2VolumescloneCancelPostNotFound) IsCode

IsCode returns true when this pcloud v2 volumesclone cancel post not found response a status code equal to that given

func (*PcloudV2VolumescloneCancelPostNotFound) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone cancel post not found response has a 3xx status code

func (*PcloudV2VolumescloneCancelPostNotFound) IsServerError

func (o *PcloudV2VolumescloneCancelPostNotFound) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone cancel post not found response has a 5xx status code

func (*PcloudV2VolumescloneCancelPostNotFound) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone cancel post not found response has a 2xx status code

func (*PcloudV2VolumescloneCancelPostNotFound) String

type PcloudV2VolumescloneCancelPostParams

type PcloudV2VolumescloneCancelPostParams struct {

	/* Body.

	   Parameters for cancelling a volumes-clone request
	*/
	Body *models.VolumesCloneCancel

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* VolumesCloneID.

	   Volumes Clone ID
	*/
	VolumesCloneID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudV2VolumescloneCancelPostParams contains all the parameters to send to the API endpoint

for the pcloud v2 volumesclone cancel post operation.

Typically these are written to a http.Request.

func NewPcloudV2VolumescloneCancelPostParams

func NewPcloudV2VolumescloneCancelPostParams() *PcloudV2VolumescloneCancelPostParams

NewPcloudV2VolumescloneCancelPostParams creates a new PcloudV2VolumescloneCancelPostParams 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 NewPcloudV2VolumescloneCancelPostParamsWithContext

func NewPcloudV2VolumescloneCancelPostParamsWithContext(ctx context.Context) *PcloudV2VolumescloneCancelPostParams

NewPcloudV2VolumescloneCancelPostParamsWithContext creates a new PcloudV2VolumescloneCancelPostParams object with the ability to set a context for a request.

func NewPcloudV2VolumescloneCancelPostParamsWithHTTPClient

func NewPcloudV2VolumescloneCancelPostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneCancelPostParams

NewPcloudV2VolumescloneCancelPostParamsWithHTTPClient creates a new PcloudV2VolumescloneCancelPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudV2VolumescloneCancelPostParamsWithTimeout

func NewPcloudV2VolumescloneCancelPostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneCancelPostParams

NewPcloudV2VolumescloneCancelPostParamsWithTimeout creates a new PcloudV2VolumescloneCancelPostParams object with the ability to set a timeout on a request.

func (*PcloudV2VolumescloneCancelPostParams) SetBody

SetBody adds the body to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) SetCloudInstanceID

func (o *PcloudV2VolumescloneCancelPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) SetContext

SetContext adds the context to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) SetDefaults

func (o *PcloudV2VolumescloneCancelPostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud v2 volumesclone cancel post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2VolumescloneCancelPostParams) SetHTTPClient

func (o *PcloudV2VolumescloneCancelPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) SetTimeout

func (o *PcloudV2VolumescloneCancelPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) SetVolumesCloneID

func (o *PcloudV2VolumescloneCancelPostParams) SetVolumesCloneID(volumesCloneID string)

SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WithBody

WithBody adds the body to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WithCloudInstanceID

func (o *PcloudV2VolumescloneCancelPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneCancelPostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WithContext

WithContext adds the context to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WithDefaults

WithDefaults hydrates default values in the pcloud v2 volumesclone cancel post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2VolumescloneCancelPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WithVolumesCloneID

WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumescloneCancelPostReader

type PcloudV2VolumescloneCancelPostReader struct {
	// contains filtered or unexported fields
}

PcloudV2VolumescloneCancelPostReader is a Reader for the PcloudV2VolumescloneCancelPost structure.

func (*PcloudV2VolumescloneCancelPostReader) ReadResponse

func (o *PcloudV2VolumescloneCancelPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2VolumescloneCancelPostUnauthorized

type PcloudV2VolumescloneCancelPostUnauthorized struct {
	Payload *models.Error
}

PcloudV2VolumescloneCancelPostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudV2VolumescloneCancelPostUnauthorized

func NewPcloudV2VolumescloneCancelPostUnauthorized() *PcloudV2VolumescloneCancelPostUnauthorized

NewPcloudV2VolumescloneCancelPostUnauthorized creates a PcloudV2VolumescloneCancelPostUnauthorized with default headers values

func (*PcloudV2VolumescloneCancelPostUnauthorized) Code

Code gets the status code for the pcloud v2 volumesclone cancel post unauthorized response

func (*PcloudV2VolumescloneCancelPostUnauthorized) Error

func (*PcloudV2VolumescloneCancelPostUnauthorized) GetPayload

func (*PcloudV2VolumescloneCancelPostUnauthorized) IsClientError

IsClientError returns true when this pcloud v2 volumesclone cancel post unauthorized response has a 4xx status code

func (*PcloudV2VolumescloneCancelPostUnauthorized) IsCode

IsCode returns true when this pcloud v2 volumesclone cancel post unauthorized response a status code equal to that given

func (*PcloudV2VolumescloneCancelPostUnauthorized) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone cancel post unauthorized response has a 3xx status code

func (*PcloudV2VolumescloneCancelPostUnauthorized) IsServerError

IsServerError returns true when this pcloud v2 volumesclone cancel post unauthorized response has a 5xx status code

func (*PcloudV2VolumescloneCancelPostUnauthorized) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone cancel post unauthorized response has a 2xx status code

func (*PcloudV2VolumescloneCancelPostUnauthorized) String

type PcloudV2VolumescloneDeleteBadRequest

type PcloudV2VolumescloneDeleteBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumescloneDeleteBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudV2VolumescloneDeleteBadRequest

func NewPcloudV2VolumescloneDeleteBadRequest() *PcloudV2VolumescloneDeleteBadRequest

NewPcloudV2VolumescloneDeleteBadRequest creates a PcloudV2VolumescloneDeleteBadRequest with default headers values

func (*PcloudV2VolumescloneDeleteBadRequest) Code

Code gets the status code for the pcloud v2 volumesclone delete bad request response

func (*PcloudV2VolumescloneDeleteBadRequest) Error

func (*PcloudV2VolumescloneDeleteBadRequest) GetPayload

func (*PcloudV2VolumescloneDeleteBadRequest) IsClientError

func (o *PcloudV2VolumescloneDeleteBadRequest) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone delete bad request response has a 4xx status code

func (*PcloudV2VolumescloneDeleteBadRequest) IsCode

IsCode returns true when this pcloud v2 volumesclone delete bad request response a status code equal to that given

func (*PcloudV2VolumescloneDeleteBadRequest) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone delete bad request response has a 3xx status code

func (*PcloudV2VolumescloneDeleteBadRequest) IsServerError

func (o *PcloudV2VolumescloneDeleteBadRequest) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone delete bad request response has a 5xx status code

func (*PcloudV2VolumescloneDeleteBadRequest) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone delete bad request response has a 2xx status code

func (*PcloudV2VolumescloneDeleteBadRequest) String

type PcloudV2VolumescloneDeleteForbidden

type PcloudV2VolumescloneDeleteForbidden struct {
	Payload *models.Error
}

PcloudV2VolumescloneDeleteForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudV2VolumescloneDeleteForbidden

func NewPcloudV2VolumescloneDeleteForbidden() *PcloudV2VolumescloneDeleteForbidden

NewPcloudV2VolumescloneDeleteForbidden creates a PcloudV2VolumescloneDeleteForbidden with default headers values

func (*PcloudV2VolumescloneDeleteForbidden) Code

Code gets the status code for the pcloud v2 volumesclone delete forbidden response

func (*PcloudV2VolumescloneDeleteForbidden) Error

func (*PcloudV2VolumescloneDeleteForbidden) GetPayload

func (*PcloudV2VolumescloneDeleteForbidden) IsClientError

func (o *PcloudV2VolumescloneDeleteForbidden) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone delete forbidden response has a 4xx status code

func (*PcloudV2VolumescloneDeleteForbidden) IsCode

IsCode returns true when this pcloud v2 volumesclone delete forbidden response a status code equal to that given

func (*PcloudV2VolumescloneDeleteForbidden) IsRedirect

func (o *PcloudV2VolumescloneDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone delete forbidden response has a 3xx status code

func (*PcloudV2VolumescloneDeleteForbidden) IsServerError

func (o *PcloudV2VolumescloneDeleteForbidden) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone delete forbidden response has a 5xx status code

func (*PcloudV2VolumescloneDeleteForbidden) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone delete forbidden response has a 2xx status code

func (*PcloudV2VolumescloneDeleteForbidden) String

type PcloudV2VolumescloneDeleteInternalServerError

type PcloudV2VolumescloneDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumescloneDeleteInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudV2VolumescloneDeleteInternalServerError

func NewPcloudV2VolumescloneDeleteInternalServerError() *PcloudV2VolumescloneDeleteInternalServerError

NewPcloudV2VolumescloneDeleteInternalServerError creates a PcloudV2VolumescloneDeleteInternalServerError with default headers values

func (*PcloudV2VolumescloneDeleteInternalServerError) Code

Code gets the status code for the pcloud v2 volumesclone delete internal server error response

func (*PcloudV2VolumescloneDeleteInternalServerError) Error

func (*PcloudV2VolumescloneDeleteInternalServerError) GetPayload

func (*PcloudV2VolumescloneDeleteInternalServerError) IsClientError

IsClientError returns true when this pcloud v2 volumesclone delete internal server error response has a 4xx status code

func (*PcloudV2VolumescloneDeleteInternalServerError) IsCode

IsCode returns true when this pcloud v2 volumesclone delete internal server error response a status code equal to that given

func (*PcloudV2VolumescloneDeleteInternalServerError) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone delete internal server error response has a 3xx status code

func (*PcloudV2VolumescloneDeleteInternalServerError) IsServerError

IsServerError returns true when this pcloud v2 volumesclone delete internal server error response has a 5xx status code

func (*PcloudV2VolumescloneDeleteInternalServerError) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone delete internal server error response has a 2xx status code

func (*PcloudV2VolumescloneDeleteInternalServerError) String

type PcloudV2VolumescloneDeleteNotFound

type PcloudV2VolumescloneDeleteNotFound struct {
	Payload *models.Error
}

PcloudV2VolumescloneDeleteNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudV2VolumescloneDeleteNotFound

func NewPcloudV2VolumescloneDeleteNotFound() *PcloudV2VolumescloneDeleteNotFound

NewPcloudV2VolumescloneDeleteNotFound creates a PcloudV2VolumescloneDeleteNotFound with default headers values

func (*PcloudV2VolumescloneDeleteNotFound) Code

Code gets the status code for the pcloud v2 volumesclone delete not found response

func (*PcloudV2VolumescloneDeleteNotFound) Error

func (*PcloudV2VolumescloneDeleteNotFound) GetPayload

func (*PcloudV2VolumescloneDeleteNotFound) IsClientError

func (o *PcloudV2VolumescloneDeleteNotFound) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone delete not found response has a 4xx status code

func (*PcloudV2VolumescloneDeleteNotFound) IsCode

IsCode returns true when this pcloud v2 volumesclone delete not found response a status code equal to that given

func (*PcloudV2VolumescloneDeleteNotFound) IsRedirect

func (o *PcloudV2VolumescloneDeleteNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone delete not found response has a 3xx status code

func (*PcloudV2VolumescloneDeleteNotFound) IsServerError

func (o *PcloudV2VolumescloneDeleteNotFound) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone delete not found response has a 5xx status code

func (*PcloudV2VolumescloneDeleteNotFound) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone delete not found response has a 2xx status code

func (*PcloudV2VolumescloneDeleteNotFound) String

type PcloudV2VolumescloneDeleteOK

type PcloudV2VolumescloneDeleteOK struct {
	Payload models.Object
}

PcloudV2VolumescloneDeleteOK describes a response with status code 200, with default header values.

OK

func NewPcloudV2VolumescloneDeleteOK

func NewPcloudV2VolumescloneDeleteOK() *PcloudV2VolumescloneDeleteOK

NewPcloudV2VolumescloneDeleteOK creates a PcloudV2VolumescloneDeleteOK with default headers values

func (*PcloudV2VolumescloneDeleteOK) Code

Code gets the status code for the pcloud v2 volumesclone delete o k response

func (*PcloudV2VolumescloneDeleteOK) Error

func (*PcloudV2VolumescloneDeleteOK) GetPayload

func (o *PcloudV2VolumescloneDeleteOK) GetPayload() models.Object

func (*PcloudV2VolumescloneDeleteOK) IsClientError

func (o *PcloudV2VolumescloneDeleteOK) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone delete o k response has a 4xx status code

func (*PcloudV2VolumescloneDeleteOK) IsCode

func (o *PcloudV2VolumescloneDeleteOK) IsCode(code int) bool

IsCode returns true when this pcloud v2 volumesclone delete o k response a status code equal to that given

func (*PcloudV2VolumescloneDeleteOK) IsRedirect

func (o *PcloudV2VolumescloneDeleteOK) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone delete o k response has a 3xx status code

func (*PcloudV2VolumescloneDeleteOK) IsServerError

func (o *PcloudV2VolumescloneDeleteOK) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone delete o k response has a 5xx status code

func (*PcloudV2VolumescloneDeleteOK) IsSuccess

func (o *PcloudV2VolumescloneDeleteOK) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumesclone delete o k response has a 2xx status code

func (*PcloudV2VolumescloneDeleteOK) String

type PcloudV2VolumescloneDeleteParams

type PcloudV2VolumescloneDeleteParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* VolumesCloneID.

	   Volumes Clone ID
	*/
	VolumesCloneID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudV2VolumescloneDeleteParams contains all the parameters to send to the API endpoint

for the pcloud v2 volumesclone delete operation.

Typically these are written to a http.Request.

func NewPcloudV2VolumescloneDeleteParams

func NewPcloudV2VolumescloneDeleteParams() *PcloudV2VolumescloneDeleteParams

NewPcloudV2VolumescloneDeleteParams creates a new PcloudV2VolumescloneDeleteParams 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 NewPcloudV2VolumescloneDeleteParamsWithContext

func NewPcloudV2VolumescloneDeleteParamsWithContext(ctx context.Context) *PcloudV2VolumescloneDeleteParams

NewPcloudV2VolumescloneDeleteParamsWithContext creates a new PcloudV2VolumescloneDeleteParams object with the ability to set a context for a request.

func NewPcloudV2VolumescloneDeleteParamsWithHTTPClient

func NewPcloudV2VolumescloneDeleteParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneDeleteParams

NewPcloudV2VolumescloneDeleteParamsWithHTTPClient creates a new PcloudV2VolumescloneDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudV2VolumescloneDeleteParamsWithTimeout

func NewPcloudV2VolumescloneDeleteParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneDeleteParams

NewPcloudV2VolumescloneDeleteParamsWithTimeout creates a new PcloudV2VolumescloneDeleteParams object with the ability to set a timeout on a request.

func (*PcloudV2VolumescloneDeleteParams) SetCloudInstanceID

func (o *PcloudV2VolumescloneDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) SetContext

SetContext adds the context to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) SetDefaults

func (o *PcloudV2VolumescloneDeleteParams) SetDefaults()

SetDefaults hydrates default values in the pcloud v2 volumesclone delete params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2VolumescloneDeleteParams) SetHTTPClient

func (o *PcloudV2VolumescloneDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) SetTimeout

func (o *PcloudV2VolumescloneDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) SetVolumesCloneID

func (o *PcloudV2VolumescloneDeleteParams) SetVolumesCloneID(volumesCloneID string)

SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) WithCloudInstanceID

func (o *PcloudV2VolumescloneDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneDeleteParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) WithContext

WithContext adds the context to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) WithDefaults

WithDefaults hydrates default values in the pcloud v2 volumesclone delete params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2VolumescloneDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) WithVolumesCloneID

func (o *PcloudV2VolumescloneDeleteParams) WithVolumesCloneID(volumesCloneID string) *PcloudV2VolumescloneDeleteParams

WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumescloneDeleteReader

type PcloudV2VolumescloneDeleteReader struct {
	// contains filtered or unexported fields
}

PcloudV2VolumescloneDeleteReader is a Reader for the PcloudV2VolumescloneDelete structure.

func (*PcloudV2VolumescloneDeleteReader) ReadResponse

func (o *PcloudV2VolumescloneDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2VolumescloneDeleteUnauthorized

type PcloudV2VolumescloneDeleteUnauthorized struct {
	Payload *models.Error
}

PcloudV2VolumescloneDeleteUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudV2VolumescloneDeleteUnauthorized

func NewPcloudV2VolumescloneDeleteUnauthorized() *PcloudV2VolumescloneDeleteUnauthorized

NewPcloudV2VolumescloneDeleteUnauthorized creates a PcloudV2VolumescloneDeleteUnauthorized with default headers values

func (*PcloudV2VolumescloneDeleteUnauthorized) Code

Code gets the status code for the pcloud v2 volumesclone delete unauthorized response

func (*PcloudV2VolumescloneDeleteUnauthorized) Error

func (*PcloudV2VolumescloneDeleteUnauthorized) GetPayload

func (*PcloudV2VolumescloneDeleteUnauthorized) IsClientError

func (o *PcloudV2VolumescloneDeleteUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone delete unauthorized response has a 4xx status code

func (*PcloudV2VolumescloneDeleteUnauthorized) IsCode

IsCode returns true when this pcloud v2 volumesclone delete unauthorized response a status code equal to that given

func (*PcloudV2VolumescloneDeleteUnauthorized) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone delete unauthorized response has a 3xx status code

func (*PcloudV2VolumescloneDeleteUnauthorized) IsServerError

func (o *PcloudV2VolumescloneDeleteUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone delete unauthorized response has a 5xx status code

func (*PcloudV2VolumescloneDeleteUnauthorized) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone delete unauthorized response has a 2xx status code

func (*PcloudV2VolumescloneDeleteUnauthorized) String

type PcloudV2VolumescloneExecutePostAccepted

type PcloudV2VolumescloneExecutePostAccepted struct {
	Payload *models.VolumesClone
}

PcloudV2VolumescloneExecutePostAccepted describes a response with status code 202, with default header values.

Accepted

func NewPcloudV2VolumescloneExecutePostAccepted

func NewPcloudV2VolumescloneExecutePostAccepted() *PcloudV2VolumescloneExecutePostAccepted

NewPcloudV2VolumescloneExecutePostAccepted creates a PcloudV2VolumescloneExecutePostAccepted with default headers values

func (*PcloudV2VolumescloneExecutePostAccepted) Code

Code gets the status code for the pcloud v2 volumesclone execute post accepted response

func (*PcloudV2VolumescloneExecutePostAccepted) Error

func (*PcloudV2VolumescloneExecutePostAccepted) GetPayload

func (*PcloudV2VolumescloneExecutePostAccepted) IsClientError

func (o *PcloudV2VolumescloneExecutePostAccepted) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone execute post accepted response has a 4xx status code

func (*PcloudV2VolumescloneExecutePostAccepted) IsCode

IsCode returns true when this pcloud v2 volumesclone execute post accepted response a status code equal to that given

func (*PcloudV2VolumescloneExecutePostAccepted) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone execute post accepted response has a 3xx status code

func (*PcloudV2VolumescloneExecutePostAccepted) IsServerError

func (o *PcloudV2VolumescloneExecutePostAccepted) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone execute post accepted response has a 5xx status code

func (*PcloudV2VolumescloneExecutePostAccepted) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone execute post accepted response has a 2xx status code

func (*PcloudV2VolumescloneExecutePostAccepted) String

type PcloudV2VolumescloneExecutePostBadRequest

type PcloudV2VolumescloneExecutePostBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumescloneExecutePostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudV2VolumescloneExecutePostBadRequest

func NewPcloudV2VolumescloneExecutePostBadRequest() *PcloudV2VolumescloneExecutePostBadRequest

NewPcloudV2VolumescloneExecutePostBadRequest creates a PcloudV2VolumescloneExecutePostBadRequest with default headers values

func (*PcloudV2VolumescloneExecutePostBadRequest) Code

Code gets the status code for the pcloud v2 volumesclone execute post bad request response

func (*PcloudV2VolumescloneExecutePostBadRequest) Error

func (*PcloudV2VolumescloneExecutePostBadRequest) GetPayload

func (*PcloudV2VolumescloneExecutePostBadRequest) IsClientError

IsClientError returns true when this pcloud v2 volumesclone execute post bad request response has a 4xx status code

func (*PcloudV2VolumescloneExecutePostBadRequest) IsCode

IsCode returns true when this pcloud v2 volumesclone execute post bad request response a status code equal to that given

func (*PcloudV2VolumescloneExecutePostBadRequest) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone execute post bad request response has a 3xx status code

func (*PcloudV2VolumescloneExecutePostBadRequest) IsServerError

IsServerError returns true when this pcloud v2 volumesclone execute post bad request response has a 5xx status code

func (*PcloudV2VolumescloneExecutePostBadRequest) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone execute post bad request response has a 2xx status code

func (*PcloudV2VolumescloneExecutePostBadRequest) String

type PcloudV2VolumescloneExecutePostForbidden

type PcloudV2VolumescloneExecutePostForbidden struct {
	Payload *models.Error
}

PcloudV2VolumescloneExecutePostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudV2VolumescloneExecutePostForbidden

func NewPcloudV2VolumescloneExecutePostForbidden() *PcloudV2VolumescloneExecutePostForbidden

NewPcloudV2VolumescloneExecutePostForbidden creates a PcloudV2VolumescloneExecutePostForbidden with default headers values

func (*PcloudV2VolumescloneExecutePostForbidden) Code

Code gets the status code for the pcloud v2 volumesclone execute post forbidden response

func (*PcloudV2VolumescloneExecutePostForbidden) Error

func (*PcloudV2VolumescloneExecutePostForbidden) GetPayload

func (*PcloudV2VolumescloneExecutePostForbidden) IsClientError

IsClientError returns true when this pcloud v2 volumesclone execute post forbidden response has a 4xx status code

func (*PcloudV2VolumescloneExecutePostForbidden) IsCode

IsCode returns true when this pcloud v2 volumesclone execute post forbidden response a status code equal to that given

func (*PcloudV2VolumescloneExecutePostForbidden) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone execute post forbidden response has a 3xx status code

func (*PcloudV2VolumescloneExecutePostForbidden) IsServerError

IsServerError returns true when this pcloud v2 volumesclone execute post forbidden response has a 5xx status code

func (*PcloudV2VolumescloneExecutePostForbidden) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone execute post forbidden response has a 2xx status code

func (*PcloudV2VolumescloneExecutePostForbidden) String

type PcloudV2VolumescloneExecutePostInternalServerError

type PcloudV2VolumescloneExecutePostInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumescloneExecutePostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudV2VolumescloneExecutePostInternalServerError

func NewPcloudV2VolumescloneExecutePostInternalServerError() *PcloudV2VolumescloneExecutePostInternalServerError

NewPcloudV2VolumescloneExecutePostInternalServerError creates a PcloudV2VolumescloneExecutePostInternalServerError with default headers values

func (*PcloudV2VolumescloneExecutePostInternalServerError) Code

Code gets the status code for the pcloud v2 volumesclone execute post internal server error response

func (*PcloudV2VolumescloneExecutePostInternalServerError) Error

func (*PcloudV2VolumescloneExecutePostInternalServerError) GetPayload

func (*PcloudV2VolumescloneExecutePostInternalServerError) IsClientError

IsClientError returns true when this pcloud v2 volumesclone execute post internal server error response has a 4xx status code

func (*PcloudV2VolumescloneExecutePostInternalServerError) IsCode

IsCode returns true when this pcloud v2 volumesclone execute post internal server error response a status code equal to that given

func (*PcloudV2VolumescloneExecutePostInternalServerError) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone execute post internal server error response has a 3xx status code

func (*PcloudV2VolumescloneExecutePostInternalServerError) IsServerError

IsServerError returns true when this pcloud v2 volumesclone execute post internal server error response has a 5xx status code

func (*PcloudV2VolumescloneExecutePostInternalServerError) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone execute post internal server error response has a 2xx status code

func (*PcloudV2VolumescloneExecutePostInternalServerError) String

type PcloudV2VolumescloneExecutePostNotFound

type PcloudV2VolumescloneExecutePostNotFound struct {
	Payload *models.Error
}

PcloudV2VolumescloneExecutePostNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudV2VolumescloneExecutePostNotFound

func NewPcloudV2VolumescloneExecutePostNotFound() *PcloudV2VolumescloneExecutePostNotFound

NewPcloudV2VolumescloneExecutePostNotFound creates a PcloudV2VolumescloneExecutePostNotFound with default headers values

func (*PcloudV2VolumescloneExecutePostNotFound) Code

Code gets the status code for the pcloud v2 volumesclone execute post not found response

func (*PcloudV2VolumescloneExecutePostNotFound) Error

func (*PcloudV2VolumescloneExecutePostNotFound) GetPayload

func (*PcloudV2VolumescloneExecutePostNotFound) IsClientError

func (o *PcloudV2VolumescloneExecutePostNotFound) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone execute post not found response has a 4xx status code

func (*PcloudV2VolumescloneExecutePostNotFound) IsCode

IsCode returns true when this pcloud v2 volumesclone execute post not found response a status code equal to that given

func (*PcloudV2VolumescloneExecutePostNotFound) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone execute post not found response has a 3xx status code

func (*PcloudV2VolumescloneExecutePostNotFound) IsServerError

func (o *PcloudV2VolumescloneExecutePostNotFound) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone execute post not found response has a 5xx status code

func (*PcloudV2VolumescloneExecutePostNotFound) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone execute post not found response has a 2xx status code

func (*PcloudV2VolumescloneExecutePostNotFound) String

type PcloudV2VolumescloneExecutePostParams

type PcloudV2VolumescloneExecutePostParams struct {

	/* Body.

	   Parameters for the cloning of volumes
	*/
	Body *models.VolumesCloneExecute

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* VolumesCloneID.

	   Volumes Clone ID
	*/
	VolumesCloneID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudV2VolumescloneExecutePostParams contains all the parameters to send to the API endpoint

for the pcloud v2 volumesclone execute post operation.

Typically these are written to a http.Request.

func NewPcloudV2VolumescloneExecutePostParams

func NewPcloudV2VolumescloneExecutePostParams() *PcloudV2VolumescloneExecutePostParams

NewPcloudV2VolumescloneExecutePostParams creates a new PcloudV2VolumescloneExecutePostParams 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 NewPcloudV2VolumescloneExecutePostParamsWithContext

func NewPcloudV2VolumescloneExecutePostParamsWithContext(ctx context.Context) *PcloudV2VolumescloneExecutePostParams

NewPcloudV2VolumescloneExecutePostParamsWithContext creates a new PcloudV2VolumescloneExecutePostParams object with the ability to set a context for a request.

func NewPcloudV2VolumescloneExecutePostParamsWithHTTPClient

func NewPcloudV2VolumescloneExecutePostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneExecutePostParams

NewPcloudV2VolumescloneExecutePostParamsWithHTTPClient creates a new PcloudV2VolumescloneExecutePostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudV2VolumescloneExecutePostParamsWithTimeout

func NewPcloudV2VolumescloneExecutePostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneExecutePostParams

NewPcloudV2VolumescloneExecutePostParamsWithTimeout creates a new PcloudV2VolumescloneExecutePostParams object with the ability to set a timeout on a request.

func (*PcloudV2VolumescloneExecutePostParams) SetBody

SetBody adds the body to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) SetCloudInstanceID

func (o *PcloudV2VolumescloneExecutePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) SetContext

SetContext adds the context to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) SetDefaults

func (o *PcloudV2VolumescloneExecutePostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud v2 volumesclone execute post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2VolumescloneExecutePostParams) SetHTTPClient

func (o *PcloudV2VolumescloneExecutePostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) SetTimeout

func (o *PcloudV2VolumescloneExecutePostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) SetVolumesCloneID

func (o *PcloudV2VolumescloneExecutePostParams) SetVolumesCloneID(volumesCloneID string)

SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WithBody

WithBody adds the body to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WithContext

WithContext adds the context to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WithDefaults

WithDefaults hydrates default values in the pcloud v2 volumesclone execute post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2VolumescloneExecutePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WithVolumesCloneID

WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumescloneExecutePostReader

type PcloudV2VolumescloneExecutePostReader struct {
	// contains filtered or unexported fields
}

PcloudV2VolumescloneExecutePostReader is a Reader for the PcloudV2VolumescloneExecutePost structure.

func (*PcloudV2VolumescloneExecutePostReader) ReadResponse

func (o *PcloudV2VolumescloneExecutePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2VolumescloneExecutePostUnauthorized

type PcloudV2VolumescloneExecutePostUnauthorized struct {
	Payload *models.Error
}

PcloudV2VolumescloneExecutePostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudV2VolumescloneExecutePostUnauthorized

func NewPcloudV2VolumescloneExecutePostUnauthorized() *PcloudV2VolumescloneExecutePostUnauthorized

NewPcloudV2VolumescloneExecutePostUnauthorized creates a PcloudV2VolumescloneExecutePostUnauthorized with default headers values

func (*PcloudV2VolumescloneExecutePostUnauthorized) Code

Code gets the status code for the pcloud v2 volumesclone execute post unauthorized response

func (*PcloudV2VolumescloneExecutePostUnauthorized) Error

func (*PcloudV2VolumescloneExecutePostUnauthorized) GetPayload

func (*PcloudV2VolumescloneExecutePostUnauthorized) IsClientError

IsClientError returns true when this pcloud v2 volumesclone execute post unauthorized response has a 4xx status code

func (*PcloudV2VolumescloneExecutePostUnauthorized) IsCode

IsCode returns true when this pcloud v2 volumesclone execute post unauthorized response a status code equal to that given

func (*PcloudV2VolumescloneExecutePostUnauthorized) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone execute post unauthorized response has a 3xx status code

func (*PcloudV2VolumescloneExecutePostUnauthorized) IsServerError

IsServerError returns true when this pcloud v2 volumesclone execute post unauthorized response has a 5xx status code

func (*PcloudV2VolumescloneExecutePostUnauthorized) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone execute post unauthorized response has a 2xx status code

func (*PcloudV2VolumescloneExecutePostUnauthorized) String

type PcloudV2VolumescloneGetBadRequest

type PcloudV2VolumescloneGetBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudV2VolumescloneGetBadRequest

func NewPcloudV2VolumescloneGetBadRequest() *PcloudV2VolumescloneGetBadRequest

NewPcloudV2VolumescloneGetBadRequest creates a PcloudV2VolumescloneGetBadRequest with default headers values

func (*PcloudV2VolumescloneGetBadRequest) Code

Code gets the status code for the pcloud v2 volumesclone get bad request response

func (*PcloudV2VolumescloneGetBadRequest) Error

func (*PcloudV2VolumescloneGetBadRequest) GetPayload

func (*PcloudV2VolumescloneGetBadRequest) IsClientError

func (o *PcloudV2VolumescloneGetBadRequest) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone get bad request response has a 4xx status code

func (*PcloudV2VolumescloneGetBadRequest) IsCode

func (o *PcloudV2VolumescloneGetBadRequest) IsCode(code int) bool

IsCode returns true when this pcloud v2 volumesclone get bad request response a status code equal to that given

func (*PcloudV2VolumescloneGetBadRequest) IsRedirect

func (o *PcloudV2VolumescloneGetBadRequest) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone get bad request response has a 3xx status code

func (*PcloudV2VolumescloneGetBadRequest) IsServerError

func (o *PcloudV2VolumescloneGetBadRequest) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone get bad request response has a 5xx status code

func (*PcloudV2VolumescloneGetBadRequest) IsSuccess

func (o *PcloudV2VolumescloneGetBadRequest) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumesclone get bad request response has a 2xx status code

func (*PcloudV2VolumescloneGetBadRequest) String

type PcloudV2VolumescloneGetForbidden

type PcloudV2VolumescloneGetForbidden struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudV2VolumescloneGetForbidden

func NewPcloudV2VolumescloneGetForbidden() *PcloudV2VolumescloneGetForbidden

NewPcloudV2VolumescloneGetForbidden creates a PcloudV2VolumescloneGetForbidden with default headers values

func (*PcloudV2VolumescloneGetForbidden) Code

Code gets the status code for the pcloud v2 volumesclone get forbidden response

func (*PcloudV2VolumescloneGetForbidden) Error

func (*PcloudV2VolumescloneGetForbidden) GetPayload

func (*PcloudV2VolumescloneGetForbidden) IsClientError

func (o *PcloudV2VolumescloneGetForbidden) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone get forbidden response has a 4xx status code

func (*PcloudV2VolumescloneGetForbidden) IsCode

func (o *PcloudV2VolumescloneGetForbidden) IsCode(code int) bool

IsCode returns true when this pcloud v2 volumesclone get forbidden response a status code equal to that given

func (*PcloudV2VolumescloneGetForbidden) IsRedirect

func (o *PcloudV2VolumescloneGetForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone get forbidden response has a 3xx status code

func (*PcloudV2VolumescloneGetForbidden) IsServerError

func (o *PcloudV2VolumescloneGetForbidden) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone get forbidden response has a 5xx status code

func (*PcloudV2VolumescloneGetForbidden) IsSuccess

func (o *PcloudV2VolumescloneGetForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumesclone get forbidden response has a 2xx status code

func (*PcloudV2VolumescloneGetForbidden) String

type PcloudV2VolumescloneGetInternalServerError

type PcloudV2VolumescloneGetInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudV2VolumescloneGetInternalServerError

func NewPcloudV2VolumescloneGetInternalServerError() *PcloudV2VolumescloneGetInternalServerError

NewPcloudV2VolumescloneGetInternalServerError creates a PcloudV2VolumescloneGetInternalServerError with default headers values

func (*PcloudV2VolumescloneGetInternalServerError) Code

Code gets the status code for the pcloud v2 volumesclone get internal server error response

func (*PcloudV2VolumescloneGetInternalServerError) Error

func (*PcloudV2VolumescloneGetInternalServerError) GetPayload

func (*PcloudV2VolumescloneGetInternalServerError) IsClientError

IsClientError returns true when this pcloud v2 volumesclone get internal server error response has a 4xx status code

func (*PcloudV2VolumescloneGetInternalServerError) IsCode

IsCode returns true when this pcloud v2 volumesclone get internal server error response a status code equal to that given

func (*PcloudV2VolumescloneGetInternalServerError) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone get internal server error response has a 3xx status code

func (*PcloudV2VolumescloneGetInternalServerError) IsServerError

IsServerError returns true when this pcloud v2 volumesclone get internal server error response has a 5xx status code

func (*PcloudV2VolumescloneGetInternalServerError) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone get internal server error response has a 2xx status code

func (*PcloudV2VolumescloneGetInternalServerError) String

type PcloudV2VolumescloneGetNotFound

type PcloudV2VolumescloneGetNotFound struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudV2VolumescloneGetNotFound

func NewPcloudV2VolumescloneGetNotFound() *PcloudV2VolumescloneGetNotFound

NewPcloudV2VolumescloneGetNotFound creates a PcloudV2VolumescloneGetNotFound with default headers values

func (*PcloudV2VolumescloneGetNotFound) Code

Code gets the status code for the pcloud v2 volumesclone get not found response

func (*PcloudV2VolumescloneGetNotFound) Error

func (*PcloudV2VolumescloneGetNotFound) GetPayload

func (o *PcloudV2VolumescloneGetNotFound) GetPayload() *models.Error

func (*PcloudV2VolumescloneGetNotFound) IsClientError

func (o *PcloudV2VolumescloneGetNotFound) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone get not found response has a 4xx status code

func (*PcloudV2VolumescloneGetNotFound) IsCode

func (o *PcloudV2VolumescloneGetNotFound) IsCode(code int) bool

IsCode returns true when this pcloud v2 volumesclone get not found response a status code equal to that given

func (*PcloudV2VolumescloneGetNotFound) IsRedirect

func (o *PcloudV2VolumescloneGetNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone get not found response has a 3xx status code

func (*PcloudV2VolumescloneGetNotFound) IsServerError

func (o *PcloudV2VolumescloneGetNotFound) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone get not found response has a 5xx status code

func (*PcloudV2VolumescloneGetNotFound) IsSuccess

func (o *PcloudV2VolumescloneGetNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumesclone get not found response has a 2xx status code

func (*PcloudV2VolumescloneGetNotFound) String

type PcloudV2VolumescloneGetOK

type PcloudV2VolumescloneGetOK struct {
	Payload *models.VolumesCloneDetail
}

PcloudV2VolumescloneGetOK describes a response with status code 200, with default header values.

OK

func NewPcloudV2VolumescloneGetOK

func NewPcloudV2VolumescloneGetOK() *PcloudV2VolumescloneGetOK

NewPcloudV2VolumescloneGetOK creates a PcloudV2VolumescloneGetOK with default headers values

func (*PcloudV2VolumescloneGetOK) Code

func (o *PcloudV2VolumescloneGetOK) Code() int

Code gets the status code for the pcloud v2 volumesclone get o k response

func (*PcloudV2VolumescloneGetOK) Error

func (o *PcloudV2VolumescloneGetOK) Error() string

func (*PcloudV2VolumescloneGetOK) GetPayload

func (*PcloudV2VolumescloneGetOK) IsClientError

func (o *PcloudV2VolumescloneGetOK) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone get o k response has a 4xx status code

func (*PcloudV2VolumescloneGetOK) IsCode

func (o *PcloudV2VolumescloneGetOK) IsCode(code int) bool

IsCode returns true when this pcloud v2 volumesclone get o k response a status code equal to that given

func (*PcloudV2VolumescloneGetOK) IsRedirect

func (o *PcloudV2VolumescloneGetOK) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone get o k response has a 3xx status code

func (*PcloudV2VolumescloneGetOK) IsServerError

func (o *PcloudV2VolumescloneGetOK) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone get o k response has a 5xx status code

func (*PcloudV2VolumescloneGetOK) IsSuccess

func (o *PcloudV2VolumescloneGetOK) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumesclone get o k response has a 2xx status code

func (*PcloudV2VolumescloneGetOK) String

func (o *PcloudV2VolumescloneGetOK) String() string

type PcloudV2VolumescloneGetParams

type PcloudV2VolumescloneGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* VolumesCloneID.

	   Volumes Clone ID
	*/
	VolumesCloneID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudV2VolumescloneGetParams contains all the parameters to send to the API endpoint

for the pcloud v2 volumesclone get operation.

Typically these are written to a http.Request.

func NewPcloudV2VolumescloneGetParams

func NewPcloudV2VolumescloneGetParams() *PcloudV2VolumescloneGetParams

NewPcloudV2VolumescloneGetParams creates a new PcloudV2VolumescloneGetParams 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 NewPcloudV2VolumescloneGetParamsWithContext

func NewPcloudV2VolumescloneGetParamsWithContext(ctx context.Context) *PcloudV2VolumescloneGetParams

NewPcloudV2VolumescloneGetParamsWithContext creates a new PcloudV2VolumescloneGetParams object with the ability to set a context for a request.

func NewPcloudV2VolumescloneGetParamsWithHTTPClient

func NewPcloudV2VolumescloneGetParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneGetParams

NewPcloudV2VolumescloneGetParamsWithHTTPClient creates a new PcloudV2VolumescloneGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudV2VolumescloneGetParamsWithTimeout

func NewPcloudV2VolumescloneGetParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneGetParams

NewPcloudV2VolumescloneGetParamsWithTimeout creates a new PcloudV2VolumescloneGetParams object with the ability to set a timeout on a request.

func (*PcloudV2VolumescloneGetParams) SetCloudInstanceID

func (o *PcloudV2VolumescloneGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) SetContext

func (o *PcloudV2VolumescloneGetParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) SetDefaults

func (o *PcloudV2VolumescloneGetParams) SetDefaults()

SetDefaults hydrates default values in the pcloud v2 volumesclone get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2VolumescloneGetParams) SetHTTPClient

func (o *PcloudV2VolumescloneGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) SetTimeout

func (o *PcloudV2VolumescloneGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) SetVolumesCloneID

func (o *PcloudV2VolumescloneGetParams) SetVolumesCloneID(volumesCloneID string)

SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) WithCloudInstanceID

func (o *PcloudV2VolumescloneGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneGetParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) WithContext

WithContext adds the context to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) WithDefaults

WithDefaults hydrates default values in the pcloud v2 volumesclone get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2VolumescloneGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) WithVolumesCloneID

func (o *PcloudV2VolumescloneGetParams) WithVolumesCloneID(volumesCloneID string) *PcloudV2VolumescloneGetParams

WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumescloneGetReader

type PcloudV2VolumescloneGetReader struct {
	// contains filtered or unexported fields
}

PcloudV2VolumescloneGetReader is a Reader for the PcloudV2VolumescloneGet structure.

func (*PcloudV2VolumescloneGetReader) ReadResponse

func (o *PcloudV2VolumescloneGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2VolumescloneGetUnauthorized

type PcloudV2VolumescloneGetUnauthorized struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudV2VolumescloneGetUnauthorized

func NewPcloudV2VolumescloneGetUnauthorized() *PcloudV2VolumescloneGetUnauthorized

NewPcloudV2VolumescloneGetUnauthorized creates a PcloudV2VolumescloneGetUnauthorized with default headers values

func (*PcloudV2VolumescloneGetUnauthorized) Code

Code gets the status code for the pcloud v2 volumesclone get unauthorized response

func (*PcloudV2VolumescloneGetUnauthorized) Error

func (*PcloudV2VolumescloneGetUnauthorized) GetPayload

func (*PcloudV2VolumescloneGetUnauthorized) IsClientError

func (o *PcloudV2VolumescloneGetUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone get unauthorized response has a 4xx status code

func (*PcloudV2VolumescloneGetUnauthorized) IsCode

IsCode returns true when this pcloud v2 volumesclone get unauthorized response a status code equal to that given

func (*PcloudV2VolumescloneGetUnauthorized) IsRedirect

func (o *PcloudV2VolumescloneGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone get unauthorized response has a 3xx status code

func (*PcloudV2VolumescloneGetUnauthorized) IsServerError

func (o *PcloudV2VolumescloneGetUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone get unauthorized response has a 5xx status code

func (*PcloudV2VolumescloneGetUnauthorized) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone get unauthorized response has a 2xx status code

func (*PcloudV2VolumescloneGetUnauthorized) String

type PcloudV2VolumescloneGetallBadRequest

type PcloudV2VolumescloneGetallBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetallBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudV2VolumescloneGetallBadRequest

func NewPcloudV2VolumescloneGetallBadRequest() *PcloudV2VolumescloneGetallBadRequest

NewPcloudV2VolumescloneGetallBadRequest creates a PcloudV2VolumescloneGetallBadRequest with default headers values

func (*PcloudV2VolumescloneGetallBadRequest) Code

Code gets the status code for the pcloud v2 volumesclone getall bad request response

func (*PcloudV2VolumescloneGetallBadRequest) Error

func (*PcloudV2VolumescloneGetallBadRequest) GetPayload

func (*PcloudV2VolumescloneGetallBadRequest) IsClientError

func (o *PcloudV2VolumescloneGetallBadRequest) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone getall bad request response has a 4xx status code

func (*PcloudV2VolumescloneGetallBadRequest) IsCode

IsCode returns true when this pcloud v2 volumesclone getall bad request response a status code equal to that given

func (*PcloudV2VolumescloneGetallBadRequest) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone getall bad request response has a 3xx status code

func (*PcloudV2VolumescloneGetallBadRequest) IsServerError

func (o *PcloudV2VolumescloneGetallBadRequest) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone getall bad request response has a 5xx status code

func (*PcloudV2VolumescloneGetallBadRequest) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone getall bad request response has a 2xx status code

func (*PcloudV2VolumescloneGetallBadRequest) String

type PcloudV2VolumescloneGetallForbidden

type PcloudV2VolumescloneGetallForbidden struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetallForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudV2VolumescloneGetallForbidden

func NewPcloudV2VolumescloneGetallForbidden() *PcloudV2VolumescloneGetallForbidden

NewPcloudV2VolumescloneGetallForbidden creates a PcloudV2VolumescloneGetallForbidden with default headers values

func (*PcloudV2VolumescloneGetallForbidden) Code

Code gets the status code for the pcloud v2 volumesclone getall forbidden response

func (*PcloudV2VolumescloneGetallForbidden) Error

func (*PcloudV2VolumescloneGetallForbidden) GetPayload

func (*PcloudV2VolumescloneGetallForbidden) IsClientError

func (o *PcloudV2VolumescloneGetallForbidden) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone getall forbidden response has a 4xx status code

func (*PcloudV2VolumescloneGetallForbidden) IsCode

IsCode returns true when this pcloud v2 volumesclone getall forbidden response a status code equal to that given

func (*PcloudV2VolumescloneGetallForbidden) IsRedirect

func (o *PcloudV2VolumescloneGetallForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone getall forbidden response has a 3xx status code

func (*PcloudV2VolumescloneGetallForbidden) IsServerError

func (o *PcloudV2VolumescloneGetallForbidden) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone getall forbidden response has a 5xx status code

func (*PcloudV2VolumescloneGetallForbidden) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone getall forbidden response has a 2xx status code

func (*PcloudV2VolumescloneGetallForbidden) String

type PcloudV2VolumescloneGetallInternalServerError

type PcloudV2VolumescloneGetallInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetallInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudV2VolumescloneGetallInternalServerError

func NewPcloudV2VolumescloneGetallInternalServerError() *PcloudV2VolumescloneGetallInternalServerError

NewPcloudV2VolumescloneGetallInternalServerError creates a PcloudV2VolumescloneGetallInternalServerError with default headers values

func (*PcloudV2VolumescloneGetallInternalServerError) Code

Code gets the status code for the pcloud v2 volumesclone getall internal server error response

func (*PcloudV2VolumescloneGetallInternalServerError) Error

func (*PcloudV2VolumescloneGetallInternalServerError) GetPayload

func (*PcloudV2VolumescloneGetallInternalServerError) IsClientError

IsClientError returns true when this pcloud v2 volumesclone getall internal server error response has a 4xx status code

func (*PcloudV2VolumescloneGetallInternalServerError) IsCode

IsCode returns true when this pcloud v2 volumesclone getall internal server error response a status code equal to that given

func (*PcloudV2VolumescloneGetallInternalServerError) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone getall internal server error response has a 3xx status code

func (*PcloudV2VolumescloneGetallInternalServerError) IsServerError

IsServerError returns true when this pcloud v2 volumesclone getall internal server error response has a 5xx status code

func (*PcloudV2VolumescloneGetallInternalServerError) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone getall internal server error response has a 2xx status code

func (*PcloudV2VolumescloneGetallInternalServerError) String

type PcloudV2VolumescloneGetallOK

type PcloudV2VolumescloneGetallOK struct {
	Payload *models.VolumesClones
}

PcloudV2VolumescloneGetallOK describes a response with status code 200, with default header values.

OK

func NewPcloudV2VolumescloneGetallOK

func NewPcloudV2VolumescloneGetallOK() *PcloudV2VolumescloneGetallOK

NewPcloudV2VolumescloneGetallOK creates a PcloudV2VolumescloneGetallOK with default headers values

func (*PcloudV2VolumescloneGetallOK) Code

Code gets the status code for the pcloud v2 volumesclone getall o k response

func (*PcloudV2VolumescloneGetallOK) Error

func (*PcloudV2VolumescloneGetallOK) GetPayload

func (*PcloudV2VolumescloneGetallOK) IsClientError

func (o *PcloudV2VolumescloneGetallOK) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone getall o k response has a 4xx status code

func (*PcloudV2VolumescloneGetallOK) IsCode

func (o *PcloudV2VolumescloneGetallOK) IsCode(code int) bool

IsCode returns true when this pcloud v2 volumesclone getall o k response a status code equal to that given

func (*PcloudV2VolumescloneGetallOK) IsRedirect

func (o *PcloudV2VolumescloneGetallOK) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone getall o k response has a 3xx status code

func (*PcloudV2VolumescloneGetallOK) IsServerError

func (o *PcloudV2VolumescloneGetallOK) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone getall o k response has a 5xx status code

func (*PcloudV2VolumescloneGetallOK) IsSuccess

func (o *PcloudV2VolumescloneGetallOK) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumesclone getall o k response has a 2xx status code

func (*PcloudV2VolumescloneGetallOK) String

type PcloudV2VolumescloneGetallParams

type PcloudV2VolumescloneGetallParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* Filter.

	   volumes-clone filter to limit list items:
	prepare - includes status values (preparing, prepared)
	start   - includes status values (starting, available)
	execute - includes status values (executing, available-rollback)
	cancel  - includes status values (cancelling)
	completed - includes status values (completed)
	failed - includes status values (failed)
	cancelled - includes status values (cancelled)
	finalized - included status values (completed, failed, cancelled)

	*/
	Filter *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudV2VolumescloneGetallParams contains all the parameters to send to the API endpoint

for the pcloud v2 volumesclone getall operation.

Typically these are written to a http.Request.

func NewPcloudV2VolumescloneGetallParams

func NewPcloudV2VolumescloneGetallParams() *PcloudV2VolumescloneGetallParams

NewPcloudV2VolumescloneGetallParams creates a new PcloudV2VolumescloneGetallParams 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 NewPcloudV2VolumescloneGetallParamsWithContext

func NewPcloudV2VolumescloneGetallParamsWithContext(ctx context.Context) *PcloudV2VolumescloneGetallParams

NewPcloudV2VolumescloneGetallParamsWithContext creates a new PcloudV2VolumescloneGetallParams object with the ability to set a context for a request.

func NewPcloudV2VolumescloneGetallParamsWithHTTPClient

func NewPcloudV2VolumescloneGetallParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneGetallParams

NewPcloudV2VolumescloneGetallParamsWithHTTPClient creates a new PcloudV2VolumescloneGetallParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudV2VolumescloneGetallParamsWithTimeout

func NewPcloudV2VolumescloneGetallParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneGetallParams

NewPcloudV2VolumescloneGetallParamsWithTimeout creates a new PcloudV2VolumescloneGetallParams object with the ability to set a timeout on a request.

func (*PcloudV2VolumescloneGetallParams) SetCloudInstanceID

func (o *PcloudV2VolumescloneGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) SetContext

SetContext adds the context to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) SetDefaults

func (o *PcloudV2VolumescloneGetallParams) SetDefaults()

SetDefaults hydrates default values in the pcloud v2 volumesclone getall params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2VolumescloneGetallParams) SetFilter

func (o *PcloudV2VolumescloneGetallParams) SetFilter(filter *string)

SetFilter adds the filter to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) SetHTTPClient

func (o *PcloudV2VolumescloneGetallParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) SetTimeout

func (o *PcloudV2VolumescloneGetallParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) WithCloudInstanceID

func (o *PcloudV2VolumescloneGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneGetallParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) WithContext

WithContext adds the context to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) WithDefaults

WithDefaults hydrates default values in the pcloud v2 volumesclone getall params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2VolumescloneGetallParams) WithFilter

WithFilter adds the filter to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumescloneGetallReader

type PcloudV2VolumescloneGetallReader struct {
	// contains filtered or unexported fields
}

PcloudV2VolumescloneGetallReader is a Reader for the PcloudV2VolumescloneGetall structure.

func (*PcloudV2VolumescloneGetallReader) ReadResponse

func (o *PcloudV2VolumescloneGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2VolumescloneGetallUnauthorized

type PcloudV2VolumescloneGetallUnauthorized struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetallUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudV2VolumescloneGetallUnauthorized

func NewPcloudV2VolumescloneGetallUnauthorized() *PcloudV2VolumescloneGetallUnauthorized

NewPcloudV2VolumescloneGetallUnauthorized creates a PcloudV2VolumescloneGetallUnauthorized with default headers values

func (*PcloudV2VolumescloneGetallUnauthorized) Code

Code gets the status code for the pcloud v2 volumesclone getall unauthorized response

func (*PcloudV2VolumescloneGetallUnauthorized) Error

func (*PcloudV2VolumescloneGetallUnauthorized) GetPayload

func (*PcloudV2VolumescloneGetallUnauthorized) IsClientError

func (o *PcloudV2VolumescloneGetallUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone getall unauthorized response has a 4xx status code

func (*PcloudV2VolumescloneGetallUnauthorized) IsCode

IsCode returns true when this pcloud v2 volumesclone getall unauthorized response a status code equal to that given

func (*PcloudV2VolumescloneGetallUnauthorized) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone getall unauthorized response has a 3xx status code

func (*PcloudV2VolumescloneGetallUnauthorized) IsServerError

func (o *PcloudV2VolumescloneGetallUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone getall unauthorized response has a 5xx status code

func (*PcloudV2VolumescloneGetallUnauthorized) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone getall unauthorized response has a 2xx status code

func (*PcloudV2VolumescloneGetallUnauthorized) String

type PcloudV2VolumesclonePostAccepted

type PcloudV2VolumesclonePostAccepted struct {
	Payload *models.VolumesClone
}

PcloudV2VolumesclonePostAccepted describes a response with status code 202, with default header values.

Accepted

func NewPcloudV2VolumesclonePostAccepted

func NewPcloudV2VolumesclonePostAccepted() *PcloudV2VolumesclonePostAccepted

NewPcloudV2VolumesclonePostAccepted creates a PcloudV2VolumesclonePostAccepted with default headers values

func (*PcloudV2VolumesclonePostAccepted) Code

Code gets the status code for the pcloud v2 volumesclone post accepted response

func (*PcloudV2VolumesclonePostAccepted) Error

func (*PcloudV2VolumesclonePostAccepted) GetPayload

func (*PcloudV2VolumesclonePostAccepted) IsClientError

func (o *PcloudV2VolumesclonePostAccepted) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone post accepted response has a 4xx status code

func (*PcloudV2VolumesclonePostAccepted) IsCode

func (o *PcloudV2VolumesclonePostAccepted) IsCode(code int) bool

IsCode returns true when this pcloud v2 volumesclone post accepted response a status code equal to that given

func (*PcloudV2VolumesclonePostAccepted) IsRedirect

func (o *PcloudV2VolumesclonePostAccepted) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone post accepted response has a 3xx status code

func (*PcloudV2VolumesclonePostAccepted) IsServerError

func (o *PcloudV2VolumesclonePostAccepted) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone post accepted response has a 5xx status code

func (*PcloudV2VolumesclonePostAccepted) IsSuccess

func (o *PcloudV2VolumesclonePostAccepted) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumesclone post accepted response has a 2xx status code

func (*PcloudV2VolumesclonePostAccepted) String

type PcloudV2VolumesclonePostBadRequest

type PcloudV2VolumesclonePostBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumesclonePostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudV2VolumesclonePostBadRequest

func NewPcloudV2VolumesclonePostBadRequest() *PcloudV2VolumesclonePostBadRequest

NewPcloudV2VolumesclonePostBadRequest creates a PcloudV2VolumesclonePostBadRequest with default headers values

func (*PcloudV2VolumesclonePostBadRequest) Code

Code gets the status code for the pcloud v2 volumesclone post bad request response

func (*PcloudV2VolumesclonePostBadRequest) Error

func (*PcloudV2VolumesclonePostBadRequest) GetPayload

func (*PcloudV2VolumesclonePostBadRequest) IsClientError

func (o *PcloudV2VolumesclonePostBadRequest) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone post bad request response has a 4xx status code

func (*PcloudV2VolumesclonePostBadRequest) IsCode

IsCode returns true when this pcloud v2 volumesclone post bad request response a status code equal to that given

func (*PcloudV2VolumesclonePostBadRequest) IsRedirect

func (o *PcloudV2VolumesclonePostBadRequest) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone post bad request response has a 3xx status code

func (*PcloudV2VolumesclonePostBadRequest) IsServerError

func (o *PcloudV2VolumesclonePostBadRequest) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone post bad request response has a 5xx status code

func (*PcloudV2VolumesclonePostBadRequest) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone post bad request response has a 2xx status code

func (*PcloudV2VolumesclonePostBadRequest) String

type PcloudV2VolumesclonePostForbidden

type PcloudV2VolumesclonePostForbidden struct {
	Payload *models.Error
}

PcloudV2VolumesclonePostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudV2VolumesclonePostForbidden

func NewPcloudV2VolumesclonePostForbidden() *PcloudV2VolumesclonePostForbidden

NewPcloudV2VolumesclonePostForbidden creates a PcloudV2VolumesclonePostForbidden with default headers values

func (*PcloudV2VolumesclonePostForbidden) Code

Code gets the status code for the pcloud v2 volumesclone post forbidden response

func (*PcloudV2VolumesclonePostForbidden) Error

func (*PcloudV2VolumesclonePostForbidden) GetPayload

func (*PcloudV2VolumesclonePostForbidden) IsClientError

func (o *PcloudV2VolumesclonePostForbidden) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone post forbidden response has a 4xx status code

func (*PcloudV2VolumesclonePostForbidden) IsCode

func (o *PcloudV2VolumesclonePostForbidden) IsCode(code int) bool

IsCode returns true when this pcloud v2 volumesclone post forbidden response a status code equal to that given

func (*PcloudV2VolumesclonePostForbidden) IsRedirect

func (o *PcloudV2VolumesclonePostForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone post forbidden response has a 3xx status code

func (*PcloudV2VolumesclonePostForbidden) IsServerError

func (o *PcloudV2VolumesclonePostForbidden) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone post forbidden response has a 5xx status code

func (*PcloudV2VolumesclonePostForbidden) IsSuccess

func (o *PcloudV2VolumesclonePostForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumesclone post forbidden response has a 2xx status code

func (*PcloudV2VolumesclonePostForbidden) String

type PcloudV2VolumesclonePostInternalServerError

type PcloudV2VolumesclonePostInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumesclonePostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudV2VolumesclonePostInternalServerError

func NewPcloudV2VolumesclonePostInternalServerError() *PcloudV2VolumesclonePostInternalServerError

NewPcloudV2VolumesclonePostInternalServerError creates a PcloudV2VolumesclonePostInternalServerError with default headers values

func (*PcloudV2VolumesclonePostInternalServerError) Code

Code gets the status code for the pcloud v2 volumesclone post internal server error response

func (*PcloudV2VolumesclonePostInternalServerError) Error

func (*PcloudV2VolumesclonePostInternalServerError) GetPayload

func (*PcloudV2VolumesclonePostInternalServerError) IsClientError

IsClientError returns true when this pcloud v2 volumesclone post internal server error response has a 4xx status code

func (*PcloudV2VolumesclonePostInternalServerError) IsCode

IsCode returns true when this pcloud v2 volumesclone post internal server error response a status code equal to that given

func (*PcloudV2VolumesclonePostInternalServerError) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone post internal server error response has a 3xx status code

func (*PcloudV2VolumesclonePostInternalServerError) IsServerError

IsServerError returns true when this pcloud v2 volumesclone post internal server error response has a 5xx status code

func (*PcloudV2VolumesclonePostInternalServerError) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone post internal server error response has a 2xx status code

func (*PcloudV2VolumesclonePostInternalServerError) String

type PcloudV2VolumesclonePostParams

type PcloudV2VolumesclonePostParams struct {

	/* Body.

	   Parameters for preparing a set of volumes to be cloned
	*/
	Body *models.VolumesCloneCreate

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudV2VolumesclonePostParams contains all the parameters to send to the API endpoint

for the pcloud v2 volumesclone post operation.

Typically these are written to a http.Request.

func NewPcloudV2VolumesclonePostParams

func NewPcloudV2VolumesclonePostParams() *PcloudV2VolumesclonePostParams

NewPcloudV2VolumesclonePostParams creates a new PcloudV2VolumesclonePostParams 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 NewPcloudV2VolumesclonePostParamsWithContext

func NewPcloudV2VolumesclonePostParamsWithContext(ctx context.Context) *PcloudV2VolumesclonePostParams

NewPcloudV2VolumesclonePostParamsWithContext creates a new PcloudV2VolumesclonePostParams object with the ability to set a context for a request.

func NewPcloudV2VolumesclonePostParamsWithHTTPClient

func NewPcloudV2VolumesclonePostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumesclonePostParams

NewPcloudV2VolumesclonePostParamsWithHTTPClient creates a new PcloudV2VolumesclonePostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudV2VolumesclonePostParamsWithTimeout

func NewPcloudV2VolumesclonePostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumesclonePostParams

NewPcloudV2VolumesclonePostParamsWithTimeout creates a new PcloudV2VolumesclonePostParams object with the ability to set a timeout on a request.

func (*PcloudV2VolumesclonePostParams) SetBody

SetBody adds the body to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) SetCloudInstanceID

func (o *PcloudV2VolumesclonePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) SetContext

func (o *PcloudV2VolumesclonePostParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) SetDefaults

func (o *PcloudV2VolumesclonePostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud v2 volumesclone post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2VolumesclonePostParams) SetHTTPClient

func (o *PcloudV2VolumesclonePostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) SetTimeout

func (o *PcloudV2VolumesclonePostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) WithBody

WithBody adds the body to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) WithCloudInstanceID

func (o *PcloudV2VolumesclonePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumesclonePostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) WithContext

WithContext adds the context to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) WithDefaults

WithDefaults hydrates default values in the pcloud v2 volumesclone post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2VolumesclonePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumesclonePostReader

type PcloudV2VolumesclonePostReader struct {
	// contains filtered or unexported fields
}

PcloudV2VolumesclonePostReader is a Reader for the PcloudV2VolumesclonePost structure.

func (*PcloudV2VolumesclonePostReader) ReadResponse

func (o *PcloudV2VolumesclonePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2VolumesclonePostUnauthorized

type PcloudV2VolumesclonePostUnauthorized struct {
	Payload *models.Error
}

PcloudV2VolumesclonePostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudV2VolumesclonePostUnauthorized

func NewPcloudV2VolumesclonePostUnauthorized() *PcloudV2VolumesclonePostUnauthorized

NewPcloudV2VolumesclonePostUnauthorized creates a PcloudV2VolumesclonePostUnauthorized with default headers values

func (*PcloudV2VolumesclonePostUnauthorized) Code

Code gets the status code for the pcloud v2 volumesclone post unauthorized response

func (*PcloudV2VolumesclonePostUnauthorized) Error

func (*PcloudV2VolumesclonePostUnauthorized) GetPayload

func (*PcloudV2VolumesclonePostUnauthorized) IsClientError

func (o *PcloudV2VolumesclonePostUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone post unauthorized response has a 4xx status code

func (*PcloudV2VolumesclonePostUnauthorized) IsCode

IsCode returns true when this pcloud v2 volumesclone post unauthorized response a status code equal to that given

func (*PcloudV2VolumesclonePostUnauthorized) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone post unauthorized response has a 3xx status code

func (*PcloudV2VolumesclonePostUnauthorized) IsServerError

func (o *PcloudV2VolumesclonePostUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone post unauthorized response has a 5xx status code

func (*PcloudV2VolumesclonePostUnauthorized) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone post unauthorized response has a 2xx status code

func (*PcloudV2VolumesclonePostUnauthorized) String

type PcloudV2VolumescloneStartPostForbidden

type PcloudV2VolumescloneStartPostForbidden struct {
	Payload *models.Error
}

PcloudV2VolumescloneStartPostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudV2VolumescloneStartPostForbidden

func NewPcloudV2VolumescloneStartPostForbidden() *PcloudV2VolumescloneStartPostForbidden

NewPcloudV2VolumescloneStartPostForbidden creates a PcloudV2VolumescloneStartPostForbidden with default headers values

func (*PcloudV2VolumescloneStartPostForbidden) Code

Code gets the status code for the pcloud v2 volumesclone start post forbidden response

func (*PcloudV2VolumescloneStartPostForbidden) Error

func (*PcloudV2VolumescloneStartPostForbidden) GetPayload

func (*PcloudV2VolumescloneStartPostForbidden) IsClientError

func (o *PcloudV2VolumescloneStartPostForbidden) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone start post forbidden response has a 4xx status code

func (*PcloudV2VolumescloneStartPostForbidden) IsCode

IsCode returns true when this pcloud v2 volumesclone start post forbidden response a status code equal to that given

func (*PcloudV2VolumescloneStartPostForbidden) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone start post forbidden response has a 3xx status code

func (*PcloudV2VolumescloneStartPostForbidden) IsServerError

func (o *PcloudV2VolumescloneStartPostForbidden) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone start post forbidden response has a 5xx status code

func (*PcloudV2VolumescloneStartPostForbidden) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone start post forbidden response has a 2xx status code

func (*PcloudV2VolumescloneStartPostForbidden) String

type PcloudV2VolumescloneStartPostInternalServerError

type PcloudV2VolumescloneStartPostInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumescloneStartPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudV2VolumescloneStartPostInternalServerError

func NewPcloudV2VolumescloneStartPostInternalServerError() *PcloudV2VolumescloneStartPostInternalServerError

NewPcloudV2VolumescloneStartPostInternalServerError creates a PcloudV2VolumescloneStartPostInternalServerError with default headers values

func (*PcloudV2VolumescloneStartPostInternalServerError) Code

Code gets the status code for the pcloud v2 volumesclone start post internal server error response

func (*PcloudV2VolumescloneStartPostInternalServerError) Error

func (*PcloudV2VolumescloneStartPostInternalServerError) GetPayload

func (*PcloudV2VolumescloneStartPostInternalServerError) IsClientError

IsClientError returns true when this pcloud v2 volumesclone start post internal server error response has a 4xx status code

func (*PcloudV2VolumescloneStartPostInternalServerError) IsCode

IsCode returns true when this pcloud v2 volumesclone start post internal server error response a status code equal to that given

func (*PcloudV2VolumescloneStartPostInternalServerError) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone start post internal server error response has a 3xx status code

func (*PcloudV2VolumescloneStartPostInternalServerError) IsServerError

IsServerError returns true when this pcloud v2 volumesclone start post internal server error response has a 5xx status code

func (*PcloudV2VolumescloneStartPostInternalServerError) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone start post internal server error response has a 2xx status code

func (*PcloudV2VolumescloneStartPostInternalServerError) String

type PcloudV2VolumescloneStartPostNotFound

type PcloudV2VolumescloneStartPostNotFound struct {
	Payload *models.Error
}

PcloudV2VolumescloneStartPostNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudV2VolumescloneStartPostNotFound

func NewPcloudV2VolumescloneStartPostNotFound() *PcloudV2VolumescloneStartPostNotFound

NewPcloudV2VolumescloneStartPostNotFound creates a PcloudV2VolumescloneStartPostNotFound with default headers values

func (*PcloudV2VolumescloneStartPostNotFound) Code

Code gets the status code for the pcloud v2 volumesclone start post not found response

func (*PcloudV2VolumescloneStartPostNotFound) Error

func (*PcloudV2VolumescloneStartPostNotFound) GetPayload

func (*PcloudV2VolumescloneStartPostNotFound) IsClientError

func (o *PcloudV2VolumescloneStartPostNotFound) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone start post not found response has a 4xx status code

func (*PcloudV2VolumescloneStartPostNotFound) IsCode

IsCode returns true when this pcloud v2 volumesclone start post not found response a status code equal to that given

func (*PcloudV2VolumescloneStartPostNotFound) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone start post not found response has a 3xx status code

func (*PcloudV2VolumescloneStartPostNotFound) IsServerError

func (o *PcloudV2VolumescloneStartPostNotFound) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone start post not found response has a 5xx status code

func (*PcloudV2VolumescloneStartPostNotFound) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone start post not found response has a 2xx status code

func (*PcloudV2VolumescloneStartPostNotFound) String

type PcloudV2VolumescloneStartPostOK

type PcloudV2VolumescloneStartPostOK struct {
	Payload *models.VolumesClone
}

PcloudV2VolumescloneStartPostOK describes a response with status code 200, with default header values.

OK

func NewPcloudV2VolumescloneStartPostOK

func NewPcloudV2VolumescloneStartPostOK() *PcloudV2VolumescloneStartPostOK

NewPcloudV2VolumescloneStartPostOK creates a PcloudV2VolumescloneStartPostOK with default headers values

func (*PcloudV2VolumescloneStartPostOK) Code

Code gets the status code for the pcloud v2 volumesclone start post o k response

func (*PcloudV2VolumescloneStartPostOK) Error

func (*PcloudV2VolumescloneStartPostOK) GetPayload

func (*PcloudV2VolumescloneStartPostOK) IsClientError

func (o *PcloudV2VolumescloneStartPostOK) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone start post o k response has a 4xx status code

func (*PcloudV2VolumescloneStartPostOK) IsCode

func (o *PcloudV2VolumescloneStartPostOK) IsCode(code int) bool

IsCode returns true when this pcloud v2 volumesclone start post o k response a status code equal to that given

func (*PcloudV2VolumescloneStartPostOK) IsRedirect

func (o *PcloudV2VolumescloneStartPostOK) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone start post o k response has a 3xx status code

func (*PcloudV2VolumescloneStartPostOK) IsServerError

func (o *PcloudV2VolumescloneStartPostOK) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone start post o k response has a 5xx status code

func (*PcloudV2VolumescloneStartPostOK) IsSuccess

func (o *PcloudV2VolumescloneStartPostOK) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumesclone start post o k response has a 2xx status code

func (*PcloudV2VolumescloneStartPostOK) String

type PcloudV2VolumescloneStartPostParams

type PcloudV2VolumescloneStartPostParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	/* VolumesCloneID.

	   Volumes Clone ID
	*/
	VolumesCloneID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudV2VolumescloneStartPostParams contains all the parameters to send to the API endpoint

for the pcloud v2 volumesclone start post operation.

Typically these are written to a http.Request.

func NewPcloudV2VolumescloneStartPostParams

func NewPcloudV2VolumescloneStartPostParams() *PcloudV2VolumescloneStartPostParams

NewPcloudV2VolumescloneStartPostParams creates a new PcloudV2VolumescloneStartPostParams 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 NewPcloudV2VolumescloneStartPostParamsWithContext

func NewPcloudV2VolumescloneStartPostParamsWithContext(ctx context.Context) *PcloudV2VolumescloneStartPostParams

NewPcloudV2VolumescloneStartPostParamsWithContext creates a new PcloudV2VolumescloneStartPostParams object with the ability to set a context for a request.

func NewPcloudV2VolumescloneStartPostParamsWithHTTPClient

func NewPcloudV2VolumescloneStartPostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneStartPostParams

NewPcloudV2VolumescloneStartPostParamsWithHTTPClient creates a new PcloudV2VolumescloneStartPostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudV2VolumescloneStartPostParamsWithTimeout

func NewPcloudV2VolumescloneStartPostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneStartPostParams

NewPcloudV2VolumescloneStartPostParamsWithTimeout creates a new PcloudV2VolumescloneStartPostParams object with the ability to set a timeout on a request.

func (*PcloudV2VolumescloneStartPostParams) SetCloudInstanceID

func (o *PcloudV2VolumescloneStartPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) SetContext

SetContext adds the context to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) SetDefaults

func (o *PcloudV2VolumescloneStartPostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud v2 volumesclone start post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2VolumescloneStartPostParams) SetHTTPClient

func (o *PcloudV2VolumescloneStartPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) SetTimeout

func (o *PcloudV2VolumescloneStartPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) SetVolumesCloneID

func (o *PcloudV2VolumescloneStartPostParams) SetVolumesCloneID(volumesCloneID string)

SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) WithCloudInstanceID

func (o *PcloudV2VolumescloneStartPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneStartPostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) WithContext

WithContext adds the context to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) WithDefaults

WithDefaults hydrates default values in the pcloud v2 volumesclone start post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2VolumescloneStartPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) WithVolumesCloneID

WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumescloneStartPostReader

type PcloudV2VolumescloneStartPostReader struct {
	// contains filtered or unexported fields
}

PcloudV2VolumescloneStartPostReader is a Reader for the PcloudV2VolumescloneStartPost structure.

func (*PcloudV2VolumescloneStartPostReader) ReadResponse

func (o *PcloudV2VolumescloneStartPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2VolumescloneStartPostUnauthorized

type PcloudV2VolumescloneStartPostUnauthorized struct {
	Payload *models.Error
}

PcloudV2VolumescloneStartPostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudV2VolumescloneStartPostUnauthorized

func NewPcloudV2VolumescloneStartPostUnauthorized() *PcloudV2VolumescloneStartPostUnauthorized

NewPcloudV2VolumescloneStartPostUnauthorized creates a PcloudV2VolumescloneStartPostUnauthorized with default headers values

func (*PcloudV2VolumescloneStartPostUnauthorized) Code

Code gets the status code for the pcloud v2 volumesclone start post unauthorized response

func (*PcloudV2VolumescloneStartPostUnauthorized) Error

func (*PcloudV2VolumescloneStartPostUnauthorized) GetPayload

func (*PcloudV2VolumescloneStartPostUnauthorized) IsClientError

IsClientError returns true when this pcloud v2 volumesclone start post unauthorized response has a 4xx status code

func (*PcloudV2VolumescloneStartPostUnauthorized) IsCode

IsCode returns true when this pcloud v2 volumesclone start post unauthorized response a status code equal to that given

func (*PcloudV2VolumescloneStartPostUnauthorized) IsRedirect

IsRedirect returns true when this pcloud v2 volumesclone start post unauthorized response has a 3xx status code

func (*PcloudV2VolumescloneStartPostUnauthorized) IsServerError

IsServerError returns true when this pcloud v2 volumesclone start post unauthorized response has a 5xx status code

func (*PcloudV2VolumescloneStartPostUnauthorized) IsSuccess

IsSuccess returns true when this pcloud v2 volumesclone start post unauthorized response has a 2xx status code

func (*PcloudV2VolumescloneStartPostUnauthorized) String

type PcloudVolumesClonePostBadRequest

type PcloudVolumesClonePostBadRequest struct {
	Payload *models.Error
}

PcloudVolumesClonePostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudVolumesClonePostBadRequest

func NewPcloudVolumesClonePostBadRequest() *PcloudVolumesClonePostBadRequest

NewPcloudVolumesClonePostBadRequest creates a PcloudVolumesClonePostBadRequest with default headers values

func (*PcloudVolumesClonePostBadRequest) Code

Code gets the status code for the pcloud volumes clone post bad request response

func (*PcloudVolumesClonePostBadRequest) Error

func (*PcloudVolumesClonePostBadRequest) GetPayload

func (*PcloudVolumesClonePostBadRequest) IsClientError

func (o *PcloudVolumesClonePostBadRequest) IsClientError() bool

IsClientError returns true when this pcloud volumes clone post bad request response has a 4xx status code

func (*PcloudVolumesClonePostBadRequest) IsCode

func (o *PcloudVolumesClonePostBadRequest) IsCode(code int) bool

IsCode returns true when this pcloud volumes clone post bad request response a status code equal to that given

func (*PcloudVolumesClonePostBadRequest) IsRedirect

func (o *PcloudVolumesClonePostBadRequest) IsRedirect() bool

IsRedirect returns true when this pcloud volumes clone post bad request response has a 3xx status code

func (*PcloudVolumesClonePostBadRequest) IsServerError

func (o *PcloudVolumesClonePostBadRequest) IsServerError() bool

IsServerError returns true when this pcloud volumes clone post bad request response has a 5xx status code

func (*PcloudVolumesClonePostBadRequest) IsSuccess

func (o *PcloudVolumesClonePostBadRequest) IsSuccess() bool

IsSuccess returns true when this pcloud volumes clone post bad request response has a 2xx status code

func (*PcloudVolumesClonePostBadRequest) String

type PcloudVolumesClonePostConflict

type PcloudVolumesClonePostConflict struct {
	Payload *models.Error
}

PcloudVolumesClonePostConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudVolumesClonePostConflict

func NewPcloudVolumesClonePostConflict() *PcloudVolumesClonePostConflict

NewPcloudVolumesClonePostConflict creates a PcloudVolumesClonePostConflict with default headers values

func (*PcloudVolumesClonePostConflict) Code

Code gets the status code for the pcloud volumes clone post conflict response

func (*PcloudVolumesClonePostConflict) Error

func (*PcloudVolumesClonePostConflict) GetPayload

func (o *PcloudVolumesClonePostConflict) GetPayload() *models.Error

func (*PcloudVolumesClonePostConflict) IsClientError

func (o *PcloudVolumesClonePostConflict) IsClientError() bool

IsClientError returns true when this pcloud volumes clone post conflict response has a 4xx status code

func (*PcloudVolumesClonePostConflict) IsCode

func (o *PcloudVolumesClonePostConflict) IsCode(code int) bool

IsCode returns true when this pcloud volumes clone post conflict response a status code equal to that given

func (*PcloudVolumesClonePostConflict) IsRedirect

func (o *PcloudVolumesClonePostConflict) IsRedirect() bool

IsRedirect returns true when this pcloud volumes clone post conflict response has a 3xx status code

func (*PcloudVolumesClonePostConflict) IsServerError

func (o *PcloudVolumesClonePostConflict) IsServerError() bool

IsServerError returns true when this pcloud volumes clone post conflict response has a 5xx status code

func (*PcloudVolumesClonePostConflict) IsSuccess

func (o *PcloudVolumesClonePostConflict) IsSuccess() bool

IsSuccess returns true when this pcloud volumes clone post conflict response has a 2xx status code

func (*PcloudVolumesClonePostConflict) String

type PcloudVolumesClonePostForbidden

type PcloudVolumesClonePostForbidden struct {
	Payload *models.Error
}

PcloudVolumesClonePostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudVolumesClonePostForbidden

func NewPcloudVolumesClonePostForbidden() *PcloudVolumesClonePostForbidden

NewPcloudVolumesClonePostForbidden creates a PcloudVolumesClonePostForbidden with default headers values

func (*PcloudVolumesClonePostForbidden) Code

Code gets the status code for the pcloud volumes clone post forbidden response

func (*PcloudVolumesClonePostForbidden) Error

func (*PcloudVolumesClonePostForbidden) GetPayload

func (o *PcloudVolumesClonePostForbidden) GetPayload() *models.Error

func (*PcloudVolumesClonePostForbidden) IsClientError

func (o *PcloudVolumesClonePostForbidden) IsClientError() bool

IsClientError returns true when this pcloud volumes clone post forbidden response has a 4xx status code

func (*PcloudVolumesClonePostForbidden) IsCode

func (o *PcloudVolumesClonePostForbidden) IsCode(code int) bool

IsCode returns true when this pcloud volumes clone post forbidden response a status code equal to that given

func (*PcloudVolumesClonePostForbidden) IsRedirect

func (o *PcloudVolumesClonePostForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud volumes clone post forbidden response has a 3xx status code

func (*PcloudVolumesClonePostForbidden) IsServerError

func (o *PcloudVolumesClonePostForbidden) IsServerError() bool

IsServerError returns true when this pcloud volumes clone post forbidden response has a 5xx status code

func (*PcloudVolumesClonePostForbidden) IsSuccess

func (o *PcloudVolumesClonePostForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud volumes clone post forbidden response has a 2xx status code

func (*PcloudVolumesClonePostForbidden) String

type PcloudVolumesClonePostInternalServerError

type PcloudVolumesClonePostInternalServerError struct {
	Payload *models.Error
}

PcloudVolumesClonePostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudVolumesClonePostInternalServerError

func NewPcloudVolumesClonePostInternalServerError() *PcloudVolumesClonePostInternalServerError

NewPcloudVolumesClonePostInternalServerError creates a PcloudVolumesClonePostInternalServerError with default headers values

func (*PcloudVolumesClonePostInternalServerError) Code

Code gets the status code for the pcloud volumes clone post internal server error response

func (*PcloudVolumesClonePostInternalServerError) Error

func (*PcloudVolumesClonePostInternalServerError) GetPayload

func (*PcloudVolumesClonePostInternalServerError) IsClientError

IsClientError returns true when this pcloud volumes clone post internal server error response has a 4xx status code

func (*PcloudVolumesClonePostInternalServerError) IsCode

IsCode returns true when this pcloud volumes clone post internal server error response a status code equal to that given

func (*PcloudVolumesClonePostInternalServerError) IsRedirect

IsRedirect returns true when this pcloud volumes clone post internal server error response has a 3xx status code

func (*PcloudVolumesClonePostInternalServerError) IsServerError

IsServerError returns true when this pcloud volumes clone post internal server error response has a 5xx status code

func (*PcloudVolumesClonePostInternalServerError) IsSuccess

IsSuccess returns true when this pcloud volumes clone post internal server error response has a 2xx status code

func (*PcloudVolumesClonePostInternalServerError) String

type PcloudVolumesClonePostOK

type PcloudVolumesClonePostOK struct {
	Payload *models.VolumesCloneResponse
}

PcloudVolumesClonePostOK describes a response with status code 200, with default header values.

OK

func NewPcloudVolumesClonePostOK

func NewPcloudVolumesClonePostOK() *PcloudVolumesClonePostOK

NewPcloudVolumesClonePostOK creates a PcloudVolumesClonePostOK with default headers values

func (*PcloudVolumesClonePostOK) Code

func (o *PcloudVolumesClonePostOK) Code() int

Code gets the status code for the pcloud volumes clone post o k response

func (*PcloudVolumesClonePostOK) Error

func (o *PcloudVolumesClonePostOK) Error() string

func (*PcloudVolumesClonePostOK) GetPayload

func (*PcloudVolumesClonePostOK) IsClientError

func (o *PcloudVolumesClonePostOK) IsClientError() bool

IsClientError returns true when this pcloud volumes clone post o k response has a 4xx status code

func (*PcloudVolumesClonePostOK) IsCode

func (o *PcloudVolumesClonePostOK) IsCode(code int) bool

IsCode returns true when this pcloud volumes clone post o k response a status code equal to that given

func (*PcloudVolumesClonePostOK) IsRedirect

func (o *PcloudVolumesClonePostOK) IsRedirect() bool

IsRedirect returns true when this pcloud volumes clone post o k response has a 3xx status code

func (*PcloudVolumesClonePostOK) IsServerError

func (o *PcloudVolumesClonePostOK) IsServerError() bool

IsServerError returns true when this pcloud volumes clone post o k response has a 5xx status code

func (*PcloudVolumesClonePostOK) IsSuccess

func (o *PcloudVolumesClonePostOK) IsSuccess() bool

IsSuccess returns true when this pcloud volumes clone post o k response has a 2xx status code

func (*PcloudVolumesClonePostOK) String

func (o *PcloudVolumesClonePostOK) String() string

type PcloudVolumesClonePostParams

type PcloudVolumesClonePostParams struct {

	/* Body.

	   Parameters for the cloning of volumes
	*/
	Body *models.VolumesCloneRequest

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudVolumesClonePostParams contains all the parameters to send to the API endpoint

for the pcloud volumes clone post operation.

Typically these are written to a http.Request.

func NewPcloudVolumesClonePostParams

func NewPcloudVolumesClonePostParams() *PcloudVolumesClonePostParams

NewPcloudVolumesClonePostParams creates a new PcloudVolumesClonePostParams 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 NewPcloudVolumesClonePostParamsWithContext

func NewPcloudVolumesClonePostParamsWithContext(ctx context.Context) *PcloudVolumesClonePostParams

NewPcloudVolumesClonePostParamsWithContext creates a new PcloudVolumesClonePostParams object with the ability to set a context for a request.

func NewPcloudVolumesClonePostParamsWithHTTPClient

func NewPcloudVolumesClonePostParamsWithHTTPClient(client *http.Client) *PcloudVolumesClonePostParams

NewPcloudVolumesClonePostParamsWithHTTPClient creates a new PcloudVolumesClonePostParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudVolumesClonePostParamsWithTimeout

func NewPcloudVolumesClonePostParamsWithTimeout(timeout time.Duration) *PcloudVolumesClonePostParams

NewPcloudVolumesClonePostParamsWithTimeout creates a new PcloudVolumesClonePostParams object with the ability to set a timeout on a request.

func (*PcloudVolumesClonePostParams) SetBody

SetBody adds the body to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) SetCloudInstanceID

func (o *PcloudVolumesClonePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) SetContext

func (o *PcloudVolumesClonePostParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) SetDefaults

func (o *PcloudVolumesClonePostParams) SetDefaults()

SetDefaults hydrates default values in the pcloud volumes clone post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudVolumesClonePostParams) SetHTTPClient

func (o *PcloudVolumesClonePostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) SetTimeout

func (o *PcloudVolumesClonePostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithBody

WithBody adds the body to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithCloudInstanceID

func (o *PcloudVolumesClonePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumesClonePostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithContext

WithContext adds the context to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithDefaults

WithDefaults hydrates default values in the pcloud volumes clone post params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudVolumesClonePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithTimeout

WithTimeout adds the timeout to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVolumesClonePostReader

type PcloudVolumesClonePostReader struct {
	// contains filtered or unexported fields
}

PcloudVolumesClonePostReader is a Reader for the PcloudVolumesClonePost structure.

func (*PcloudVolumesClonePostReader) ReadResponse

func (o *PcloudVolumesClonePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudVolumesClonePostUnauthorized

type PcloudVolumesClonePostUnauthorized struct {
	Payload *models.Error
}

PcloudVolumesClonePostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudVolumesClonePostUnauthorized

func NewPcloudVolumesClonePostUnauthorized() *PcloudVolumesClonePostUnauthorized

NewPcloudVolumesClonePostUnauthorized creates a PcloudVolumesClonePostUnauthorized with default headers values

func (*PcloudVolumesClonePostUnauthorized) Code

Code gets the status code for the pcloud volumes clone post unauthorized response

func (*PcloudVolumesClonePostUnauthorized) Error

func (*PcloudVolumesClonePostUnauthorized) GetPayload

func (*PcloudVolumesClonePostUnauthorized) IsClientError

func (o *PcloudVolumesClonePostUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud volumes clone post unauthorized response has a 4xx status code

func (*PcloudVolumesClonePostUnauthorized) IsCode

IsCode returns true when this pcloud volumes clone post unauthorized response a status code equal to that given

func (*PcloudVolumesClonePostUnauthorized) IsRedirect

func (o *PcloudVolumesClonePostUnauthorized) IsRedirect() bool

IsRedirect returns true when this pcloud volumes clone post unauthorized response has a 3xx status code

func (*PcloudVolumesClonePostUnauthorized) IsServerError

func (o *PcloudVolumesClonePostUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud volumes clone post unauthorized response has a 5xx status code

func (*PcloudVolumesClonePostUnauthorized) IsSuccess

IsSuccess returns true when this pcloud volumes clone post unauthorized response has a 2xx status code

func (*PcloudVolumesClonePostUnauthorized) String

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL