p_cloud_volumes

package
v1.0.29 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for p cloud volumes API

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

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

type PcloudVolumesClonePostBadRequest struct {
	Payload *models.Error
}

PcloudVolumesClonePostBadRequest handles this case with default header values.

Bad Request

func NewPcloudVolumesClonePostBadRequest added in v1.0.6

func NewPcloudVolumesClonePostBadRequest() *PcloudVolumesClonePostBadRequest

NewPcloudVolumesClonePostBadRequest creates a PcloudVolumesClonePostBadRequest with default headers values

func (*PcloudVolumesClonePostBadRequest) Error added in v1.0.6

type PcloudVolumesClonePostConflict added in v1.0.6

type PcloudVolumesClonePostConflict struct {
	Payload *models.Error
}

PcloudVolumesClonePostConflict handles this case with default header values.

Conflict

func NewPcloudVolumesClonePostConflict added in v1.0.6

func NewPcloudVolumesClonePostConflict() *PcloudVolumesClonePostConflict

NewPcloudVolumesClonePostConflict creates a PcloudVolumesClonePostConflict with default headers values

func (*PcloudVolumesClonePostConflict) Error added in v1.0.6

type PcloudVolumesClonePostInternalServerError added in v1.0.6

type PcloudVolumesClonePostInternalServerError struct {
	Payload *models.Error
}

PcloudVolumesClonePostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudVolumesClonePostInternalServerError added in v1.0.6

func NewPcloudVolumesClonePostInternalServerError() *PcloudVolumesClonePostInternalServerError

NewPcloudVolumesClonePostInternalServerError creates a PcloudVolumesClonePostInternalServerError with default headers values

func (*PcloudVolumesClonePostInternalServerError) Error added in v1.0.6

type PcloudVolumesClonePostOK added in v1.0.6

type PcloudVolumesClonePostOK struct {
	Payload *models.VolumesCloneResponse
}

PcloudVolumesClonePostOK handles this case with default header values.

OK

func NewPcloudVolumesClonePostOK added in v1.0.6

func NewPcloudVolumesClonePostOK() *PcloudVolumesClonePostOK

NewPcloudVolumesClonePostOK creates a PcloudVolumesClonePostOK with default headers values

func (*PcloudVolumesClonePostOK) Error added in v1.0.6

func (o *PcloudVolumesClonePostOK) Error() string

type PcloudVolumesClonePostParams added in v1.0.6

type PcloudVolumesClonePostParams struct {

	/*Body
	  Parameters for the cloning of volumes

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

	*/
	CloudInstanceID string

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

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

func NewPcloudVolumesClonePostParams added in v1.0.6

func NewPcloudVolumesClonePostParams() *PcloudVolumesClonePostParams

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

func NewPcloudVolumesClonePostParamsWithContext added in v1.0.6

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

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

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

SetBody adds the body to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) SetCloudInstanceID added in v1.0.6

func (o *PcloudVolumesClonePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) SetContext added in v1.0.6

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

SetContext adds the context to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) SetHTTPClient added in v1.0.6

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

SetHTTPClient adds the HTTPClient to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) SetTimeout added in v1.0.6

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

SetTimeout adds the timeout to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithBody added in v1.0.6

WithBody adds the body to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithCloudInstanceID added in v1.0.6

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithContext added in v1.0.6

WithContext adds the context to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithHTTPClient added in v1.0.6

WithHTTPClient adds the HTTPClient to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WithTimeout added in v1.0.6

WithTimeout adds the timeout to the pcloud volumes clone post params

func (*PcloudVolumesClonePostParams) WriteToRequest added in v1.0.6

WriteToRequest writes these params to a swagger request

type PcloudVolumesClonePostReader added in v1.0.6

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

PcloudVolumesClonePostReader is a Reader for the PcloudVolumesClonePost structure.

func (*PcloudVolumesClonePostReader) ReadResponse added in v1.0.6

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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