p_cloud_volumes

package
v1.6.0-beta6 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

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 added in v1.0.76

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 added in v1.1.8

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 added in v1.1.8

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

Set the PVMInstance volume as the boot volume.

>**Note**: If a non-bootable volume is provided, it will be converted to a bootable volume and then attached.

func (*Client) PcloudV2PvminstancesVolumesDelete added in v1.5.4

PcloudV2PvminstancesVolumesDelete detaches multiple volumes from a p VM instance

func (*Client) PcloudV2PvminstancesVolumesPost added in v1.0.56

PcloudV2PvminstancesVolumesPost attaches all volumes to a p VM instance

Attach all volumes to a PVMInstance.

>**Note**: In the case of VMRM, if a single volume ID is provided in the 'volumeIDs' field, that volume will be converted to a bootable volume and then attached.

func (*Client) PcloudV2VolumesClonePost added in v1.0.46

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

PcloudV2VolumesClonePost creates a volume clone for specified volumes

func (*Client) PcloudV2VolumesClonetasksGet added in v1.0.46

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) PcloudV2VolumesDelete added in v1.5.4

PcloudV2VolumesDelete deletes all volumes

func (*Client) PcloudV2VolumesPost added in v1.0.38

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 added in v1.0.48

PcloudV2VolumescloneCancelPost cancels a volumes clone request

Initiates the cleanup action that performs the cleanup of the preparatory clones and snapshot volumes.

func (*Client) PcloudV2VolumescloneDelete added in v1.0.48

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

PcloudV2VolumescloneDelete deletes a volumes clone request

func (*Client) PcloudV2VolumescloneExecutePost added in v1.0.48

PcloudV2VolumescloneExecutePost initiates the execute action for a volumes clone request

Execute action creates the cloned volumes using the volume snapshots.

func (*Client) PcloudV2VolumescloneGet added in v1.0.48

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 added in v1.0.48

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 added in v1.0.48

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. >**Note**: If there is an existing prepare, user cannot trigger another prepare for the same set of volumes. Prepare should be followed by start and execute. If existing prepare does not have to be used then it should be first cancelled before the next prepare operation.

func (*Client) PcloudV2VolumescloneStartPost added in v1.0.48

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 added in v1.0.4

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 added in v1.1.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v1.1.0

type ClientService interface {
	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)

	PcloudV2PvminstancesVolumesDelete(params *PcloudV2PvminstancesVolumesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2PvminstancesVolumesDeleteAccepted, 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)

	PcloudV2VolumesDelete(params *PcloudV2VolumesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudV2VolumesDeleteAccepted, *PcloudV2VolumesDeletePartialContent, 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 added in v1.0.76

type PcloudCloudinstancesVolumesActionPostAccepted struct {
	Payload models.Object
}

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

Accepted

func NewPcloudCloudinstancesVolumesActionPostAccepted added in v1.0.76

func NewPcloudCloudinstancesVolumesActionPostAccepted() *PcloudCloudinstancesVolumesActionPostAccepted

NewPcloudCloudinstancesVolumesActionPostAccepted creates a PcloudCloudinstancesVolumesActionPostAccepted with default headers values

func (*PcloudCloudinstancesVolumesActionPostAccepted) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesActionPostAccepted) Error added in v1.0.76

func (*PcloudCloudinstancesVolumesActionPostAccepted) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesActionPostAccepted) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostAccepted) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostAccepted) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostAccepted) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostAccepted) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostAccepted) String added in v1.2.2

type PcloudCloudinstancesVolumesActionPostBadRequest added in v1.0.76

type PcloudCloudinstancesVolumesActionPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudCloudinstancesVolumesActionPostBadRequest added in v1.0.76

func NewPcloudCloudinstancesVolumesActionPostBadRequest() *PcloudCloudinstancesVolumesActionPostBadRequest

NewPcloudCloudinstancesVolumesActionPostBadRequest creates a PcloudCloudinstancesVolumesActionPostBadRequest with default headers values

func (*PcloudCloudinstancesVolumesActionPostBadRequest) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesActionPostBadRequest) Error added in v1.0.76

func (*PcloudCloudinstancesVolumesActionPostBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesActionPostBadRequest) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostBadRequest) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostBadRequest) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostBadRequest) String added in v1.2.2

type PcloudCloudinstancesVolumesActionPostConflict added in v1.1.6

type PcloudCloudinstancesVolumesActionPostConflict struct {
	Payload *models.Error
}

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

Conflict

func NewPcloudCloudinstancesVolumesActionPostConflict added in v1.1.6

func NewPcloudCloudinstancesVolumesActionPostConflict() *PcloudCloudinstancesVolumesActionPostConflict

NewPcloudCloudinstancesVolumesActionPostConflict creates a PcloudCloudinstancesVolumesActionPostConflict with default headers values

func (*PcloudCloudinstancesVolumesActionPostConflict) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesActionPostConflict) Error added in v1.1.6

func (*PcloudCloudinstancesVolumesActionPostConflict) GetPayload added in v1.1.6

func (*PcloudCloudinstancesVolumesActionPostConflict) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostConflict) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostConflict) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostConflict) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostConflict) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostConflict) String added in v1.2.2

type PcloudCloudinstancesVolumesActionPostForbidden added in v1.1.12

type PcloudCloudinstancesVolumesActionPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesVolumesActionPostForbidden added in v1.1.12

func NewPcloudCloudinstancesVolumesActionPostForbidden() *PcloudCloudinstancesVolumesActionPostForbidden

NewPcloudCloudinstancesVolumesActionPostForbidden creates a PcloudCloudinstancesVolumesActionPostForbidden with default headers values

func (*PcloudCloudinstancesVolumesActionPostForbidden) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesActionPostForbidden) Error added in v1.1.12

func (*PcloudCloudinstancesVolumesActionPostForbidden) GetPayload added in v1.1.12

func (*PcloudCloudinstancesVolumesActionPostForbidden) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostForbidden) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostForbidden) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostForbidden) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostForbidden) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostForbidden) String added in v1.2.2

type PcloudCloudinstancesVolumesActionPostInternalServerError added in v1.0.76

type PcloudCloudinstancesVolumesActionPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudCloudinstancesVolumesActionPostInternalServerError added in v1.0.76

func NewPcloudCloudinstancesVolumesActionPostInternalServerError() *PcloudCloudinstancesVolumesActionPostInternalServerError

NewPcloudCloudinstancesVolumesActionPostInternalServerError creates a PcloudCloudinstancesVolumesActionPostInternalServerError with default headers values

func (*PcloudCloudinstancesVolumesActionPostInternalServerError) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesActionPostInternalServerError) Error added in v1.0.76

func (*PcloudCloudinstancesVolumesActionPostInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesActionPostInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostInternalServerError) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostInternalServerError) String added in v1.2.2

type PcloudCloudinstancesVolumesActionPostNotFound added in v1.0.76

type PcloudCloudinstancesVolumesActionPostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudCloudinstancesVolumesActionPostNotFound added in v1.0.76

func NewPcloudCloudinstancesVolumesActionPostNotFound() *PcloudCloudinstancesVolumesActionPostNotFound

NewPcloudCloudinstancesVolumesActionPostNotFound creates a PcloudCloudinstancesVolumesActionPostNotFound with default headers values

func (*PcloudCloudinstancesVolumesActionPostNotFound) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesActionPostNotFound) Error added in v1.0.76

func (*PcloudCloudinstancesVolumesActionPostNotFound) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesActionPostNotFound) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostNotFound) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostNotFound) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostNotFound) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostNotFound) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostNotFound) String added in v1.2.2

type PcloudCloudinstancesVolumesActionPostParams added in v1.0.76

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 added in v1.0.76

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 added in v1.0.76

func NewPcloudCloudinstancesVolumesActionPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesActionPostParams

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

func NewPcloudCloudinstancesVolumesActionPostParamsWithHTTPClient added in v1.0.76

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 added in v1.0.76

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 added in v1.0.76

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

func (*PcloudCloudinstancesVolumesActionPostParams) SetCloudInstanceID added in v1.0.76

func (o *PcloudCloudinstancesVolumesActionPostParams) SetCloudInstanceID(cloudInstanceID string)

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

func (*PcloudCloudinstancesVolumesActionPostParams) SetContext added in v1.0.76

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

func (*PcloudCloudinstancesVolumesActionPostParams) SetDefaults added in v1.1.0

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 added in v1.0.76

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

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

func (*PcloudCloudinstancesVolumesActionPostParams) SetTimeout added in v1.0.76

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

func (*PcloudCloudinstancesVolumesActionPostParams) SetVolumeID added in v1.0.76

func (o *PcloudCloudinstancesVolumesActionPostParams) SetVolumeID(volumeID string)

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

func (*PcloudCloudinstancesVolumesActionPostParams) WithBody added in v1.0.76

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

func (*PcloudCloudinstancesVolumesActionPostParams) WithCloudInstanceID added in v1.0.76

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

func (*PcloudCloudinstancesVolumesActionPostParams) WithContext added in v1.0.76

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

func (*PcloudCloudinstancesVolumesActionPostParams) WithDefaults added in v1.1.0

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 added in v1.0.76

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

func (*PcloudCloudinstancesVolumesActionPostParams) WithTimeout added in v1.0.76

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

func (*PcloudCloudinstancesVolumesActionPostParams) WithVolumeID added in v1.0.76

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

func (*PcloudCloudinstancesVolumesActionPostParams) WriteToRequest added in v1.0.76

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesVolumesActionPostReader added in v1.0.76

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

PcloudCloudinstancesVolumesActionPostReader is a Reader for the PcloudCloudinstancesVolumesActionPost structure.

func (*PcloudCloudinstancesVolumesActionPostReader) ReadResponse added in v1.0.76

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesVolumesActionPostUnauthorized added in v1.0.76

type PcloudCloudinstancesVolumesActionPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudCloudinstancesVolumesActionPostUnauthorized added in v1.0.76

func NewPcloudCloudinstancesVolumesActionPostUnauthorized() *PcloudCloudinstancesVolumesActionPostUnauthorized

NewPcloudCloudinstancesVolumesActionPostUnauthorized creates a PcloudCloudinstancesVolumesActionPostUnauthorized with default headers values

func (*PcloudCloudinstancesVolumesActionPostUnauthorized) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesActionPostUnauthorized) Error added in v1.0.76

func (*PcloudCloudinstancesVolumesActionPostUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesActionPostUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostUnauthorized) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesActionPostUnauthorized) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesDeleteBadRequest) Error

func (*PcloudCloudinstancesVolumesDeleteBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesDeleteBadRequest) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteBadRequest) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteBadRequest) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteBadRequest) String added in v1.2.2

type PcloudCloudinstancesVolumesDeleteForbidden added in v1.1.10

type PcloudCloudinstancesVolumesDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesVolumesDeleteForbidden added in v1.1.10

func NewPcloudCloudinstancesVolumesDeleteForbidden() *PcloudCloudinstancesVolumesDeleteForbidden

NewPcloudCloudinstancesVolumesDeleteForbidden creates a PcloudCloudinstancesVolumesDeleteForbidden with default headers values

func (*PcloudCloudinstancesVolumesDeleteForbidden) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesDeleteForbidden) Error added in v1.1.10

func (*PcloudCloudinstancesVolumesDeleteForbidden) GetPayload added in v1.1.10

func (*PcloudCloudinstancesVolumesDeleteForbidden) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteForbidden) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteForbidden) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteForbidden) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteForbidden) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteForbidden) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesDeleteGone) Error

func (*PcloudCloudinstancesVolumesDeleteGone) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesDeleteGone) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesVolumesDeleteGone) IsClientError() bool

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

func (*PcloudCloudinstancesVolumesDeleteGone) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteGone) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteGone) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesVolumesDeleteGone) IsServerError() bool

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

func (*PcloudCloudinstancesVolumesDeleteGone) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteGone) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesDeleteInternalServerError) Error

func (*PcloudCloudinstancesVolumesDeleteInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesDeleteInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteInternalServerError) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteInternalServerError) String added in v1.2.2

type PcloudCloudinstancesVolumesDeleteNotFound added in v1.2.2

type PcloudCloudinstancesVolumesDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudCloudinstancesVolumesDeleteNotFound added in v1.2.2

func NewPcloudCloudinstancesVolumesDeleteNotFound() *PcloudCloudinstancesVolumesDeleteNotFound

NewPcloudCloudinstancesVolumesDeleteNotFound creates a PcloudCloudinstancesVolumesDeleteNotFound with default headers values

func (*PcloudCloudinstancesVolumesDeleteNotFound) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesDeleteNotFound) Error added in v1.2.2

func (*PcloudCloudinstancesVolumesDeleteNotFound) GetPayload added in v1.2.2

func (*PcloudCloudinstancesVolumesDeleteNotFound) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteNotFound) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteNotFound) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteNotFound) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteNotFound) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteNotFound) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesDeleteOK) Error

func (*PcloudCloudinstancesVolumesDeleteOK) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesDeleteOK) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteOK) IsRedirect added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteOK) String added in v1.2.2

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 added in v1.1.0

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 added in v1.1.0

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 added in v1.0.59

type PcloudCloudinstancesVolumesDeleteUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudCloudinstancesVolumesDeleteUnauthorized added in v1.0.59

func NewPcloudCloudinstancesVolumesDeleteUnauthorized() *PcloudCloudinstancesVolumesDeleteUnauthorized

NewPcloudCloudinstancesVolumesDeleteUnauthorized creates a PcloudCloudinstancesVolumesDeleteUnauthorized with default headers values

func (*PcloudCloudinstancesVolumesDeleteUnauthorized) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesDeleteUnauthorized) Error added in v1.0.59

func (*PcloudCloudinstancesVolumesDeleteUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesDeleteUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteUnauthorized) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesDeleteUnauthorized) String added in v1.2.2

type PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest added in v1.1.8

type PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest added in v1.1.8

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest() *PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest

NewPcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest creates a PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest with default headers values

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) Error added in v1.1.8

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) GetPayload added in v1.1.8

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) IsCode added in v1.2.2

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 added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) String added in v1.2.2

type PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden added in v1.1.8

type PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden added in v1.1.8

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden() *PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden

NewPcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden creates a PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden with default headers values

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) Error added in v1.1.8

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) GetPayload added in v1.1.8

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) String added in v1.2.2

type PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError added in v1.1.8

type PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError added in v1.1.8

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError() *PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError

NewPcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError creates a PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError with default headers values

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) Error added in v1.1.8

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) GetPayload added in v1.1.8

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) IsCode added in v1.2.2

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 added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) String added in v1.2.2

type PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound added in v1.1.8

type PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound added in v1.1.8

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound() *PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound

NewPcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound creates a PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound with default headers values

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) Error added in v1.1.8

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) GetPayload added in v1.1.8

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) IsCode added in v1.2.2

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 added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) String added in v1.2.2

type PcloudCloudinstancesVolumesFlashCopyMappingsGetOK added in v1.1.8

type PcloudCloudinstancesVolumesFlashCopyMappingsGetOK struct {
	Payload models.FlashCopyMappings
}

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

OK

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetOK added in v1.1.8

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetOK() *PcloudCloudinstancesVolumesFlashCopyMappingsGetOK

NewPcloudCloudinstancesVolumesFlashCopyMappingsGetOK creates a PcloudCloudinstancesVolumesFlashCopyMappingsGetOK with default headers values

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) Error added in v1.1.8

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) GetPayload added in v1.1.8

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) IsCode added in v1.2.2

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 added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) String added in v1.2.2

type PcloudCloudinstancesVolumesFlashCopyMappingsGetParams added in v1.1.8

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 added in v1.1.8

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 added in v1.1.8

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesFlashCopyMappingsGetParams

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

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetParamsWithHTTPClient added in v1.1.8

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 added in v1.1.8

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 added in v1.1.8

func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) SetCloudInstanceID(cloudInstanceID string)

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) SetContext added in v1.1.8

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) SetDefaults added in v1.1.8

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 added in v1.1.8

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) SetTimeout added in v1.1.8

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) SetVolumeID added in v1.1.8

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) WithCloudInstanceID added in v1.1.8

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) WithContext added in v1.1.8

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) WithDefaults added in v1.1.8

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 added in v1.1.8

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) WithTimeout added in v1.1.8

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) WithVolumeID added in v1.1.8

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetParams) WriteToRequest added in v1.1.8

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesVolumesFlashCopyMappingsGetReader added in v1.1.8

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

PcloudCloudinstancesVolumesFlashCopyMappingsGetReader is a Reader for the PcloudCloudinstancesVolumesFlashCopyMappingsGet structure.

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetReader) ReadResponse added in v1.1.8

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests added in v1.1.9

type PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests struct {
	Payload *models.Error
}

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

Too Many Requests

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests added in v1.1.9

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests() *PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests

NewPcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests creates a PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests with default headers values

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) Error added in v1.1.9

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) GetPayload added in v1.1.9

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) IsCode added in v1.2.2

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 added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) String added in v1.2.2

type PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized added in v1.1.8

type PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized added in v1.1.8

func NewPcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized() *PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized

NewPcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized creates a PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized with default headers values

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) Error added in v1.1.8

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) GetPayload added in v1.1.8

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesGetBadRequest) Error

func (*PcloudCloudinstancesVolumesGetBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesGetBadRequest) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetBadRequest) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetBadRequest) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetBadRequest) String added in v1.2.2

type PcloudCloudinstancesVolumesGetForbidden added in v1.2.2

type PcloudCloudinstancesVolumesGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesVolumesGetForbidden added in v1.2.2

func NewPcloudCloudinstancesVolumesGetForbidden() *PcloudCloudinstancesVolumesGetForbidden

NewPcloudCloudinstancesVolumesGetForbidden creates a PcloudCloudinstancesVolumesGetForbidden with default headers values

func (*PcloudCloudinstancesVolumesGetForbidden) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesGetForbidden) Error added in v1.2.2

func (*PcloudCloudinstancesVolumesGetForbidden) GetPayload added in v1.2.2

func (*PcloudCloudinstancesVolumesGetForbidden) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesVolumesGetForbidden) IsClientError() bool

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

func (*PcloudCloudinstancesVolumesGetForbidden) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetForbidden) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetForbidden) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesVolumesGetForbidden) IsServerError() bool

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

func (*PcloudCloudinstancesVolumesGetForbidden) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetForbidden) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesGetInternalServerError) Error

func (*PcloudCloudinstancesVolumesGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesGetInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetInternalServerError) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetInternalServerError) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesGetNotFound) Error

func (*PcloudCloudinstancesVolumesGetNotFound) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesGetNotFound) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetNotFound) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetNotFound) IsServerError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetNotFound) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesGetOK) Error

func (*PcloudCloudinstancesVolumesGetOK) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesGetOK) IsClientError added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.1.0

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 added in v1.1.0

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 added in v1.0.59

type PcloudCloudinstancesVolumesGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudCloudinstancesVolumesGetUnauthorized added in v1.0.59

func NewPcloudCloudinstancesVolumesGetUnauthorized() *PcloudCloudinstancesVolumesGetUnauthorized

NewPcloudCloudinstancesVolumesGetUnauthorized creates a PcloudCloudinstancesVolumesGetUnauthorized with default headers values

func (*PcloudCloudinstancesVolumesGetUnauthorized) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesGetUnauthorized) Error added in v1.0.59

func (*PcloudCloudinstancesVolumesGetUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesGetUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetUnauthorized) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetUnauthorized) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesGetallBadRequest) Error

func (*PcloudCloudinstancesVolumesGetallBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesGetallBadRequest) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallBadRequest) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallBadRequest) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallBadRequest) String added in v1.2.2

type PcloudCloudinstancesVolumesGetallForbidden added in v1.2.2

type PcloudCloudinstancesVolumesGetallForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesVolumesGetallForbidden added in v1.2.2

func NewPcloudCloudinstancesVolumesGetallForbidden() *PcloudCloudinstancesVolumesGetallForbidden

NewPcloudCloudinstancesVolumesGetallForbidden creates a PcloudCloudinstancesVolumesGetallForbidden with default headers values

func (*PcloudCloudinstancesVolumesGetallForbidden) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesGetallForbidden) Error added in v1.2.2

func (*PcloudCloudinstancesVolumesGetallForbidden) GetPayload added in v1.2.2

func (*PcloudCloudinstancesVolumesGetallForbidden) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallForbidden) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallForbidden) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallForbidden) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallForbidden) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallForbidden) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesGetallInternalServerError) Error

func (*PcloudCloudinstancesVolumesGetallInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesGetallInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallInternalServerError) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallInternalServerError) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesGetallNotFound) Error

func (*PcloudCloudinstancesVolumesGetallNotFound) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesGetallNotFound) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallNotFound) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallNotFound) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallNotFound) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallNotFound) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallNotFound) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesGetallOK) Error

func (*PcloudCloudinstancesVolumesGetallOK) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesGetallOK) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallOK) IsRedirect added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallOK) String added in v1.2.2

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 added in v1.1.10

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 added in v1.1.0

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 added in v1.1.0

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 added in v1.1.10

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 added in v1.1.0

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 added in v1.1.0

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 added in v1.0.59

type PcloudCloudinstancesVolumesGetallUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudCloudinstancesVolumesGetallUnauthorized added in v1.0.59

func NewPcloudCloudinstancesVolumesGetallUnauthorized() *PcloudCloudinstancesVolumesGetallUnauthorized

NewPcloudCloudinstancesVolumesGetallUnauthorized creates a PcloudCloudinstancesVolumesGetallUnauthorized with default headers values

func (*PcloudCloudinstancesVolumesGetallUnauthorized) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesGetallUnauthorized) Error added in v1.0.59

func (*PcloudCloudinstancesVolumesGetallUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesGetallUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallUnauthorized) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesGetallUnauthorized) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesPostAccepted) Error

func (*PcloudCloudinstancesVolumesPostAccepted) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesPostAccepted) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesVolumesPostAccepted) IsClientError() bool

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

func (*PcloudCloudinstancesVolumesPostAccepted) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostAccepted) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostAccepted) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesVolumesPostAccepted) IsServerError() bool

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

func (*PcloudCloudinstancesVolumesPostAccepted) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostAccepted) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesPostBadRequest) Error

func (*PcloudCloudinstancesVolumesPostBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesPostBadRequest) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostBadRequest) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostBadRequest) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostBadRequest) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesPostConflict) Error

func (*PcloudCloudinstancesVolumesPostConflict) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesPostConflict) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesVolumesPostConflict) IsClientError() bool

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

func (*PcloudCloudinstancesVolumesPostConflict) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostConflict) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostConflict) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesVolumesPostConflict) IsServerError() bool

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

func (*PcloudCloudinstancesVolumesPostConflict) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostConflict) String added in v1.2.2

type PcloudCloudinstancesVolumesPostForbidden added in v1.1.12

type PcloudCloudinstancesVolumesPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesVolumesPostForbidden added in v1.1.12

func NewPcloudCloudinstancesVolumesPostForbidden() *PcloudCloudinstancesVolumesPostForbidden

NewPcloudCloudinstancesVolumesPostForbidden creates a PcloudCloudinstancesVolumesPostForbidden with default headers values

func (*PcloudCloudinstancesVolumesPostForbidden) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesPostForbidden) Error added in v1.1.12

func (*PcloudCloudinstancesVolumesPostForbidden) GetPayload added in v1.1.12

func (*PcloudCloudinstancesVolumesPostForbidden) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostForbidden) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostForbidden) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostForbidden) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostForbidden) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostForbidden) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesPostInternalServerError) Error

func (*PcloudCloudinstancesVolumesPostInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesPostInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostInternalServerError) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostInternalServerError) String added in v1.2.2

type PcloudCloudinstancesVolumesPostNotFound added in v1.4.2

type PcloudCloudinstancesVolumesPostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudCloudinstancesVolumesPostNotFound added in v1.4.2

func NewPcloudCloudinstancesVolumesPostNotFound() *PcloudCloudinstancesVolumesPostNotFound

NewPcloudCloudinstancesVolumesPostNotFound creates a PcloudCloudinstancesVolumesPostNotFound with default headers values

func (*PcloudCloudinstancesVolumesPostNotFound) Code added in v1.4.2

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

func (*PcloudCloudinstancesVolumesPostNotFound) Error added in v1.4.2

func (*PcloudCloudinstancesVolumesPostNotFound) GetPayload added in v1.4.2

func (*PcloudCloudinstancesVolumesPostNotFound) IsClientError added in v1.4.2

func (o *PcloudCloudinstancesVolumesPostNotFound) IsClientError() bool

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

func (*PcloudCloudinstancesVolumesPostNotFound) IsCode added in v1.4.2

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

func (*PcloudCloudinstancesVolumesPostNotFound) IsRedirect added in v1.4.2

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

func (*PcloudCloudinstancesVolumesPostNotFound) IsServerError added in v1.4.2

func (o *PcloudCloudinstancesVolumesPostNotFound) IsServerError() bool

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

func (*PcloudCloudinstancesVolumesPostNotFound) IsSuccess added in v1.4.2

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

func (*PcloudCloudinstancesVolumesPostNotFound) String added in v1.4.2

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 added in v1.1.0

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 added in v1.1.0

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 added in v1.0.59

type PcloudCloudinstancesVolumesPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudCloudinstancesVolumesPostUnauthorized added in v1.0.59

func NewPcloudCloudinstancesVolumesPostUnauthorized() *PcloudCloudinstancesVolumesPostUnauthorized

NewPcloudCloudinstancesVolumesPostUnauthorized creates a PcloudCloudinstancesVolumesPostUnauthorized with default headers values

func (*PcloudCloudinstancesVolumesPostUnauthorized) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesPostUnauthorized) Error added in v1.0.59

func (*PcloudCloudinstancesVolumesPostUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesPostUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostUnauthorized) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostUnauthorized) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) Error

func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesPutBadRequest) Error

func (*PcloudCloudinstancesVolumesPutBadRequest) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesPutBadRequest) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutBadRequest) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutBadRequest) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutBadRequest) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesPutConflict) Error

func (*PcloudCloudinstancesVolumesPutConflict) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesPutConflict) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesVolumesPutConflict) IsClientError() bool

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

func (*PcloudCloudinstancesVolumesPutConflict) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutConflict) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutConflict) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesVolumesPutConflict) IsServerError() bool

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

func (*PcloudCloudinstancesVolumesPutConflict) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutConflict) String added in v1.2.2

type PcloudCloudinstancesVolumesPutForbidden added in v1.2.2

type PcloudCloudinstancesVolumesPutForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesVolumesPutForbidden added in v1.2.2

func NewPcloudCloudinstancesVolumesPutForbidden() *PcloudCloudinstancesVolumesPutForbidden

NewPcloudCloudinstancesVolumesPutForbidden creates a PcloudCloudinstancesVolumesPutForbidden with default headers values

func (*PcloudCloudinstancesVolumesPutForbidden) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesPutForbidden) Error added in v1.2.2

func (*PcloudCloudinstancesVolumesPutForbidden) GetPayload added in v1.2.2

func (*PcloudCloudinstancesVolumesPutForbidden) IsClientError added in v1.2.2

func (o *PcloudCloudinstancesVolumesPutForbidden) IsClientError() bool

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

func (*PcloudCloudinstancesVolumesPutForbidden) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutForbidden) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutForbidden) IsServerError added in v1.2.2

func (o *PcloudCloudinstancesVolumesPutForbidden) IsServerError() bool

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

func (*PcloudCloudinstancesVolumesPutForbidden) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutForbidden) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesPutInternalServerError) Error

func (*PcloudCloudinstancesVolumesPutInternalServerError) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesPutInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutInternalServerError) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutInternalServerError) String added in v1.2.2

type PcloudCloudinstancesVolumesPutNotFound added in v1.2.2

type PcloudCloudinstancesVolumesPutNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudCloudinstancesVolumesPutNotFound added in v1.2.2

func NewPcloudCloudinstancesVolumesPutNotFound() *PcloudCloudinstancesVolumesPutNotFound

NewPcloudCloudinstancesVolumesPutNotFound creates a PcloudCloudinstancesVolumesPutNotFound with default headers values

func (*PcloudCloudinstancesVolumesPutNotFound) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesPutNotFound) Error added in v1.2.2

func (*PcloudCloudinstancesVolumesPutNotFound) GetPayload added in v1.2.2

func (*PcloudCloudinstancesVolumesPutNotFound) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutNotFound) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutNotFound) IsServerError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutNotFound) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesPutOK) Error

func (*PcloudCloudinstancesVolumesPutOK) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesPutOK) IsClientError added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.1.0

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 added in v1.1.0

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 added in v1.0.59

type PcloudCloudinstancesVolumesPutUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudCloudinstancesVolumesPutUnauthorized added in v1.0.59

func NewPcloudCloudinstancesVolumesPutUnauthorized() *PcloudCloudinstancesVolumesPutUnauthorized

NewPcloudCloudinstancesVolumesPutUnauthorized creates a PcloudCloudinstancesVolumesPutUnauthorized with default headers values

func (*PcloudCloudinstancesVolumesPutUnauthorized) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesPutUnauthorized) Error added in v1.0.59

func (*PcloudCloudinstancesVolumesPutUnauthorized) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesPutUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutUnauthorized) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutUnauthorized) String added in v1.2.2

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

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

func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) Error

func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) String added in v1.2.2

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest added in v1.1.8

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest added in v1.1.8

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest() *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest

NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest creates a PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest with default headers values

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) Error added in v1.1.8

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) GetPayload added in v1.1.8

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) IsCode added in v1.2.2

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 added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) String added in v1.2.2

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden added in v1.1.8

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden added in v1.1.8

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden() *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden

NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden creates a PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden with default headers values

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) Error added in v1.1.8

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) GetPayload added in v1.1.8

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) String added in v1.2.2

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError added in v1.1.8

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError added in v1.1.8

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError() *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError

NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError creates a PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError with default headers values

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError) Error added in v1.1.8

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError) GetPayload added in v1.1.8

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError) IsCode added in v1.2.2

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 added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError) String added in v1.2.2

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound added in v1.1.8

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound added in v1.1.8

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound() *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound

NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound creates a PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound with default headers values

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) Error added in v1.1.8

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) GetPayload added in v1.1.8

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) IsCode added in v1.2.2

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 added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) String added in v1.2.2

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK added in v1.1.8

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK struct {
	Payload *models.VolumeRemoteCopyRelationship
}

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

OK

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK added in v1.1.8

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK() *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK

NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK creates a PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK with default headers values

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) Error added in v1.1.8

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) GetPayload added in v1.1.8

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) IsCode added in v1.2.2

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 added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) String added in v1.2.2

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams added in v1.1.8

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 added in v1.1.8

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 added in v1.1.8

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams

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

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetParamsWithHTTPClient added in v1.1.8

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 added in v1.1.8

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 added in v1.1.8

func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) SetCloudInstanceID(cloudInstanceID string)

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) SetContext added in v1.1.8

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) SetDefaults added in v1.1.8

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 added in v1.1.8

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) SetTimeout added in v1.1.8

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) SetVolumeID added in v1.1.8

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) WithCloudInstanceID added in v1.1.8

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) WithContext added in v1.1.8

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) WithDefaults added in v1.1.8

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 added in v1.1.8

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) WithTimeout added in v1.1.8

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) WithVolumeID added in v1.1.8

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetParams) WriteToRequest added in v1.1.8

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetReader added in v1.1.8

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

PcloudCloudinstancesVolumesRemoteCopyRelationshipGetReader is a Reader for the PcloudCloudinstancesVolumesRemoteCopyRelationshipGet structure.

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetReader) ReadResponse added in v1.1.8

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests added in v1.1.9

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests struct {
	Payload *models.Error
}

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

Too Many Requests

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests added in v1.1.9

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests() *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests

NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests creates a PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests with default headers values

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) Error added in v1.1.9

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) GetPayload added in v1.1.9

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) IsCode added in v1.2.2

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 added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) String added in v1.2.2

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized added in v1.1.8

type PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized added in v1.1.8

func NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized() *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized

NewPcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized creates a PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized with default headers values

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) Code added in v1.2.4

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) Error added in v1.1.8

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) GetPayload added in v1.1.8

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) IsCode added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesDeleteAccepted) Error

func (*PcloudPvminstancesVolumesDeleteAccepted) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesDeleteAccepted) IsClientError added in v1.2.2

func (o *PcloudPvminstancesVolumesDeleteAccepted) IsClientError() bool

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

func (*PcloudPvminstancesVolumesDeleteAccepted) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteAccepted) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteAccepted) IsServerError added in v1.2.2

func (o *PcloudPvminstancesVolumesDeleteAccepted) IsServerError() bool

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

func (*PcloudPvminstancesVolumesDeleteAccepted) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteAccepted) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesDeleteBadRequest) Error

func (*PcloudPvminstancesVolumesDeleteBadRequest) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesDeleteBadRequest) IsClientError added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteBadRequest) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteBadRequest) IsServerError added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteBadRequest) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesDeleteConflict) Error

func (*PcloudPvminstancesVolumesDeleteConflict) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesDeleteConflict) IsClientError added in v1.2.2

func (o *PcloudPvminstancesVolumesDeleteConflict) IsClientError() bool

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

func (*PcloudPvminstancesVolumesDeleteConflict) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteConflict) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteConflict) IsServerError added in v1.2.2

func (o *PcloudPvminstancesVolumesDeleteConflict) IsServerError() bool

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

func (*PcloudPvminstancesVolumesDeleteConflict) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteConflict) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesDeleteForbidden) Error

func (*PcloudPvminstancesVolumesDeleteForbidden) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesDeleteForbidden) IsClientError added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteForbidden) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteForbidden) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteForbidden) IsServerError added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteForbidden) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteForbidden) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesDeleteInternalServerError) Error

func (*PcloudPvminstancesVolumesDeleteInternalServerError) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesDeleteInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteInternalServerError) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteInternalServerError) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesDeleteNotFound) Error

func (*PcloudPvminstancesVolumesDeleteNotFound) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesDeleteNotFound) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteNotFound) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteNotFound) IsServerError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteNotFound) String added in v1.2.2

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 added in v1.1.0

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 added in v1.1.0

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

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

func (*PcloudPvminstancesVolumesDeleteUnauthorized) Error

func (*PcloudPvminstancesVolumesDeleteUnauthorized) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesDeleteUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteUnauthorized) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesDeleteUnauthorized) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesGetBadRequest) Error

func (*PcloudPvminstancesVolumesGetBadRequest) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesGetBadRequest) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetBadRequest) IsServerError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetBadRequest) String added in v1.2.2

type PcloudPvminstancesVolumesGetForbidden added in v1.2.2

type PcloudPvminstancesVolumesGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesVolumesGetForbidden added in v1.2.2

func NewPcloudPvminstancesVolumesGetForbidden() *PcloudPvminstancesVolumesGetForbidden

NewPcloudPvminstancesVolumesGetForbidden creates a PcloudPvminstancesVolumesGetForbidden with default headers values

func (*PcloudPvminstancesVolumesGetForbidden) Code added in v1.2.4

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

func (*PcloudPvminstancesVolumesGetForbidden) Error added in v1.2.2

func (*PcloudPvminstancesVolumesGetForbidden) GetPayload added in v1.2.2

func (*PcloudPvminstancesVolumesGetForbidden) IsClientError added in v1.2.2

func (o *PcloudPvminstancesVolumesGetForbidden) IsClientError() bool

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

func (*PcloudPvminstancesVolumesGetForbidden) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetForbidden) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetForbidden) IsServerError added in v1.2.2

func (o *PcloudPvminstancesVolumesGetForbidden) IsServerError() bool

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

func (*PcloudPvminstancesVolumesGetForbidden) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetForbidden) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesGetInternalServerError) Error

func (*PcloudPvminstancesVolumesGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesGetInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetInternalServerError) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetInternalServerError) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesGetNotFound) Error

func (*PcloudPvminstancesVolumesGetNotFound) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesGetNotFound) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetNotFound) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetNotFound) IsServerError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetNotFound) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesGetOK) Error

func (*PcloudPvminstancesVolumesGetOK) GetPayload added in v1.1.0

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

func (*PcloudPvminstancesVolumesGetOK) IsClientError added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.1.0

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 added in v1.1.0

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 added in v1.0.59

type PcloudPvminstancesVolumesGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudPvminstancesVolumesGetUnauthorized added in v1.0.59

func NewPcloudPvminstancesVolumesGetUnauthorized() *PcloudPvminstancesVolumesGetUnauthorized

NewPcloudPvminstancesVolumesGetUnauthorized creates a PcloudPvminstancesVolumesGetUnauthorized with default headers values

func (*PcloudPvminstancesVolumesGetUnauthorized) Code added in v1.2.4

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

func (*PcloudPvminstancesVolumesGetUnauthorized) Error added in v1.0.59

func (*PcloudPvminstancesVolumesGetUnauthorized) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesGetUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetUnauthorized) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetUnauthorized) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesGetallBadRequest) Error

func (*PcloudPvminstancesVolumesGetallBadRequest) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesGetallBadRequest) IsClientError added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallBadRequest) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallBadRequest) IsServerError added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallBadRequest) String added in v1.2.2

type PcloudPvminstancesVolumesGetallForbidden added in v1.2.2

type PcloudPvminstancesVolumesGetallForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesVolumesGetallForbidden added in v1.2.2

func NewPcloudPvminstancesVolumesGetallForbidden() *PcloudPvminstancesVolumesGetallForbidden

NewPcloudPvminstancesVolumesGetallForbidden creates a PcloudPvminstancesVolumesGetallForbidden with default headers values

func (*PcloudPvminstancesVolumesGetallForbidden) Code added in v1.2.4

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

func (*PcloudPvminstancesVolumesGetallForbidden) Error added in v1.2.2

func (*PcloudPvminstancesVolumesGetallForbidden) GetPayload added in v1.2.2

func (*PcloudPvminstancesVolumesGetallForbidden) IsClientError added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallForbidden) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallForbidden) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallForbidden) IsServerError added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallForbidden) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallForbidden) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesGetallInternalServerError) Error

func (*PcloudPvminstancesVolumesGetallInternalServerError) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesGetallInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallInternalServerError) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallInternalServerError) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesGetallNotFound) Error

func (*PcloudPvminstancesVolumesGetallNotFound) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesGetallNotFound) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallNotFound) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallNotFound) IsServerError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallNotFound) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesGetallOK) Error

func (*PcloudPvminstancesVolumesGetallOK) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesGetallOK) IsClientError added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.1.0

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 added in v1.1.0

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 added in v1.0.59

type PcloudPvminstancesVolumesGetallUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudPvminstancesVolumesGetallUnauthorized added in v1.0.59

func NewPcloudPvminstancesVolumesGetallUnauthorized() *PcloudPvminstancesVolumesGetallUnauthorized

NewPcloudPvminstancesVolumesGetallUnauthorized creates a PcloudPvminstancesVolumesGetallUnauthorized with default headers values

func (*PcloudPvminstancesVolumesGetallUnauthorized) Code added in v1.2.4

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

func (*PcloudPvminstancesVolumesGetallUnauthorized) Error added in v1.0.59

func (*PcloudPvminstancesVolumesGetallUnauthorized) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesGetallUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallUnauthorized) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesGetallUnauthorized) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesPostBadRequest) Error

func (*PcloudPvminstancesVolumesPostBadRequest) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesPostBadRequest) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostBadRequest) IsServerError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostBadRequest) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesPostConflict) Error

func (*PcloudPvminstancesVolumesPostConflict) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesPostConflict) IsClientError added in v1.2.2

func (o *PcloudPvminstancesVolumesPostConflict) IsClientError() bool

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

func (*PcloudPvminstancesVolumesPostConflict) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostConflict) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostConflict) IsServerError added in v1.2.2

func (o *PcloudPvminstancesVolumesPostConflict) IsServerError() bool

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

func (*PcloudPvminstancesVolumesPostConflict) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostConflict) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesPostForbidden) Error

func (*PcloudPvminstancesVolumesPostForbidden) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesPostForbidden) IsClientError added in v1.2.2

func (o *PcloudPvminstancesVolumesPostForbidden) IsClientError() bool

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

func (*PcloudPvminstancesVolumesPostForbidden) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostForbidden) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostForbidden) IsServerError added in v1.2.2

func (o *PcloudPvminstancesVolumesPostForbidden) IsServerError() bool

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

func (*PcloudPvminstancesVolumesPostForbidden) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostForbidden) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesPostInternalServerError) Error

func (*PcloudPvminstancesVolumesPostInternalServerError) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesPostInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostInternalServerError) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostInternalServerError) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesPostNotFound) Error

func (*PcloudPvminstancesVolumesPostNotFound) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesPostNotFound) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostNotFound) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostNotFound) IsServerError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostNotFound) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesPostOK) Error

func (*PcloudPvminstancesVolumesPostOK) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesPostOK) IsClientError added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.1.0

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 added in v1.1.0

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

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

func (*PcloudPvminstancesVolumesPostUnauthorized) Error

func (*PcloudPvminstancesVolumesPostUnauthorized) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesPostUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostUnauthorized) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesPostUnauthorized) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesPutBadRequest) Error

func (*PcloudPvminstancesVolumesPutBadRequest) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesPutBadRequest) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudPvminstancesVolumesPutBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesPutBadRequest) IsServerError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudPvminstancesVolumesPutBadRequest) String added in v1.2.2

type PcloudPvminstancesVolumesPutForbidden added in v1.2.2

type PcloudPvminstancesVolumesPutForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesVolumesPutForbidden added in v1.2.2

func NewPcloudPvminstancesVolumesPutForbidden() *PcloudPvminstancesVolumesPutForbidden

NewPcloudPvminstancesVolumesPutForbidden creates a PcloudPvminstancesVolumesPutForbidden with default headers values

func (*PcloudPvminstancesVolumesPutForbidden) Code added in v1.2.4

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

func (*PcloudPvminstancesVolumesPutForbidden) Error added in v1.2.2

func (*PcloudPvminstancesVolumesPutForbidden) GetPayload added in v1.2.2

func (*PcloudPvminstancesVolumesPutForbidden) IsClientError added in v1.2.2

func (o *PcloudPvminstancesVolumesPutForbidden) IsClientError() bool

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

func (*PcloudPvminstancesVolumesPutForbidden) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesPutForbidden) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesPutForbidden) IsServerError added in v1.2.2

func (o *PcloudPvminstancesVolumesPutForbidden) IsServerError() bool

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

func (*PcloudPvminstancesVolumesPutForbidden) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesPutForbidden) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesPutInternalServerError) Error

func (*PcloudPvminstancesVolumesPutInternalServerError) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesPutInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudPvminstancesVolumesPutInternalServerError) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesPutInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesPutInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudPvminstancesVolumesPutInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesPutInternalServerError) String added in v1.2.2

type PcloudPvminstancesVolumesPutNotFound added in v1.2.2

type PcloudPvminstancesVolumesPutNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudPvminstancesVolumesPutNotFound added in v1.2.2

func NewPcloudPvminstancesVolumesPutNotFound() *PcloudPvminstancesVolumesPutNotFound

NewPcloudPvminstancesVolumesPutNotFound creates a PcloudPvminstancesVolumesPutNotFound with default headers values

func (*PcloudPvminstancesVolumesPutNotFound) Code added in v1.2.4

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

func (*PcloudPvminstancesVolumesPutNotFound) Error added in v1.2.2

func (*PcloudPvminstancesVolumesPutNotFound) GetPayload added in v1.2.2

func (*PcloudPvminstancesVolumesPutNotFound) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudPvminstancesVolumesPutNotFound) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesPutNotFound) IsServerError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudPvminstancesVolumesPutNotFound) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesPutOK) Error

func (*PcloudPvminstancesVolumesPutOK) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesPutOK) IsClientError added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.1.0

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 added in v1.1.0

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 PcloudPvminstancesVolumesPutUnauthorized added in v1.4.2

type PcloudPvminstancesVolumesPutUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudPvminstancesVolumesPutUnauthorized added in v1.4.2

func NewPcloudPvminstancesVolumesPutUnauthorized() *PcloudPvminstancesVolumesPutUnauthorized

NewPcloudPvminstancesVolumesPutUnauthorized creates a PcloudPvminstancesVolumesPutUnauthorized with default headers values

func (*PcloudPvminstancesVolumesPutUnauthorized) Code added in v1.4.2

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

func (*PcloudPvminstancesVolumesPutUnauthorized) Error added in v1.4.2

func (*PcloudPvminstancesVolumesPutUnauthorized) GetPayload added in v1.4.2

func (*PcloudPvminstancesVolumesPutUnauthorized) IsClientError added in v1.4.2

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

func (*PcloudPvminstancesVolumesPutUnauthorized) IsCode added in v1.4.2

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

func (*PcloudPvminstancesVolumesPutUnauthorized) IsRedirect added in v1.4.2

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

func (*PcloudPvminstancesVolumesPutUnauthorized) IsServerError added in v1.4.2

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

func (*PcloudPvminstancesVolumesPutUnauthorized) IsSuccess added in v1.4.2

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

func (*PcloudPvminstancesVolumesPutUnauthorized) String added in v1.4.2

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

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

func (*PcloudPvminstancesVolumesSetbootPutBadRequest) Error

func (*PcloudPvminstancesVolumesSetbootPutBadRequest) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesSetbootPutBadRequest) IsClientError added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutBadRequest) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutBadRequest) IsServerError added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutBadRequest) String added in v1.2.2

type PcloudPvminstancesVolumesSetbootPutForbidden added in v1.2.2

type PcloudPvminstancesVolumesSetbootPutForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudPvminstancesVolumesSetbootPutForbidden added in v1.2.2

func NewPcloudPvminstancesVolumesSetbootPutForbidden() *PcloudPvminstancesVolumesSetbootPutForbidden

NewPcloudPvminstancesVolumesSetbootPutForbidden creates a PcloudPvminstancesVolumesSetbootPutForbidden with default headers values

func (*PcloudPvminstancesVolumesSetbootPutForbidden) Code added in v1.2.4

Code gets the status code for the pcloud pvminstances volumes setboot put forbidden response

func (*PcloudPvminstancesVolumesSetbootPutForbidden) Error added in v1.2.2

func (*PcloudPvminstancesVolumesSetbootPutForbidden) GetPayload added in v1.2.2

func (*PcloudPvminstancesVolumesSetbootPutForbidden) IsClientError added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutForbidden) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutForbidden) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutForbidden) IsServerError added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutForbidden) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutForbidden) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) Error

func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesSetbootPutNotFound) Error

func (*PcloudPvminstancesVolumesSetbootPutNotFound) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesSetbootPutNotFound) IsClientError added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutNotFound) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutNotFound) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutNotFound) IsServerError added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutNotFound) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutNotFound) String added in v1.2.2

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

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

func (*PcloudPvminstancesVolumesSetbootPutOK) Error

func (*PcloudPvminstancesVolumesSetbootPutOK) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesSetbootPutOK) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutOK) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutOK) IsServerError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutOK) String added in v1.2.2

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 added in v1.1.0

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 added in v1.1.0

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 added in v1.0.59

type PcloudPvminstancesVolumesSetbootPutUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudPvminstancesVolumesSetbootPutUnauthorized added in v1.0.59

func NewPcloudPvminstancesVolumesSetbootPutUnauthorized() *PcloudPvminstancesVolumesSetbootPutUnauthorized

NewPcloudPvminstancesVolumesSetbootPutUnauthorized creates a PcloudPvminstancesVolumesSetbootPutUnauthorized with default headers values

func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud pvminstances volumes setboot put unauthorized response

func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) Error added in v1.0.59

func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) GetPayload added in v1.1.0

func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) IsCode added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) String added in v1.2.2

type PcloudV2PvminstancesVolumesDeleteAccepted added in v1.5.4

type PcloudV2PvminstancesVolumesDeleteAccepted struct {
	Payload *models.VolumesDetachmentResponse
}

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

Accepted

func NewPcloudV2PvminstancesVolumesDeleteAccepted added in v1.5.4

func NewPcloudV2PvminstancesVolumesDeleteAccepted() *PcloudV2PvminstancesVolumesDeleteAccepted

NewPcloudV2PvminstancesVolumesDeleteAccepted creates a PcloudV2PvminstancesVolumesDeleteAccepted with default headers values

func (*PcloudV2PvminstancesVolumesDeleteAccepted) Code added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteAccepted) Error added in v1.5.4

func (*PcloudV2PvminstancesVolumesDeleteAccepted) GetPayload added in v1.5.4

func (*PcloudV2PvminstancesVolumesDeleteAccepted) IsClientError added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteAccepted) IsCode added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteAccepted) IsRedirect added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteAccepted) IsServerError added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteAccepted) IsSuccess added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteAccepted) String added in v1.5.4

type PcloudV2PvminstancesVolumesDeleteBadRequest added in v1.5.4

type PcloudV2PvminstancesVolumesDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudV2PvminstancesVolumesDeleteBadRequest added in v1.5.4

func NewPcloudV2PvminstancesVolumesDeleteBadRequest() *PcloudV2PvminstancesVolumesDeleteBadRequest

NewPcloudV2PvminstancesVolumesDeleteBadRequest creates a PcloudV2PvminstancesVolumesDeleteBadRequest with default headers values

func (*PcloudV2PvminstancesVolumesDeleteBadRequest) Code added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteBadRequest) Error added in v1.5.4

func (*PcloudV2PvminstancesVolumesDeleteBadRequest) GetPayload added in v1.5.4

func (*PcloudV2PvminstancesVolumesDeleteBadRequest) IsClientError added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteBadRequest) IsCode added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteBadRequest) IsRedirect added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteBadRequest) IsServerError added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteBadRequest) IsSuccess added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteBadRequest) String added in v1.5.4

type PcloudV2PvminstancesVolumesDeleteConflict added in v1.5.4

type PcloudV2PvminstancesVolumesDeleteConflict struct {
	Payload *models.Error
}

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

Conflict

func NewPcloudV2PvminstancesVolumesDeleteConflict added in v1.5.4

func NewPcloudV2PvminstancesVolumesDeleteConflict() *PcloudV2PvminstancesVolumesDeleteConflict

NewPcloudV2PvminstancesVolumesDeleteConflict creates a PcloudV2PvminstancesVolumesDeleteConflict with default headers values

func (*PcloudV2PvminstancesVolumesDeleteConflict) Code added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteConflict) Error added in v1.5.4

func (*PcloudV2PvminstancesVolumesDeleteConflict) GetPayload added in v1.5.4

func (*PcloudV2PvminstancesVolumesDeleteConflict) IsClientError added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteConflict) IsCode added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteConflict) IsRedirect added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteConflict) IsServerError added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteConflict) IsSuccess added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteConflict) String added in v1.5.4

type PcloudV2PvminstancesVolumesDeleteForbidden added in v1.5.4

type PcloudV2PvminstancesVolumesDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudV2PvminstancesVolumesDeleteForbidden added in v1.5.4

func NewPcloudV2PvminstancesVolumesDeleteForbidden() *PcloudV2PvminstancesVolumesDeleteForbidden

NewPcloudV2PvminstancesVolumesDeleteForbidden creates a PcloudV2PvminstancesVolumesDeleteForbidden with default headers values

func (*PcloudV2PvminstancesVolumesDeleteForbidden) Code added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteForbidden) Error added in v1.5.4

func (*PcloudV2PvminstancesVolumesDeleteForbidden) GetPayload added in v1.5.4

func (*PcloudV2PvminstancesVolumesDeleteForbidden) IsClientError added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteForbidden) IsCode added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteForbidden) IsRedirect added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteForbidden) IsServerError added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteForbidden) IsSuccess added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteForbidden) String added in v1.5.4

type PcloudV2PvminstancesVolumesDeleteInternalServerError added in v1.5.4

type PcloudV2PvminstancesVolumesDeleteInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudV2PvminstancesVolumesDeleteInternalServerError added in v1.5.4

func NewPcloudV2PvminstancesVolumesDeleteInternalServerError() *PcloudV2PvminstancesVolumesDeleteInternalServerError

NewPcloudV2PvminstancesVolumesDeleteInternalServerError creates a PcloudV2PvminstancesVolumesDeleteInternalServerError with default headers values

func (*PcloudV2PvminstancesVolumesDeleteInternalServerError) Code added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteInternalServerError) Error added in v1.5.4

func (*PcloudV2PvminstancesVolumesDeleteInternalServerError) GetPayload added in v1.5.4

func (*PcloudV2PvminstancesVolumesDeleteInternalServerError) IsClientError added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteInternalServerError) IsCode added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteInternalServerError) IsRedirect added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteInternalServerError) IsServerError added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteInternalServerError) IsSuccess added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteInternalServerError) String added in v1.5.4

type PcloudV2PvminstancesVolumesDeleteNotFound added in v1.5.4

type PcloudV2PvminstancesVolumesDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudV2PvminstancesVolumesDeleteNotFound added in v1.5.4

func NewPcloudV2PvminstancesVolumesDeleteNotFound() *PcloudV2PvminstancesVolumesDeleteNotFound

NewPcloudV2PvminstancesVolumesDeleteNotFound creates a PcloudV2PvminstancesVolumesDeleteNotFound with default headers values

func (*PcloudV2PvminstancesVolumesDeleteNotFound) Code added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteNotFound) Error added in v1.5.4

func (*PcloudV2PvminstancesVolumesDeleteNotFound) GetPayload added in v1.5.4

func (*PcloudV2PvminstancesVolumesDeleteNotFound) IsClientError added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteNotFound) IsCode added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteNotFound) IsRedirect added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteNotFound) IsServerError added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteNotFound) IsSuccess added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteNotFound) String added in v1.5.4

type PcloudV2PvminstancesVolumesDeleteParams added in v1.5.4

type PcloudV2PvminstancesVolumesDeleteParams struct {

	/* Body.

	   Parameter to detach multiple volumes from a PVMInstance
	*/
	Body *models.VolumesDetach

	/* 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
}

PcloudV2PvminstancesVolumesDeleteParams contains all the parameters to send to the API endpoint

for the pcloud v2 pvminstances volumes delete operation.

Typically these are written to a http.Request.

func NewPcloudV2PvminstancesVolumesDeleteParams added in v1.5.4

func NewPcloudV2PvminstancesVolumesDeleteParams() *PcloudV2PvminstancesVolumesDeleteParams

NewPcloudV2PvminstancesVolumesDeleteParams creates a new PcloudV2PvminstancesVolumesDeleteParams 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 NewPcloudV2PvminstancesVolumesDeleteParamsWithContext added in v1.5.4

func NewPcloudV2PvminstancesVolumesDeleteParamsWithContext(ctx context.Context) *PcloudV2PvminstancesVolumesDeleteParams

NewPcloudV2PvminstancesVolumesDeleteParamsWithContext creates a new PcloudV2PvminstancesVolumesDeleteParams object with the ability to set a context for a request.

func NewPcloudV2PvminstancesVolumesDeleteParamsWithHTTPClient added in v1.5.4

func NewPcloudV2PvminstancesVolumesDeleteParamsWithHTTPClient(client *http.Client) *PcloudV2PvminstancesVolumesDeleteParams

NewPcloudV2PvminstancesVolumesDeleteParamsWithHTTPClient creates a new PcloudV2PvminstancesVolumesDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudV2PvminstancesVolumesDeleteParamsWithTimeout added in v1.5.4

func NewPcloudV2PvminstancesVolumesDeleteParamsWithTimeout(timeout time.Duration) *PcloudV2PvminstancesVolumesDeleteParams

NewPcloudV2PvminstancesVolumesDeleteParamsWithTimeout creates a new PcloudV2PvminstancesVolumesDeleteParams object with the ability to set a timeout on a request.

func (*PcloudV2PvminstancesVolumesDeleteParams) SetBody added in v1.5.4

SetBody adds the body to the pcloud v2 pvminstances volumes delete params

func (*PcloudV2PvminstancesVolumesDeleteParams) SetCloudInstanceID added in v1.5.4

func (o *PcloudV2PvminstancesVolumesDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 pvminstances volumes delete params

func (*PcloudV2PvminstancesVolumesDeleteParams) SetContext added in v1.5.4

SetContext adds the context to the pcloud v2 pvminstances volumes delete params

func (*PcloudV2PvminstancesVolumesDeleteParams) SetDefaults added in v1.5.4

func (o *PcloudV2PvminstancesVolumesDeleteParams) SetDefaults()

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

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

func (*PcloudV2PvminstancesVolumesDeleteParams) SetHTTPClient added in v1.5.4

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

SetHTTPClient adds the HTTPClient to the pcloud v2 pvminstances volumes delete params

func (*PcloudV2PvminstancesVolumesDeleteParams) SetPvmInstanceID added in v1.5.4

func (o *PcloudV2PvminstancesVolumesDeleteParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud v2 pvminstances volumes delete params

func (*PcloudV2PvminstancesVolumesDeleteParams) SetTimeout added in v1.5.4

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

SetTimeout adds the timeout to the pcloud v2 pvminstances volumes delete params

func (*PcloudV2PvminstancesVolumesDeleteParams) WithBody added in v1.5.4

WithBody adds the body to the pcloud v2 pvminstances volumes delete params

func (*PcloudV2PvminstancesVolumesDeleteParams) WithCloudInstanceID added in v1.5.4

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 pvminstances volumes delete params

func (*PcloudV2PvminstancesVolumesDeleteParams) WithContext added in v1.5.4

WithContext adds the context to the pcloud v2 pvminstances volumes delete params

func (*PcloudV2PvminstancesVolumesDeleteParams) WithDefaults added in v1.5.4

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

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

func (*PcloudV2PvminstancesVolumesDeleteParams) WithHTTPClient added in v1.5.4

WithHTTPClient adds the HTTPClient to the pcloud v2 pvminstances volumes delete params

func (*PcloudV2PvminstancesVolumesDeleteParams) WithPvmInstanceID added in v1.5.4

WithPvmInstanceID adds the pvmInstanceID to the pcloud v2 pvminstances volumes delete params

func (*PcloudV2PvminstancesVolumesDeleteParams) WithTimeout added in v1.5.4

WithTimeout adds the timeout to the pcloud v2 pvminstances volumes delete params

func (*PcloudV2PvminstancesVolumesDeleteParams) WriteToRequest added in v1.5.4

WriteToRequest writes these params to a swagger request

type PcloudV2PvminstancesVolumesDeleteReader added in v1.5.4

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

PcloudV2PvminstancesVolumesDeleteReader is a Reader for the PcloudV2PvminstancesVolumesDelete structure.

func (*PcloudV2PvminstancesVolumesDeleteReader) ReadResponse added in v1.5.4

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

ReadResponse reads a server response into the received o.

type PcloudV2PvminstancesVolumesDeleteUnauthorized added in v1.5.4

type PcloudV2PvminstancesVolumesDeleteUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudV2PvminstancesVolumesDeleteUnauthorized added in v1.5.4

func NewPcloudV2PvminstancesVolumesDeleteUnauthorized() *PcloudV2PvminstancesVolumesDeleteUnauthorized

NewPcloudV2PvminstancesVolumesDeleteUnauthorized creates a PcloudV2PvminstancesVolumesDeleteUnauthorized with default headers values

func (*PcloudV2PvminstancesVolumesDeleteUnauthorized) Code added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteUnauthorized) Error added in v1.5.4

func (*PcloudV2PvminstancesVolumesDeleteUnauthorized) GetPayload added in v1.5.4

func (*PcloudV2PvminstancesVolumesDeleteUnauthorized) IsClientError added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteUnauthorized) IsCode added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteUnauthorized) IsRedirect added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteUnauthorized) IsServerError added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteUnauthorized) IsSuccess added in v1.5.4

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

func (*PcloudV2PvminstancesVolumesDeleteUnauthorized) String added in v1.5.4

type PcloudV2PvminstancesVolumesPostAccepted added in v1.0.56

type PcloudV2PvminstancesVolumesPostAccepted struct {
	Payload *models.VolumesAttachmentResponse
}

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

Accepted

func NewPcloudV2PvminstancesVolumesPostAccepted added in v1.0.56

func NewPcloudV2PvminstancesVolumesPostAccepted() *PcloudV2PvminstancesVolumesPostAccepted

NewPcloudV2PvminstancesVolumesPostAccepted creates a PcloudV2PvminstancesVolumesPostAccepted with default headers values

func (*PcloudV2PvminstancesVolumesPostAccepted) Code added in v1.2.4

Code gets the status code for the pcloud v2 pvminstances volumes post accepted response

func (*PcloudV2PvminstancesVolumesPostAccepted) Error added in v1.0.56

func (*PcloudV2PvminstancesVolumesPostAccepted) GetPayload added in v1.1.0

func (*PcloudV2PvminstancesVolumesPostAccepted) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostAccepted) IsRedirect added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostAccepted) IsServerError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostAccepted) String added in v1.2.2

type PcloudV2PvminstancesVolumesPostBadRequest added in v1.0.56

type PcloudV2PvminstancesVolumesPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudV2PvminstancesVolumesPostBadRequest added in v1.0.56

func NewPcloudV2PvminstancesVolumesPostBadRequest() *PcloudV2PvminstancesVolumesPostBadRequest

NewPcloudV2PvminstancesVolumesPostBadRequest creates a PcloudV2PvminstancesVolumesPostBadRequest with default headers values

func (*PcloudV2PvminstancesVolumesPostBadRequest) Code added in v1.2.4

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

func (*PcloudV2PvminstancesVolumesPostBadRequest) Error added in v1.0.56

func (*PcloudV2PvminstancesVolumesPostBadRequest) GetPayload added in v1.1.0

func (*PcloudV2PvminstancesVolumesPostBadRequest) IsClientError added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostBadRequest) IsCode added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostBadRequest) IsServerError added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostBadRequest) IsSuccess added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostBadRequest) String added in v1.2.2

type PcloudV2PvminstancesVolumesPostConflict added in v1.1.6

type PcloudV2PvminstancesVolumesPostConflict struct {
	Payload *models.Error
}

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

Conflict

func NewPcloudV2PvminstancesVolumesPostConflict added in v1.1.6

func NewPcloudV2PvminstancesVolumesPostConflict() *PcloudV2PvminstancesVolumesPostConflict

NewPcloudV2PvminstancesVolumesPostConflict creates a PcloudV2PvminstancesVolumesPostConflict with default headers values

func (*PcloudV2PvminstancesVolumesPostConflict) Code added in v1.2.4

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

func (*PcloudV2PvminstancesVolumesPostConflict) Error added in v1.1.6

func (*PcloudV2PvminstancesVolumesPostConflict) GetPayload added in v1.1.6

func (*PcloudV2PvminstancesVolumesPostConflict) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostConflict) IsRedirect added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostConflict) IsServerError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostConflict) String added in v1.2.2

type PcloudV2PvminstancesVolumesPostForbidden added in v1.4.2

type PcloudV2PvminstancesVolumesPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudV2PvminstancesVolumesPostForbidden added in v1.4.2

func NewPcloudV2PvminstancesVolumesPostForbidden() *PcloudV2PvminstancesVolumesPostForbidden

NewPcloudV2PvminstancesVolumesPostForbidden creates a PcloudV2PvminstancesVolumesPostForbidden with default headers values

func (*PcloudV2PvminstancesVolumesPostForbidden) Code added in v1.4.2

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

func (*PcloudV2PvminstancesVolumesPostForbidden) Error added in v1.4.2

func (*PcloudV2PvminstancesVolumesPostForbidden) GetPayload added in v1.4.2

func (*PcloudV2PvminstancesVolumesPostForbidden) IsClientError added in v1.4.2

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

func (*PcloudV2PvminstancesVolumesPostForbidden) IsCode added in v1.4.2

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

func (*PcloudV2PvminstancesVolumesPostForbidden) IsRedirect added in v1.4.2

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

func (*PcloudV2PvminstancesVolumesPostForbidden) IsServerError added in v1.4.2

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

func (*PcloudV2PvminstancesVolumesPostForbidden) IsSuccess added in v1.4.2

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

func (*PcloudV2PvminstancesVolumesPostForbidden) String added in v1.4.2

type PcloudV2PvminstancesVolumesPostInternalServerError added in v1.0.56

type PcloudV2PvminstancesVolumesPostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudV2PvminstancesVolumesPostInternalServerError added in v1.0.56

func NewPcloudV2PvminstancesVolumesPostInternalServerError() *PcloudV2PvminstancesVolumesPostInternalServerError

NewPcloudV2PvminstancesVolumesPostInternalServerError creates a PcloudV2PvminstancesVolumesPostInternalServerError with default headers values

func (*PcloudV2PvminstancesVolumesPostInternalServerError) Code added in v1.2.4

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

func (*PcloudV2PvminstancesVolumesPostInternalServerError) Error added in v1.0.56

func (*PcloudV2PvminstancesVolumesPostInternalServerError) GetPayload added in v1.1.0

func (*PcloudV2PvminstancesVolumesPostInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostInternalServerError) IsCode added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostInternalServerError) String added in v1.2.2

type PcloudV2PvminstancesVolumesPostNotFound added in v1.0.56

type PcloudV2PvminstancesVolumesPostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudV2PvminstancesVolumesPostNotFound added in v1.0.56

func NewPcloudV2PvminstancesVolumesPostNotFound() *PcloudV2PvminstancesVolumesPostNotFound

NewPcloudV2PvminstancesVolumesPostNotFound creates a PcloudV2PvminstancesVolumesPostNotFound with default headers values

func (*PcloudV2PvminstancesVolumesPostNotFound) Code added in v1.2.4

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

func (*PcloudV2PvminstancesVolumesPostNotFound) Error added in v1.0.56

func (*PcloudV2PvminstancesVolumesPostNotFound) GetPayload added in v1.1.0

func (*PcloudV2PvminstancesVolumesPostNotFound) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostNotFound) IsRedirect added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostNotFound) IsServerError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostNotFound) String added in v1.2.2

type PcloudV2PvminstancesVolumesPostParams added in v1.0.56

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 added in v1.0.56

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 added in v1.0.56

func NewPcloudV2PvminstancesVolumesPostParamsWithContext(ctx context.Context) *PcloudV2PvminstancesVolumesPostParams

NewPcloudV2PvminstancesVolumesPostParamsWithContext creates a new PcloudV2PvminstancesVolumesPostParams object with the ability to set a context for a request.

func NewPcloudV2PvminstancesVolumesPostParamsWithHTTPClient added in v1.0.56

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 added in v1.0.56

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 added in v1.0.56

SetBody adds the body to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) SetCloudInstanceID added in v1.0.56

func (o *PcloudV2PvminstancesVolumesPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) SetContext added in v1.0.56

SetContext adds the context to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) SetDefaults added in v1.1.0

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 added in v1.0.56

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

SetHTTPClient adds the HTTPClient to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) SetPvmInstanceID added in v1.0.56

func (o *PcloudV2PvminstancesVolumesPostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) SetTimeout added in v1.0.56

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

SetTimeout adds the timeout to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) WithBody added in v1.0.56

WithBody adds the body to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) WithCloudInstanceID added in v1.0.56

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) WithContext added in v1.0.56

WithContext adds the context to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) WithDefaults added in v1.1.0

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 added in v1.0.56

WithHTTPClient adds the HTTPClient to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) WithPvmInstanceID added in v1.0.56

WithPvmInstanceID adds the pvmInstanceID to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) WithTimeout added in v1.0.56

WithTimeout adds the timeout to the pcloud v2 pvminstances volumes post params

func (*PcloudV2PvminstancesVolumesPostParams) WriteToRequest added in v1.0.56

WriteToRequest writes these params to a swagger request

type PcloudV2PvminstancesVolumesPostReader added in v1.0.56

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

PcloudV2PvminstancesVolumesPostReader is a Reader for the PcloudV2PvminstancesVolumesPost structure.

func (*PcloudV2PvminstancesVolumesPostReader) ReadResponse added in v1.0.56

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

ReadResponse reads a server response into the received o.

type PcloudV2PvminstancesVolumesPostUnauthorized added in v1.0.59

type PcloudV2PvminstancesVolumesPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudV2PvminstancesVolumesPostUnauthorized added in v1.0.59

func NewPcloudV2PvminstancesVolumesPostUnauthorized() *PcloudV2PvminstancesVolumesPostUnauthorized

NewPcloudV2PvminstancesVolumesPostUnauthorized creates a PcloudV2PvminstancesVolumesPostUnauthorized with default headers values

func (*PcloudV2PvminstancesVolumesPostUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud v2 pvminstances volumes post unauthorized response

func (*PcloudV2PvminstancesVolumesPostUnauthorized) Error added in v1.0.59

func (*PcloudV2PvminstancesVolumesPostUnauthorized) GetPayload added in v1.1.0

func (*PcloudV2PvminstancesVolumesPostUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostUnauthorized) IsCode added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudV2PvminstancesVolumesPostUnauthorized) String added in v1.2.2

type PcloudV2VolumesClonePostAccepted added in v1.0.46

type PcloudV2VolumesClonePostAccepted struct {
	Payload *models.CloneTaskReference
}

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

Accepted

func NewPcloudV2VolumesClonePostAccepted added in v1.0.46

func NewPcloudV2VolumesClonePostAccepted() *PcloudV2VolumesClonePostAccepted

NewPcloudV2VolumesClonePostAccepted creates a PcloudV2VolumesClonePostAccepted with default headers values

func (*PcloudV2VolumesClonePostAccepted) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumes clone post accepted response

func (*PcloudV2VolumesClonePostAccepted) Error added in v1.0.46

func (*PcloudV2VolumesClonePostAccepted) GetPayload added in v1.1.0

func (*PcloudV2VolumesClonePostAccepted) IsClientError added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

type PcloudV2VolumesClonePostBadRequest added in v1.0.46

type PcloudV2VolumesClonePostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudV2VolumesClonePostBadRequest added in v1.0.46

func NewPcloudV2VolumesClonePostBadRequest() *PcloudV2VolumesClonePostBadRequest

NewPcloudV2VolumesClonePostBadRequest creates a PcloudV2VolumesClonePostBadRequest with default headers values

func (*PcloudV2VolumesClonePostBadRequest) Code added in v1.2.4

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

func (*PcloudV2VolumesClonePostBadRequest) Error added in v1.0.46

func (*PcloudV2VolumesClonePostBadRequest) GetPayload added in v1.1.0

func (*PcloudV2VolumesClonePostBadRequest) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudV2VolumesClonePostBadRequest) IsRedirect added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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

func (*PcloudV2VolumesClonePostBadRequest) String added in v1.2.2

type PcloudV2VolumesClonePostForbidden added in v1.1.12

type PcloudV2VolumesClonePostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudV2VolumesClonePostForbidden added in v1.1.12

func NewPcloudV2VolumesClonePostForbidden() *PcloudV2VolumesClonePostForbidden

NewPcloudV2VolumesClonePostForbidden creates a PcloudV2VolumesClonePostForbidden with default headers values

func (*PcloudV2VolumesClonePostForbidden) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumes clone post forbidden response

func (*PcloudV2VolumesClonePostForbidden) Error added in v1.1.12

func (*PcloudV2VolumesClonePostForbidden) GetPayload added in v1.1.12

func (*PcloudV2VolumesClonePostForbidden) IsClientError added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

type PcloudV2VolumesClonePostInternalServerError added in v1.0.46

type PcloudV2VolumesClonePostInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudV2VolumesClonePostInternalServerError added in v1.0.46

func NewPcloudV2VolumesClonePostInternalServerError() *PcloudV2VolumesClonePostInternalServerError

NewPcloudV2VolumesClonePostInternalServerError creates a PcloudV2VolumesClonePostInternalServerError with default headers values

func (*PcloudV2VolumesClonePostInternalServerError) Code added in v1.2.4

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

func (*PcloudV2VolumesClonePostInternalServerError) Error added in v1.0.46

func (*PcloudV2VolumesClonePostInternalServerError) GetPayload added in v1.1.0

func (*PcloudV2VolumesClonePostInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudV2VolumesClonePostInternalServerError) IsCode added in v1.2.2

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

func (*PcloudV2VolumesClonePostInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudV2VolumesClonePostInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudV2VolumesClonePostInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudV2VolumesClonePostInternalServerError) String added in v1.2.2

type PcloudV2VolumesClonePostNotFound added in v1.0.46

type PcloudV2VolumesClonePostNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudV2VolumesClonePostNotFound added in v1.0.46

func NewPcloudV2VolumesClonePostNotFound() *PcloudV2VolumesClonePostNotFound

NewPcloudV2VolumesClonePostNotFound creates a PcloudV2VolumesClonePostNotFound with default headers values

func (*PcloudV2VolumesClonePostNotFound) Code added in v1.2.4

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

func (*PcloudV2VolumesClonePostNotFound) Error added in v1.0.46

func (*PcloudV2VolumesClonePostNotFound) GetPayload added in v1.1.0

func (*PcloudV2VolumesClonePostNotFound) IsClientError added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

type PcloudV2VolumesClonePostParams added in v1.0.46

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 added in v1.0.46

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 added in v1.0.46

func NewPcloudV2VolumesClonePostParamsWithContext(ctx context.Context) *PcloudV2VolumesClonePostParams

NewPcloudV2VolumesClonePostParamsWithContext creates a new PcloudV2VolumesClonePostParams object with the ability to set a context for a request.

func NewPcloudV2VolumesClonePostParamsWithHTTPClient added in v1.0.46

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 added in v1.0.46

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 added in v1.0.46

SetBody adds the body to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) SetCloudInstanceID added in v1.0.46

func (o *PcloudV2VolumesClonePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) SetContext added in v1.0.46

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

SetContext adds the context to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) SetDefaults added in v1.1.0

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 added in v1.0.46

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

SetHTTPClient adds the HTTPClient to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) SetTimeout added in v1.0.46

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

SetTimeout adds the timeout to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) WithBody added in v1.0.46

WithBody adds the body to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) WithCloudInstanceID added in v1.0.46

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) WithContext added in v1.0.46

WithContext adds the context to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) WithDefaults added in v1.1.0

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 added in v1.0.46

WithHTTPClient adds the HTTPClient to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) WithTimeout added in v1.0.46

WithTimeout adds the timeout to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) WriteToRequest added in v1.0.46

WriteToRequest writes these params to a swagger request

type PcloudV2VolumesClonePostReader added in v1.0.46

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

PcloudV2VolumesClonePostReader is a Reader for the PcloudV2VolumesClonePost structure.

func (*PcloudV2VolumesClonePostReader) ReadResponse added in v1.0.46

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

ReadResponse reads a server response into the received o.

type PcloudV2VolumesClonePostUnauthorized added in v1.0.59

type PcloudV2VolumesClonePostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudV2VolumesClonePostUnauthorized added in v1.0.59

func NewPcloudV2VolumesClonePostUnauthorized() *PcloudV2VolumesClonePostUnauthorized

NewPcloudV2VolumesClonePostUnauthorized creates a PcloudV2VolumesClonePostUnauthorized with default headers values

func (*PcloudV2VolumesClonePostUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumes clone post unauthorized response

func (*PcloudV2VolumesClonePostUnauthorized) Error added in v1.0.59

func (*PcloudV2VolumesClonePostUnauthorized) GetPayload added in v1.1.0

func (*PcloudV2VolumesClonePostUnauthorized) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudV2VolumesClonePostUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudV2VolumesClonePostUnauthorized) IsServerError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudV2VolumesClonePostUnauthorized) String added in v1.2.2

type PcloudV2VolumesClonetasksGetBadRequest added in v1.0.46

type PcloudV2VolumesClonetasksGetBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewPcloudV2VolumesClonetasksGetBadRequest added in v1.0.46

func NewPcloudV2VolumesClonetasksGetBadRequest() *PcloudV2VolumesClonetasksGetBadRequest

NewPcloudV2VolumesClonetasksGetBadRequest creates a PcloudV2VolumesClonetasksGetBadRequest with default headers values

func (*PcloudV2VolumesClonetasksGetBadRequest) Code added in v1.2.4

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

func (*PcloudV2VolumesClonetasksGetBadRequest) Error added in v1.0.46

func (*PcloudV2VolumesClonetasksGetBadRequest) GetPayload added in v1.1.0

func (*PcloudV2VolumesClonetasksGetBadRequest) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudV2VolumesClonetasksGetBadRequest) IsRedirect added in v1.2.2

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

func (*PcloudV2VolumesClonetasksGetBadRequest) IsServerError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudV2VolumesClonetasksGetBadRequest) String added in v1.2.2

type PcloudV2VolumesClonetasksGetConflict added in v1.0.46

type PcloudV2VolumesClonetasksGetConflict struct {
	Payload *models.Error
}

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

Conflict

func NewPcloudV2VolumesClonetasksGetConflict added in v1.0.46

func NewPcloudV2VolumesClonetasksGetConflict() *PcloudV2VolumesClonetasksGetConflict

NewPcloudV2VolumesClonetasksGetConflict creates a PcloudV2VolumesClonetasksGetConflict with default headers values

func (*PcloudV2VolumesClonetasksGetConflict) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumes clonetasks get conflict response

func (*PcloudV2VolumesClonetasksGetConflict) Error added in v1.0.46

func (*PcloudV2VolumesClonetasksGetConflict) GetPayload added in v1.1.0

func (*PcloudV2VolumesClonetasksGetConflict) IsClientError added in v1.2.2

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 added in v1.2.2

IsCode returns true when this pcloud v2 volumes clonetasks get conflict response a status code equal to that given

func (*PcloudV2VolumesClonetasksGetConflict) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumes clonetasks get conflict response has a 3xx status code

func (*PcloudV2VolumesClonetasksGetConflict) IsServerError added in v1.2.2

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 added in v1.2.2

IsSuccess returns true when this pcloud v2 volumes clonetasks get conflict response has a 2xx status code

func (*PcloudV2VolumesClonetasksGetConflict) String added in v1.2.2

type PcloudV2VolumesClonetasksGetForbidden added in v1.2.2

type PcloudV2VolumesClonetasksGetForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPcloudV2VolumesClonetasksGetForbidden added in v1.2.2

func NewPcloudV2VolumesClonetasksGetForbidden() *PcloudV2VolumesClonetasksGetForbidden

NewPcloudV2VolumesClonetasksGetForbidden creates a PcloudV2VolumesClonetasksGetForbidden with default headers values

func (*PcloudV2VolumesClonetasksGetForbidden) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumes clonetasks get forbidden response

func (*PcloudV2VolumesClonetasksGetForbidden) Error added in v1.2.2

func (*PcloudV2VolumesClonetasksGetForbidden) GetPayload added in v1.2.2

func (*PcloudV2VolumesClonetasksGetForbidden) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudV2VolumesClonetasksGetForbidden) IsRedirect added in v1.2.2

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

func (*PcloudV2VolumesClonetasksGetForbidden) IsServerError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudV2VolumesClonetasksGetForbidden) String added in v1.2.2

type PcloudV2VolumesClonetasksGetInternalServerError added in v1.0.46

type PcloudV2VolumesClonetasksGetInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewPcloudV2VolumesClonetasksGetInternalServerError added in v1.0.46

func NewPcloudV2VolumesClonetasksGetInternalServerError() *PcloudV2VolumesClonetasksGetInternalServerError

NewPcloudV2VolumesClonetasksGetInternalServerError creates a PcloudV2VolumesClonetasksGetInternalServerError with default headers values

func (*PcloudV2VolumesClonetasksGetInternalServerError) Code added in v1.2.4

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

func (*PcloudV2VolumesClonetasksGetInternalServerError) Error added in v1.0.46

func (*PcloudV2VolumesClonetasksGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudV2VolumesClonetasksGetInternalServerError) IsClientError added in v1.2.2

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

func (*PcloudV2VolumesClonetasksGetInternalServerError) IsCode added in v1.2.2

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

func (*PcloudV2VolumesClonetasksGetInternalServerError) IsRedirect added in v1.2.2

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

func (*PcloudV2VolumesClonetasksGetInternalServerError) IsServerError added in v1.2.2

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

func (*PcloudV2VolumesClonetasksGetInternalServerError) IsSuccess added in v1.2.2

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

func (*PcloudV2VolumesClonetasksGetInternalServerError) String added in v1.2.2

type PcloudV2VolumesClonetasksGetNotFound added in v1.0.46

type PcloudV2VolumesClonetasksGetNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewPcloudV2VolumesClonetasksGetNotFound added in v1.0.46

func NewPcloudV2VolumesClonetasksGetNotFound() *PcloudV2VolumesClonetasksGetNotFound

NewPcloudV2VolumesClonetasksGetNotFound creates a PcloudV2VolumesClonetasksGetNotFound with default headers values

func (*PcloudV2VolumesClonetasksGetNotFound) Code added in v1.2.4

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

func (*PcloudV2VolumesClonetasksGetNotFound) Error added in v1.0.46

func (*PcloudV2VolumesClonetasksGetNotFound) GetPayload added in v1.1.0

func (*PcloudV2VolumesClonetasksGetNotFound) IsClientError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudV2VolumesClonetasksGetNotFound) IsRedirect added in v1.2.2

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

func (*PcloudV2VolumesClonetasksGetNotFound) IsServerError added in v1.2.2

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 added in v1.2.2

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

func (*PcloudV2VolumesClonetasksGetNotFound) String added in v1.2.2

type PcloudV2VolumesClonetasksGetOK added in v1.0.46

type PcloudV2VolumesClonetasksGetOK struct {
	Payload *models.CloneTaskStatus
}

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

OK

func NewPcloudV2VolumesClonetasksGetOK added in v1.0.46

func NewPcloudV2VolumesClonetasksGetOK() *PcloudV2VolumesClonetasksGetOK

NewPcloudV2VolumesClonetasksGetOK creates a PcloudV2VolumesClonetasksGetOK with default headers values

func (*PcloudV2VolumesClonetasksGetOK) Code added in v1.2.4

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

func (*PcloudV2VolumesClonetasksGetOK) Error added in v1.0.46

func (*PcloudV2VolumesClonetasksGetOK) GetPayload added in v1.1.0

func (*PcloudV2VolumesClonetasksGetOK) IsClientError added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

type PcloudV2VolumesClonetasksGetParams added in v1.0.46

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 added in v1.0.46

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 added in v1.0.46

func NewPcloudV2VolumesClonetasksGetParamsWithContext(ctx context.Context) *PcloudV2VolumesClonetasksGetParams

NewPcloudV2VolumesClonetasksGetParamsWithContext creates a new PcloudV2VolumesClonetasksGetParams object with the ability to set a context for a request.

func NewPcloudV2VolumesClonetasksGetParamsWithHTTPClient added in v1.0.46

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 added in v1.0.46

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 added in v1.0.46

func (o *PcloudV2VolumesClonetasksGetParams) SetCloneTaskID(cloneTaskID string)

SetCloneTaskID adds the cloneTaskId to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) SetCloudInstanceID added in v1.0.46

func (o *PcloudV2VolumesClonetasksGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) SetContext added in v1.0.46

SetContext adds the context to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) SetDefaults added in v1.1.0

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 added in v1.0.46

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

SetHTTPClient adds the HTTPClient to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) SetTimeout added in v1.0.46

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

SetTimeout adds the timeout to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) WithCloneTaskID added in v1.0.46

WithCloneTaskID adds the cloneTaskID to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) WithCloudInstanceID added in v1.0.46

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) WithContext added in v1.0.46

WithContext adds the context to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) WithDefaults added in v1.1.0

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 added in v1.0.46

WithHTTPClient adds the HTTPClient to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) WithTimeout added in v1.0.46

WithTimeout adds the timeout to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) WriteToRequest added in v1.0.46

WriteToRequest writes these params to a swagger request

type PcloudV2VolumesClonetasksGetReader added in v1.0.46

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

PcloudV2VolumesClonetasksGetReader is a Reader for the PcloudV2VolumesClonetasksGet structure.

func (*PcloudV2VolumesClonetasksGetReader) ReadResponse added in v1.0.46

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

ReadResponse reads a server response into the received o.

type PcloudV2VolumesClonetasksGetUnauthorized added in v1.0.59

type PcloudV2VolumesClonetasksGetUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPcloudV2VolumesClonetasksGetUnauthorized added in v1.0.59

func NewPcloudV2VolumesClonetasksGetUnauthorized() *PcloudV2VolumesClonetasksGetUnauthorized

NewPcloudV2VolumesClonetasksGetUnauthorized creates a PcloudV2VolumesClonetasksGetUnauthorized with default headers values

func (*PcloudV2VolumesClonetasksGetUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumes clonetasks get unauthorized response

func (*PcloudV2VolumesClonetasksGetUnauthorized) Error added in v1.0.59

func (*PcloudV2VolumesClonetasksGetUnauthorized) GetPayload added in v1.1.0

func (*PcloudV2VolumesClonetasksGetUnauthorized) IsClientError added in v1.2.2

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

func (*PcloudV2VolumesClonetasksGetUnauthorized) IsCode added in v1.2.2

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

func (*PcloudV2VolumesClonetasksGetUnauthorized) IsRedirect added in v1.2.2

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

func (*PcloudV2VolumesClonetasksGetUnauthorized) IsServerError added in v1.2.2

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

func (*PcloudV2VolumesClonetasksGetUnauthorized) IsSuccess added in v1.2.2

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

func (*PcloudV2VolumesClonetasksGetUnauthorized) String added in v1.2.2

type PcloudV2VolumesDeleteAccepted added in v1.5.4

type PcloudV2VolumesDeleteAccepted struct {
	Payload *models.VolumesDeleteResponse
}

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

Accepted

func NewPcloudV2VolumesDeleteAccepted added in v1.5.4

func NewPcloudV2VolumesDeleteAccepted() *PcloudV2VolumesDeleteAccepted

NewPcloudV2VolumesDeleteAccepted creates a PcloudV2VolumesDeleteAccepted with default headers values

func (*PcloudV2VolumesDeleteAccepted) Code added in v1.5.4

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

func (*PcloudV2VolumesDeleteAccepted) Error added in v1.5.4

func (*PcloudV2VolumesDeleteAccepted) GetPayload added in v1.5.4

func (*PcloudV2VolumesDeleteAccepted) IsClientError added in v1.5.4

func (o *PcloudV2VolumesDeleteAccepted) IsClientError() bool

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

func (*PcloudV2VolumesDeleteAccepted) IsCode added in v1.5.4

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

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

func (*PcloudV2VolumesDeleteAccepted) IsRedirect added in v1.5.4

func (o *PcloudV2VolumesDeleteAccepted) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumes delete accepted response has a 3xx status code

func (*PcloudV2VolumesDeleteAccepted) IsServerError added in v1.5.4

func (o *PcloudV2VolumesDeleteAccepted) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes delete accepted response has a 5xx status code

func (*PcloudV2VolumesDeleteAccepted) IsSuccess added in v1.5.4

func (o *PcloudV2VolumesDeleteAccepted) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumes delete accepted response has a 2xx status code

func (*PcloudV2VolumesDeleteAccepted) String added in v1.5.4

type PcloudV2VolumesDeleteBadRequest added in v1.5.4

type PcloudV2VolumesDeleteBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumesDeleteBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudV2VolumesDeleteBadRequest added in v1.5.4

func NewPcloudV2VolumesDeleteBadRequest() *PcloudV2VolumesDeleteBadRequest

NewPcloudV2VolumesDeleteBadRequest creates a PcloudV2VolumesDeleteBadRequest with default headers values

func (*PcloudV2VolumesDeleteBadRequest) Code added in v1.5.4

Code gets the status code for the pcloud v2 volumes delete bad request response

func (*PcloudV2VolumesDeleteBadRequest) Error added in v1.5.4

func (*PcloudV2VolumesDeleteBadRequest) GetPayload added in v1.5.4

func (o *PcloudV2VolumesDeleteBadRequest) GetPayload() *models.Error

func (*PcloudV2VolumesDeleteBadRequest) IsClientError added in v1.5.4

func (o *PcloudV2VolumesDeleteBadRequest) IsClientError() bool

IsClientError returns true when this pcloud v2 volumes delete bad request response has a 4xx status code

func (*PcloudV2VolumesDeleteBadRequest) IsCode added in v1.5.4

func (o *PcloudV2VolumesDeleteBadRequest) IsCode(code int) bool

IsCode returns true when this pcloud v2 volumes delete bad request response a status code equal to that given

func (*PcloudV2VolumesDeleteBadRequest) IsRedirect added in v1.5.4

func (o *PcloudV2VolumesDeleteBadRequest) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumes delete bad request response has a 3xx status code

func (*PcloudV2VolumesDeleteBadRequest) IsServerError added in v1.5.4

func (o *PcloudV2VolumesDeleteBadRequest) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes delete bad request response has a 5xx status code

func (*PcloudV2VolumesDeleteBadRequest) IsSuccess added in v1.5.4

func (o *PcloudV2VolumesDeleteBadRequest) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumes delete bad request response has a 2xx status code

func (*PcloudV2VolumesDeleteBadRequest) String added in v1.5.4

type PcloudV2VolumesDeleteInternalServerError added in v1.5.4

type PcloudV2VolumesDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumesDeleteInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudV2VolumesDeleteInternalServerError added in v1.5.4

func NewPcloudV2VolumesDeleteInternalServerError() *PcloudV2VolumesDeleteInternalServerError

NewPcloudV2VolumesDeleteInternalServerError creates a PcloudV2VolumesDeleteInternalServerError with default headers values

func (*PcloudV2VolumesDeleteInternalServerError) Code added in v1.5.4

Code gets the status code for the pcloud v2 volumes delete internal server error response

func (*PcloudV2VolumesDeleteInternalServerError) Error added in v1.5.4

func (*PcloudV2VolumesDeleteInternalServerError) GetPayload added in v1.5.4

func (*PcloudV2VolumesDeleteInternalServerError) IsClientError added in v1.5.4

IsClientError returns true when this pcloud v2 volumes delete internal server error response has a 4xx status code

func (*PcloudV2VolumesDeleteInternalServerError) IsCode added in v1.5.4

IsCode returns true when this pcloud v2 volumes delete internal server error response a status code equal to that given

func (*PcloudV2VolumesDeleteInternalServerError) IsRedirect added in v1.5.4

IsRedirect returns true when this pcloud v2 volumes delete internal server error response has a 3xx status code

func (*PcloudV2VolumesDeleteInternalServerError) IsServerError added in v1.5.4

IsServerError returns true when this pcloud v2 volumes delete internal server error response has a 5xx status code

func (*PcloudV2VolumesDeleteInternalServerError) IsSuccess added in v1.5.4

IsSuccess returns true when this pcloud v2 volumes delete internal server error response has a 2xx status code

func (*PcloudV2VolumesDeleteInternalServerError) String added in v1.5.4

type PcloudV2VolumesDeleteNotFound added in v1.5.4

type PcloudV2VolumesDeleteNotFound struct {
	Payload *models.Error
}

PcloudV2VolumesDeleteNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudV2VolumesDeleteNotFound added in v1.5.4

func NewPcloudV2VolumesDeleteNotFound() *PcloudV2VolumesDeleteNotFound

NewPcloudV2VolumesDeleteNotFound creates a PcloudV2VolumesDeleteNotFound with default headers values

func (*PcloudV2VolumesDeleteNotFound) Code added in v1.5.4

Code gets the status code for the pcloud v2 volumes delete not found response

func (*PcloudV2VolumesDeleteNotFound) Error added in v1.5.4

func (*PcloudV2VolumesDeleteNotFound) GetPayload added in v1.5.4

func (o *PcloudV2VolumesDeleteNotFound) GetPayload() *models.Error

func (*PcloudV2VolumesDeleteNotFound) IsClientError added in v1.5.4

func (o *PcloudV2VolumesDeleteNotFound) IsClientError() bool

IsClientError returns true when this pcloud v2 volumes delete not found response has a 4xx status code

func (*PcloudV2VolumesDeleteNotFound) IsCode added in v1.5.4

func (o *PcloudV2VolumesDeleteNotFound) IsCode(code int) bool

IsCode returns true when this pcloud v2 volumes delete not found response a status code equal to that given

func (*PcloudV2VolumesDeleteNotFound) IsRedirect added in v1.5.4

func (o *PcloudV2VolumesDeleteNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumes delete not found response has a 3xx status code

func (*PcloudV2VolumesDeleteNotFound) IsServerError added in v1.5.4

func (o *PcloudV2VolumesDeleteNotFound) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes delete not found response has a 5xx status code

func (*PcloudV2VolumesDeleteNotFound) IsSuccess added in v1.5.4

func (o *PcloudV2VolumesDeleteNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumes delete not found response has a 2xx status code

func (*PcloudV2VolumesDeleteNotFound) String added in v1.5.4

type PcloudV2VolumesDeleteParams added in v1.5.4

type PcloudV2VolumesDeleteParams struct {

	/* Body.

	   Parameters to delete volumes
	*/
	Body *models.VolumesDelete

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudV2VolumesDeleteParams contains all the parameters to send to the API endpoint

for the pcloud v2 volumes delete operation.

Typically these are written to a http.Request.

func NewPcloudV2VolumesDeleteParams added in v1.5.4

func NewPcloudV2VolumesDeleteParams() *PcloudV2VolumesDeleteParams

NewPcloudV2VolumesDeleteParams creates a new PcloudV2VolumesDeleteParams 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 NewPcloudV2VolumesDeleteParamsWithContext added in v1.5.4

func NewPcloudV2VolumesDeleteParamsWithContext(ctx context.Context) *PcloudV2VolumesDeleteParams

NewPcloudV2VolumesDeleteParamsWithContext creates a new PcloudV2VolumesDeleteParams object with the ability to set a context for a request.

func NewPcloudV2VolumesDeleteParamsWithHTTPClient added in v1.5.4

func NewPcloudV2VolumesDeleteParamsWithHTTPClient(client *http.Client) *PcloudV2VolumesDeleteParams

NewPcloudV2VolumesDeleteParamsWithHTTPClient creates a new PcloudV2VolumesDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudV2VolumesDeleteParamsWithTimeout added in v1.5.4

func NewPcloudV2VolumesDeleteParamsWithTimeout(timeout time.Duration) *PcloudV2VolumesDeleteParams

NewPcloudV2VolumesDeleteParamsWithTimeout creates a new PcloudV2VolumesDeleteParams object with the ability to set a timeout on a request.

func (*PcloudV2VolumesDeleteParams) SetBody added in v1.5.4

SetBody adds the body to the pcloud v2 volumes delete params

func (*PcloudV2VolumesDeleteParams) SetCloudInstanceID added in v1.5.4

func (o *PcloudV2VolumesDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumes delete params

func (*PcloudV2VolumesDeleteParams) SetContext added in v1.5.4

func (o *PcloudV2VolumesDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud v2 volumes delete params

func (*PcloudV2VolumesDeleteParams) SetDefaults added in v1.5.4

func (o *PcloudV2VolumesDeleteParams) SetDefaults()

SetDefaults hydrates default values in the pcloud v2 volumes delete params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2VolumesDeleteParams) SetHTTPClient added in v1.5.4

func (o *PcloudV2VolumesDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 volumes delete params

func (*PcloudV2VolumesDeleteParams) SetTimeout added in v1.5.4

func (o *PcloudV2VolumesDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 volumes delete params

func (*PcloudV2VolumesDeleteParams) WithBody added in v1.5.4

WithBody adds the body to the pcloud v2 volumes delete params

func (*PcloudV2VolumesDeleteParams) WithCloudInstanceID added in v1.5.4

func (o *PcloudV2VolumesDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumesDeleteParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumes delete params

func (*PcloudV2VolumesDeleteParams) WithContext added in v1.5.4

WithContext adds the context to the pcloud v2 volumes delete params

func (*PcloudV2VolumesDeleteParams) WithDefaults added in v1.5.4

WithDefaults hydrates default values in the pcloud v2 volumes delete params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudV2VolumesDeleteParams) WithHTTPClient added in v1.5.4

WithHTTPClient adds the HTTPClient to the pcloud v2 volumes delete params

func (*PcloudV2VolumesDeleteParams) WithTimeout added in v1.5.4

WithTimeout adds the timeout to the pcloud v2 volumes delete params

func (*PcloudV2VolumesDeleteParams) WriteToRequest added in v1.5.4

WriteToRequest writes these params to a swagger request

type PcloudV2VolumesDeletePartialContent added in v1.5.4

type PcloudV2VolumesDeletePartialContent struct {
	Payload *models.VolumesDeleteResponse
}

PcloudV2VolumesDeletePartialContent describes a response with status code 206, with default header values.

Partial Content

func NewPcloudV2VolumesDeletePartialContent added in v1.5.4

func NewPcloudV2VolumesDeletePartialContent() *PcloudV2VolumesDeletePartialContent

NewPcloudV2VolumesDeletePartialContent creates a PcloudV2VolumesDeletePartialContent with default headers values

func (*PcloudV2VolumesDeletePartialContent) Code added in v1.5.4

Code gets the status code for the pcloud v2 volumes delete partial content response

func (*PcloudV2VolumesDeletePartialContent) Error added in v1.5.4

func (*PcloudV2VolumesDeletePartialContent) GetPayload added in v1.5.4

func (*PcloudV2VolumesDeletePartialContent) IsClientError added in v1.5.4

func (o *PcloudV2VolumesDeletePartialContent) IsClientError() bool

IsClientError returns true when this pcloud v2 volumes delete partial content response has a 4xx status code

func (*PcloudV2VolumesDeletePartialContent) IsCode added in v1.5.4

IsCode returns true when this pcloud v2 volumes delete partial content response a status code equal to that given

func (*PcloudV2VolumesDeletePartialContent) IsRedirect added in v1.5.4

func (o *PcloudV2VolumesDeletePartialContent) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumes delete partial content response has a 3xx status code

func (*PcloudV2VolumesDeletePartialContent) IsServerError added in v1.5.4

func (o *PcloudV2VolumesDeletePartialContent) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes delete partial content response has a 5xx status code

func (*PcloudV2VolumesDeletePartialContent) IsSuccess added in v1.5.4

IsSuccess returns true when this pcloud v2 volumes delete partial content response has a 2xx status code

func (*PcloudV2VolumesDeletePartialContent) String added in v1.5.4

type PcloudV2VolumesDeleteReader added in v1.5.4

type PcloudV2VolumesDeleteReader struct {
	// contains filtered or unexported fields
}

PcloudV2VolumesDeleteReader is a Reader for the PcloudV2VolumesDelete structure.

func (*PcloudV2VolumesDeleteReader) ReadResponse added in v1.5.4

func (o *PcloudV2VolumesDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2VolumesDeleteRequestTimeout added in v1.5.4

type PcloudV2VolumesDeleteRequestTimeout struct {
	Payload *models.Error
}

PcloudV2VolumesDeleteRequestTimeout describes a response with status code 408, with default header values.

Request Timeout

func NewPcloudV2VolumesDeleteRequestTimeout added in v1.5.4

func NewPcloudV2VolumesDeleteRequestTimeout() *PcloudV2VolumesDeleteRequestTimeout

NewPcloudV2VolumesDeleteRequestTimeout creates a PcloudV2VolumesDeleteRequestTimeout with default headers values

func (*PcloudV2VolumesDeleteRequestTimeout) Code added in v1.5.4

Code gets the status code for the pcloud v2 volumes delete request timeout response

func (*PcloudV2VolumesDeleteRequestTimeout) Error added in v1.5.4

func (*PcloudV2VolumesDeleteRequestTimeout) GetPayload added in v1.5.4

func (*PcloudV2VolumesDeleteRequestTimeout) IsClientError added in v1.5.4

func (o *PcloudV2VolumesDeleteRequestTimeout) IsClientError() bool

IsClientError returns true when this pcloud v2 volumes delete request timeout response has a 4xx status code

func (*PcloudV2VolumesDeleteRequestTimeout) IsCode added in v1.5.4

IsCode returns true when this pcloud v2 volumes delete request timeout response a status code equal to that given

func (*PcloudV2VolumesDeleteRequestTimeout) IsRedirect added in v1.5.4

func (o *PcloudV2VolumesDeleteRequestTimeout) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumes delete request timeout response has a 3xx status code

func (*PcloudV2VolumesDeleteRequestTimeout) IsServerError added in v1.5.4

func (o *PcloudV2VolumesDeleteRequestTimeout) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes delete request timeout response has a 5xx status code

func (*PcloudV2VolumesDeleteRequestTimeout) IsSuccess added in v1.5.4

IsSuccess returns true when this pcloud v2 volumes delete request timeout response has a 2xx status code

func (*PcloudV2VolumesDeleteRequestTimeout) String added in v1.5.4

type PcloudV2VolumesDeleteTooManyRequests added in v1.5.4

type PcloudV2VolumesDeleteTooManyRequests struct {
	Payload *models.Error
}

PcloudV2VolumesDeleteTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewPcloudV2VolumesDeleteTooManyRequests added in v1.5.4

func NewPcloudV2VolumesDeleteTooManyRequests() *PcloudV2VolumesDeleteTooManyRequests

NewPcloudV2VolumesDeleteTooManyRequests creates a PcloudV2VolumesDeleteTooManyRequests with default headers values

func (*PcloudV2VolumesDeleteTooManyRequests) Code added in v1.5.4

Code gets the status code for the pcloud v2 volumes delete too many requests response

func (*PcloudV2VolumesDeleteTooManyRequests) Error added in v1.5.4

func (*PcloudV2VolumesDeleteTooManyRequests) GetPayload added in v1.5.4

func (*PcloudV2VolumesDeleteTooManyRequests) IsClientError added in v1.5.4

func (o *PcloudV2VolumesDeleteTooManyRequests) IsClientError() bool

IsClientError returns true when this pcloud v2 volumes delete too many requests response has a 4xx status code

func (*PcloudV2VolumesDeleteTooManyRequests) IsCode added in v1.5.4

IsCode returns true when this pcloud v2 volumes delete too many requests response a status code equal to that given

func (*PcloudV2VolumesDeleteTooManyRequests) IsRedirect added in v1.5.4

IsRedirect returns true when this pcloud v2 volumes delete too many requests response has a 3xx status code

func (*PcloudV2VolumesDeleteTooManyRequests) IsServerError added in v1.5.4

func (o *PcloudV2VolumesDeleteTooManyRequests) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes delete too many requests response has a 5xx status code

func (*PcloudV2VolumesDeleteTooManyRequests) IsSuccess added in v1.5.4

IsSuccess returns true when this pcloud v2 volumes delete too many requests response has a 2xx status code

func (*PcloudV2VolumesDeleteTooManyRequests) String added in v1.5.4

type PcloudV2VolumesDeleteUnauthorized added in v1.5.4

type PcloudV2VolumesDeleteUnauthorized struct {
	Payload *models.Error
}

PcloudV2VolumesDeleteUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudV2VolumesDeleteUnauthorized added in v1.5.4

func NewPcloudV2VolumesDeleteUnauthorized() *PcloudV2VolumesDeleteUnauthorized

NewPcloudV2VolumesDeleteUnauthorized creates a PcloudV2VolumesDeleteUnauthorized with default headers values

func (*PcloudV2VolumesDeleteUnauthorized) Code added in v1.5.4

Code gets the status code for the pcloud v2 volumes delete unauthorized response

func (*PcloudV2VolumesDeleteUnauthorized) Error added in v1.5.4

func (*PcloudV2VolumesDeleteUnauthorized) GetPayload added in v1.5.4

func (*PcloudV2VolumesDeleteUnauthorized) IsClientError added in v1.5.4

func (o *PcloudV2VolumesDeleteUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud v2 volumes delete unauthorized response has a 4xx status code

func (*PcloudV2VolumesDeleteUnauthorized) IsCode added in v1.5.4

func (o *PcloudV2VolumesDeleteUnauthorized) IsCode(code int) bool

IsCode returns true when this pcloud v2 volumes delete unauthorized response a status code equal to that given

func (*PcloudV2VolumesDeleteUnauthorized) IsRedirect added in v1.5.4

func (o *PcloudV2VolumesDeleteUnauthorized) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumes delete unauthorized response has a 3xx status code

func (*PcloudV2VolumesDeleteUnauthorized) IsServerError added in v1.5.4

func (o *PcloudV2VolumesDeleteUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes delete unauthorized response has a 5xx status code

func (*PcloudV2VolumesDeleteUnauthorized) IsSuccess added in v1.5.4

func (o *PcloudV2VolumesDeleteUnauthorized) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumes delete unauthorized response has a 2xx status code

func (*PcloudV2VolumesDeleteUnauthorized) String added in v1.5.4

type PcloudV2VolumesPostBadRequest added in v1.0.38

type PcloudV2VolumesPostBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumesPostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudV2VolumesPostBadRequest added in v1.0.38

func NewPcloudV2VolumesPostBadRequest() *PcloudV2VolumesPostBadRequest

NewPcloudV2VolumesPostBadRequest creates a PcloudV2VolumesPostBadRequest with default headers values

func (*PcloudV2VolumesPostBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumes post bad request response

func (*PcloudV2VolumesPostBadRequest) Error added in v1.0.38

func (*PcloudV2VolumesPostBadRequest) GetPayload added in v1.1.0

func (o *PcloudV2VolumesPostBadRequest) GetPayload() *models.Error

func (*PcloudV2VolumesPostBadRequest) IsClientError added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

type PcloudV2VolumesPostConflict added in v1.0.38

type PcloudV2VolumesPostConflict struct {
	Payload *models.Error
}

PcloudV2VolumesPostConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudV2VolumesPostConflict added in v1.0.38

func NewPcloudV2VolumesPostConflict() *PcloudV2VolumesPostConflict

NewPcloudV2VolumesPostConflict creates a PcloudV2VolumesPostConflict with default headers values

func (*PcloudV2VolumesPostConflict) Code added in v1.2.4

func (o *PcloudV2VolumesPostConflict) Code() int

Code gets the status code for the pcloud v2 volumes post conflict response

func (*PcloudV2VolumesPostConflict) Error added in v1.0.38

func (*PcloudV2VolumesPostConflict) GetPayload added in v1.1.0

func (o *PcloudV2VolumesPostConflict) GetPayload() *models.Error

func (*PcloudV2VolumesPostConflict) IsClientError added in v1.2.2

func (o *PcloudV2VolumesPostConflict) IsClientError() bool

IsClientError returns true when this pcloud v2 volumes post conflict response has a 4xx status code

func (*PcloudV2VolumesPostConflict) IsCode added in v1.2.2

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 added in v1.2.2

func (o *PcloudV2VolumesPostConflict) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumes post conflict response has a 3xx status code

func (*PcloudV2VolumesPostConflict) IsServerError added in v1.2.2

func (o *PcloudV2VolumesPostConflict) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes post conflict response has a 5xx status code

func (*PcloudV2VolumesPostConflict) IsSuccess added in v1.2.2

func (o *PcloudV2VolumesPostConflict) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumes post conflict response has a 2xx status code

func (*PcloudV2VolumesPostConflict) String added in v1.2.2

func (o *PcloudV2VolumesPostConflict) String() string

type PcloudV2VolumesPostCreated added in v1.0.38

type PcloudV2VolumesPostCreated struct {
	Payload *models.Volumes
}

PcloudV2VolumesPostCreated describes a response with status code 201, with default header values.

Created

func NewPcloudV2VolumesPostCreated added in v1.0.38

func NewPcloudV2VolumesPostCreated() *PcloudV2VolumesPostCreated

NewPcloudV2VolumesPostCreated creates a PcloudV2VolumesPostCreated with default headers values

func (*PcloudV2VolumesPostCreated) Code added in v1.2.4

func (o *PcloudV2VolumesPostCreated) Code() int

Code gets the status code for the pcloud v2 volumes post created response

func (*PcloudV2VolumesPostCreated) Error added in v1.0.38

func (*PcloudV2VolumesPostCreated) GetPayload added in v1.1.0

func (o *PcloudV2VolumesPostCreated) GetPayload() *models.Volumes

func (*PcloudV2VolumesPostCreated) IsClientError added in v1.2.2

func (o *PcloudV2VolumesPostCreated) IsClientError() bool

IsClientError returns true when this pcloud v2 volumes post created response has a 4xx status code

func (*PcloudV2VolumesPostCreated) IsCode added in v1.2.2

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 added in v1.2.2

func (o *PcloudV2VolumesPostCreated) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumes post created response has a 3xx status code

func (*PcloudV2VolumesPostCreated) IsServerError added in v1.2.2

func (o *PcloudV2VolumesPostCreated) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes post created response has a 5xx status code

func (*PcloudV2VolumesPostCreated) IsSuccess added in v1.2.2

func (o *PcloudV2VolumesPostCreated) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumes post created response has a 2xx status code

func (*PcloudV2VolumesPostCreated) String added in v1.2.2

func (o *PcloudV2VolumesPostCreated) String() string

type PcloudV2VolumesPostForbidden added in v1.1.12

type PcloudV2VolumesPostForbidden struct {
	Payload *models.Error
}

PcloudV2VolumesPostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudV2VolumesPostForbidden added in v1.1.12

func NewPcloudV2VolumesPostForbidden() *PcloudV2VolumesPostForbidden

NewPcloudV2VolumesPostForbidden creates a PcloudV2VolumesPostForbidden with default headers values

func (*PcloudV2VolumesPostForbidden) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumes post forbidden response

func (*PcloudV2VolumesPostForbidden) Error added in v1.1.12

func (*PcloudV2VolumesPostForbidden) GetPayload added in v1.1.12

func (o *PcloudV2VolumesPostForbidden) GetPayload() *models.Error

func (*PcloudV2VolumesPostForbidden) IsClientError added in v1.2.2

func (o *PcloudV2VolumesPostForbidden) IsClientError() bool

IsClientError returns true when this pcloud v2 volumes post forbidden response has a 4xx status code

func (*PcloudV2VolumesPostForbidden) IsCode added in v1.2.2

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 added in v1.2.2

func (o *PcloudV2VolumesPostForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumes post forbidden response has a 3xx status code

func (*PcloudV2VolumesPostForbidden) IsServerError added in v1.2.2

func (o *PcloudV2VolumesPostForbidden) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes post forbidden response has a 5xx status code

func (*PcloudV2VolumesPostForbidden) IsSuccess added in v1.2.2

func (o *PcloudV2VolumesPostForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumes post forbidden response has a 2xx status code

func (*PcloudV2VolumesPostForbidden) String added in v1.2.2

type PcloudV2VolumesPostInternalServerError added in v1.0.38

type PcloudV2VolumesPostInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumesPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudV2VolumesPostInternalServerError added in v1.0.38

func NewPcloudV2VolumesPostInternalServerError() *PcloudV2VolumesPostInternalServerError

NewPcloudV2VolumesPostInternalServerError creates a PcloudV2VolumesPostInternalServerError with default headers values

func (*PcloudV2VolumesPostInternalServerError) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumes post internal server error response

func (*PcloudV2VolumesPostInternalServerError) Error added in v1.0.38

func (*PcloudV2VolumesPostInternalServerError) GetPayload added in v1.1.0

func (*PcloudV2VolumesPostInternalServerError) IsClientError added in v1.2.2

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 added in v1.2.2

IsCode returns true when this pcloud v2 volumes post internal server error response a status code equal to that given

func (*PcloudV2VolumesPostInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumes post internal server error response has a 3xx status code

func (*PcloudV2VolumesPostInternalServerError) IsServerError added in v1.2.2

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 added in v1.2.2

IsSuccess returns true when this pcloud v2 volumes post internal server error response has a 2xx status code

func (*PcloudV2VolumesPostInternalServerError) String added in v1.2.2

type PcloudV2VolumesPostNotFound added in v1.4.2

type PcloudV2VolumesPostNotFound struct {
	Payload *models.Error
}

PcloudV2VolumesPostNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudV2VolumesPostNotFound added in v1.4.2

func NewPcloudV2VolumesPostNotFound() *PcloudV2VolumesPostNotFound

NewPcloudV2VolumesPostNotFound creates a PcloudV2VolumesPostNotFound with default headers values

func (*PcloudV2VolumesPostNotFound) Code added in v1.4.2

func (o *PcloudV2VolumesPostNotFound) Code() int

Code gets the status code for the pcloud v2 volumes post not found response

func (*PcloudV2VolumesPostNotFound) Error added in v1.4.2

func (*PcloudV2VolumesPostNotFound) GetPayload added in v1.4.2

func (o *PcloudV2VolumesPostNotFound) GetPayload() *models.Error

func (*PcloudV2VolumesPostNotFound) IsClientError added in v1.4.2

func (o *PcloudV2VolumesPostNotFound) IsClientError() bool

IsClientError returns true when this pcloud v2 volumes post not found response has a 4xx status code

func (*PcloudV2VolumesPostNotFound) IsCode added in v1.4.2

func (o *PcloudV2VolumesPostNotFound) IsCode(code int) bool

IsCode returns true when this pcloud v2 volumes post not found response a status code equal to that given

func (*PcloudV2VolumesPostNotFound) IsRedirect added in v1.4.2

func (o *PcloudV2VolumesPostNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumes post not found response has a 3xx status code

func (*PcloudV2VolumesPostNotFound) IsServerError added in v1.4.2

func (o *PcloudV2VolumesPostNotFound) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes post not found response has a 5xx status code

func (*PcloudV2VolumesPostNotFound) IsSuccess added in v1.4.2

func (o *PcloudV2VolumesPostNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumes post not found response has a 2xx status code

func (*PcloudV2VolumesPostNotFound) String added in v1.4.2

func (o *PcloudV2VolumesPostNotFound) String() string

type PcloudV2VolumesPostParams added in v1.0.38

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 added in v1.0.38

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 added in v1.0.38

func NewPcloudV2VolumesPostParamsWithContext(ctx context.Context) *PcloudV2VolumesPostParams

NewPcloudV2VolumesPostParamsWithContext creates a new PcloudV2VolumesPostParams object with the ability to set a context for a request.

func NewPcloudV2VolumesPostParamsWithHTTPClient added in v1.0.38

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 added in v1.0.38

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 added in v1.0.38

SetBody adds the body to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) SetCloudInstanceID added in v1.0.38

func (o *PcloudV2VolumesPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) SetContext added in v1.0.38

func (o *PcloudV2VolumesPostParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) SetDefaults added in v1.1.0

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 added in v1.0.38

func (o *PcloudV2VolumesPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) SetTimeout added in v1.0.38

func (o *PcloudV2VolumesPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) WithBody added in v1.0.38

WithBody adds the body to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) WithCloudInstanceID added in v1.0.38

func (o *PcloudV2VolumesPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumesPostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) WithContext added in v1.0.38

WithContext adds the context to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) WithDefaults added in v1.1.0

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 added in v1.0.38

func (o *PcloudV2VolumesPostParams) WithHTTPClient(client *http.Client) *PcloudV2VolumesPostParams

WithHTTPClient adds the HTTPClient to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) WithTimeout added in v1.0.38

WithTimeout adds the timeout to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) WriteToRequest added in v1.0.38

WriteToRequest writes these params to a swagger request

type PcloudV2VolumesPostReader added in v1.0.38

type PcloudV2VolumesPostReader struct {
	// contains filtered or unexported fields
}

PcloudV2VolumesPostReader is a Reader for the PcloudV2VolumesPost structure.

func (*PcloudV2VolumesPostReader) ReadResponse added in v1.0.38

func (o *PcloudV2VolumesPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2VolumesPostUnauthorized added in v1.0.59

type PcloudV2VolumesPostUnauthorized struct {
	Payload *models.Error
}

PcloudV2VolumesPostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudV2VolumesPostUnauthorized added in v1.0.59

func NewPcloudV2VolumesPostUnauthorized() *PcloudV2VolumesPostUnauthorized

NewPcloudV2VolumesPostUnauthorized creates a PcloudV2VolumesPostUnauthorized with default headers values

func (*PcloudV2VolumesPostUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumes post unauthorized response

func (*PcloudV2VolumesPostUnauthorized) Error added in v1.0.59

func (*PcloudV2VolumesPostUnauthorized) GetPayload added in v1.1.0

func (o *PcloudV2VolumesPostUnauthorized) GetPayload() *models.Error

func (*PcloudV2VolumesPostUnauthorized) IsClientError added in v1.2.2

func (o *PcloudV2VolumesPostUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud v2 volumes post unauthorized response has a 4xx status code

func (*PcloudV2VolumesPostUnauthorized) IsCode added in v1.2.2

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 added in v1.2.2

func (o *PcloudV2VolumesPostUnauthorized) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumes post unauthorized response has a 3xx status code

func (*PcloudV2VolumesPostUnauthorized) IsServerError added in v1.2.2

func (o *PcloudV2VolumesPostUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud v2 volumes post unauthorized response has a 5xx status code

func (*PcloudV2VolumesPostUnauthorized) IsSuccess added in v1.2.2

func (o *PcloudV2VolumesPostUnauthorized) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumes post unauthorized response has a 2xx status code

func (*PcloudV2VolumesPostUnauthorized) String added in v1.2.2

type PcloudV2VolumesPostUnprocessableEntity added in v1.0.56

type PcloudV2VolumesPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudV2VolumesPostUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewPcloudV2VolumesPostUnprocessableEntity added in v1.0.56

func NewPcloudV2VolumesPostUnprocessableEntity() *PcloudV2VolumesPostUnprocessableEntity

NewPcloudV2VolumesPostUnprocessableEntity creates a PcloudV2VolumesPostUnprocessableEntity with default headers values

func (*PcloudV2VolumesPostUnprocessableEntity) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumes post unprocessable entity response

func (*PcloudV2VolumesPostUnprocessableEntity) Error added in v1.0.56

func (*PcloudV2VolumesPostUnprocessableEntity) GetPayload added in v1.1.0

func (*PcloudV2VolumesPostUnprocessableEntity) IsClientError added in v1.2.2

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 added in v1.2.2

IsCode returns true when this pcloud v2 volumes post unprocessable entity response a status code equal to that given

func (*PcloudV2VolumesPostUnprocessableEntity) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumes post unprocessable entity response has a 3xx status code

func (*PcloudV2VolumesPostUnprocessableEntity) IsServerError added in v1.2.2

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 added in v1.2.2

IsSuccess returns true when this pcloud v2 volumes post unprocessable entity response has a 2xx status code

func (*PcloudV2VolumesPostUnprocessableEntity) String added in v1.2.2

type PcloudV2VolumescloneCancelPostAccepted added in v1.0.48

type PcloudV2VolumescloneCancelPostAccepted struct {
	Payload *models.VolumesClone
}

PcloudV2VolumescloneCancelPostAccepted describes a response with status code 202, with default header values.

Accepted

func NewPcloudV2VolumescloneCancelPostAccepted added in v1.0.48

func NewPcloudV2VolumescloneCancelPostAccepted() *PcloudV2VolumescloneCancelPostAccepted

NewPcloudV2VolumescloneCancelPostAccepted creates a PcloudV2VolumescloneCancelPostAccepted with default headers values

func (*PcloudV2VolumescloneCancelPostAccepted) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone cancel post accepted response

func (*PcloudV2VolumescloneCancelPostAccepted) Error added in v1.0.48

func (*PcloudV2VolumescloneCancelPostAccepted) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneCancelPostAccepted) IsClientError added in v1.2.2

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 added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone cancel post accepted response a status code equal to that given

func (*PcloudV2VolumescloneCancelPostAccepted) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone cancel post accepted response has a 3xx status code

func (*PcloudV2VolumescloneCancelPostAccepted) IsServerError added in v1.2.2

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 added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone cancel post accepted response has a 2xx status code

func (*PcloudV2VolumescloneCancelPostAccepted) String added in v1.2.2

type PcloudV2VolumescloneCancelPostBadRequest added in v1.4.2

type PcloudV2VolumescloneCancelPostBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumescloneCancelPostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudV2VolumescloneCancelPostBadRequest added in v1.4.2

func NewPcloudV2VolumescloneCancelPostBadRequest() *PcloudV2VolumescloneCancelPostBadRequest

NewPcloudV2VolumescloneCancelPostBadRequest creates a PcloudV2VolumescloneCancelPostBadRequest with default headers values

func (*PcloudV2VolumescloneCancelPostBadRequest) Code added in v1.4.2

Code gets the status code for the pcloud v2 volumesclone cancel post bad request response

func (*PcloudV2VolumescloneCancelPostBadRequest) Error added in v1.4.2

func (*PcloudV2VolumescloneCancelPostBadRequest) GetPayload added in v1.4.2

func (*PcloudV2VolumescloneCancelPostBadRequest) IsClientError added in v1.4.2

IsClientError returns true when this pcloud v2 volumesclone cancel post bad request response has a 4xx status code

func (*PcloudV2VolumescloneCancelPostBadRequest) IsCode added in v1.4.2

IsCode returns true when this pcloud v2 volumesclone cancel post bad request response a status code equal to that given

func (*PcloudV2VolumescloneCancelPostBadRequest) IsRedirect added in v1.4.2

IsRedirect returns true when this pcloud v2 volumesclone cancel post bad request response has a 3xx status code

func (*PcloudV2VolumescloneCancelPostBadRequest) IsServerError added in v1.4.2

IsServerError returns true when this pcloud v2 volumesclone cancel post bad request response has a 5xx status code

func (*PcloudV2VolumescloneCancelPostBadRequest) IsSuccess added in v1.4.2

IsSuccess returns true when this pcloud v2 volumesclone cancel post bad request response has a 2xx status code

func (*PcloudV2VolumescloneCancelPostBadRequest) String added in v1.4.2

type PcloudV2VolumescloneCancelPostForbidden added in v1.1.12

type PcloudV2VolumescloneCancelPostForbidden struct {
	Payload *models.Error
}

PcloudV2VolumescloneCancelPostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudV2VolumescloneCancelPostForbidden added in v1.1.12

func NewPcloudV2VolumescloneCancelPostForbidden() *PcloudV2VolumescloneCancelPostForbidden

NewPcloudV2VolumescloneCancelPostForbidden creates a PcloudV2VolumescloneCancelPostForbidden with default headers values

func (*PcloudV2VolumescloneCancelPostForbidden) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone cancel post forbidden response

func (*PcloudV2VolumescloneCancelPostForbidden) Error added in v1.1.12

func (*PcloudV2VolumescloneCancelPostForbidden) GetPayload added in v1.1.12

func (*PcloudV2VolumescloneCancelPostForbidden) IsClientError added in v1.2.2

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 added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone cancel post forbidden response a status code equal to that given

func (*PcloudV2VolumescloneCancelPostForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone cancel post forbidden response has a 3xx status code

func (*PcloudV2VolumescloneCancelPostForbidden) IsServerError added in v1.2.2

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 added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone cancel post forbidden response has a 2xx status code

func (*PcloudV2VolumescloneCancelPostForbidden) String added in v1.2.2

type PcloudV2VolumescloneCancelPostInternalServerError added in v1.0.48

type PcloudV2VolumescloneCancelPostInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumescloneCancelPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudV2VolumescloneCancelPostInternalServerError added in v1.0.48

func NewPcloudV2VolumescloneCancelPostInternalServerError() *PcloudV2VolumescloneCancelPostInternalServerError

NewPcloudV2VolumescloneCancelPostInternalServerError creates a PcloudV2VolumescloneCancelPostInternalServerError with default headers values

func (*PcloudV2VolumescloneCancelPostInternalServerError) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone cancel post internal server error response

func (*PcloudV2VolumescloneCancelPostInternalServerError) Error added in v1.0.48

func (*PcloudV2VolumescloneCancelPostInternalServerError) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneCancelPostInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v2 volumesclone cancel post internal server error response has a 4xx status code

func (*PcloudV2VolumescloneCancelPostInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone cancel post internal server error response a status code equal to that given

func (*PcloudV2VolumescloneCancelPostInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone cancel post internal server error response has a 3xx status code

func (*PcloudV2VolumescloneCancelPostInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v2 volumesclone cancel post internal server error response has a 5xx status code

func (*PcloudV2VolumescloneCancelPostInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone cancel post internal server error response has a 2xx status code

func (*PcloudV2VolumescloneCancelPostInternalServerError) String added in v1.2.2

type PcloudV2VolumescloneCancelPostNotFound added in v1.0.48

type PcloudV2VolumescloneCancelPostNotFound struct {
	Payload *models.Error
}

PcloudV2VolumescloneCancelPostNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudV2VolumescloneCancelPostNotFound added in v1.0.48

func NewPcloudV2VolumescloneCancelPostNotFound() *PcloudV2VolumescloneCancelPostNotFound

NewPcloudV2VolumescloneCancelPostNotFound creates a PcloudV2VolumescloneCancelPostNotFound with default headers values

func (*PcloudV2VolumescloneCancelPostNotFound) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone cancel post not found response

func (*PcloudV2VolumescloneCancelPostNotFound) Error added in v1.0.48

func (*PcloudV2VolumescloneCancelPostNotFound) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneCancelPostNotFound) IsClientError added in v1.2.2

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 added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone cancel post not found response a status code equal to that given

func (*PcloudV2VolumescloneCancelPostNotFound) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone cancel post not found response has a 3xx status code

func (*PcloudV2VolumescloneCancelPostNotFound) IsServerError added in v1.2.2

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 added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone cancel post not found response has a 2xx status code

func (*PcloudV2VolumescloneCancelPostNotFound) String added in v1.2.2

type PcloudV2VolumescloneCancelPostParams added in v1.0.48

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 added in v1.0.48

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 added in v1.0.48

func NewPcloudV2VolumescloneCancelPostParamsWithContext(ctx context.Context) *PcloudV2VolumescloneCancelPostParams

NewPcloudV2VolumescloneCancelPostParamsWithContext creates a new PcloudV2VolumescloneCancelPostParams object with the ability to set a context for a request.

func NewPcloudV2VolumescloneCancelPostParamsWithHTTPClient added in v1.0.48

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 added in v1.0.48

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 added in v1.0.48

SetBody adds the body to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) SetCloudInstanceID added in v1.0.48

func (o *PcloudV2VolumescloneCancelPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) SetContext added in v1.0.48

SetContext adds the context to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) SetDefaults added in v1.1.0

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 added in v1.0.48

func (o *PcloudV2VolumescloneCancelPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) SetTimeout added in v1.0.48

func (o *PcloudV2VolumescloneCancelPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) SetVolumesCloneID added in v1.0.48

func (o *PcloudV2VolumescloneCancelPostParams) SetVolumesCloneID(volumesCloneID string)

SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WithBody added in v1.0.48

WithBody adds the body to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WithCloudInstanceID added in v1.0.48

func (o *PcloudV2VolumescloneCancelPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneCancelPostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WithContext added in v1.0.48

WithContext adds the context to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WithDefaults added in v1.1.0

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 added in v1.0.48

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WithTimeout added in v1.0.48

WithTimeout adds the timeout to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WithVolumesCloneID added in v1.0.48

WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WriteToRequest added in v1.0.48

WriteToRequest writes these params to a swagger request

type PcloudV2VolumescloneCancelPostReader added in v1.0.48

type PcloudV2VolumescloneCancelPostReader struct {
	// contains filtered or unexported fields
}

PcloudV2VolumescloneCancelPostReader is a Reader for the PcloudV2VolumescloneCancelPost structure.

func (*PcloudV2VolumescloneCancelPostReader) ReadResponse added in v1.0.48

func (o *PcloudV2VolumescloneCancelPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2VolumescloneCancelPostUnauthorized added in v1.0.59

type PcloudV2VolumescloneCancelPostUnauthorized struct {
	Payload *models.Error
}

PcloudV2VolumescloneCancelPostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudV2VolumescloneCancelPostUnauthorized added in v1.0.59

func NewPcloudV2VolumescloneCancelPostUnauthorized() *PcloudV2VolumescloneCancelPostUnauthorized

NewPcloudV2VolumescloneCancelPostUnauthorized creates a PcloudV2VolumescloneCancelPostUnauthorized with default headers values

func (*PcloudV2VolumescloneCancelPostUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone cancel post unauthorized response

func (*PcloudV2VolumescloneCancelPostUnauthorized) Error added in v1.0.59

func (*PcloudV2VolumescloneCancelPostUnauthorized) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneCancelPostUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v2 volumesclone cancel post unauthorized response has a 4xx status code

func (*PcloudV2VolumescloneCancelPostUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone cancel post unauthorized response a status code equal to that given

func (*PcloudV2VolumescloneCancelPostUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone cancel post unauthorized response has a 3xx status code

func (*PcloudV2VolumescloneCancelPostUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v2 volumesclone cancel post unauthorized response has a 5xx status code

func (*PcloudV2VolumescloneCancelPostUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone cancel post unauthorized response has a 2xx status code

func (*PcloudV2VolumescloneCancelPostUnauthorized) String added in v1.2.2

type PcloudV2VolumescloneDeleteBadRequest added in v1.0.48

type PcloudV2VolumescloneDeleteBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumescloneDeleteBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudV2VolumescloneDeleteBadRequest added in v1.0.48

func NewPcloudV2VolumescloneDeleteBadRequest() *PcloudV2VolumescloneDeleteBadRequest

NewPcloudV2VolumescloneDeleteBadRequest creates a PcloudV2VolumescloneDeleteBadRequest with default headers values

func (*PcloudV2VolumescloneDeleteBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone delete bad request response

func (*PcloudV2VolumescloneDeleteBadRequest) Error added in v1.0.48

func (*PcloudV2VolumescloneDeleteBadRequest) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneDeleteBadRequest) IsClientError added in v1.2.2

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 added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone delete bad request response a status code equal to that given

func (*PcloudV2VolumescloneDeleteBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone delete bad request response has a 3xx status code

func (*PcloudV2VolumescloneDeleteBadRequest) IsServerError added in v1.2.2

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 added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone delete bad request response has a 2xx status code

func (*PcloudV2VolumescloneDeleteBadRequest) String added in v1.2.2

type PcloudV2VolumescloneDeleteForbidden added in v1.1.12

type PcloudV2VolumescloneDeleteForbidden struct {
	Payload *models.Error
}

PcloudV2VolumescloneDeleteForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudV2VolumescloneDeleteForbidden added in v1.1.12

func NewPcloudV2VolumescloneDeleteForbidden() *PcloudV2VolumescloneDeleteForbidden

NewPcloudV2VolumescloneDeleteForbidden creates a PcloudV2VolumescloneDeleteForbidden with default headers values

func (*PcloudV2VolumescloneDeleteForbidden) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone delete forbidden response

func (*PcloudV2VolumescloneDeleteForbidden) Error added in v1.1.12

func (*PcloudV2VolumescloneDeleteForbidden) GetPayload added in v1.1.12

func (*PcloudV2VolumescloneDeleteForbidden) IsClientError added in v1.2.2

func (o *PcloudV2VolumescloneDeleteForbidden) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone delete forbidden response has a 4xx status code

func (*PcloudV2VolumescloneDeleteForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone delete forbidden response a status code equal to that given

func (*PcloudV2VolumescloneDeleteForbidden) IsRedirect added in v1.2.2

func (o *PcloudV2VolumescloneDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone delete forbidden response has a 3xx status code

func (*PcloudV2VolumescloneDeleteForbidden) IsServerError added in v1.2.2

func (o *PcloudV2VolumescloneDeleteForbidden) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone delete forbidden response has a 5xx status code

func (*PcloudV2VolumescloneDeleteForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone delete forbidden response has a 2xx status code

func (*PcloudV2VolumescloneDeleteForbidden) String added in v1.2.2

type PcloudV2VolumescloneDeleteInternalServerError added in v1.0.48

type PcloudV2VolumescloneDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumescloneDeleteInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudV2VolumescloneDeleteInternalServerError added in v1.0.48

func NewPcloudV2VolumescloneDeleteInternalServerError() *PcloudV2VolumescloneDeleteInternalServerError

NewPcloudV2VolumescloneDeleteInternalServerError creates a PcloudV2VolumescloneDeleteInternalServerError with default headers values

func (*PcloudV2VolumescloneDeleteInternalServerError) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone delete internal server error response

func (*PcloudV2VolumescloneDeleteInternalServerError) Error added in v1.0.48

func (*PcloudV2VolumescloneDeleteInternalServerError) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneDeleteInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v2 volumesclone delete internal server error response has a 4xx status code

func (*PcloudV2VolumescloneDeleteInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone delete internal server error response a status code equal to that given

func (*PcloudV2VolumescloneDeleteInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone delete internal server error response has a 3xx status code

func (*PcloudV2VolumescloneDeleteInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v2 volumesclone delete internal server error response has a 5xx status code

func (*PcloudV2VolumescloneDeleteInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone delete internal server error response has a 2xx status code

func (*PcloudV2VolumescloneDeleteInternalServerError) String added in v1.2.2

type PcloudV2VolumescloneDeleteNotFound added in v1.0.48

type PcloudV2VolumescloneDeleteNotFound struct {
	Payload *models.Error
}

PcloudV2VolumescloneDeleteNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudV2VolumescloneDeleteNotFound added in v1.0.48

func NewPcloudV2VolumescloneDeleteNotFound() *PcloudV2VolumescloneDeleteNotFound

NewPcloudV2VolumescloneDeleteNotFound creates a PcloudV2VolumescloneDeleteNotFound with default headers values

func (*PcloudV2VolumescloneDeleteNotFound) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone delete not found response

func (*PcloudV2VolumescloneDeleteNotFound) Error added in v1.0.48

func (*PcloudV2VolumescloneDeleteNotFound) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneDeleteNotFound) IsClientError added in v1.2.2

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 added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone delete not found response a status code equal to that given

func (*PcloudV2VolumescloneDeleteNotFound) IsRedirect added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone delete not found response has a 2xx status code

func (*PcloudV2VolumescloneDeleteNotFound) String added in v1.2.2

type PcloudV2VolumescloneDeleteOK added in v1.0.48

type PcloudV2VolumescloneDeleteOK struct {
	Payload models.Object
}

PcloudV2VolumescloneDeleteOK describes a response with status code 200, with default header values.

OK

func NewPcloudV2VolumescloneDeleteOK added in v1.0.48

func NewPcloudV2VolumescloneDeleteOK() *PcloudV2VolumescloneDeleteOK

NewPcloudV2VolumescloneDeleteOK creates a PcloudV2VolumescloneDeleteOK with default headers values

func (*PcloudV2VolumescloneDeleteOK) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone delete o k response

func (*PcloudV2VolumescloneDeleteOK) Error added in v1.0.48

func (*PcloudV2VolumescloneDeleteOK) GetPayload added in v1.1.0

func (o *PcloudV2VolumescloneDeleteOK) GetPayload() models.Object

func (*PcloudV2VolumescloneDeleteOK) IsClientError added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

type PcloudV2VolumescloneDeleteParams added in v1.0.48

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 added in v1.0.48

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 added in v1.0.48

func NewPcloudV2VolumescloneDeleteParamsWithContext(ctx context.Context) *PcloudV2VolumescloneDeleteParams

NewPcloudV2VolumescloneDeleteParamsWithContext creates a new PcloudV2VolumescloneDeleteParams object with the ability to set a context for a request.

func NewPcloudV2VolumescloneDeleteParamsWithHTTPClient added in v1.0.48

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 added in v1.0.48

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 added in v1.0.48

func (o *PcloudV2VolumescloneDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) SetContext added in v1.0.48

SetContext adds the context to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) SetDefaults added in v1.1.0

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 added in v1.0.48

func (o *PcloudV2VolumescloneDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) SetTimeout added in v1.0.48

func (o *PcloudV2VolumescloneDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) SetVolumesCloneID added in v1.0.48

func (o *PcloudV2VolumescloneDeleteParams) SetVolumesCloneID(volumesCloneID string)

SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) WithCloudInstanceID added in v1.0.48

func (o *PcloudV2VolumescloneDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneDeleteParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) WithContext added in v1.0.48

WithContext adds the context to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) WithDefaults added in v1.1.0

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 added in v1.0.48

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) WithTimeout added in v1.0.48

WithTimeout adds the timeout to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) WithVolumesCloneID added in v1.0.48

func (o *PcloudV2VolumescloneDeleteParams) WithVolumesCloneID(volumesCloneID string) *PcloudV2VolumescloneDeleteParams

WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) WriteToRequest added in v1.0.48

WriteToRequest writes these params to a swagger request

type PcloudV2VolumescloneDeleteReader added in v1.0.48

type PcloudV2VolumescloneDeleteReader struct {
	// contains filtered or unexported fields
}

PcloudV2VolumescloneDeleteReader is a Reader for the PcloudV2VolumescloneDelete structure.

func (*PcloudV2VolumescloneDeleteReader) ReadResponse added in v1.0.48

func (o *PcloudV2VolumescloneDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2VolumescloneDeleteUnauthorized added in v1.0.59

type PcloudV2VolumescloneDeleteUnauthorized struct {
	Payload *models.Error
}

PcloudV2VolumescloneDeleteUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudV2VolumescloneDeleteUnauthorized added in v1.0.59

func NewPcloudV2VolumescloneDeleteUnauthorized() *PcloudV2VolumescloneDeleteUnauthorized

NewPcloudV2VolumescloneDeleteUnauthorized creates a PcloudV2VolumescloneDeleteUnauthorized with default headers values

func (*PcloudV2VolumescloneDeleteUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone delete unauthorized response

func (*PcloudV2VolumescloneDeleteUnauthorized) Error added in v1.0.59

func (*PcloudV2VolumescloneDeleteUnauthorized) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneDeleteUnauthorized) IsClientError added in v1.2.2

func (o *PcloudV2VolumescloneDeleteUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone delete unauthorized response has a 4xx status code

func (*PcloudV2VolumescloneDeleteUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone delete unauthorized response a status code equal to that given

func (*PcloudV2VolumescloneDeleteUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone delete unauthorized response has a 3xx status code

func (*PcloudV2VolumescloneDeleteUnauthorized) IsServerError added in v1.2.2

func (o *PcloudV2VolumescloneDeleteUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone delete unauthorized response has a 5xx status code

func (*PcloudV2VolumescloneDeleteUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone delete unauthorized response has a 2xx status code

func (*PcloudV2VolumescloneDeleteUnauthorized) String added in v1.2.2

type PcloudV2VolumescloneExecutePostAccepted added in v1.0.48

type PcloudV2VolumescloneExecutePostAccepted struct {
	Payload *models.VolumesClone
}

PcloudV2VolumescloneExecutePostAccepted describes a response with status code 202, with default header values.

Accepted

func NewPcloudV2VolumescloneExecutePostAccepted added in v1.0.48

func NewPcloudV2VolumescloneExecutePostAccepted() *PcloudV2VolumescloneExecutePostAccepted

NewPcloudV2VolumescloneExecutePostAccepted creates a PcloudV2VolumescloneExecutePostAccepted with default headers values

func (*PcloudV2VolumescloneExecutePostAccepted) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone execute post accepted response

func (*PcloudV2VolumescloneExecutePostAccepted) Error added in v1.0.48

func (*PcloudV2VolumescloneExecutePostAccepted) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneExecutePostAccepted) IsClientError added in v1.2.2

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 added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone execute post accepted response a status code equal to that given

func (*PcloudV2VolumescloneExecutePostAccepted) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone execute post accepted response has a 3xx status code

func (*PcloudV2VolumescloneExecutePostAccepted) IsServerError added in v1.2.2

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 added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone execute post accepted response has a 2xx status code

func (*PcloudV2VolumescloneExecutePostAccepted) String added in v1.2.2

type PcloudV2VolumescloneExecutePostBadRequest added in v1.0.48

type PcloudV2VolumescloneExecutePostBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumescloneExecutePostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudV2VolumescloneExecutePostBadRequest added in v1.0.48

func NewPcloudV2VolumescloneExecutePostBadRequest() *PcloudV2VolumescloneExecutePostBadRequest

NewPcloudV2VolumescloneExecutePostBadRequest creates a PcloudV2VolumescloneExecutePostBadRequest with default headers values

func (*PcloudV2VolumescloneExecutePostBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone execute post bad request response

func (*PcloudV2VolumescloneExecutePostBadRequest) Error added in v1.0.48

func (*PcloudV2VolumescloneExecutePostBadRequest) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneExecutePostBadRequest) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v2 volumesclone execute post bad request response has a 4xx status code

func (*PcloudV2VolumescloneExecutePostBadRequest) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone execute post bad request response a status code equal to that given

func (*PcloudV2VolumescloneExecutePostBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone execute post bad request response has a 3xx status code

func (*PcloudV2VolumescloneExecutePostBadRequest) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v2 volumesclone execute post bad request response has a 5xx status code

func (*PcloudV2VolumescloneExecutePostBadRequest) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone execute post bad request response has a 2xx status code

func (*PcloudV2VolumescloneExecutePostBadRequest) String added in v1.2.2

type PcloudV2VolumescloneExecutePostForbidden added in v1.1.12

type PcloudV2VolumescloneExecutePostForbidden struct {
	Payload *models.Error
}

PcloudV2VolumescloneExecutePostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudV2VolumescloneExecutePostForbidden added in v1.1.12

func NewPcloudV2VolumescloneExecutePostForbidden() *PcloudV2VolumescloneExecutePostForbidden

NewPcloudV2VolumescloneExecutePostForbidden creates a PcloudV2VolumescloneExecutePostForbidden with default headers values

func (*PcloudV2VolumescloneExecutePostForbidden) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone execute post forbidden response

func (*PcloudV2VolumescloneExecutePostForbidden) Error added in v1.1.12

func (*PcloudV2VolumescloneExecutePostForbidden) GetPayload added in v1.1.12

func (*PcloudV2VolumescloneExecutePostForbidden) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v2 volumesclone execute post forbidden response has a 4xx status code

func (*PcloudV2VolumescloneExecutePostForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone execute post forbidden response a status code equal to that given

func (*PcloudV2VolumescloneExecutePostForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone execute post forbidden response has a 3xx status code

func (*PcloudV2VolumescloneExecutePostForbidden) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v2 volumesclone execute post forbidden response has a 5xx status code

func (*PcloudV2VolumescloneExecutePostForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone execute post forbidden response has a 2xx status code

func (*PcloudV2VolumescloneExecutePostForbidden) String added in v1.2.2

type PcloudV2VolumescloneExecutePostInternalServerError added in v1.0.48

type PcloudV2VolumescloneExecutePostInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumescloneExecutePostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudV2VolumescloneExecutePostInternalServerError added in v1.0.48

func NewPcloudV2VolumescloneExecutePostInternalServerError() *PcloudV2VolumescloneExecutePostInternalServerError

NewPcloudV2VolumescloneExecutePostInternalServerError creates a PcloudV2VolumescloneExecutePostInternalServerError with default headers values

func (*PcloudV2VolumescloneExecutePostInternalServerError) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone execute post internal server error response

func (*PcloudV2VolumescloneExecutePostInternalServerError) Error added in v1.0.48

func (*PcloudV2VolumescloneExecutePostInternalServerError) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneExecutePostInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v2 volumesclone execute post internal server error response has a 4xx status code

func (*PcloudV2VolumescloneExecutePostInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone execute post internal server error response a status code equal to that given

func (*PcloudV2VolumescloneExecutePostInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone execute post internal server error response has a 3xx status code

func (*PcloudV2VolumescloneExecutePostInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v2 volumesclone execute post internal server error response has a 5xx status code

func (*PcloudV2VolumescloneExecutePostInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone execute post internal server error response has a 2xx status code

func (*PcloudV2VolumescloneExecutePostInternalServerError) String added in v1.2.2

type PcloudV2VolumescloneExecutePostNotFound added in v1.0.48

type PcloudV2VolumescloneExecutePostNotFound struct {
	Payload *models.Error
}

PcloudV2VolumescloneExecutePostNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudV2VolumescloneExecutePostNotFound added in v1.0.48

func NewPcloudV2VolumescloneExecutePostNotFound() *PcloudV2VolumescloneExecutePostNotFound

NewPcloudV2VolumescloneExecutePostNotFound creates a PcloudV2VolumescloneExecutePostNotFound with default headers values

func (*PcloudV2VolumescloneExecutePostNotFound) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone execute post not found response

func (*PcloudV2VolumescloneExecutePostNotFound) Error added in v1.0.48

func (*PcloudV2VolumescloneExecutePostNotFound) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneExecutePostNotFound) IsClientError added in v1.2.2

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 added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone execute post not found response a status code equal to that given

func (*PcloudV2VolumescloneExecutePostNotFound) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone execute post not found response has a 3xx status code

func (*PcloudV2VolumescloneExecutePostNotFound) IsServerError added in v1.2.2

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 added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone execute post not found response has a 2xx status code

func (*PcloudV2VolumescloneExecutePostNotFound) String added in v1.2.2

type PcloudV2VolumescloneExecutePostParams added in v1.0.48

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 added in v1.0.48

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 added in v1.0.48

func NewPcloudV2VolumescloneExecutePostParamsWithContext(ctx context.Context) *PcloudV2VolumescloneExecutePostParams

NewPcloudV2VolumescloneExecutePostParamsWithContext creates a new PcloudV2VolumescloneExecutePostParams object with the ability to set a context for a request.

func NewPcloudV2VolumescloneExecutePostParamsWithHTTPClient added in v1.0.48

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 added in v1.0.48

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 added in v1.0.48

SetBody adds the body to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) SetCloudInstanceID added in v1.0.48

func (o *PcloudV2VolumescloneExecutePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) SetContext added in v1.0.48

SetContext adds the context to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) SetDefaults added in v1.1.0

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 added in v1.0.48

func (o *PcloudV2VolumescloneExecutePostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) SetTimeout added in v1.0.48

func (o *PcloudV2VolumescloneExecutePostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) SetVolumesCloneID added in v1.0.48

func (o *PcloudV2VolumescloneExecutePostParams) SetVolumesCloneID(volumesCloneID string)

SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WithBody added in v1.0.48

WithBody adds the body to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WithCloudInstanceID added in v1.0.48

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WithContext added in v1.0.48

WithContext adds the context to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WithDefaults added in v1.1.0

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 added in v1.0.48

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WithTimeout added in v1.0.48

WithTimeout adds the timeout to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WithVolumesCloneID added in v1.0.48

WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WriteToRequest added in v1.0.48

WriteToRequest writes these params to a swagger request

type PcloudV2VolumescloneExecutePostReader added in v1.0.48

type PcloudV2VolumescloneExecutePostReader struct {
	// contains filtered or unexported fields
}

PcloudV2VolumescloneExecutePostReader is a Reader for the PcloudV2VolumescloneExecutePost structure.

func (*PcloudV2VolumescloneExecutePostReader) ReadResponse added in v1.0.48

func (o *PcloudV2VolumescloneExecutePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2VolumescloneExecutePostUnauthorized added in v1.0.59

type PcloudV2VolumescloneExecutePostUnauthorized struct {
	Payload *models.Error
}

PcloudV2VolumescloneExecutePostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudV2VolumescloneExecutePostUnauthorized added in v1.0.59

func NewPcloudV2VolumescloneExecutePostUnauthorized() *PcloudV2VolumescloneExecutePostUnauthorized

NewPcloudV2VolumescloneExecutePostUnauthorized creates a PcloudV2VolumescloneExecutePostUnauthorized with default headers values

func (*PcloudV2VolumescloneExecutePostUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone execute post unauthorized response

func (*PcloudV2VolumescloneExecutePostUnauthorized) Error added in v1.0.59

func (*PcloudV2VolumescloneExecutePostUnauthorized) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneExecutePostUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v2 volumesclone execute post unauthorized response has a 4xx status code

func (*PcloudV2VolumescloneExecutePostUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone execute post unauthorized response a status code equal to that given

func (*PcloudV2VolumescloneExecutePostUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone execute post unauthorized response has a 3xx status code

func (*PcloudV2VolumescloneExecutePostUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v2 volumesclone execute post unauthorized response has a 5xx status code

func (*PcloudV2VolumescloneExecutePostUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone execute post unauthorized response has a 2xx status code

func (*PcloudV2VolumescloneExecutePostUnauthorized) String added in v1.2.2

type PcloudV2VolumescloneGetBadRequest added in v1.0.48

type PcloudV2VolumescloneGetBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudV2VolumescloneGetBadRequest added in v1.0.48

func NewPcloudV2VolumescloneGetBadRequest() *PcloudV2VolumescloneGetBadRequest

NewPcloudV2VolumescloneGetBadRequest creates a PcloudV2VolumescloneGetBadRequest with default headers values

func (*PcloudV2VolumescloneGetBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone get bad request response

func (*PcloudV2VolumescloneGetBadRequest) Error added in v1.0.48

func (*PcloudV2VolumescloneGetBadRequest) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneGetBadRequest) IsClientError added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

type PcloudV2VolumescloneGetForbidden added in v1.2.2

type PcloudV2VolumescloneGetForbidden struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudV2VolumescloneGetForbidden added in v1.2.2

func NewPcloudV2VolumescloneGetForbidden() *PcloudV2VolumescloneGetForbidden

NewPcloudV2VolumescloneGetForbidden creates a PcloudV2VolumescloneGetForbidden with default headers values

func (*PcloudV2VolumescloneGetForbidden) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone get forbidden response

func (*PcloudV2VolumescloneGetForbidden) Error added in v1.2.2

func (*PcloudV2VolumescloneGetForbidden) GetPayload added in v1.2.2

func (*PcloudV2VolumescloneGetForbidden) IsClientError added in v1.2.2

func (o *PcloudV2VolumescloneGetForbidden) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone get forbidden response has a 4xx status code

func (*PcloudV2VolumescloneGetForbidden) IsCode added in v1.2.2

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 added in v1.2.2

func (o *PcloudV2VolumescloneGetForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone get forbidden response has a 3xx status code

func (*PcloudV2VolumescloneGetForbidden) IsServerError added in v1.2.2

func (o *PcloudV2VolumescloneGetForbidden) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone get forbidden response has a 5xx status code

func (*PcloudV2VolumescloneGetForbidden) IsSuccess added in v1.2.2

func (o *PcloudV2VolumescloneGetForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumesclone get forbidden response has a 2xx status code

func (*PcloudV2VolumescloneGetForbidden) String added in v1.2.2

type PcloudV2VolumescloneGetInternalServerError added in v1.0.48

type PcloudV2VolumescloneGetInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudV2VolumescloneGetInternalServerError added in v1.0.48

func NewPcloudV2VolumescloneGetInternalServerError() *PcloudV2VolumescloneGetInternalServerError

NewPcloudV2VolumescloneGetInternalServerError creates a PcloudV2VolumescloneGetInternalServerError with default headers values

func (*PcloudV2VolumescloneGetInternalServerError) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone get internal server error response

func (*PcloudV2VolumescloneGetInternalServerError) Error added in v1.0.48

func (*PcloudV2VolumescloneGetInternalServerError) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneGetInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v2 volumesclone get internal server error response has a 4xx status code

func (*PcloudV2VolumescloneGetInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone get internal server error response a status code equal to that given

func (*PcloudV2VolumescloneGetInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone get internal server error response has a 3xx status code

func (*PcloudV2VolumescloneGetInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v2 volumesclone get internal server error response has a 5xx status code

func (*PcloudV2VolumescloneGetInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone get internal server error response has a 2xx status code

func (*PcloudV2VolumescloneGetInternalServerError) String added in v1.2.2

type PcloudV2VolumescloneGetNotFound added in v1.0.48

type PcloudV2VolumescloneGetNotFound struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudV2VolumescloneGetNotFound added in v1.0.48

func NewPcloudV2VolumescloneGetNotFound() *PcloudV2VolumescloneGetNotFound

NewPcloudV2VolumescloneGetNotFound creates a PcloudV2VolumescloneGetNotFound with default headers values

func (*PcloudV2VolumescloneGetNotFound) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone get not found response

func (*PcloudV2VolumescloneGetNotFound) Error added in v1.0.48

func (*PcloudV2VolumescloneGetNotFound) GetPayload added in v1.1.0

func (o *PcloudV2VolumescloneGetNotFound) GetPayload() *models.Error

func (*PcloudV2VolumescloneGetNotFound) IsClientError added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

type PcloudV2VolumescloneGetOK added in v1.0.48

type PcloudV2VolumescloneGetOK struct {
	Payload *models.VolumesCloneDetail
}

PcloudV2VolumescloneGetOK describes a response with status code 200, with default header values.

OK

func NewPcloudV2VolumescloneGetOK added in v1.0.48

func NewPcloudV2VolumescloneGetOK() *PcloudV2VolumescloneGetOK

NewPcloudV2VolumescloneGetOK creates a PcloudV2VolumescloneGetOK with default headers values

func (*PcloudV2VolumescloneGetOK) Code added in v1.2.4

func (o *PcloudV2VolumescloneGetOK) Code() int

Code gets the status code for the pcloud v2 volumesclone get o k response

func (*PcloudV2VolumescloneGetOK) Error added in v1.0.48

func (o *PcloudV2VolumescloneGetOK) Error() string

func (*PcloudV2VolumescloneGetOK) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneGetOK) IsClientError added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

func (o *PcloudV2VolumescloneGetOK) String() string

type PcloudV2VolumescloneGetParams added in v1.0.48

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 added in v1.0.48

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 added in v1.0.48

func NewPcloudV2VolumescloneGetParamsWithContext(ctx context.Context) *PcloudV2VolumescloneGetParams

NewPcloudV2VolumescloneGetParamsWithContext creates a new PcloudV2VolumescloneGetParams object with the ability to set a context for a request.

func NewPcloudV2VolumescloneGetParamsWithHTTPClient added in v1.0.48

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 added in v1.0.48

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 added in v1.0.48

func (o *PcloudV2VolumescloneGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) SetContext added in v1.0.48

func (o *PcloudV2VolumescloneGetParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) SetDefaults added in v1.1.0

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 added in v1.0.48

func (o *PcloudV2VolumescloneGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) SetTimeout added in v1.0.48

func (o *PcloudV2VolumescloneGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) SetVolumesCloneID added in v1.0.48

func (o *PcloudV2VolumescloneGetParams) SetVolumesCloneID(volumesCloneID string)

SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) WithCloudInstanceID added in v1.0.48

func (o *PcloudV2VolumescloneGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneGetParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) WithContext added in v1.0.48

WithContext adds the context to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) WithDefaults added in v1.1.0

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 added in v1.0.48

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) WithTimeout added in v1.0.48

WithTimeout adds the timeout to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) WithVolumesCloneID added in v1.0.48

func (o *PcloudV2VolumescloneGetParams) WithVolumesCloneID(volumesCloneID string) *PcloudV2VolumescloneGetParams

WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) WriteToRequest added in v1.0.48

WriteToRequest writes these params to a swagger request

type PcloudV2VolumescloneGetReader added in v1.0.48

type PcloudV2VolumescloneGetReader struct {
	// contains filtered or unexported fields
}

PcloudV2VolumescloneGetReader is a Reader for the PcloudV2VolumescloneGet structure.

func (*PcloudV2VolumescloneGetReader) ReadResponse added in v1.0.48

func (o *PcloudV2VolumescloneGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2VolumescloneGetUnauthorized added in v1.0.59

type PcloudV2VolumescloneGetUnauthorized struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudV2VolumescloneGetUnauthorized added in v1.0.59

func NewPcloudV2VolumescloneGetUnauthorized() *PcloudV2VolumescloneGetUnauthorized

NewPcloudV2VolumescloneGetUnauthorized creates a PcloudV2VolumescloneGetUnauthorized with default headers values

func (*PcloudV2VolumescloneGetUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone get unauthorized response

func (*PcloudV2VolumescloneGetUnauthorized) Error added in v1.0.59

func (*PcloudV2VolumescloneGetUnauthorized) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneGetUnauthorized) IsClientError added in v1.2.2

func (o *PcloudV2VolumescloneGetUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone get unauthorized response has a 4xx status code

func (*PcloudV2VolumescloneGetUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone get unauthorized response a status code equal to that given

func (*PcloudV2VolumescloneGetUnauthorized) IsRedirect added in v1.2.2

func (o *PcloudV2VolumescloneGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone get unauthorized response has a 3xx status code

func (*PcloudV2VolumescloneGetUnauthorized) IsServerError added in v1.2.2

func (o *PcloudV2VolumescloneGetUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone get unauthorized response has a 5xx status code

func (*PcloudV2VolumescloneGetUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone get unauthorized response has a 2xx status code

func (*PcloudV2VolumescloneGetUnauthorized) String added in v1.2.2

type PcloudV2VolumescloneGetallBadRequest added in v1.0.48

type PcloudV2VolumescloneGetallBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetallBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudV2VolumescloneGetallBadRequest added in v1.0.48

func NewPcloudV2VolumescloneGetallBadRequest() *PcloudV2VolumescloneGetallBadRequest

NewPcloudV2VolumescloneGetallBadRequest creates a PcloudV2VolumescloneGetallBadRequest with default headers values

func (*PcloudV2VolumescloneGetallBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone getall bad request response

func (*PcloudV2VolumescloneGetallBadRequest) Error added in v1.0.48

func (*PcloudV2VolumescloneGetallBadRequest) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneGetallBadRequest) IsClientError added in v1.2.2

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 added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone getall bad request response a status code equal to that given

func (*PcloudV2VolumescloneGetallBadRequest) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone getall bad request response has a 3xx status code

func (*PcloudV2VolumescloneGetallBadRequest) IsServerError added in v1.2.2

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 added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone getall bad request response has a 2xx status code

func (*PcloudV2VolumescloneGetallBadRequest) String added in v1.2.2

type PcloudV2VolumescloneGetallForbidden added in v1.2.2

type PcloudV2VolumescloneGetallForbidden struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetallForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudV2VolumescloneGetallForbidden added in v1.2.2

func NewPcloudV2VolumescloneGetallForbidden() *PcloudV2VolumescloneGetallForbidden

NewPcloudV2VolumescloneGetallForbidden creates a PcloudV2VolumescloneGetallForbidden with default headers values

func (*PcloudV2VolumescloneGetallForbidden) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone getall forbidden response

func (*PcloudV2VolumescloneGetallForbidden) Error added in v1.2.2

func (*PcloudV2VolumescloneGetallForbidden) GetPayload added in v1.2.2

func (*PcloudV2VolumescloneGetallForbidden) IsClientError added in v1.2.2

func (o *PcloudV2VolumescloneGetallForbidden) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone getall forbidden response has a 4xx status code

func (*PcloudV2VolumescloneGetallForbidden) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone getall forbidden response a status code equal to that given

func (*PcloudV2VolumescloneGetallForbidden) IsRedirect added in v1.2.2

func (o *PcloudV2VolumescloneGetallForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone getall forbidden response has a 3xx status code

func (*PcloudV2VolumescloneGetallForbidden) IsServerError added in v1.2.2

func (o *PcloudV2VolumescloneGetallForbidden) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone getall forbidden response has a 5xx status code

func (*PcloudV2VolumescloneGetallForbidden) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone getall forbidden response has a 2xx status code

func (*PcloudV2VolumescloneGetallForbidden) String added in v1.2.2

type PcloudV2VolumescloneGetallInternalServerError added in v1.0.48

type PcloudV2VolumescloneGetallInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetallInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudV2VolumescloneGetallInternalServerError added in v1.0.48

func NewPcloudV2VolumescloneGetallInternalServerError() *PcloudV2VolumescloneGetallInternalServerError

NewPcloudV2VolumescloneGetallInternalServerError creates a PcloudV2VolumescloneGetallInternalServerError with default headers values

func (*PcloudV2VolumescloneGetallInternalServerError) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone getall internal server error response

func (*PcloudV2VolumescloneGetallInternalServerError) Error added in v1.0.48

func (*PcloudV2VolumescloneGetallInternalServerError) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneGetallInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v2 volumesclone getall internal server error response has a 4xx status code

func (*PcloudV2VolumescloneGetallInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone getall internal server error response a status code equal to that given

func (*PcloudV2VolumescloneGetallInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone getall internal server error response has a 3xx status code

func (*PcloudV2VolumescloneGetallInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v2 volumesclone getall internal server error response has a 5xx status code

func (*PcloudV2VolumescloneGetallInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone getall internal server error response has a 2xx status code

func (*PcloudV2VolumescloneGetallInternalServerError) String added in v1.2.2

type PcloudV2VolumescloneGetallNotFound added in v1.0.48

type PcloudV2VolumescloneGetallNotFound struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetallNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudV2VolumescloneGetallNotFound added in v1.0.48

func NewPcloudV2VolumescloneGetallNotFound() *PcloudV2VolumescloneGetallNotFound

NewPcloudV2VolumescloneGetallNotFound creates a PcloudV2VolumescloneGetallNotFound with default headers values

func (*PcloudV2VolumescloneGetallNotFound) Code added in v1.4.2

Code gets the status code for the pcloud v2 volumesclone getall not found response

func (*PcloudV2VolumescloneGetallNotFound) Error added in v1.0.48

func (*PcloudV2VolumescloneGetallNotFound) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneGetallNotFound) IsClientError added in v1.4.2

func (o *PcloudV2VolumescloneGetallNotFound) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone getall not found response has a 4xx status code

func (*PcloudV2VolumescloneGetallNotFound) IsCode added in v1.4.2

IsCode returns true when this pcloud v2 volumesclone getall not found response a status code equal to that given

func (*PcloudV2VolumescloneGetallNotFound) IsRedirect added in v1.4.2

func (o *PcloudV2VolumescloneGetallNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone getall not found response has a 3xx status code

func (*PcloudV2VolumescloneGetallNotFound) IsServerError added in v1.4.2

func (o *PcloudV2VolumescloneGetallNotFound) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone getall not found response has a 5xx status code

func (*PcloudV2VolumescloneGetallNotFound) IsSuccess added in v1.4.2

IsSuccess returns true when this pcloud v2 volumesclone getall not found response has a 2xx status code

func (*PcloudV2VolumescloneGetallNotFound) String added in v1.4.2

type PcloudV2VolumescloneGetallOK added in v1.0.48

type PcloudV2VolumescloneGetallOK struct {
	Payload *models.VolumesClones
}

PcloudV2VolumescloneGetallOK describes a response with status code 200, with default header values.

OK

func NewPcloudV2VolumescloneGetallOK added in v1.0.48

func NewPcloudV2VolumescloneGetallOK() *PcloudV2VolumescloneGetallOK

NewPcloudV2VolumescloneGetallOK creates a PcloudV2VolumescloneGetallOK with default headers values

func (*PcloudV2VolumescloneGetallOK) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone getall o k response

func (*PcloudV2VolumescloneGetallOK) Error added in v1.0.48

func (*PcloudV2VolumescloneGetallOK) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneGetallOK) IsClientError added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

type PcloudV2VolumescloneGetallParams added in v1.0.48

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 added in v1.0.48

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 added in v1.0.48

func NewPcloudV2VolumescloneGetallParamsWithContext(ctx context.Context) *PcloudV2VolumescloneGetallParams

NewPcloudV2VolumescloneGetallParamsWithContext creates a new PcloudV2VolumescloneGetallParams object with the ability to set a context for a request.

func NewPcloudV2VolumescloneGetallParamsWithHTTPClient added in v1.0.48

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 added in v1.0.48

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 added in v1.0.48

func (o *PcloudV2VolumescloneGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) SetContext added in v1.0.48

SetContext adds the context to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) SetDefaults added in v1.1.0

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 added in v1.0.48

func (o *PcloudV2VolumescloneGetallParams) SetFilter(filter *string)

SetFilter adds the filter to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) SetHTTPClient added in v1.0.48

func (o *PcloudV2VolumescloneGetallParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) SetTimeout added in v1.0.48

func (o *PcloudV2VolumescloneGetallParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) WithCloudInstanceID added in v1.0.48

func (o *PcloudV2VolumescloneGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneGetallParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) WithContext added in v1.0.48

WithContext adds the context to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) WithDefaults added in v1.1.0

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 added in v1.0.48

WithFilter adds the filter to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) WithHTTPClient added in v1.0.48

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) WithTimeout added in v1.0.48

WithTimeout adds the timeout to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) WriteToRequest added in v1.0.48

WriteToRequest writes these params to a swagger request

type PcloudV2VolumescloneGetallReader added in v1.0.48

type PcloudV2VolumescloneGetallReader struct {
	// contains filtered or unexported fields
}

PcloudV2VolumescloneGetallReader is a Reader for the PcloudV2VolumescloneGetall structure.

func (*PcloudV2VolumescloneGetallReader) ReadResponse added in v1.0.48

func (o *PcloudV2VolumescloneGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2VolumescloneGetallUnauthorized added in v1.0.59

type PcloudV2VolumescloneGetallUnauthorized struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetallUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudV2VolumescloneGetallUnauthorized added in v1.0.59

func NewPcloudV2VolumescloneGetallUnauthorized() *PcloudV2VolumescloneGetallUnauthorized

NewPcloudV2VolumescloneGetallUnauthorized creates a PcloudV2VolumescloneGetallUnauthorized with default headers values

func (*PcloudV2VolumescloneGetallUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone getall unauthorized response

func (*PcloudV2VolumescloneGetallUnauthorized) Error added in v1.0.59

func (*PcloudV2VolumescloneGetallUnauthorized) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneGetallUnauthorized) IsClientError added in v1.2.2

func (o *PcloudV2VolumescloneGetallUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone getall unauthorized response has a 4xx status code

func (*PcloudV2VolumescloneGetallUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone getall unauthorized response a status code equal to that given

func (*PcloudV2VolumescloneGetallUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone getall unauthorized response has a 3xx status code

func (*PcloudV2VolumescloneGetallUnauthorized) IsServerError added in v1.2.2

func (o *PcloudV2VolumescloneGetallUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone getall unauthorized response has a 5xx status code

func (*PcloudV2VolumescloneGetallUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone getall unauthorized response has a 2xx status code

func (*PcloudV2VolumescloneGetallUnauthorized) String added in v1.2.2

type PcloudV2VolumesclonePostAccepted added in v1.0.48

type PcloudV2VolumesclonePostAccepted struct {
	Payload *models.VolumesClone
}

PcloudV2VolumesclonePostAccepted describes a response with status code 202, with default header values.

Accepted

func NewPcloudV2VolumesclonePostAccepted added in v1.0.48

func NewPcloudV2VolumesclonePostAccepted() *PcloudV2VolumesclonePostAccepted

NewPcloudV2VolumesclonePostAccepted creates a PcloudV2VolumesclonePostAccepted with default headers values

func (*PcloudV2VolumesclonePostAccepted) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone post accepted response

func (*PcloudV2VolumesclonePostAccepted) Error added in v1.0.48

func (*PcloudV2VolumesclonePostAccepted) GetPayload added in v1.1.0

func (*PcloudV2VolumesclonePostAccepted) IsClientError added in v1.2.2

func (o *PcloudV2VolumesclonePostAccepted) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone post accepted response has a 4xx status code

func (*PcloudV2VolumesclonePostAccepted) IsCode added in v1.2.2

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 added in v1.2.2

func (o *PcloudV2VolumesclonePostAccepted) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone post accepted response has a 3xx status code

func (*PcloudV2VolumesclonePostAccepted) IsServerError added in v1.2.2

func (o *PcloudV2VolumesclonePostAccepted) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone post accepted response has a 5xx status code

func (*PcloudV2VolumesclonePostAccepted) IsSuccess added in v1.2.2

func (o *PcloudV2VolumesclonePostAccepted) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumesclone post accepted response has a 2xx status code

func (*PcloudV2VolumesclonePostAccepted) String added in v1.2.2

type PcloudV2VolumesclonePostBadRequest added in v1.0.48

type PcloudV2VolumesclonePostBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumesclonePostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudV2VolumesclonePostBadRequest added in v1.0.48

func NewPcloudV2VolumesclonePostBadRequest() *PcloudV2VolumesclonePostBadRequest

NewPcloudV2VolumesclonePostBadRequest creates a PcloudV2VolumesclonePostBadRequest with default headers values

func (*PcloudV2VolumesclonePostBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone post bad request response

func (*PcloudV2VolumesclonePostBadRequest) Error added in v1.0.48

func (*PcloudV2VolumesclonePostBadRequest) GetPayload added in v1.1.0

func (*PcloudV2VolumesclonePostBadRequest) IsClientError added in v1.2.2

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 added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone post bad request response a status code equal to that given

func (*PcloudV2VolumesclonePostBadRequest) IsRedirect added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone post bad request response has a 2xx status code

func (*PcloudV2VolumesclonePostBadRequest) String added in v1.2.2

type PcloudV2VolumesclonePostForbidden added in v1.0.48

type PcloudV2VolumesclonePostForbidden struct {
	Payload *models.Error
}

PcloudV2VolumesclonePostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudV2VolumesclonePostForbidden added in v1.0.48

func NewPcloudV2VolumesclonePostForbidden() *PcloudV2VolumesclonePostForbidden

NewPcloudV2VolumesclonePostForbidden creates a PcloudV2VolumesclonePostForbidden with default headers values

func (*PcloudV2VolumesclonePostForbidden) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone post forbidden response

func (*PcloudV2VolumesclonePostForbidden) Error added in v1.0.48

func (*PcloudV2VolumesclonePostForbidden) GetPayload added in v1.1.0

func (*PcloudV2VolumesclonePostForbidden) IsClientError added in v1.2.2

func (o *PcloudV2VolumesclonePostForbidden) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone post forbidden response has a 4xx status code

func (*PcloudV2VolumesclonePostForbidden) IsCode added in v1.2.2

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 added in v1.2.2

func (o *PcloudV2VolumesclonePostForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone post forbidden response has a 3xx status code

func (*PcloudV2VolumesclonePostForbidden) IsServerError added in v1.2.2

func (o *PcloudV2VolumesclonePostForbidden) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone post forbidden response has a 5xx status code

func (*PcloudV2VolumesclonePostForbidden) IsSuccess added in v1.2.2

func (o *PcloudV2VolumesclonePostForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumesclone post forbidden response has a 2xx status code

func (*PcloudV2VolumesclonePostForbidden) String added in v1.2.2

type PcloudV2VolumesclonePostInternalServerError added in v1.0.48

type PcloudV2VolumesclonePostInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumesclonePostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudV2VolumesclonePostInternalServerError added in v1.0.48

func NewPcloudV2VolumesclonePostInternalServerError() *PcloudV2VolumesclonePostInternalServerError

NewPcloudV2VolumesclonePostInternalServerError creates a PcloudV2VolumesclonePostInternalServerError with default headers values

func (*PcloudV2VolumesclonePostInternalServerError) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone post internal server error response

func (*PcloudV2VolumesclonePostInternalServerError) Error added in v1.0.48

func (*PcloudV2VolumesclonePostInternalServerError) GetPayload added in v1.1.0

func (*PcloudV2VolumesclonePostInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v2 volumesclone post internal server error response has a 4xx status code

func (*PcloudV2VolumesclonePostInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone post internal server error response a status code equal to that given

func (*PcloudV2VolumesclonePostInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone post internal server error response has a 3xx status code

func (*PcloudV2VolumesclonePostInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v2 volumesclone post internal server error response has a 5xx status code

func (*PcloudV2VolumesclonePostInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone post internal server error response has a 2xx status code

func (*PcloudV2VolumesclonePostInternalServerError) String added in v1.2.2

type PcloudV2VolumesclonePostNotFound added in v1.0.48

type PcloudV2VolumesclonePostNotFound struct {
	Payload *models.Error
}

PcloudV2VolumesclonePostNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudV2VolumesclonePostNotFound added in v1.0.48

func NewPcloudV2VolumesclonePostNotFound() *PcloudV2VolumesclonePostNotFound

NewPcloudV2VolumesclonePostNotFound creates a PcloudV2VolumesclonePostNotFound with default headers values

func (*PcloudV2VolumesclonePostNotFound) Code added in v1.4.2

Code gets the status code for the pcloud v2 volumesclone post not found response

func (*PcloudV2VolumesclonePostNotFound) Error added in v1.0.48

func (*PcloudV2VolumesclonePostNotFound) GetPayload added in v1.1.0

func (*PcloudV2VolumesclonePostNotFound) IsClientError added in v1.4.2

func (o *PcloudV2VolumesclonePostNotFound) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone post not found response has a 4xx status code

func (*PcloudV2VolumesclonePostNotFound) IsCode added in v1.4.2

func (o *PcloudV2VolumesclonePostNotFound) IsCode(code int) bool

IsCode returns true when this pcloud v2 volumesclone post not found response a status code equal to that given

func (*PcloudV2VolumesclonePostNotFound) IsRedirect added in v1.4.2

func (o *PcloudV2VolumesclonePostNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud v2 volumesclone post not found response has a 3xx status code

func (*PcloudV2VolumesclonePostNotFound) IsServerError added in v1.4.2

func (o *PcloudV2VolumesclonePostNotFound) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone post not found response has a 5xx status code

func (*PcloudV2VolumesclonePostNotFound) IsSuccess added in v1.4.2

func (o *PcloudV2VolumesclonePostNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud v2 volumesclone post not found response has a 2xx status code

func (*PcloudV2VolumesclonePostNotFound) String added in v1.4.2

type PcloudV2VolumesclonePostParams added in v1.0.48

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 added in v1.0.48

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 added in v1.0.48

func NewPcloudV2VolumesclonePostParamsWithContext(ctx context.Context) *PcloudV2VolumesclonePostParams

NewPcloudV2VolumesclonePostParamsWithContext creates a new PcloudV2VolumesclonePostParams object with the ability to set a context for a request.

func NewPcloudV2VolumesclonePostParamsWithHTTPClient added in v1.0.48

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 added in v1.0.48

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 added in v1.0.48

SetBody adds the body to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) SetCloudInstanceID added in v1.0.48

func (o *PcloudV2VolumesclonePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) SetContext added in v1.0.48

func (o *PcloudV2VolumesclonePostParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) SetDefaults added in v1.1.0

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 added in v1.0.48

func (o *PcloudV2VolumesclonePostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) SetTimeout added in v1.0.48

func (o *PcloudV2VolumesclonePostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) WithBody added in v1.0.48

WithBody adds the body to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) WithCloudInstanceID added in v1.0.48

func (o *PcloudV2VolumesclonePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumesclonePostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) WithContext added in v1.0.48

WithContext adds the context to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) WithDefaults added in v1.1.0

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 added in v1.0.48

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) WithTimeout added in v1.0.48

WithTimeout adds the timeout to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) WriteToRequest added in v1.0.48

WriteToRequest writes these params to a swagger request

type PcloudV2VolumesclonePostReader added in v1.0.48

type PcloudV2VolumesclonePostReader struct {
	// contains filtered or unexported fields
}

PcloudV2VolumesclonePostReader is a Reader for the PcloudV2VolumesclonePost structure.

func (*PcloudV2VolumesclonePostReader) ReadResponse added in v1.0.48

func (o *PcloudV2VolumesclonePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2VolumesclonePostUnauthorized added in v1.0.59

type PcloudV2VolumesclonePostUnauthorized struct {
	Payload *models.Error
}

PcloudV2VolumesclonePostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudV2VolumesclonePostUnauthorized added in v1.0.59

func NewPcloudV2VolumesclonePostUnauthorized() *PcloudV2VolumesclonePostUnauthorized

NewPcloudV2VolumesclonePostUnauthorized creates a PcloudV2VolumesclonePostUnauthorized with default headers values

func (*PcloudV2VolumesclonePostUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone post unauthorized response

func (*PcloudV2VolumesclonePostUnauthorized) Error added in v1.0.59

func (*PcloudV2VolumesclonePostUnauthorized) GetPayload added in v1.1.0

func (*PcloudV2VolumesclonePostUnauthorized) IsClientError added in v1.2.2

func (o *PcloudV2VolumesclonePostUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone post unauthorized response has a 4xx status code

func (*PcloudV2VolumesclonePostUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone post unauthorized response a status code equal to that given

func (*PcloudV2VolumesclonePostUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone post unauthorized response has a 3xx status code

func (*PcloudV2VolumesclonePostUnauthorized) IsServerError added in v1.2.2

func (o *PcloudV2VolumesclonePostUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone post unauthorized response has a 5xx status code

func (*PcloudV2VolumesclonePostUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone post unauthorized response has a 2xx status code

func (*PcloudV2VolumesclonePostUnauthorized) String added in v1.2.2

type PcloudV2VolumescloneStartPostBadRequest added in v1.4.2

type PcloudV2VolumescloneStartPostBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumescloneStartPostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudV2VolumescloneStartPostBadRequest added in v1.4.2

func NewPcloudV2VolumescloneStartPostBadRequest() *PcloudV2VolumescloneStartPostBadRequest

NewPcloudV2VolumescloneStartPostBadRequest creates a PcloudV2VolumescloneStartPostBadRequest with default headers values

func (*PcloudV2VolumescloneStartPostBadRequest) Code added in v1.4.2

Code gets the status code for the pcloud v2 volumesclone start post bad request response

func (*PcloudV2VolumescloneStartPostBadRequest) Error added in v1.4.2

func (*PcloudV2VolumescloneStartPostBadRequest) GetPayload added in v1.4.2

func (*PcloudV2VolumescloneStartPostBadRequest) IsClientError added in v1.4.2

func (o *PcloudV2VolumescloneStartPostBadRequest) IsClientError() bool

IsClientError returns true when this pcloud v2 volumesclone start post bad request response has a 4xx status code

func (*PcloudV2VolumescloneStartPostBadRequest) IsCode added in v1.4.2

IsCode returns true when this pcloud v2 volumesclone start post bad request response a status code equal to that given

func (*PcloudV2VolumescloneStartPostBadRequest) IsRedirect added in v1.4.2

IsRedirect returns true when this pcloud v2 volumesclone start post bad request response has a 3xx status code

func (*PcloudV2VolumescloneStartPostBadRequest) IsServerError added in v1.4.2

func (o *PcloudV2VolumescloneStartPostBadRequest) IsServerError() bool

IsServerError returns true when this pcloud v2 volumesclone start post bad request response has a 5xx status code

func (*PcloudV2VolumescloneStartPostBadRequest) IsSuccess added in v1.4.2

IsSuccess returns true when this pcloud v2 volumesclone start post bad request response has a 2xx status code

func (*PcloudV2VolumescloneStartPostBadRequest) String added in v1.4.2

type PcloudV2VolumescloneStartPostForbidden added in v1.1.12

type PcloudV2VolumescloneStartPostForbidden struct {
	Payload *models.Error
}

PcloudV2VolumescloneStartPostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudV2VolumescloneStartPostForbidden added in v1.1.12

func NewPcloudV2VolumescloneStartPostForbidden() *PcloudV2VolumescloneStartPostForbidden

NewPcloudV2VolumescloneStartPostForbidden creates a PcloudV2VolumescloneStartPostForbidden with default headers values

func (*PcloudV2VolumescloneStartPostForbidden) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone start post forbidden response

func (*PcloudV2VolumescloneStartPostForbidden) Error added in v1.1.12

func (*PcloudV2VolumescloneStartPostForbidden) GetPayload added in v1.1.12

func (*PcloudV2VolumescloneStartPostForbidden) IsClientError added in v1.2.2

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 added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone start post forbidden response a status code equal to that given

func (*PcloudV2VolumescloneStartPostForbidden) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone start post forbidden response has a 3xx status code

func (*PcloudV2VolumescloneStartPostForbidden) IsServerError added in v1.2.2

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 added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone start post forbidden response has a 2xx status code

func (*PcloudV2VolumescloneStartPostForbidden) String added in v1.2.2

type PcloudV2VolumescloneStartPostInternalServerError added in v1.0.48

type PcloudV2VolumescloneStartPostInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumescloneStartPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudV2VolumescloneStartPostInternalServerError added in v1.0.48

func NewPcloudV2VolumescloneStartPostInternalServerError() *PcloudV2VolumescloneStartPostInternalServerError

NewPcloudV2VolumescloneStartPostInternalServerError creates a PcloudV2VolumescloneStartPostInternalServerError with default headers values

func (*PcloudV2VolumescloneStartPostInternalServerError) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone start post internal server error response

func (*PcloudV2VolumescloneStartPostInternalServerError) Error added in v1.0.48

func (*PcloudV2VolumescloneStartPostInternalServerError) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneStartPostInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v2 volumesclone start post internal server error response has a 4xx status code

func (*PcloudV2VolumescloneStartPostInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone start post internal server error response a status code equal to that given

func (*PcloudV2VolumescloneStartPostInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone start post internal server error response has a 3xx status code

func (*PcloudV2VolumescloneStartPostInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v2 volumesclone start post internal server error response has a 5xx status code

func (*PcloudV2VolumescloneStartPostInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone start post internal server error response has a 2xx status code

func (*PcloudV2VolumescloneStartPostInternalServerError) String added in v1.2.2

type PcloudV2VolumescloneStartPostNotFound added in v1.0.48

type PcloudV2VolumescloneStartPostNotFound struct {
	Payload *models.Error
}

PcloudV2VolumescloneStartPostNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudV2VolumescloneStartPostNotFound added in v1.0.48

func NewPcloudV2VolumescloneStartPostNotFound() *PcloudV2VolumescloneStartPostNotFound

NewPcloudV2VolumescloneStartPostNotFound creates a PcloudV2VolumescloneStartPostNotFound with default headers values

func (*PcloudV2VolumescloneStartPostNotFound) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone start post not found response

func (*PcloudV2VolumescloneStartPostNotFound) Error added in v1.0.48

func (*PcloudV2VolumescloneStartPostNotFound) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneStartPostNotFound) IsClientError added in v1.2.2

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 added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone start post not found response a status code equal to that given

func (*PcloudV2VolumescloneStartPostNotFound) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone start post not found response has a 3xx status code

func (*PcloudV2VolumescloneStartPostNotFound) IsServerError added in v1.2.2

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 added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone start post not found response has a 2xx status code

func (*PcloudV2VolumescloneStartPostNotFound) String added in v1.2.2

type PcloudV2VolumescloneStartPostOK added in v1.0.48

type PcloudV2VolumescloneStartPostOK struct {
	Payload *models.VolumesClone
}

PcloudV2VolumescloneStartPostOK describes a response with status code 200, with default header values.

OK

func NewPcloudV2VolumescloneStartPostOK added in v1.0.48

func NewPcloudV2VolumescloneStartPostOK() *PcloudV2VolumescloneStartPostOK

NewPcloudV2VolumescloneStartPostOK creates a PcloudV2VolumescloneStartPostOK with default headers values

func (*PcloudV2VolumescloneStartPostOK) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone start post o k response

func (*PcloudV2VolumescloneStartPostOK) Error added in v1.0.48

func (*PcloudV2VolumescloneStartPostOK) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneStartPostOK) IsClientError added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

type PcloudV2VolumescloneStartPostParams added in v1.0.48

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 added in v1.0.48

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 added in v1.0.48

func NewPcloudV2VolumescloneStartPostParamsWithContext(ctx context.Context) *PcloudV2VolumescloneStartPostParams

NewPcloudV2VolumescloneStartPostParamsWithContext creates a new PcloudV2VolumescloneStartPostParams object with the ability to set a context for a request.

func NewPcloudV2VolumescloneStartPostParamsWithHTTPClient added in v1.0.48

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 added in v1.0.48

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 added in v1.0.48

func (o *PcloudV2VolumescloneStartPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) SetContext added in v1.0.48

SetContext adds the context to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) SetDefaults added in v1.1.0

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 added in v1.0.48

func (o *PcloudV2VolumescloneStartPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) SetTimeout added in v1.0.48

func (o *PcloudV2VolumescloneStartPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) SetVolumesCloneID added in v1.0.48

func (o *PcloudV2VolumescloneStartPostParams) SetVolumesCloneID(volumesCloneID string)

SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) WithCloudInstanceID added in v1.0.48

func (o *PcloudV2VolumescloneStartPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudV2VolumescloneStartPostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) WithContext added in v1.0.48

WithContext adds the context to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) WithDefaults added in v1.1.0

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 added in v1.0.48

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) WithTimeout added in v1.0.48

WithTimeout adds the timeout to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) WithVolumesCloneID added in v1.0.48

WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) WriteToRequest added in v1.0.48

WriteToRequest writes these params to a swagger request

type PcloudV2VolumescloneStartPostReader added in v1.0.48

type PcloudV2VolumescloneStartPostReader struct {
	// contains filtered or unexported fields
}

PcloudV2VolumescloneStartPostReader is a Reader for the PcloudV2VolumescloneStartPost structure.

func (*PcloudV2VolumescloneStartPostReader) ReadResponse added in v1.0.48

func (o *PcloudV2VolumescloneStartPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudV2VolumescloneStartPostUnauthorized added in v1.0.59

type PcloudV2VolumescloneStartPostUnauthorized struct {
	Payload *models.Error
}

PcloudV2VolumescloneStartPostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudV2VolumescloneStartPostUnauthorized added in v1.0.59

func NewPcloudV2VolumescloneStartPostUnauthorized() *PcloudV2VolumescloneStartPostUnauthorized

NewPcloudV2VolumescloneStartPostUnauthorized creates a PcloudV2VolumescloneStartPostUnauthorized with default headers values

func (*PcloudV2VolumescloneStartPostUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud v2 volumesclone start post unauthorized response

func (*PcloudV2VolumescloneStartPostUnauthorized) Error added in v1.0.59

func (*PcloudV2VolumescloneStartPostUnauthorized) GetPayload added in v1.1.0

func (*PcloudV2VolumescloneStartPostUnauthorized) IsClientError added in v1.2.2

IsClientError returns true when this pcloud v2 volumesclone start post unauthorized response has a 4xx status code

func (*PcloudV2VolumescloneStartPostUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud v2 volumesclone start post unauthorized response a status code equal to that given

func (*PcloudV2VolumescloneStartPostUnauthorized) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud v2 volumesclone start post unauthorized response has a 3xx status code

func (*PcloudV2VolumescloneStartPostUnauthorized) IsServerError added in v1.2.2

IsServerError returns true when this pcloud v2 volumesclone start post unauthorized response has a 5xx status code

func (*PcloudV2VolumescloneStartPostUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud v2 volumesclone start post unauthorized response has a 2xx status code

func (*PcloudV2VolumescloneStartPostUnauthorized) String added in v1.2.2

type PcloudVolumesClonePostBadRequest added in v1.0.6

type PcloudVolumesClonePostBadRequest struct {
	Payload *models.Error
}

PcloudVolumesClonePostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPcloudVolumesClonePostBadRequest added in v1.0.6

func NewPcloudVolumesClonePostBadRequest() *PcloudVolumesClonePostBadRequest

NewPcloudVolumesClonePostBadRequest creates a PcloudVolumesClonePostBadRequest with default headers values

func (*PcloudVolumesClonePostBadRequest) Code added in v1.2.4

Code gets the status code for the pcloud volumes clone post bad request response

func (*PcloudVolumesClonePostBadRequest) Error added in v1.0.6

func (*PcloudVolumesClonePostBadRequest) GetPayload added in v1.1.0

func (*PcloudVolumesClonePostBadRequest) IsClientError added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

type PcloudVolumesClonePostConflict added in v1.0.6

type PcloudVolumesClonePostConflict struct {
	Payload *models.Error
}

PcloudVolumesClonePostConflict describes a response with status code 409, with default header values.

Conflict

func NewPcloudVolumesClonePostConflict added in v1.0.6

func NewPcloudVolumesClonePostConflict() *PcloudVolumesClonePostConflict

NewPcloudVolumesClonePostConflict creates a PcloudVolumesClonePostConflict with default headers values

func (*PcloudVolumesClonePostConflict) Code added in v1.2.4

Code gets the status code for the pcloud volumes clone post conflict response

func (*PcloudVolumesClonePostConflict) Error added in v1.0.6

func (*PcloudVolumesClonePostConflict) GetPayload added in v1.1.0

func (o *PcloudVolumesClonePostConflict) GetPayload() *models.Error

func (*PcloudVolumesClonePostConflict) IsClientError added in v1.2.2

func (o *PcloudVolumesClonePostConflict) IsClientError() bool

IsClientError returns true when this pcloud volumes clone post conflict response has a 4xx status code

func (*PcloudVolumesClonePostConflict) IsCode added in v1.2.2

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 added in v1.2.2

func (o *PcloudVolumesClonePostConflict) IsRedirect() bool

IsRedirect returns true when this pcloud volumes clone post conflict response has a 3xx status code

func (*PcloudVolumesClonePostConflict) IsServerError added in v1.2.2

func (o *PcloudVolumesClonePostConflict) IsServerError() bool

IsServerError returns true when this pcloud volumes clone post conflict response has a 5xx status code

func (*PcloudVolumesClonePostConflict) IsSuccess added in v1.2.2

func (o *PcloudVolumesClonePostConflict) IsSuccess() bool

IsSuccess returns true when this pcloud volumes clone post conflict response has a 2xx status code

func (*PcloudVolumesClonePostConflict) String added in v1.2.2

type PcloudVolumesClonePostForbidden added in v1.1.12

type PcloudVolumesClonePostForbidden struct {
	Payload *models.Error
}

PcloudVolumesClonePostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudVolumesClonePostForbidden added in v1.1.12

func NewPcloudVolumesClonePostForbidden() *PcloudVolumesClonePostForbidden

NewPcloudVolumesClonePostForbidden creates a PcloudVolumesClonePostForbidden with default headers values

func (*PcloudVolumesClonePostForbidden) Code added in v1.2.4

Code gets the status code for the pcloud volumes clone post forbidden response

func (*PcloudVolumesClonePostForbidden) Error added in v1.1.12

func (*PcloudVolumesClonePostForbidden) GetPayload added in v1.1.12

func (o *PcloudVolumesClonePostForbidden) GetPayload() *models.Error

func (*PcloudVolumesClonePostForbidden) IsClientError added in v1.2.2

func (o *PcloudVolumesClonePostForbidden) IsClientError() bool

IsClientError returns true when this pcloud volumes clone post forbidden response has a 4xx status code

func (*PcloudVolumesClonePostForbidden) IsCode added in v1.2.2

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 added in v1.2.2

func (o *PcloudVolumesClonePostForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud volumes clone post forbidden response has a 3xx status code

func (*PcloudVolumesClonePostForbidden) IsServerError added in v1.2.2

func (o *PcloudVolumesClonePostForbidden) IsServerError() bool

IsServerError returns true when this pcloud volumes clone post forbidden response has a 5xx status code

func (*PcloudVolumesClonePostForbidden) IsSuccess added in v1.2.2

func (o *PcloudVolumesClonePostForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud volumes clone post forbidden response has a 2xx status code

func (*PcloudVolumesClonePostForbidden) String added in v1.2.2

type PcloudVolumesClonePostInternalServerError added in v1.0.6

type PcloudVolumesClonePostInternalServerError struct {
	Payload *models.Error
}

PcloudVolumesClonePostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudVolumesClonePostInternalServerError added in v1.0.6

func NewPcloudVolumesClonePostInternalServerError() *PcloudVolumesClonePostInternalServerError

NewPcloudVolumesClonePostInternalServerError creates a PcloudVolumesClonePostInternalServerError with default headers values

func (*PcloudVolumesClonePostInternalServerError) Code added in v1.2.4

Code gets the status code for the pcloud volumes clone post internal server error response

func (*PcloudVolumesClonePostInternalServerError) Error added in v1.0.6

func (*PcloudVolumesClonePostInternalServerError) GetPayload added in v1.1.0

func (*PcloudVolumesClonePostInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this pcloud volumes clone post internal server error response has a 4xx status code

func (*PcloudVolumesClonePostInternalServerError) IsCode added in v1.2.2

IsCode returns true when this pcloud volumes clone post internal server error response a status code equal to that given

func (*PcloudVolumesClonePostInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this pcloud volumes clone post internal server error response has a 3xx status code

func (*PcloudVolumesClonePostInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this pcloud volumes clone post internal server error response has a 5xx status code

func (*PcloudVolumesClonePostInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud volumes clone post internal server error response has a 2xx status code

func (*PcloudVolumesClonePostInternalServerError) String added in v1.2.2

type PcloudVolumesClonePostNotFound added in v1.4.2

type PcloudVolumesClonePostNotFound struct {
	Payload *models.Error
}

PcloudVolumesClonePostNotFound describes a response with status code 404, with default header values.

Not Found

func NewPcloudVolumesClonePostNotFound added in v1.4.2

func NewPcloudVolumesClonePostNotFound() *PcloudVolumesClonePostNotFound

NewPcloudVolumesClonePostNotFound creates a PcloudVolumesClonePostNotFound with default headers values

func (*PcloudVolumesClonePostNotFound) Code added in v1.4.2

Code gets the status code for the pcloud volumes clone post not found response

func (*PcloudVolumesClonePostNotFound) Error added in v1.4.2

func (*PcloudVolumesClonePostNotFound) GetPayload added in v1.4.2

func (o *PcloudVolumesClonePostNotFound) GetPayload() *models.Error

func (*PcloudVolumesClonePostNotFound) IsClientError added in v1.4.2

func (o *PcloudVolumesClonePostNotFound) IsClientError() bool

IsClientError returns true when this pcloud volumes clone post not found response has a 4xx status code

func (*PcloudVolumesClonePostNotFound) IsCode added in v1.4.2

func (o *PcloudVolumesClonePostNotFound) IsCode(code int) bool

IsCode returns true when this pcloud volumes clone post not found response a status code equal to that given

func (*PcloudVolumesClonePostNotFound) IsRedirect added in v1.4.2

func (o *PcloudVolumesClonePostNotFound) IsRedirect() bool

IsRedirect returns true when this pcloud volumes clone post not found response has a 3xx status code

func (*PcloudVolumesClonePostNotFound) IsServerError added in v1.4.2

func (o *PcloudVolumesClonePostNotFound) IsServerError() bool

IsServerError returns true when this pcloud volumes clone post not found response has a 5xx status code

func (*PcloudVolumesClonePostNotFound) IsSuccess added in v1.4.2

func (o *PcloudVolumesClonePostNotFound) IsSuccess() bool

IsSuccess returns true when this pcloud volumes clone post not found response has a 2xx status code

func (*PcloudVolumesClonePostNotFound) String added in v1.4.2

type PcloudVolumesClonePostOK added in v1.0.6

type PcloudVolumesClonePostOK struct {
	Payload *models.VolumesCloneResponse
}

PcloudVolumesClonePostOK describes a response with status code 200, with default header values.

OK

func NewPcloudVolumesClonePostOK added in v1.0.6

func NewPcloudVolumesClonePostOK() *PcloudVolumesClonePostOK

NewPcloudVolumesClonePostOK creates a PcloudVolumesClonePostOK with default headers values

func (*PcloudVolumesClonePostOK) Code added in v1.2.4

func (o *PcloudVolumesClonePostOK) Code() int

Code gets the status code for the pcloud volumes clone post o k response

func (*PcloudVolumesClonePostOK) Error added in v1.0.6

func (o *PcloudVolumesClonePostOK) Error() string

func (*PcloudVolumesClonePostOK) GetPayload added in v1.1.0

func (*PcloudVolumesClonePostOK) IsClientError added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

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 added in v1.2.2

func (o *PcloudVolumesClonePostOK) String() string

type PcloudVolumesClonePostParams added in v1.0.6

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 added in v1.0.6

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 added in v1.0.6

func NewPcloudVolumesClonePostParamsWithContext(ctx context.Context) *PcloudVolumesClonePostParams

NewPcloudVolumesClonePostParamsWithContext creates a new PcloudVolumesClonePostParams object with the ability to set a context for a request.

func NewPcloudVolumesClonePostParamsWithHTTPClient added in v1.0.6

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 added in v1.0.6

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 added in v1.0.6

SetBody adds the body to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) SetCloudInstanceID added in v1.0.6

func (o *PcloudVolumesClonePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) SetContext added in v1.0.6

func (o *PcloudVolumesClonePostParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) SetDefaults added in v1.1.0

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 added in v1.0.6

func (o *PcloudVolumesClonePostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) SetTimeout added in v1.0.6

func (o *PcloudVolumesClonePostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithBody added in v1.0.6

WithBody adds the body to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithCloudInstanceID added in v1.0.6

func (o *PcloudVolumesClonePostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudVolumesClonePostParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithContext added in v1.0.6

WithContext adds the context to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithDefaults added in v1.1.0

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 added in v1.0.6

WithHTTPClient adds the HTTPClient to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithTimeout added in v1.0.6

WithTimeout adds the timeout to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WriteToRequest added in v1.0.6

WriteToRequest writes these params to a swagger request

type PcloudVolumesClonePostReader added in v1.0.6

type PcloudVolumesClonePostReader struct {
	// contains filtered or unexported fields
}

PcloudVolumesClonePostReader is a Reader for the PcloudVolumesClonePost structure.

func (*PcloudVolumesClonePostReader) ReadResponse added in v1.0.6

func (o *PcloudVolumesClonePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudVolumesClonePostUnauthorized added in v1.0.59

type PcloudVolumesClonePostUnauthorized struct {
	Payload *models.Error
}

PcloudVolumesClonePostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudVolumesClonePostUnauthorized added in v1.0.59

func NewPcloudVolumesClonePostUnauthorized() *PcloudVolumesClonePostUnauthorized

NewPcloudVolumesClonePostUnauthorized creates a PcloudVolumesClonePostUnauthorized with default headers values

func (*PcloudVolumesClonePostUnauthorized) Code added in v1.2.4

Code gets the status code for the pcloud volumes clone post unauthorized response

func (*PcloudVolumesClonePostUnauthorized) Error added in v1.0.59

func (*PcloudVolumesClonePostUnauthorized) GetPayload added in v1.1.0

func (*PcloudVolumesClonePostUnauthorized) IsClientError added in v1.2.2

func (o *PcloudVolumesClonePostUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud volumes clone post unauthorized response has a 4xx status code

func (*PcloudVolumesClonePostUnauthorized) IsCode added in v1.2.2

IsCode returns true when this pcloud volumes clone post unauthorized response a status code equal to that given

func (*PcloudVolumesClonePostUnauthorized) IsRedirect added in v1.2.2

func (o *PcloudVolumesClonePostUnauthorized) IsRedirect() bool

IsRedirect returns true when this pcloud volumes clone post unauthorized response has a 3xx status code

func (*PcloudVolumesClonePostUnauthorized) IsServerError added in v1.2.2

func (o *PcloudVolumesClonePostUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud volumes clone post unauthorized response has a 5xx status code

func (*PcloudVolumesClonePostUnauthorized) IsSuccess added in v1.2.2

IsSuccess returns true when this pcloud volumes clone post unauthorized response has a 2xx status code

func (*PcloudVolumesClonePostUnauthorized) String added in v1.2.2

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL