p_cloud_volumes

package
v1.0.54-beta Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for p cloud volumes API

func New

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

New creates a new p cloud volumes API client.

func (*Client) PcloudCloudinstancesVolumesDelete

PcloudCloudinstancesVolumesDelete deletes a cloud instance volume

func (*Client) PcloudCloudinstancesVolumesGet

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

PcloudCloudinstancesVolumesGet detaileds info of a volume

func (*Client) PcloudCloudinstancesVolumesGetall

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) (*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) (*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) (*PcloudPvminstancesVolumesGetallOK, error)

PcloudPvminstancesVolumesGetall lists all volumes attached to a p VM instance

func (*Client) PcloudPvminstancesVolumesPost

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

PcloudPvminstancesVolumesPost attaches a volume to a p VM instance

func (*Client) PcloudPvminstancesVolumesPut

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

PcloudPvminstancesVolumesPut updates a volume attached to a p VM instance

func (*Client) PcloudPvminstancesVolumesSetbootPut

PcloudPvminstancesVolumesSetbootPut sets the p VM instance volume as the boot volume

func (*Client) PcloudV2VolumesClonePost

PcloudV2VolumesClonePost creates a volume clone for specified volumes

func (*Client) PcloudV2VolumesClonetasksGet

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

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

func (*Client) PcloudV2VolumesPost

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

PcloudV2VolumesPost creates multiple data volumes from a single definition

func (*Client) PcloudV2VolumescloneCancelPost

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

func (*Client) PcloudV2VolumescloneDelete

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

PcloudV2VolumescloneDelete deletes a volumes clone request

func (*Client) PcloudV2VolumescloneExecutePost

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

func (*Client) PcloudV2VolumescloneGet

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

PcloudV2VolumescloneGet gets the details for a volumes clone request

func (*Client) PcloudV2VolumescloneGetall

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

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

func (*Client) PcloudV2VolumesclonePost

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

func (*Client) PcloudV2VolumescloneStartPost

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

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

func (*Client) PcloudVolumesClonePost

func (a *Client) PcloudVolumesClonePost(params *PcloudVolumesClonePostParams, authInfo runtime.ClientAuthInfoWriter) (*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 PcloudCloudinstancesVolumesDeleteBadRequest

type PcloudCloudinstancesVolumesDeleteBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesVolumesDeleteBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesVolumesDeleteBadRequest

func NewPcloudCloudinstancesVolumesDeleteBadRequest() *PcloudCloudinstancesVolumesDeleteBadRequest

NewPcloudCloudinstancesVolumesDeleteBadRequest creates a PcloudCloudinstancesVolumesDeleteBadRequest with default headers values

func (*PcloudCloudinstancesVolumesDeleteBadRequest) Error

type PcloudCloudinstancesVolumesDeleteGone

type PcloudCloudinstancesVolumesDeleteGone struct {
	Payload *models.Error
}

PcloudCloudinstancesVolumesDeleteGone handles this case with default header values.

Gone

func NewPcloudCloudinstancesVolumesDeleteGone

func NewPcloudCloudinstancesVolumesDeleteGone() *PcloudCloudinstancesVolumesDeleteGone

NewPcloudCloudinstancesVolumesDeleteGone creates a PcloudCloudinstancesVolumesDeleteGone with default headers values

func (*PcloudCloudinstancesVolumesDeleteGone) Error

type PcloudCloudinstancesVolumesDeleteInternalServerError

type PcloudCloudinstancesVolumesDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesVolumesDeleteInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesVolumesDeleteInternalServerError

func NewPcloudCloudinstancesVolumesDeleteInternalServerError() *PcloudCloudinstancesVolumesDeleteInternalServerError

NewPcloudCloudinstancesVolumesDeleteInternalServerError creates a PcloudCloudinstancesVolumesDeleteInternalServerError with default headers values

func (*PcloudCloudinstancesVolumesDeleteInternalServerError) Error

type PcloudCloudinstancesVolumesDeleteOK

type PcloudCloudinstancesVolumesDeleteOK struct {
	Payload models.Object
}

PcloudCloudinstancesVolumesDeleteOK handles this case with default header values.

OK

func NewPcloudCloudinstancesVolumesDeleteOK

func NewPcloudCloudinstancesVolumesDeleteOK() *PcloudCloudinstancesVolumesDeleteOK

NewPcloudCloudinstancesVolumesDeleteOK creates a PcloudCloudinstancesVolumesDeleteOK with default headers values

func (*PcloudCloudinstancesVolumesDeleteOK) Error

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 values initialized.

func NewPcloudCloudinstancesVolumesDeleteParamsWithContext

func NewPcloudCloudinstancesVolumesDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesDeleteParams

NewPcloudCloudinstancesVolumesDeleteParamsWithContext creates a new PcloudCloudinstancesVolumesDeleteParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudCloudinstancesVolumesGetBadRequest

type PcloudCloudinstancesVolumesGetBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesVolumesGetBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesVolumesGetBadRequest

func NewPcloudCloudinstancesVolumesGetBadRequest() *PcloudCloudinstancesVolumesGetBadRequest

NewPcloudCloudinstancesVolumesGetBadRequest creates a PcloudCloudinstancesVolumesGetBadRequest with default headers values

func (*PcloudCloudinstancesVolumesGetBadRequest) Error

type PcloudCloudinstancesVolumesGetInternalServerError

type PcloudCloudinstancesVolumesGetInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesVolumesGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesVolumesGetInternalServerError

func NewPcloudCloudinstancesVolumesGetInternalServerError() *PcloudCloudinstancesVolumesGetInternalServerError

NewPcloudCloudinstancesVolumesGetInternalServerError creates a PcloudCloudinstancesVolumesGetInternalServerError with default headers values

func (*PcloudCloudinstancesVolumesGetInternalServerError) Error

type PcloudCloudinstancesVolumesGetNotFound

type PcloudCloudinstancesVolumesGetNotFound struct {
	Payload *models.Error
}

PcloudCloudinstancesVolumesGetNotFound handles this case with default header values.

Not Found

func NewPcloudCloudinstancesVolumesGetNotFound

func NewPcloudCloudinstancesVolumesGetNotFound() *PcloudCloudinstancesVolumesGetNotFound

NewPcloudCloudinstancesVolumesGetNotFound creates a PcloudCloudinstancesVolumesGetNotFound with default headers values

func (*PcloudCloudinstancesVolumesGetNotFound) Error

type PcloudCloudinstancesVolumesGetOK

type PcloudCloudinstancesVolumesGetOK struct {
	Payload *models.Volume
}

PcloudCloudinstancesVolumesGetOK handles this case with default header values.

OK

func NewPcloudCloudinstancesVolumesGetOK

func NewPcloudCloudinstancesVolumesGetOK() *PcloudCloudinstancesVolumesGetOK

NewPcloudCloudinstancesVolumesGetOK creates a PcloudCloudinstancesVolumesGetOK with default headers values

func (*PcloudCloudinstancesVolumesGetOK) Error

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 values initialized.

func NewPcloudCloudinstancesVolumesGetParamsWithContext

func NewPcloudCloudinstancesVolumesGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesGetParams

NewPcloudCloudinstancesVolumesGetParamsWithContext creates a new PcloudCloudinstancesVolumesGetParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudCloudinstancesVolumesGetallBadRequest

type PcloudCloudinstancesVolumesGetallBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesVolumesGetallBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesVolumesGetallBadRequest

func NewPcloudCloudinstancesVolumesGetallBadRequest() *PcloudCloudinstancesVolumesGetallBadRequest

NewPcloudCloudinstancesVolumesGetallBadRequest creates a PcloudCloudinstancesVolumesGetallBadRequest with default headers values

func (*PcloudCloudinstancesVolumesGetallBadRequest) Error

type PcloudCloudinstancesVolumesGetallInternalServerError

type PcloudCloudinstancesVolumesGetallInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesVolumesGetallInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesVolumesGetallInternalServerError

func NewPcloudCloudinstancesVolumesGetallInternalServerError() *PcloudCloudinstancesVolumesGetallInternalServerError

NewPcloudCloudinstancesVolumesGetallInternalServerError creates a PcloudCloudinstancesVolumesGetallInternalServerError with default headers values

func (*PcloudCloudinstancesVolumesGetallInternalServerError) Error

type PcloudCloudinstancesVolumesGetallNotFound

type PcloudCloudinstancesVolumesGetallNotFound struct {
	Payload *models.Error
}

PcloudCloudinstancesVolumesGetallNotFound handles this case with default header values.

Not Found

func NewPcloudCloudinstancesVolumesGetallNotFound

func NewPcloudCloudinstancesVolumesGetallNotFound() *PcloudCloudinstancesVolumesGetallNotFound

NewPcloudCloudinstancesVolumesGetallNotFound creates a PcloudCloudinstancesVolumesGetallNotFound with default headers values

func (*PcloudCloudinstancesVolumesGetallNotFound) Error

type PcloudCloudinstancesVolumesGetallOK

type PcloudCloudinstancesVolumesGetallOK struct {
	Payload *models.Volumes
}

PcloudCloudinstancesVolumesGetallOK handles this case with default header values.

OK

func NewPcloudCloudinstancesVolumesGetallOK

func NewPcloudCloudinstancesVolumesGetallOK() *PcloudCloudinstancesVolumesGetallOK

NewPcloudCloudinstancesVolumesGetallOK creates a PcloudCloudinstancesVolumesGetallOK with default headers values

func (*PcloudCloudinstancesVolumesGetallOK) Error

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

	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 values initialized.

func NewPcloudCloudinstancesVolumesGetallParamsWithContext

func NewPcloudCloudinstancesVolumesGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesGetallParams

NewPcloudCloudinstancesVolumesGetallParamsWithContext creates a new PcloudCloudinstancesVolumesGetallParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient 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) WithHTTPClient

WithHTTPClient adds the HTTPClient 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 PcloudCloudinstancesVolumesPostAccepted

type PcloudCloudinstancesVolumesPostAccepted struct {
	Payload *models.Volume
}

PcloudCloudinstancesVolumesPostAccepted handles this case with default header values.

Accepted

func NewPcloudCloudinstancesVolumesPostAccepted

func NewPcloudCloudinstancesVolumesPostAccepted() *PcloudCloudinstancesVolumesPostAccepted

NewPcloudCloudinstancesVolumesPostAccepted creates a PcloudCloudinstancesVolumesPostAccepted with default headers values

func (*PcloudCloudinstancesVolumesPostAccepted) Error

type PcloudCloudinstancesVolumesPostBadRequest

type PcloudCloudinstancesVolumesPostBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesVolumesPostBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesVolumesPostBadRequest

func NewPcloudCloudinstancesVolumesPostBadRequest() *PcloudCloudinstancesVolumesPostBadRequest

NewPcloudCloudinstancesVolumesPostBadRequest creates a PcloudCloudinstancesVolumesPostBadRequest with default headers values

func (*PcloudCloudinstancesVolumesPostBadRequest) Error

type PcloudCloudinstancesVolumesPostConflict

type PcloudCloudinstancesVolumesPostConflict struct {
	Payload *models.Error
}

PcloudCloudinstancesVolumesPostConflict handles this case with default header values.

Conflict

func NewPcloudCloudinstancesVolumesPostConflict

func NewPcloudCloudinstancesVolumesPostConflict() *PcloudCloudinstancesVolumesPostConflict

NewPcloudCloudinstancesVolumesPostConflict creates a PcloudCloudinstancesVolumesPostConflict with default headers values

func (*PcloudCloudinstancesVolumesPostConflict) Error

type PcloudCloudinstancesVolumesPostInternalServerError

type PcloudCloudinstancesVolumesPostInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesVolumesPostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesVolumesPostInternalServerError

func NewPcloudCloudinstancesVolumesPostInternalServerError() *PcloudCloudinstancesVolumesPostInternalServerError

NewPcloudCloudinstancesVolumesPostInternalServerError creates a PcloudCloudinstancesVolumesPostInternalServerError with default headers values

func (*PcloudCloudinstancesVolumesPostInternalServerError) Error

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 values initialized.

func NewPcloudCloudinstancesVolumesPostParamsWithContext

func NewPcloudCloudinstancesVolumesPostParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesPostParams

NewPcloudCloudinstancesVolumesPostParamsWithContext creates a new PcloudCloudinstancesVolumesPostParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudCloudinstancesVolumesPostUnprocessableEntity

type PcloudCloudinstancesVolumesPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudCloudinstancesVolumesPostUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudCloudinstancesVolumesPostUnprocessableEntity

func NewPcloudCloudinstancesVolumesPostUnprocessableEntity() *PcloudCloudinstancesVolumesPostUnprocessableEntity

NewPcloudCloudinstancesVolumesPostUnprocessableEntity creates a PcloudCloudinstancesVolumesPostUnprocessableEntity with default headers values

func (*PcloudCloudinstancesVolumesPostUnprocessableEntity) Error

type PcloudCloudinstancesVolumesPutBadRequest

type PcloudCloudinstancesVolumesPutBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesVolumesPutBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesVolumesPutBadRequest

func NewPcloudCloudinstancesVolumesPutBadRequest() *PcloudCloudinstancesVolumesPutBadRequest

NewPcloudCloudinstancesVolumesPutBadRequest creates a PcloudCloudinstancesVolumesPutBadRequest with default headers values

func (*PcloudCloudinstancesVolumesPutBadRequest) Error

type PcloudCloudinstancesVolumesPutConflict

type PcloudCloudinstancesVolumesPutConflict struct {
	Payload *models.Error
}

PcloudCloudinstancesVolumesPutConflict handles this case with default header values.

Conflict

func NewPcloudCloudinstancesVolumesPutConflict

func NewPcloudCloudinstancesVolumesPutConflict() *PcloudCloudinstancesVolumesPutConflict

NewPcloudCloudinstancesVolumesPutConflict creates a PcloudCloudinstancesVolumesPutConflict with default headers values

func (*PcloudCloudinstancesVolumesPutConflict) Error

type PcloudCloudinstancesVolumesPutInternalServerError

type PcloudCloudinstancesVolumesPutInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesVolumesPutInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesVolumesPutInternalServerError

func NewPcloudCloudinstancesVolumesPutInternalServerError() *PcloudCloudinstancesVolumesPutInternalServerError

NewPcloudCloudinstancesVolumesPutInternalServerError creates a PcloudCloudinstancesVolumesPutInternalServerError with default headers values

func (*PcloudCloudinstancesVolumesPutInternalServerError) Error

type PcloudCloudinstancesVolumesPutOK

type PcloudCloudinstancesVolumesPutOK struct {
	Payload *models.Volume
}

PcloudCloudinstancesVolumesPutOK handles this case with default header values.

OK

func NewPcloudCloudinstancesVolumesPutOK

func NewPcloudCloudinstancesVolumesPutOK() *PcloudCloudinstancesVolumesPutOK

NewPcloudCloudinstancesVolumesPutOK creates a PcloudCloudinstancesVolumesPutOK with default headers values

func (*PcloudCloudinstancesVolumesPutOK) Error

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 values initialized.

func NewPcloudCloudinstancesVolumesPutParamsWithContext

func NewPcloudCloudinstancesVolumesPutParamsWithContext(ctx context.Context) *PcloudCloudinstancesVolumesPutParams

NewPcloudCloudinstancesVolumesPutParamsWithContext creates a new PcloudCloudinstancesVolumesPutParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudCloudinstancesVolumesPutUnprocessableEntity

type PcloudCloudinstancesVolumesPutUnprocessableEntity struct {
	Payload *models.Error
}

PcloudCloudinstancesVolumesPutUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudCloudinstancesVolumesPutUnprocessableEntity

func NewPcloudCloudinstancesVolumesPutUnprocessableEntity() *PcloudCloudinstancesVolumesPutUnprocessableEntity

NewPcloudCloudinstancesVolumesPutUnprocessableEntity creates a PcloudCloudinstancesVolumesPutUnprocessableEntity with default headers values

func (*PcloudCloudinstancesVolumesPutUnprocessableEntity) Error

type PcloudPvminstancesVolumesDeleteAccepted

type PcloudPvminstancesVolumesDeleteAccepted struct {
	Payload models.Object
}

PcloudPvminstancesVolumesDeleteAccepted handles this case with default header values.

OK

func NewPcloudPvminstancesVolumesDeleteAccepted

func NewPcloudPvminstancesVolumesDeleteAccepted() *PcloudPvminstancesVolumesDeleteAccepted

NewPcloudPvminstancesVolumesDeleteAccepted creates a PcloudPvminstancesVolumesDeleteAccepted with default headers values

func (*PcloudPvminstancesVolumesDeleteAccepted) Error

type PcloudPvminstancesVolumesDeleteBadRequest

type PcloudPvminstancesVolumesDeleteBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesDeleteBadRequest handles this case with default header values.

Bad Request

func NewPcloudPvminstancesVolumesDeleteBadRequest

func NewPcloudPvminstancesVolumesDeleteBadRequest() *PcloudPvminstancesVolumesDeleteBadRequest

NewPcloudPvminstancesVolumesDeleteBadRequest creates a PcloudPvminstancesVolumesDeleteBadRequest with default headers values

func (*PcloudPvminstancesVolumesDeleteBadRequest) Error

type PcloudPvminstancesVolumesDeleteConflict

type PcloudPvminstancesVolumesDeleteConflict struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesDeleteConflict handles this case with default header values.

Conflict

func NewPcloudPvminstancesVolumesDeleteConflict

func NewPcloudPvminstancesVolumesDeleteConflict() *PcloudPvminstancesVolumesDeleteConflict

NewPcloudPvminstancesVolumesDeleteConflict creates a PcloudPvminstancesVolumesDeleteConflict with default headers values

func (*PcloudPvminstancesVolumesDeleteConflict) Error

type PcloudPvminstancesVolumesDeleteForbidden

type PcloudPvminstancesVolumesDeleteForbidden struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesDeleteForbidden handles this case with default header values.

Forbidden

func NewPcloudPvminstancesVolumesDeleteForbidden

func NewPcloudPvminstancesVolumesDeleteForbidden() *PcloudPvminstancesVolumesDeleteForbidden

NewPcloudPvminstancesVolumesDeleteForbidden creates a PcloudPvminstancesVolumesDeleteForbidden with default headers values

func (*PcloudPvminstancesVolumesDeleteForbidden) Error

type PcloudPvminstancesVolumesDeleteInternalServerError

type PcloudPvminstancesVolumesDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesDeleteInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesVolumesDeleteInternalServerError

func NewPcloudPvminstancesVolumesDeleteInternalServerError() *PcloudPvminstancesVolumesDeleteInternalServerError

NewPcloudPvminstancesVolumesDeleteInternalServerError creates a PcloudPvminstancesVolumesDeleteInternalServerError with default headers values

func (*PcloudPvminstancesVolumesDeleteInternalServerError) Error

type PcloudPvminstancesVolumesDeleteNotFound

type PcloudPvminstancesVolumesDeleteNotFound struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesDeleteNotFound handles this case with default header values.

Not Found

func NewPcloudPvminstancesVolumesDeleteNotFound

func NewPcloudPvminstancesVolumesDeleteNotFound() *PcloudPvminstancesVolumesDeleteNotFound

NewPcloudPvminstancesVolumesDeleteNotFound creates a PcloudPvminstancesVolumesDeleteNotFound with default headers values

func (*PcloudPvminstancesVolumesDeleteNotFound) Error

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 values initialized.

func NewPcloudPvminstancesVolumesDeleteParamsWithContext

func NewPcloudPvminstancesVolumesDeleteParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesDeleteParams

NewPcloudPvminstancesVolumesDeleteParamsWithContext creates a new PcloudPvminstancesVolumesDeleteParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Unauthorized

func NewPcloudPvminstancesVolumesDeleteUnauthorized

func NewPcloudPvminstancesVolumesDeleteUnauthorized() *PcloudPvminstancesVolumesDeleteUnauthorized

NewPcloudPvminstancesVolumesDeleteUnauthorized creates a PcloudPvminstancesVolumesDeleteUnauthorized with default headers values

func (*PcloudPvminstancesVolumesDeleteUnauthorized) Error

type PcloudPvminstancesVolumesGetBadRequest

type PcloudPvminstancesVolumesGetBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesGetBadRequest handles this case with default header values.

Bad Request

func NewPcloudPvminstancesVolumesGetBadRequest

func NewPcloudPvminstancesVolumesGetBadRequest() *PcloudPvminstancesVolumesGetBadRequest

NewPcloudPvminstancesVolumesGetBadRequest creates a PcloudPvminstancesVolumesGetBadRequest with default headers values

func (*PcloudPvminstancesVolumesGetBadRequest) Error

type PcloudPvminstancesVolumesGetInternalServerError

type PcloudPvminstancesVolumesGetInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesVolumesGetInternalServerError

func NewPcloudPvminstancesVolumesGetInternalServerError() *PcloudPvminstancesVolumesGetInternalServerError

NewPcloudPvminstancesVolumesGetInternalServerError creates a PcloudPvminstancesVolumesGetInternalServerError with default headers values

func (*PcloudPvminstancesVolumesGetInternalServerError) Error

type PcloudPvminstancesVolumesGetNotFound

type PcloudPvminstancesVolumesGetNotFound struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesGetNotFound handles this case with default header values.

Not Found

func NewPcloudPvminstancesVolumesGetNotFound

func NewPcloudPvminstancesVolumesGetNotFound() *PcloudPvminstancesVolumesGetNotFound

NewPcloudPvminstancesVolumesGetNotFound creates a PcloudPvminstancesVolumesGetNotFound with default headers values

func (*PcloudPvminstancesVolumesGetNotFound) Error

type PcloudPvminstancesVolumesGetOK

type PcloudPvminstancesVolumesGetOK struct {
	Payload *models.Volume
}

PcloudPvminstancesVolumesGetOK handles this case with default header values.

OK

func NewPcloudPvminstancesVolumesGetOK

func NewPcloudPvminstancesVolumesGetOK() *PcloudPvminstancesVolumesGetOK

NewPcloudPvminstancesVolumesGetOK creates a PcloudPvminstancesVolumesGetOK with default headers values

func (*PcloudPvminstancesVolumesGetOK) Error

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 values initialized.

func NewPcloudPvminstancesVolumesGetParamsWithContext

func NewPcloudPvminstancesVolumesGetParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesGetParams

NewPcloudPvminstancesVolumesGetParamsWithContext creates a new PcloudPvminstancesVolumesGetParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudPvminstancesVolumesGetallBadRequest

type PcloudPvminstancesVolumesGetallBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesGetallBadRequest handles this case with default header values.

Bad Request

func NewPcloudPvminstancesVolumesGetallBadRequest

func NewPcloudPvminstancesVolumesGetallBadRequest() *PcloudPvminstancesVolumesGetallBadRequest

NewPcloudPvminstancesVolumesGetallBadRequest creates a PcloudPvminstancesVolumesGetallBadRequest with default headers values

func (*PcloudPvminstancesVolumesGetallBadRequest) Error

type PcloudPvminstancesVolumesGetallInternalServerError

type PcloudPvminstancesVolumesGetallInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesGetallInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesVolumesGetallInternalServerError

func NewPcloudPvminstancesVolumesGetallInternalServerError() *PcloudPvminstancesVolumesGetallInternalServerError

NewPcloudPvminstancesVolumesGetallInternalServerError creates a PcloudPvminstancesVolumesGetallInternalServerError with default headers values

func (*PcloudPvminstancesVolumesGetallInternalServerError) Error

type PcloudPvminstancesVolumesGetallNotFound

type PcloudPvminstancesVolumesGetallNotFound struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesGetallNotFound handles this case with default header values.

Not Found

func NewPcloudPvminstancesVolumesGetallNotFound

func NewPcloudPvminstancesVolumesGetallNotFound() *PcloudPvminstancesVolumesGetallNotFound

NewPcloudPvminstancesVolumesGetallNotFound creates a PcloudPvminstancesVolumesGetallNotFound with default headers values

func (*PcloudPvminstancesVolumesGetallNotFound) Error

type PcloudPvminstancesVolumesGetallOK

type PcloudPvminstancesVolumesGetallOK struct {
	Payload *models.Volumes
}

PcloudPvminstancesVolumesGetallOK handles this case with default header values.

OK

func NewPcloudPvminstancesVolumesGetallOK

func NewPcloudPvminstancesVolumesGetallOK() *PcloudPvminstancesVolumesGetallOK

NewPcloudPvminstancesVolumesGetallOK creates a PcloudPvminstancesVolumesGetallOK with default headers values

func (*PcloudPvminstancesVolumesGetallOK) Error

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 values initialized.

func NewPcloudPvminstancesVolumesGetallParamsWithContext

func NewPcloudPvminstancesVolumesGetallParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesGetallParams

NewPcloudPvminstancesVolumesGetallParamsWithContext creates a new PcloudPvminstancesVolumesGetallParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudPvminstancesVolumesPostBadRequest

type PcloudPvminstancesVolumesPostBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesPostBadRequest handles this case with default header values.

Bad Request

func NewPcloudPvminstancesVolumesPostBadRequest

func NewPcloudPvminstancesVolumesPostBadRequest() *PcloudPvminstancesVolumesPostBadRequest

NewPcloudPvminstancesVolumesPostBadRequest creates a PcloudPvminstancesVolumesPostBadRequest with default headers values

func (*PcloudPvminstancesVolumesPostBadRequest) Error

type PcloudPvminstancesVolumesPostConflict

type PcloudPvminstancesVolumesPostConflict struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesPostConflict handles this case with default header values.

Conflict

func NewPcloudPvminstancesVolumesPostConflict

func NewPcloudPvminstancesVolumesPostConflict() *PcloudPvminstancesVolumesPostConflict

NewPcloudPvminstancesVolumesPostConflict creates a PcloudPvminstancesVolumesPostConflict with default headers values

func (*PcloudPvminstancesVolumesPostConflict) Error

type PcloudPvminstancesVolumesPostForbidden

type PcloudPvminstancesVolumesPostForbidden struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesPostForbidden handles this case with default header values.

Forbidden

func NewPcloudPvminstancesVolumesPostForbidden

func NewPcloudPvminstancesVolumesPostForbidden() *PcloudPvminstancesVolumesPostForbidden

NewPcloudPvminstancesVolumesPostForbidden creates a PcloudPvminstancesVolumesPostForbidden with default headers values

func (*PcloudPvminstancesVolumesPostForbidden) Error

type PcloudPvminstancesVolumesPostInternalServerError

type PcloudPvminstancesVolumesPostInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesPostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesVolumesPostInternalServerError

func NewPcloudPvminstancesVolumesPostInternalServerError() *PcloudPvminstancesVolumesPostInternalServerError

NewPcloudPvminstancesVolumesPostInternalServerError creates a PcloudPvminstancesVolumesPostInternalServerError with default headers values

func (*PcloudPvminstancesVolumesPostInternalServerError) Error

type PcloudPvminstancesVolumesPostNotFound

type PcloudPvminstancesVolumesPostNotFound struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesPostNotFound handles this case with default header values.

Not Found

func NewPcloudPvminstancesVolumesPostNotFound

func NewPcloudPvminstancesVolumesPostNotFound() *PcloudPvminstancesVolumesPostNotFound

NewPcloudPvminstancesVolumesPostNotFound creates a PcloudPvminstancesVolumesPostNotFound with default headers values

func (*PcloudPvminstancesVolumesPostNotFound) Error

type PcloudPvminstancesVolumesPostOK

type PcloudPvminstancesVolumesPostOK struct {
	Payload models.Object
}

PcloudPvminstancesVolumesPostOK handles this case with default header values.

OK

func NewPcloudPvminstancesVolumesPostOK

func NewPcloudPvminstancesVolumesPostOK() *PcloudPvminstancesVolumesPostOK

NewPcloudPvminstancesVolumesPostOK creates a PcloudPvminstancesVolumesPostOK with default headers values

func (*PcloudPvminstancesVolumesPostOK) Error

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 values initialized.

func NewPcloudPvminstancesVolumesPostParamsWithContext

func NewPcloudPvminstancesVolumesPostParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesPostParams

NewPcloudPvminstancesVolumesPostParamsWithContext creates a new PcloudPvminstancesVolumesPostParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Unauthorized

func NewPcloudPvminstancesVolumesPostUnauthorized

func NewPcloudPvminstancesVolumesPostUnauthorized() *PcloudPvminstancesVolumesPostUnauthorized

NewPcloudPvminstancesVolumesPostUnauthorized creates a PcloudPvminstancesVolumesPostUnauthorized with default headers values

func (*PcloudPvminstancesVolumesPostUnauthorized) Error

type PcloudPvminstancesVolumesPutBadRequest

type PcloudPvminstancesVolumesPutBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesPutBadRequest handles this case with default header values.

Bad Request

func NewPcloudPvminstancesVolumesPutBadRequest

func NewPcloudPvminstancesVolumesPutBadRequest() *PcloudPvminstancesVolumesPutBadRequest

NewPcloudPvminstancesVolumesPutBadRequest creates a PcloudPvminstancesVolumesPutBadRequest with default headers values

func (*PcloudPvminstancesVolumesPutBadRequest) Error

type PcloudPvminstancesVolumesPutInternalServerError

type PcloudPvminstancesVolumesPutInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesPutInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesVolumesPutInternalServerError

func NewPcloudPvminstancesVolumesPutInternalServerError() *PcloudPvminstancesVolumesPutInternalServerError

NewPcloudPvminstancesVolumesPutInternalServerError creates a PcloudPvminstancesVolumesPutInternalServerError with default headers values

func (*PcloudPvminstancesVolumesPutInternalServerError) Error

type PcloudPvminstancesVolumesPutOK

type PcloudPvminstancesVolumesPutOK struct {
	Payload models.Object
}

PcloudPvminstancesVolumesPutOK handles this case with default header values.

OK

func NewPcloudPvminstancesVolumesPutOK

func NewPcloudPvminstancesVolumesPutOK() *PcloudPvminstancesVolumesPutOK

NewPcloudPvminstancesVolumesPutOK creates a PcloudPvminstancesVolumesPutOK with default headers values

func (*PcloudPvminstancesVolumesPutOK) Error

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 values initialized.

func NewPcloudPvminstancesVolumesPutParamsWithContext

func NewPcloudPvminstancesVolumesPutParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesPutParams

NewPcloudPvminstancesVolumesPutParamsWithContext creates a new PcloudPvminstancesVolumesPutParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Bad Request

func NewPcloudPvminstancesVolumesSetbootPutBadRequest

func NewPcloudPvminstancesVolumesSetbootPutBadRequest() *PcloudPvminstancesVolumesSetbootPutBadRequest

NewPcloudPvminstancesVolumesSetbootPutBadRequest creates a PcloudPvminstancesVolumesSetbootPutBadRequest with default headers values

func (*PcloudPvminstancesVolumesSetbootPutBadRequest) Error

type PcloudPvminstancesVolumesSetbootPutInternalServerError

type PcloudPvminstancesVolumesSetbootPutInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesSetbootPutInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesVolumesSetbootPutInternalServerError

func NewPcloudPvminstancesVolumesSetbootPutInternalServerError() *PcloudPvminstancesVolumesSetbootPutInternalServerError

NewPcloudPvminstancesVolumesSetbootPutInternalServerError creates a PcloudPvminstancesVolumesSetbootPutInternalServerError with default headers values

func (*PcloudPvminstancesVolumesSetbootPutInternalServerError) Error

type PcloudPvminstancesVolumesSetbootPutNotFound

type PcloudPvminstancesVolumesSetbootPutNotFound struct {
	Payload *models.Error
}

PcloudPvminstancesVolumesSetbootPutNotFound handles this case with default header values.

Not Found

func NewPcloudPvminstancesVolumesSetbootPutNotFound

func NewPcloudPvminstancesVolumesSetbootPutNotFound() *PcloudPvminstancesVolumesSetbootPutNotFound

NewPcloudPvminstancesVolumesSetbootPutNotFound creates a PcloudPvminstancesVolumesSetbootPutNotFound with default headers values

func (*PcloudPvminstancesVolumesSetbootPutNotFound) Error

type PcloudPvminstancesVolumesSetbootPutOK

type PcloudPvminstancesVolumesSetbootPutOK struct {
	Payload models.Object
}

PcloudPvminstancesVolumesSetbootPutOK handles this case with default header values.

OK

func NewPcloudPvminstancesVolumesSetbootPutOK

func NewPcloudPvminstancesVolumesSetbootPutOK() *PcloudPvminstancesVolumesSetbootPutOK

NewPcloudPvminstancesVolumesSetbootPutOK creates a PcloudPvminstancesVolumesSetbootPutOK with default headers values

func (*PcloudPvminstancesVolumesSetbootPutOK) Error

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 values initialized.

func NewPcloudPvminstancesVolumesSetbootPutParamsWithContext

func NewPcloudPvminstancesVolumesSetbootPutParamsWithContext(ctx context.Context) *PcloudPvminstancesVolumesSetbootPutParams

NewPcloudPvminstancesVolumesSetbootPutParamsWithContext creates a new PcloudPvminstancesVolumesSetbootPutParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudV2VolumesClonePostAccepted

type PcloudV2VolumesClonePostAccepted struct {
	Payload *models.CloneTaskReference
}

PcloudV2VolumesClonePostAccepted handles this case with default header values.

Accepted

func NewPcloudV2VolumesClonePostAccepted

func NewPcloudV2VolumesClonePostAccepted() *PcloudV2VolumesClonePostAccepted

NewPcloudV2VolumesClonePostAccepted creates a PcloudV2VolumesClonePostAccepted with default headers values

func (*PcloudV2VolumesClonePostAccepted) Error

type PcloudV2VolumesClonePostBadRequest

type PcloudV2VolumesClonePostBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumesClonePostBadRequest handles this case with default header values.

Bad Request

func NewPcloudV2VolumesClonePostBadRequest

func NewPcloudV2VolumesClonePostBadRequest() *PcloudV2VolumesClonePostBadRequest

NewPcloudV2VolumesClonePostBadRequest creates a PcloudV2VolumesClonePostBadRequest with default headers values

func (*PcloudV2VolumesClonePostBadRequest) Error

type PcloudV2VolumesClonePostInternalServerError

type PcloudV2VolumesClonePostInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumesClonePostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudV2VolumesClonePostInternalServerError

func NewPcloudV2VolumesClonePostInternalServerError() *PcloudV2VolumesClonePostInternalServerError

NewPcloudV2VolumesClonePostInternalServerError creates a PcloudV2VolumesClonePostInternalServerError with default headers values

func (*PcloudV2VolumesClonePostInternalServerError) Error

type PcloudV2VolumesClonePostNotFound

type PcloudV2VolumesClonePostNotFound struct {
	Payload *models.Error
}

PcloudV2VolumesClonePostNotFound handles this case with default header values.

Not Found

func NewPcloudV2VolumesClonePostNotFound

func NewPcloudV2VolumesClonePostNotFound() *PcloudV2VolumesClonePostNotFound

NewPcloudV2VolumesClonePostNotFound creates a PcloudV2VolumesClonePostNotFound with default headers values

func (*PcloudV2VolumesClonePostNotFound) Error

type PcloudV2VolumesClonePostParams

type PcloudV2VolumesClonePostParams struct {

	/*Body
	  Parameters for the cloning of volumes

	*/
	Body *models.VolumesCloneAsyncRequest
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string

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

PcloudV2VolumesClonePostParams contains all the parameters to send to the API endpoint for the pcloud v2 volumes clone post operation typically these are written to a http.Request

func NewPcloudV2VolumesClonePostParams

func NewPcloudV2VolumesClonePostParams() *PcloudV2VolumesClonePostParams

NewPcloudV2VolumesClonePostParams creates a new PcloudV2VolumesClonePostParams object with the default values initialized.

func NewPcloudV2VolumesClonePostParamsWithContext

func NewPcloudV2VolumesClonePostParamsWithContext(ctx context.Context) *PcloudV2VolumesClonePostParams

NewPcloudV2VolumesClonePostParamsWithContext creates a new PcloudV2VolumesClonePostParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudV2VolumesClonePostParamsWithHTTPClient

func NewPcloudV2VolumesClonePostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumesClonePostParams

NewPcloudV2VolumesClonePostParamsWithHTTPClient creates a new PcloudV2VolumesClonePostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudV2VolumesClonePostParamsWithTimeout

func NewPcloudV2VolumesClonePostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumesClonePostParams

NewPcloudV2VolumesClonePostParamsWithTimeout creates a new PcloudV2VolumesClonePostParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudV2VolumesClonePostParams) SetBody

SetBody adds the body to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) SetCloudInstanceID

func (o *PcloudV2VolumesClonePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) SetContext

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

SetContext adds the context to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) WithBody

WithBody adds the body to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) WithContext

WithContext adds the context to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumes clone post params

func (*PcloudV2VolumesClonePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumesClonePostReader

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

PcloudV2VolumesClonePostReader is a Reader for the PcloudV2VolumesClonePost structure.

func (*PcloudV2VolumesClonePostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudV2VolumesClonetasksGetBadRequest

type PcloudV2VolumesClonetasksGetBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumesClonetasksGetBadRequest handles this case with default header values.

Bad Request

func NewPcloudV2VolumesClonetasksGetBadRequest

func NewPcloudV2VolumesClonetasksGetBadRequest() *PcloudV2VolumesClonetasksGetBadRequest

NewPcloudV2VolumesClonetasksGetBadRequest creates a PcloudV2VolumesClonetasksGetBadRequest with default headers values

func (*PcloudV2VolumesClonetasksGetBadRequest) Error

type PcloudV2VolumesClonetasksGetConflict

type PcloudV2VolumesClonetasksGetConflict struct {
	Payload *models.Error
}

PcloudV2VolumesClonetasksGetConflict handles this case with default header values.

Conflict

func NewPcloudV2VolumesClonetasksGetConflict

func NewPcloudV2VolumesClonetasksGetConflict() *PcloudV2VolumesClonetasksGetConflict

NewPcloudV2VolumesClonetasksGetConflict creates a PcloudV2VolumesClonetasksGetConflict with default headers values

func (*PcloudV2VolumesClonetasksGetConflict) Error

type PcloudV2VolumesClonetasksGetInternalServerError

type PcloudV2VolumesClonetasksGetInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumesClonetasksGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudV2VolumesClonetasksGetInternalServerError

func NewPcloudV2VolumesClonetasksGetInternalServerError() *PcloudV2VolumesClonetasksGetInternalServerError

NewPcloudV2VolumesClonetasksGetInternalServerError creates a PcloudV2VolumesClonetasksGetInternalServerError with default headers values

func (*PcloudV2VolumesClonetasksGetInternalServerError) Error

type PcloudV2VolumesClonetasksGetNotFound

type PcloudV2VolumesClonetasksGetNotFound struct {
	Payload *models.Error
}

PcloudV2VolumesClonetasksGetNotFound handles this case with default header values.

Not Found

func NewPcloudV2VolumesClonetasksGetNotFound

func NewPcloudV2VolumesClonetasksGetNotFound() *PcloudV2VolumesClonetasksGetNotFound

NewPcloudV2VolumesClonetasksGetNotFound creates a PcloudV2VolumesClonetasksGetNotFound with default headers values

func (*PcloudV2VolumesClonetasksGetNotFound) Error

type PcloudV2VolumesClonetasksGetOK

type PcloudV2VolumesClonetasksGetOK struct {
	Payload *models.CloneTaskStatus
}

PcloudV2VolumesClonetasksGetOK handles this case with default header values.

OK

func NewPcloudV2VolumesClonetasksGetOK

func NewPcloudV2VolumesClonetasksGetOK() *PcloudV2VolumesClonetasksGetOK

NewPcloudV2VolumesClonetasksGetOK creates a PcloudV2VolumesClonetasksGetOK with default headers values

func (*PcloudV2VolumesClonetasksGetOK) Error

type PcloudV2VolumesClonetasksGetParams

type PcloudV2VolumesClonetasksGetParams struct {

	/*CloneTaskID
	  Volumes Clone Task ID

	*/
	CloneTaskID string
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string

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

PcloudV2VolumesClonetasksGetParams contains all the parameters to send to the API endpoint for the pcloud v2 volumes clonetasks get operation typically these are written to a http.Request

func NewPcloudV2VolumesClonetasksGetParams

func NewPcloudV2VolumesClonetasksGetParams() *PcloudV2VolumesClonetasksGetParams

NewPcloudV2VolumesClonetasksGetParams creates a new PcloudV2VolumesClonetasksGetParams object with the default values initialized.

func NewPcloudV2VolumesClonetasksGetParamsWithContext

func NewPcloudV2VolumesClonetasksGetParamsWithContext(ctx context.Context) *PcloudV2VolumesClonetasksGetParams

NewPcloudV2VolumesClonetasksGetParamsWithContext creates a new PcloudV2VolumesClonetasksGetParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudV2VolumesClonetasksGetParamsWithHTTPClient

func NewPcloudV2VolumesClonetasksGetParamsWithHTTPClient(client *http.Client) *PcloudV2VolumesClonetasksGetParams

NewPcloudV2VolumesClonetasksGetParamsWithHTTPClient creates a new PcloudV2VolumesClonetasksGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudV2VolumesClonetasksGetParamsWithTimeout

func NewPcloudV2VolumesClonetasksGetParamsWithTimeout(timeout time.Duration) *PcloudV2VolumesClonetasksGetParams

NewPcloudV2VolumesClonetasksGetParamsWithTimeout creates a new PcloudV2VolumesClonetasksGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudV2VolumesClonetasksGetParams) SetCloneTaskID

func (o *PcloudV2VolumesClonetasksGetParams) SetCloneTaskID(cloneTaskID string)

SetCloneTaskID adds the cloneTaskId to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) SetCloudInstanceID

func (o *PcloudV2VolumesClonetasksGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) SetContext

SetContext adds the context to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) WithCloneTaskID

WithCloneTaskID adds the cloneTaskID to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) WithContext

WithContext adds the context to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumes clonetasks get params

func (*PcloudV2VolumesClonetasksGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumesClonetasksGetReader

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

PcloudV2VolumesClonetasksGetReader is a Reader for the PcloudV2VolumesClonetasksGet structure.

func (*PcloudV2VolumesClonetasksGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudV2VolumesPostBadRequest

type PcloudV2VolumesPostBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumesPostBadRequest handles this case with default header values.

Bad Request

func NewPcloudV2VolumesPostBadRequest

func NewPcloudV2VolumesPostBadRequest() *PcloudV2VolumesPostBadRequest

NewPcloudV2VolumesPostBadRequest creates a PcloudV2VolumesPostBadRequest with default headers values

func (*PcloudV2VolumesPostBadRequest) Error

type PcloudV2VolumesPostConflict

type PcloudV2VolumesPostConflict struct {
	Payload *models.Error
}

PcloudV2VolumesPostConflict handles this case with default header values.

Conflict

func NewPcloudV2VolumesPostConflict

func NewPcloudV2VolumesPostConflict() *PcloudV2VolumesPostConflict

NewPcloudV2VolumesPostConflict creates a PcloudV2VolumesPostConflict with default headers values

func (*PcloudV2VolumesPostConflict) Error

type PcloudV2VolumesPostCreated

type PcloudV2VolumesPostCreated struct {
	Payload *models.Volumes
}

PcloudV2VolumesPostCreated handles this case with default header values.

Created

func NewPcloudV2VolumesPostCreated

func NewPcloudV2VolumesPostCreated() *PcloudV2VolumesPostCreated

NewPcloudV2VolumesPostCreated creates a PcloudV2VolumesPostCreated with default headers values

func (*PcloudV2VolumesPostCreated) Error

type PcloudV2VolumesPostInternalServerError

type PcloudV2VolumesPostInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumesPostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudV2VolumesPostInternalServerError

func NewPcloudV2VolumesPostInternalServerError() *PcloudV2VolumesPostInternalServerError

NewPcloudV2VolumesPostInternalServerError creates a PcloudV2VolumesPostInternalServerError with default headers values

func (*PcloudV2VolumesPostInternalServerError) Error

type PcloudV2VolumesPostParams

type PcloudV2VolumesPostParams struct {

	/*Body
	  Parameters for creating multiple volumes

	*/
	Body *models.MultiVolumesCreate
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string

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

PcloudV2VolumesPostParams contains all the parameters to send to the API endpoint for the pcloud v2 volumes post operation typically these are written to a http.Request

func NewPcloudV2VolumesPostParams

func NewPcloudV2VolumesPostParams() *PcloudV2VolumesPostParams

NewPcloudV2VolumesPostParams creates a new PcloudV2VolumesPostParams object with the default values initialized.

func NewPcloudV2VolumesPostParamsWithContext

func NewPcloudV2VolumesPostParamsWithContext(ctx context.Context) *PcloudV2VolumesPostParams

NewPcloudV2VolumesPostParamsWithContext creates a new PcloudV2VolumesPostParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudV2VolumesPostParamsWithHTTPClient

func NewPcloudV2VolumesPostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumesPostParams

NewPcloudV2VolumesPostParamsWithHTTPClient creates a new PcloudV2VolumesPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudV2VolumesPostParamsWithTimeout

func NewPcloudV2VolumesPostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumesPostParams

NewPcloudV2VolumesPostParamsWithTimeout creates a new PcloudV2VolumesPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudV2VolumesPostParams) SetBody

SetBody adds the body to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) SetCloudInstanceID

func (o *PcloudV2VolumesPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) SetContext

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

SetContext adds the context to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) WithBody

WithBody adds the body to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) WithContext

WithContext adds the context to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) WithHTTPClient

func (o *PcloudV2VolumesPostParams) WithHTTPClient(client *http.Client) *PcloudV2VolumesPostParams

WithHTTPClient adds the HTTPClient to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumes post params

func (*PcloudV2VolumesPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumesPostReader

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

PcloudV2VolumesPostReader is a Reader for the PcloudV2VolumesPost structure.

func (*PcloudV2VolumesPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudV2VolumescloneCancelPostAccepted

type PcloudV2VolumescloneCancelPostAccepted struct {
	Payload *models.VolumesClone
}

PcloudV2VolumescloneCancelPostAccepted handles this case with default header values.

Accepted

func NewPcloudV2VolumescloneCancelPostAccepted

func NewPcloudV2VolumescloneCancelPostAccepted() *PcloudV2VolumescloneCancelPostAccepted

NewPcloudV2VolumescloneCancelPostAccepted creates a PcloudV2VolumescloneCancelPostAccepted with default headers values

func (*PcloudV2VolumescloneCancelPostAccepted) Error

type PcloudV2VolumescloneCancelPostInternalServerError

type PcloudV2VolumescloneCancelPostInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumescloneCancelPostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudV2VolumescloneCancelPostInternalServerError

func NewPcloudV2VolumescloneCancelPostInternalServerError() *PcloudV2VolumescloneCancelPostInternalServerError

NewPcloudV2VolumescloneCancelPostInternalServerError creates a PcloudV2VolumescloneCancelPostInternalServerError with default headers values

func (*PcloudV2VolumescloneCancelPostInternalServerError) Error

type PcloudV2VolumescloneCancelPostNotFound

type PcloudV2VolumescloneCancelPostNotFound struct {
	Payload *models.Error
}

PcloudV2VolumescloneCancelPostNotFound handles this case with default header values.

Not Found

func NewPcloudV2VolumescloneCancelPostNotFound

func NewPcloudV2VolumescloneCancelPostNotFound() *PcloudV2VolumescloneCancelPostNotFound

NewPcloudV2VolumescloneCancelPostNotFound creates a PcloudV2VolumescloneCancelPostNotFound with default headers values

func (*PcloudV2VolumescloneCancelPostNotFound) Error

type PcloudV2VolumescloneCancelPostParams

type PcloudV2VolumescloneCancelPostParams struct {

	/*Body
	  Parameters for cancelling a volumes-clone request

	*/
	Body *models.VolumesCloneCancel
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*VolumesCloneID
	  Volumes Clone ID

	*/
	VolumesCloneID string

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

PcloudV2VolumescloneCancelPostParams contains all the parameters to send to the API endpoint for the pcloud v2 volumesclone cancel post operation typically these are written to a http.Request

func NewPcloudV2VolumescloneCancelPostParams

func NewPcloudV2VolumescloneCancelPostParams() *PcloudV2VolumescloneCancelPostParams

NewPcloudV2VolumescloneCancelPostParams creates a new PcloudV2VolumescloneCancelPostParams object with the default values initialized.

func NewPcloudV2VolumescloneCancelPostParamsWithContext

func NewPcloudV2VolumescloneCancelPostParamsWithContext(ctx context.Context) *PcloudV2VolumescloneCancelPostParams

NewPcloudV2VolumescloneCancelPostParamsWithContext creates a new PcloudV2VolumescloneCancelPostParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudV2VolumescloneCancelPostParamsWithHTTPClient

func NewPcloudV2VolumescloneCancelPostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneCancelPostParams

NewPcloudV2VolumescloneCancelPostParamsWithHTTPClient creates a new PcloudV2VolumescloneCancelPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudV2VolumescloneCancelPostParamsWithTimeout

func NewPcloudV2VolumescloneCancelPostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneCancelPostParams

NewPcloudV2VolumescloneCancelPostParamsWithTimeout creates a new PcloudV2VolumescloneCancelPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudV2VolumescloneCancelPostParams) SetBody

SetBody adds the body to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) SetCloudInstanceID

func (o *PcloudV2VolumescloneCancelPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) SetContext

SetContext adds the context to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) SetVolumesCloneID

func (o *PcloudV2VolumescloneCancelPostParams) SetVolumesCloneID(volumesCloneID string)

SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WithBody

WithBody adds the body to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WithContext

WithContext adds the context to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WithVolumesCloneID

WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone cancel post params

func (*PcloudV2VolumescloneCancelPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumescloneCancelPostReader

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

PcloudV2VolumescloneCancelPostReader is a Reader for the PcloudV2VolumescloneCancelPost structure.

func (*PcloudV2VolumescloneCancelPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudV2VolumescloneDeleteBadRequest

type PcloudV2VolumescloneDeleteBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumescloneDeleteBadRequest handles this case with default header values.

Bad Request

func NewPcloudV2VolumescloneDeleteBadRequest

func NewPcloudV2VolumescloneDeleteBadRequest() *PcloudV2VolumescloneDeleteBadRequest

NewPcloudV2VolumescloneDeleteBadRequest creates a PcloudV2VolumescloneDeleteBadRequest with default headers values

func (*PcloudV2VolumescloneDeleteBadRequest) Error

type PcloudV2VolumescloneDeleteInternalServerError

type PcloudV2VolumescloneDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumescloneDeleteInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudV2VolumescloneDeleteInternalServerError

func NewPcloudV2VolumescloneDeleteInternalServerError() *PcloudV2VolumescloneDeleteInternalServerError

NewPcloudV2VolumescloneDeleteInternalServerError creates a PcloudV2VolumescloneDeleteInternalServerError with default headers values

func (*PcloudV2VolumescloneDeleteInternalServerError) Error

type PcloudV2VolumescloneDeleteNotFound

type PcloudV2VolumescloneDeleteNotFound struct {
	Payload *models.Error
}

PcloudV2VolumescloneDeleteNotFound handles this case with default header values.

Not Found

func NewPcloudV2VolumescloneDeleteNotFound

func NewPcloudV2VolumescloneDeleteNotFound() *PcloudV2VolumescloneDeleteNotFound

NewPcloudV2VolumescloneDeleteNotFound creates a PcloudV2VolumescloneDeleteNotFound with default headers values

func (*PcloudV2VolumescloneDeleteNotFound) Error

type PcloudV2VolumescloneDeleteOK

type PcloudV2VolumescloneDeleteOK struct {
	Payload models.Object
}

PcloudV2VolumescloneDeleteOK handles this case with default header values.

OK

func NewPcloudV2VolumescloneDeleteOK

func NewPcloudV2VolumescloneDeleteOK() *PcloudV2VolumescloneDeleteOK

NewPcloudV2VolumescloneDeleteOK creates a PcloudV2VolumescloneDeleteOK with default headers values

func (*PcloudV2VolumescloneDeleteOK) Error

type PcloudV2VolumescloneDeleteParams

type PcloudV2VolumescloneDeleteParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*VolumesCloneID
	  Volumes Clone ID

	*/
	VolumesCloneID string

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

PcloudV2VolumescloneDeleteParams contains all the parameters to send to the API endpoint for the pcloud v2 volumesclone delete operation typically these are written to a http.Request

func NewPcloudV2VolumescloneDeleteParams

func NewPcloudV2VolumescloneDeleteParams() *PcloudV2VolumescloneDeleteParams

NewPcloudV2VolumescloneDeleteParams creates a new PcloudV2VolumescloneDeleteParams object with the default values initialized.

func NewPcloudV2VolumescloneDeleteParamsWithContext

func NewPcloudV2VolumescloneDeleteParamsWithContext(ctx context.Context) *PcloudV2VolumescloneDeleteParams

NewPcloudV2VolumescloneDeleteParamsWithContext creates a new PcloudV2VolumescloneDeleteParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudV2VolumescloneDeleteParamsWithHTTPClient

func NewPcloudV2VolumescloneDeleteParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneDeleteParams

NewPcloudV2VolumescloneDeleteParamsWithHTTPClient creates a new PcloudV2VolumescloneDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudV2VolumescloneDeleteParamsWithTimeout

func NewPcloudV2VolumescloneDeleteParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneDeleteParams

NewPcloudV2VolumescloneDeleteParamsWithTimeout creates a new PcloudV2VolumescloneDeleteParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudV2VolumescloneDeleteParams) SetCloudInstanceID

func (o *PcloudV2VolumescloneDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) SetContext

SetContext adds the context to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) SetVolumesCloneID

func (o *PcloudV2VolumescloneDeleteParams) SetVolumesCloneID(volumesCloneID string)

SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) WithContext

WithContext adds the context to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) WithVolumesCloneID

func (o *PcloudV2VolumescloneDeleteParams) WithVolumesCloneID(volumesCloneID string) *PcloudV2VolumescloneDeleteParams

WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone delete params

func (*PcloudV2VolumescloneDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumescloneDeleteReader

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

PcloudV2VolumescloneDeleteReader is a Reader for the PcloudV2VolumescloneDelete structure.

func (*PcloudV2VolumescloneDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudV2VolumescloneExecutePostAccepted

type PcloudV2VolumescloneExecutePostAccepted struct {
	Payload *models.VolumesClone
}

PcloudV2VolumescloneExecutePostAccepted handles this case with default header values.

Accepted

func NewPcloudV2VolumescloneExecutePostAccepted

func NewPcloudV2VolumescloneExecutePostAccepted() *PcloudV2VolumescloneExecutePostAccepted

NewPcloudV2VolumescloneExecutePostAccepted creates a PcloudV2VolumescloneExecutePostAccepted with default headers values

func (*PcloudV2VolumescloneExecutePostAccepted) Error

type PcloudV2VolumescloneExecutePostBadRequest

type PcloudV2VolumescloneExecutePostBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumescloneExecutePostBadRequest handles this case with default header values.

Bad Request

func NewPcloudV2VolumescloneExecutePostBadRequest

func NewPcloudV2VolumescloneExecutePostBadRequest() *PcloudV2VolumescloneExecutePostBadRequest

NewPcloudV2VolumescloneExecutePostBadRequest creates a PcloudV2VolumescloneExecutePostBadRequest with default headers values

func (*PcloudV2VolumescloneExecutePostBadRequest) Error

type PcloudV2VolumescloneExecutePostInternalServerError

type PcloudV2VolumescloneExecutePostInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumescloneExecutePostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudV2VolumescloneExecutePostInternalServerError

func NewPcloudV2VolumescloneExecutePostInternalServerError() *PcloudV2VolumescloneExecutePostInternalServerError

NewPcloudV2VolumescloneExecutePostInternalServerError creates a PcloudV2VolumescloneExecutePostInternalServerError with default headers values

func (*PcloudV2VolumescloneExecutePostInternalServerError) Error

type PcloudV2VolumescloneExecutePostNotFound

type PcloudV2VolumescloneExecutePostNotFound struct {
	Payload *models.Error
}

PcloudV2VolumescloneExecutePostNotFound handles this case with default header values.

Not Found

func NewPcloudV2VolumescloneExecutePostNotFound

func NewPcloudV2VolumescloneExecutePostNotFound() *PcloudV2VolumescloneExecutePostNotFound

NewPcloudV2VolumescloneExecutePostNotFound creates a PcloudV2VolumescloneExecutePostNotFound with default headers values

func (*PcloudV2VolumescloneExecutePostNotFound) Error

type PcloudV2VolumescloneExecutePostParams

type PcloudV2VolumescloneExecutePostParams struct {

	/*Body
	  Parameters for the cloning of volumes

	*/
	Body *models.VolumesCloneExecute
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*VolumesCloneID
	  Volumes Clone ID

	*/
	VolumesCloneID string

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

PcloudV2VolumescloneExecutePostParams contains all the parameters to send to the API endpoint for the pcloud v2 volumesclone execute post operation typically these are written to a http.Request

func NewPcloudV2VolumescloneExecutePostParams

func NewPcloudV2VolumescloneExecutePostParams() *PcloudV2VolumescloneExecutePostParams

NewPcloudV2VolumescloneExecutePostParams creates a new PcloudV2VolumescloneExecutePostParams object with the default values initialized.

func NewPcloudV2VolumescloneExecutePostParamsWithContext

func NewPcloudV2VolumescloneExecutePostParamsWithContext(ctx context.Context) *PcloudV2VolumescloneExecutePostParams

NewPcloudV2VolumescloneExecutePostParamsWithContext creates a new PcloudV2VolumescloneExecutePostParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudV2VolumescloneExecutePostParamsWithHTTPClient

func NewPcloudV2VolumescloneExecutePostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneExecutePostParams

NewPcloudV2VolumescloneExecutePostParamsWithHTTPClient creates a new PcloudV2VolumescloneExecutePostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudV2VolumescloneExecutePostParamsWithTimeout

func NewPcloudV2VolumescloneExecutePostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneExecutePostParams

NewPcloudV2VolumescloneExecutePostParamsWithTimeout creates a new PcloudV2VolumescloneExecutePostParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudV2VolumescloneExecutePostParams) SetBody

SetBody adds the body to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) SetCloudInstanceID

func (o *PcloudV2VolumescloneExecutePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) SetContext

SetContext adds the context to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) SetVolumesCloneID

func (o *PcloudV2VolumescloneExecutePostParams) SetVolumesCloneID(volumesCloneID string)

SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WithBody

WithBody adds the body to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WithContext

WithContext adds the context to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WithVolumesCloneID

WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone execute post params

func (*PcloudV2VolumescloneExecutePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumescloneExecutePostReader

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

PcloudV2VolumescloneExecutePostReader is a Reader for the PcloudV2VolumescloneExecutePost structure.

func (*PcloudV2VolumescloneExecutePostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudV2VolumescloneGetBadRequest

type PcloudV2VolumescloneGetBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetBadRequest handles this case with default header values.

Bad Request

func NewPcloudV2VolumescloneGetBadRequest

func NewPcloudV2VolumescloneGetBadRequest() *PcloudV2VolumescloneGetBadRequest

NewPcloudV2VolumescloneGetBadRequest creates a PcloudV2VolumescloneGetBadRequest with default headers values

func (*PcloudV2VolumescloneGetBadRequest) Error

type PcloudV2VolumescloneGetInternalServerError

type PcloudV2VolumescloneGetInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudV2VolumescloneGetInternalServerError

func NewPcloudV2VolumescloneGetInternalServerError() *PcloudV2VolumescloneGetInternalServerError

NewPcloudV2VolumescloneGetInternalServerError creates a PcloudV2VolumescloneGetInternalServerError with default headers values

func (*PcloudV2VolumescloneGetInternalServerError) Error

type PcloudV2VolumescloneGetNotFound

type PcloudV2VolumescloneGetNotFound struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetNotFound handles this case with default header values.

Not Found

func NewPcloudV2VolumescloneGetNotFound

func NewPcloudV2VolumescloneGetNotFound() *PcloudV2VolumescloneGetNotFound

NewPcloudV2VolumescloneGetNotFound creates a PcloudV2VolumescloneGetNotFound with default headers values

func (*PcloudV2VolumescloneGetNotFound) Error

type PcloudV2VolumescloneGetOK

type PcloudV2VolumescloneGetOK struct {
	Payload *models.VolumesCloneDetail
}

PcloudV2VolumescloneGetOK handles this case with default header values.

OK

func NewPcloudV2VolumescloneGetOK

func NewPcloudV2VolumescloneGetOK() *PcloudV2VolumescloneGetOK

NewPcloudV2VolumescloneGetOK creates a PcloudV2VolumescloneGetOK with default headers values

func (*PcloudV2VolumescloneGetOK) Error

func (o *PcloudV2VolumescloneGetOK) Error() string

type PcloudV2VolumescloneGetParams

type PcloudV2VolumescloneGetParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*VolumesCloneID
	  Volumes Clone ID

	*/
	VolumesCloneID string

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

PcloudV2VolumescloneGetParams contains all the parameters to send to the API endpoint for the pcloud v2 volumesclone get operation typically these are written to a http.Request

func NewPcloudV2VolumescloneGetParams

func NewPcloudV2VolumescloneGetParams() *PcloudV2VolumescloneGetParams

NewPcloudV2VolumescloneGetParams creates a new PcloudV2VolumescloneGetParams object with the default values initialized.

func NewPcloudV2VolumescloneGetParamsWithContext

func NewPcloudV2VolumescloneGetParamsWithContext(ctx context.Context) *PcloudV2VolumescloneGetParams

NewPcloudV2VolumescloneGetParamsWithContext creates a new PcloudV2VolumescloneGetParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudV2VolumescloneGetParamsWithHTTPClient

func NewPcloudV2VolumescloneGetParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneGetParams

NewPcloudV2VolumescloneGetParamsWithHTTPClient creates a new PcloudV2VolumescloneGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudV2VolumescloneGetParamsWithTimeout

func NewPcloudV2VolumescloneGetParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneGetParams

NewPcloudV2VolumescloneGetParamsWithTimeout creates a new PcloudV2VolumescloneGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudV2VolumescloneGetParams) SetCloudInstanceID

func (o *PcloudV2VolumescloneGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) SetContext

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

SetContext adds the context to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) SetVolumesCloneID

func (o *PcloudV2VolumescloneGetParams) SetVolumesCloneID(volumesCloneID string)

SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) WithContext

WithContext adds the context to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) WithVolumesCloneID

func (o *PcloudV2VolumescloneGetParams) WithVolumesCloneID(volumesCloneID string) *PcloudV2VolumescloneGetParams

WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone get params

func (*PcloudV2VolumescloneGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumescloneGetReader

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

PcloudV2VolumescloneGetReader is a Reader for the PcloudV2VolumescloneGet structure.

func (*PcloudV2VolumescloneGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudV2VolumescloneGetallBadRequest

type PcloudV2VolumescloneGetallBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetallBadRequest handles this case with default header values.

Bad Request

func NewPcloudV2VolumescloneGetallBadRequest

func NewPcloudV2VolumescloneGetallBadRequest() *PcloudV2VolumescloneGetallBadRequest

NewPcloudV2VolumescloneGetallBadRequest creates a PcloudV2VolumescloneGetallBadRequest with default headers values

func (*PcloudV2VolumescloneGetallBadRequest) Error

type PcloudV2VolumescloneGetallInternalServerError

type PcloudV2VolumescloneGetallInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetallInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudV2VolumescloneGetallInternalServerError

func NewPcloudV2VolumescloneGetallInternalServerError() *PcloudV2VolumescloneGetallInternalServerError

NewPcloudV2VolumescloneGetallInternalServerError creates a PcloudV2VolumescloneGetallInternalServerError with default headers values

func (*PcloudV2VolumescloneGetallInternalServerError) Error

type PcloudV2VolumescloneGetallNotFound

type PcloudV2VolumescloneGetallNotFound struct {
	Payload *models.Error
}

PcloudV2VolumescloneGetallNotFound handles this case with default header values.

Not Found

func NewPcloudV2VolumescloneGetallNotFound

func NewPcloudV2VolumescloneGetallNotFound() *PcloudV2VolumescloneGetallNotFound

NewPcloudV2VolumescloneGetallNotFound creates a PcloudV2VolumescloneGetallNotFound with default headers values

func (*PcloudV2VolumescloneGetallNotFound) Error

type PcloudV2VolumescloneGetallOK

type PcloudV2VolumescloneGetallOK struct {
	Payload *models.VolumesClones
}

PcloudV2VolumescloneGetallOK handles this case with default header values.

OK

func NewPcloudV2VolumescloneGetallOK

func NewPcloudV2VolumescloneGetallOK() *PcloudV2VolumescloneGetallOK

NewPcloudV2VolumescloneGetallOK creates a PcloudV2VolumescloneGetallOK with default headers values

func (*PcloudV2VolumescloneGetallOK) Error

type PcloudV2VolumescloneGetallParams

type PcloudV2VolumescloneGetallParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*Filter
	  volumes-clone filter to limit list items:
	  prepare - includes status values (preparing, prepared)
	  start   - includes status values (starting, available)
	  execute - includes status values (executing, available-rollback)
	  cancel  - includes status values (cancelling)
	  completed - includes status values (completed)
	  failed - includes status values (failed)
	  cancelled - includes status values (cancelled)
	  finalized - included status values (completed, failed, cancelled)


	*/
	Filter *string

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

PcloudV2VolumescloneGetallParams contains all the parameters to send to the API endpoint for the pcloud v2 volumesclone getall operation typically these are written to a http.Request

func NewPcloudV2VolumescloneGetallParams

func NewPcloudV2VolumescloneGetallParams() *PcloudV2VolumescloneGetallParams

NewPcloudV2VolumescloneGetallParams creates a new PcloudV2VolumescloneGetallParams object with the default values initialized.

func NewPcloudV2VolumescloneGetallParamsWithContext

func NewPcloudV2VolumescloneGetallParamsWithContext(ctx context.Context) *PcloudV2VolumescloneGetallParams

NewPcloudV2VolumescloneGetallParamsWithContext creates a new PcloudV2VolumescloneGetallParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudV2VolumescloneGetallParamsWithHTTPClient

func NewPcloudV2VolumescloneGetallParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneGetallParams

NewPcloudV2VolumescloneGetallParamsWithHTTPClient creates a new PcloudV2VolumescloneGetallParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudV2VolumescloneGetallParamsWithTimeout

func NewPcloudV2VolumescloneGetallParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneGetallParams

NewPcloudV2VolumescloneGetallParamsWithTimeout creates a new PcloudV2VolumescloneGetallParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudV2VolumescloneGetallParams) SetCloudInstanceID

func (o *PcloudV2VolumescloneGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) SetContext

SetContext adds the context to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) SetFilter

func (o *PcloudV2VolumescloneGetallParams) SetFilter(filter *string)

SetFilter adds the filter to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) WithContext

WithContext adds the context to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) WithFilter

WithFilter adds the filter to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumesclone getall params

func (*PcloudV2VolumescloneGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumescloneGetallReader

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

PcloudV2VolumescloneGetallReader is a Reader for the PcloudV2VolumescloneGetall structure.

func (*PcloudV2VolumescloneGetallReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudV2VolumesclonePostAccepted

type PcloudV2VolumesclonePostAccepted struct {
	Payload *models.VolumesClone
}

PcloudV2VolumesclonePostAccepted handles this case with default header values.

Accepted

func NewPcloudV2VolumesclonePostAccepted

func NewPcloudV2VolumesclonePostAccepted() *PcloudV2VolumesclonePostAccepted

NewPcloudV2VolumesclonePostAccepted creates a PcloudV2VolumesclonePostAccepted with default headers values

func (*PcloudV2VolumesclonePostAccepted) Error

type PcloudV2VolumesclonePostBadRequest

type PcloudV2VolumesclonePostBadRequest struct {
	Payload *models.Error
}

PcloudV2VolumesclonePostBadRequest handles this case with default header values.

Bad Request

func NewPcloudV2VolumesclonePostBadRequest

func NewPcloudV2VolumesclonePostBadRequest() *PcloudV2VolumesclonePostBadRequest

NewPcloudV2VolumesclonePostBadRequest creates a PcloudV2VolumesclonePostBadRequest with default headers values

func (*PcloudV2VolumesclonePostBadRequest) Error

type PcloudV2VolumesclonePostForbidden

type PcloudV2VolumesclonePostForbidden struct {
	Payload *models.Error
}

PcloudV2VolumesclonePostForbidden handles this case with default header values.

Forbidden

func NewPcloudV2VolumesclonePostForbidden

func NewPcloudV2VolumesclonePostForbidden() *PcloudV2VolumesclonePostForbidden

NewPcloudV2VolumesclonePostForbidden creates a PcloudV2VolumesclonePostForbidden with default headers values

func (*PcloudV2VolumesclonePostForbidden) Error

type PcloudV2VolumesclonePostInternalServerError

type PcloudV2VolumesclonePostInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumesclonePostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudV2VolumesclonePostInternalServerError

func NewPcloudV2VolumesclonePostInternalServerError() *PcloudV2VolumesclonePostInternalServerError

NewPcloudV2VolumesclonePostInternalServerError creates a PcloudV2VolumesclonePostInternalServerError with default headers values

func (*PcloudV2VolumesclonePostInternalServerError) Error

type PcloudV2VolumesclonePostNotFound

type PcloudV2VolumesclonePostNotFound struct {
	Payload *models.Error
}

PcloudV2VolumesclonePostNotFound handles this case with default header values.

Not Found

func NewPcloudV2VolumesclonePostNotFound

func NewPcloudV2VolumesclonePostNotFound() *PcloudV2VolumesclonePostNotFound

NewPcloudV2VolumesclonePostNotFound creates a PcloudV2VolumesclonePostNotFound with default headers values

func (*PcloudV2VolumesclonePostNotFound) Error

type PcloudV2VolumesclonePostParams

type PcloudV2VolumesclonePostParams struct {

	/*Body
	  Parameters for preparing a set of volumes to be cloned

	*/
	Body *models.VolumesCloneCreate
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string

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

PcloudV2VolumesclonePostParams contains all the parameters to send to the API endpoint for the pcloud v2 volumesclone post operation typically these are written to a http.Request

func NewPcloudV2VolumesclonePostParams

func NewPcloudV2VolumesclonePostParams() *PcloudV2VolumesclonePostParams

NewPcloudV2VolumesclonePostParams creates a new PcloudV2VolumesclonePostParams object with the default values initialized.

func NewPcloudV2VolumesclonePostParamsWithContext

func NewPcloudV2VolumesclonePostParamsWithContext(ctx context.Context) *PcloudV2VolumesclonePostParams

NewPcloudV2VolumesclonePostParamsWithContext creates a new PcloudV2VolumesclonePostParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudV2VolumesclonePostParamsWithHTTPClient

func NewPcloudV2VolumesclonePostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumesclonePostParams

NewPcloudV2VolumesclonePostParamsWithHTTPClient creates a new PcloudV2VolumesclonePostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudV2VolumesclonePostParamsWithTimeout

func NewPcloudV2VolumesclonePostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumesclonePostParams

NewPcloudV2VolumesclonePostParamsWithTimeout creates a new PcloudV2VolumesclonePostParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudV2VolumesclonePostParams) SetBody

SetBody adds the body to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) SetCloudInstanceID

func (o *PcloudV2VolumesclonePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) SetContext

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

SetContext adds the context to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) WithBody

WithBody adds the body to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) WithContext

WithContext adds the context to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumesclone post params

func (*PcloudV2VolumesclonePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumesclonePostReader

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

PcloudV2VolumesclonePostReader is a Reader for the PcloudV2VolumesclonePost structure.

func (*PcloudV2VolumesclonePostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudV2VolumescloneStartPostInternalServerError

type PcloudV2VolumescloneStartPostInternalServerError struct {
	Payload *models.Error
}

PcloudV2VolumescloneStartPostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudV2VolumescloneStartPostInternalServerError

func NewPcloudV2VolumescloneStartPostInternalServerError() *PcloudV2VolumescloneStartPostInternalServerError

NewPcloudV2VolumescloneStartPostInternalServerError creates a PcloudV2VolumescloneStartPostInternalServerError with default headers values

func (*PcloudV2VolumescloneStartPostInternalServerError) Error

type PcloudV2VolumescloneStartPostNotFound

type PcloudV2VolumescloneStartPostNotFound struct {
	Payload *models.Error
}

PcloudV2VolumescloneStartPostNotFound handles this case with default header values.

Not Found

func NewPcloudV2VolumescloneStartPostNotFound

func NewPcloudV2VolumescloneStartPostNotFound() *PcloudV2VolumescloneStartPostNotFound

NewPcloudV2VolumescloneStartPostNotFound creates a PcloudV2VolumescloneStartPostNotFound with default headers values

func (*PcloudV2VolumescloneStartPostNotFound) Error

type PcloudV2VolumescloneStartPostOK

type PcloudV2VolumescloneStartPostOK struct {
	Payload *models.VolumesClone
}

PcloudV2VolumescloneStartPostOK handles this case with default header values.

OK

func NewPcloudV2VolumescloneStartPostOK

func NewPcloudV2VolumescloneStartPostOK() *PcloudV2VolumescloneStartPostOK

NewPcloudV2VolumescloneStartPostOK creates a PcloudV2VolumescloneStartPostOK with default headers values

func (*PcloudV2VolumescloneStartPostOK) Error

type PcloudV2VolumescloneStartPostParams

type PcloudV2VolumescloneStartPostParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*VolumesCloneID
	  Volumes Clone ID

	*/
	VolumesCloneID string

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

PcloudV2VolumescloneStartPostParams contains all the parameters to send to the API endpoint for the pcloud v2 volumesclone start post operation typically these are written to a http.Request

func NewPcloudV2VolumescloneStartPostParams

func NewPcloudV2VolumescloneStartPostParams() *PcloudV2VolumescloneStartPostParams

NewPcloudV2VolumescloneStartPostParams creates a new PcloudV2VolumescloneStartPostParams object with the default values initialized.

func NewPcloudV2VolumescloneStartPostParamsWithContext

func NewPcloudV2VolumescloneStartPostParamsWithContext(ctx context.Context) *PcloudV2VolumescloneStartPostParams

NewPcloudV2VolumescloneStartPostParamsWithContext creates a new PcloudV2VolumescloneStartPostParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudV2VolumescloneStartPostParamsWithHTTPClient

func NewPcloudV2VolumescloneStartPostParamsWithHTTPClient(client *http.Client) *PcloudV2VolumescloneStartPostParams

NewPcloudV2VolumescloneStartPostParamsWithHTTPClient creates a new PcloudV2VolumescloneStartPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudV2VolumescloneStartPostParamsWithTimeout

func NewPcloudV2VolumescloneStartPostParamsWithTimeout(timeout time.Duration) *PcloudV2VolumescloneStartPostParams

NewPcloudV2VolumescloneStartPostParamsWithTimeout creates a new PcloudV2VolumescloneStartPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudV2VolumescloneStartPostParams) SetCloudInstanceID

func (o *PcloudV2VolumescloneStartPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) SetContext

SetContext adds the context to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) SetVolumesCloneID

func (o *PcloudV2VolumescloneStartPostParams) SetVolumesCloneID(volumesCloneID string)

SetVolumesCloneID adds the volumesCloneId to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) WithContext

WithContext adds the context to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) WithVolumesCloneID

WithVolumesCloneID adds the volumesCloneID to the pcloud v2 volumesclone start post params

func (*PcloudV2VolumescloneStartPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudV2VolumescloneStartPostReader

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

PcloudV2VolumescloneStartPostReader is a Reader for the PcloudV2VolumescloneStartPost structure.

func (*PcloudV2VolumescloneStartPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudVolumesClonePostBadRequest

type PcloudVolumesClonePostBadRequest struct {
	Payload *models.Error
}

PcloudVolumesClonePostBadRequest handles this case with default header values.

Bad Request

func NewPcloudVolumesClonePostBadRequest

func NewPcloudVolumesClonePostBadRequest() *PcloudVolumesClonePostBadRequest

NewPcloudVolumesClonePostBadRequest creates a PcloudVolumesClonePostBadRequest with default headers values

func (*PcloudVolumesClonePostBadRequest) Error

type PcloudVolumesClonePostConflict

type PcloudVolumesClonePostConflict struct {
	Payload *models.Error
}

PcloudVolumesClonePostConflict handles this case with default header values.

Conflict

func NewPcloudVolumesClonePostConflict

func NewPcloudVolumesClonePostConflict() *PcloudVolumesClonePostConflict

NewPcloudVolumesClonePostConflict creates a PcloudVolumesClonePostConflict with default headers values

func (*PcloudVolumesClonePostConflict) Error

type PcloudVolumesClonePostInternalServerError

type PcloudVolumesClonePostInternalServerError struct {
	Payload *models.Error
}

PcloudVolumesClonePostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudVolumesClonePostInternalServerError

func NewPcloudVolumesClonePostInternalServerError() *PcloudVolumesClonePostInternalServerError

NewPcloudVolumesClonePostInternalServerError creates a PcloudVolumesClonePostInternalServerError with default headers values

func (*PcloudVolumesClonePostInternalServerError) Error

type PcloudVolumesClonePostOK

type PcloudVolumesClonePostOK struct {
	Payload *models.VolumesCloneResponse
}

PcloudVolumesClonePostOK handles this case with default header values.

OK

func NewPcloudVolumesClonePostOK

func NewPcloudVolumesClonePostOK() *PcloudVolumesClonePostOK

NewPcloudVolumesClonePostOK creates a PcloudVolumesClonePostOK with default headers values

func (*PcloudVolumesClonePostOK) Error

func (o *PcloudVolumesClonePostOK) Error() string

type PcloudVolumesClonePostParams

type PcloudVolumesClonePostParams struct {

	/*Body
	  Parameters for the cloning of volumes

	*/
	Body *models.VolumesCloneRequest
	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string

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

PcloudVolumesClonePostParams contains all the parameters to send to the API endpoint for the pcloud volumes clone post operation typically these are written to a http.Request

func NewPcloudVolumesClonePostParams

func NewPcloudVolumesClonePostParams() *PcloudVolumesClonePostParams

NewPcloudVolumesClonePostParams creates a new PcloudVolumesClonePostParams object with the default values initialized.

func NewPcloudVolumesClonePostParamsWithContext

func NewPcloudVolumesClonePostParamsWithContext(ctx context.Context) *PcloudVolumesClonePostParams

NewPcloudVolumesClonePostParamsWithContext creates a new PcloudVolumesClonePostParams object with the default values initialized, and the ability to set a context for a request

func NewPcloudVolumesClonePostParamsWithHTTPClient

func NewPcloudVolumesClonePostParamsWithHTTPClient(client *http.Client) *PcloudVolumesClonePostParams

NewPcloudVolumesClonePostParamsWithHTTPClient creates a new PcloudVolumesClonePostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPcloudVolumesClonePostParamsWithTimeout

func NewPcloudVolumesClonePostParamsWithTimeout(timeout time.Duration) *PcloudVolumesClonePostParams

NewPcloudVolumesClonePostParamsWithTimeout creates a new PcloudVolumesClonePostParams object with the default values initialized, and the ability to set a timeout on a request

func (*PcloudVolumesClonePostParams) SetBody

SetBody adds the body to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) SetCloudInstanceID

func (o *PcloudVolumesClonePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) SetContext

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

SetContext adds the context to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithBody

WithBody adds the body to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithContext

WithContext adds the context to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithTimeout

WithTimeout adds the timeout to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudVolumesClonePostReader

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

PcloudVolumesClonePostReader is a Reader for the PcloudVolumesClonePost structure.

func (*PcloudVolumesClonePostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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