p_cloud_volumes

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 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) 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) PcloudPvminstancesVolumesDelete

PcloudPvminstancesVolumesDelete detaches a volume from a p VM instance

func (*Client) PcloudPvminstancesVolumesGet

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

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

func (*Client) PcloudPvminstancesVolumesGetall

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

PcloudPvminstancesVolumesGetall lists all volumes attached to a p VM instance

func (*Client) PcloudPvminstancesVolumesPost

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

PcloudPvminstancesVolumesPost attaches a volume to a p VM instance

func (*Client) PcloudPvminstancesVolumesPut

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

PcloudPvminstancesVolumesPut updates a volume attached to a p VM instance

func (*Client) PcloudPvminstancesVolumesSetbootPut

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

PcloudPvminstancesVolumesSetbootPut sets the p VM instance volume as the boot volume

func (*Client) PcloudV2PvminstancesVolumesPost added in v1.0.56

PcloudV2PvminstancesVolumesPost attaches all volumes to a p VM instance

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) 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 cleanup action 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

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

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 {
	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)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	PcloudVolumesClonePost(params *PcloudVolumesClonePostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudVolumesClonePostOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new p cloud volumes API client.

type PcloudCloudinstancesVolumesActionPostAccepted 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) Error added in v1.0.76

func (*PcloudCloudinstancesVolumesActionPostAccepted) GetPayload added in v1.1.0

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

func (*PcloudCloudinstancesVolumesActionPostBadRequest) GetPayload added in v1.1.0

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

func (*PcloudCloudinstancesVolumesActionPostInternalServerError) GetPayload added in v1.1.0

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

func (*PcloudCloudinstancesVolumesActionPostNotFound) GetPayload added in v1.1.0

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

func (*PcloudCloudinstancesVolumesActionPostUnauthorized) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesDeleteBadRequest) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesDeleteGone) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesDeleteInternalServerError) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesDeleteOK) GetPayload added in v1.1.0

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

func (*PcloudCloudinstancesVolumesDeleteUnauthorized) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesGetBadRequest) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesGetInternalServerError) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesGetNotFound) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesGetOK) GetPayload added in v1.1.0

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

func (*PcloudCloudinstancesVolumesGetUnauthorized) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesGetallBadRequest) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesGetallInternalServerError) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesGetallNotFound) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesGetallOK) GetPayload added in v1.1.0

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

	/* 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) 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) 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) Error added in v1.0.59

func (*PcloudCloudinstancesVolumesGetallUnauthorized) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesPostAccepted) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesPostBadRequest) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesPostConflict) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesPostInternalServerError) GetPayload added in v1.1.0

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

func (*PcloudCloudinstancesVolumesPostUnauthorized) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesPutBadRequest) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesPutConflict) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesPutInternalServerError) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesPutOK) GetPayload added in v1.1.0

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

func (*PcloudCloudinstancesVolumesPutUnauthorized) GetPayload added in v1.1.0

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) Error

func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesDeleteAccepted) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesDeleteBadRequest) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesDeleteConflict) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesDeleteForbidden) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesDeleteInternalServerError) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesDeleteNotFound) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesDeleteUnauthorized) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesGetBadRequest) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesGetInternalServerError) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesGetNotFound) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesGetOK) GetPayload added in v1.1.0

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

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

func (*PcloudPvminstancesVolumesGetUnauthorized) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesGetallBadRequest) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesGetallInternalServerError) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesGetallNotFound) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesGetallOK) GetPayload added in v1.1.0

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

func (*PcloudPvminstancesVolumesGetallUnauthorized) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesPostBadRequest) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesPostConflict) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesPostForbidden) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesPostInternalServerError) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesPostNotFound) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesPostOK) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesPostUnauthorized) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesPutBadRequest) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesPutInternalServerError) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesPutOK) GetPayload added in v1.1.0

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 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) Error

func (*PcloudPvminstancesVolumesSetbootPutBadRequest) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesSetbootPutNotFound) GetPayload added in v1.1.0

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) Error

func (*PcloudPvminstancesVolumesSetbootPutOK) GetPayload added in v1.1.0

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

func (*PcloudPvminstancesVolumesSetbootPutUnauthorized) GetPayload added in v1.1.0

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) Error added in v1.0.56

func (*PcloudV2PvminstancesVolumesPostAccepted) GetPayload added in v1.1.0

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) Error added in v1.0.56

func (*PcloudV2PvminstancesVolumesPostBadRequest) GetPayload added in v1.1.0

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) Error added in v1.0.56

func (*PcloudV2PvminstancesVolumesPostInternalServerError) GetPayload added in v1.1.0

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) Error added in v1.0.56

func (*PcloudV2PvminstancesVolumesPostNotFound) GetPayload added in v1.1.0

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

func (*PcloudV2PvminstancesVolumesPostUnauthorized) GetPayload added in v1.1.0

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) Error added in v1.0.46

func (*PcloudV2VolumesClonePostAccepted) GetPayload added in v1.1.0

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) Error added in v1.0.46

func (*PcloudV2VolumesClonePostBadRequest) GetPayload added in v1.1.0

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) Error added in v1.0.46

func (*PcloudV2VolumesClonePostInternalServerError) GetPayload added in v1.1.0

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) Error added in v1.0.46

func (*PcloudV2VolumesClonePostNotFound) GetPayload added in v1.1.0

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

func (*PcloudV2VolumesClonePostUnauthorized) GetPayload added in v1.1.0

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) Error added in v1.0.46

func (*PcloudV2VolumesClonetasksGetBadRequest) GetPayload added in v1.1.0

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) Error added in v1.0.46

func (*PcloudV2VolumesClonetasksGetConflict) GetPayload added in v1.1.0

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) Error added in v1.0.46

func (*PcloudV2VolumesClonetasksGetInternalServerError) GetPayload added in v1.1.0

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) Error added in v1.0.46

func (*PcloudV2VolumesClonetasksGetNotFound) GetPayload added in v1.1.0

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) Error added in v1.0.46

func (*PcloudV2VolumesClonetasksGetOK) GetPayload added in v1.1.0

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

func (*PcloudV2VolumesClonetasksGetUnauthorized) GetPayload added in v1.1.0

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) Error added in v1.0.38

func (*PcloudV2VolumesPostBadRequest) GetPayload added in v1.1.0

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

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) Error added in v1.0.38

func (*PcloudV2VolumesPostConflict) GetPayload added in v1.1.0

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

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) Error added in v1.0.38

func (*PcloudV2VolumesPostCreated) GetPayload added in v1.1.0

func (o *PcloudV2VolumesPostCreated) GetPayload() *models.Volumes

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) Error added in v1.0.38

func (*PcloudV2VolumesPostInternalServerError) GetPayload added in v1.1.0

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

func (*PcloudV2VolumesPostUnauthorized) GetPayload added in v1.1.0

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

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) Error added in v1.0.56

func (*PcloudV2VolumesPostUnprocessableEntity) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneCancelPostAccepted) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneCancelPostInternalServerError) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneCancelPostNotFound) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneCancelPostUnauthorized) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneDeleteBadRequest) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneDeleteInternalServerError) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneDeleteNotFound) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneDeleteOK) GetPayload added in v1.1.0

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

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

func (*PcloudV2VolumescloneDeleteUnauthorized) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneExecutePostAccepted) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneExecutePostBadRequest) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneExecutePostInternalServerError) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneExecutePostNotFound) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneExecutePostUnauthorized) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneGetBadRequest) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneGetInternalServerError) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneGetNotFound) GetPayload added in v1.1.0

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

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

func (o *PcloudV2VolumescloneGetOK) Error() string

func (*PcloudV2VolumescloneGetOK) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneGetUnauthorized) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneGetallBadRequest) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneGetallInternalServerError) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneGetallNotFound) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneGetallOK) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneGetallUnauthorized) GetPayload added in v1.1.0

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

func (*PcloudV2VolumesclonePostAccepted) GetPayload added in v1.1.0

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

func (*PcloudV2VolumesclonePostBadRequest) GetPayload added in v1.1.0

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

func (*PcloudV2VolumesclonePostForbidden) GetPayload added in v1.1.0

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

func (*PcloudV2VolumesclonePostInternalServerError) GetPayload added in v1.1.0

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

func (*PcloudV2VolumesclonePostNotFound) GetPayload added in v1.1.0

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

func (*PcloudV2VolumesclonePostUnauthorized) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneStartPostInternalServerError) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneStartPostNotFound) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneStartPostOK) GetPayload added in v1.1.0

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

func (*PcloudV2VolumescloneStartPostUnauthorized) GetPayload added in v1.1.0

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) Error added in v1.0.6

func (*PcloudVolumesClonePostBadRequest) GetPayload added in v1.1.0

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) Error added in v1.0.6

func (*PcloudVolumesClonePostConflict) GetPayload added in v1.1.0

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

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) Error added in v1.0.6

func (*PcloudVolumesClonePostInternalServerError) GetPayload added in v1.1.0

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) Error added in v1.0.6

func (o *PcloudVolumesClonePostOK) Error() string

func (*PcloudVolumesClonePostOK) GetPayload added in v1.1.0

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

func (*PcloudVolumesClonePostUnauthorized) GetPayload added in v1.1.0

Source Files

Jump to

Keyboard shortcuts

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