p_cloud_p_vm_instances

package
v1.0.20 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: Apache-2.0 Imports: 10 Imported by: 4

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 p vm instances API

func New

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

New creates a new p cloud p vm instances API client.

func (*Client) PcloudPvminstancesActionPost

func (a *Client) PcloudPvminstancesActionPost(params *PcloudPvminstancesActionPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudPvminstancesActionPostOK, error)

PcloudPvminstancesActionPost performs an action start stop reboot immediate shutdown on a p VM instance

func (*Client) PcloudPvminstancesCapturePost

PcloudPvminstancesCapturePost captures a p VM instance and create a deployable image

func (*Client) PcloudPvminstancesClonePost added in v1.0.4

PcloudPvminstancesClonePost clones a p VM instance

func (*Client) PcloudPvminstancesConsolePost

PcloudPvminstancesConsolePost generates the no v n c console URL

func (*Client) PcloudPvminstancesDelete

func (a *Client) PcloudPvminstancesDelete(params *PcloudPvminstancesDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudPvminstancesDeleteOK, error)

PcloudPvminstancesDelete deletes a p cloud p VM instance

func (*Client) PcloudPvminstancesGet

func (a *Client) PcloudPvminstancesGet(params *PcloudPvminstancesGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudPvminstancesGetOK, error)

PcloudPvminstancesGet gets a p VM instance s current state information

func (*Client) PcloudPvminstancesGetall

func (a *Client) PcloudPvminstancesGetall(params *PcloudPvminstancesGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudPvminstancesGetallOK, error)

PcloudPvminstancesGetall gets all the pvm instances for this cloud instance

func (*Client) PcloudPvminstancesNetworksDelete

PcloudPvminstancesNetworksDelete removes all address of network from a p VM instance

func (*Client) PcloudPvminstancesNetworksGet

func (a *Client) PcloudPvminstancesNetworksGet(params *PcloudPvminstancesNetworksGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudPvminstancesNetworksGetOK, error)

PcloudPvminstancesNetworksGet gets a p VM instance s network information

func (*Client) PcloudPvminstancesNetworksGetall

PcloudPvminstancesNetworksGetall gets all networks for this p VM instance

func (*Client) PcloudPvminstancesNetworksPost

PcloudPvminstancesNetworksPost performs network addition deletion and listing

func (*Client) PcloudPvminstancesPost

PcloudPvminstancesPost creates a new power VM instance

func (*Client) PcloudPvminstancesPut

PcloudPvminstancesPut updates a p cloud p VM instance

func (*Client) PcloudPvminstancesSnapshotsGetall

PcloudPvminstancesSnapshotsGetall gets all snapshots for this p VM instance

func (*Client) PcloudPvminstancesSnapshotsPost

PcloudPvminstancesSnapshotsPost creates a p VM instance snapshot

func (*Client) PcloudPvminstancesSnapshotsRestorePost added in v1.0.1

PcloudPvminstancesSnapshotsRestorePost restores a p VM instance snapshot

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type PcloudPvminstancesActionPostInternalServerError

type PcloudPvminstancesActionPostInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesActionPostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesActionPostInternalServerError

func NewPcloudPvminstancesActionPostInternalServerError() *PcloudPvminstancesActionPostInternalServerError

NewPcloudPvminstancesActionPostInternalServerError creates a PcloudPvminstancesActionPostInternalServerError with default headers values

func (*PcloudPvminstancesActionPostInternalServerError) Error

type PcloudPvminstancesActionPostOK

type PcloudPvminstancesActionPostOK struct {
	Payload models.Object
}

PcloudPvminstancesActionPostOK handles this case with default header values.

OK

func NewPcloudPvminstancesActionPostOK

func NewPcloudPvminstancesActionPostOK() *PcloudPvminstancesActionPostOK

NewPcloudPvminstancesActionPostOK creates a PcloudPvminstancesActionPostOK with default headers values

func (*PcloudPvminstancesActionPostOK) Error

type PcloudPvminstancesActionPostParams

type PcloudPvminstancesActionPostParams struct {

	/*Body
	  Parameters for the desired action

	*/
	Body *models.PVMInstanceAction
	/*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
}

PcloudPvminstancesActionPostParams contains all the parameters to send to the API endpoint for the pcloud pvminstances action post operation typically these are written to a http.Request

func NewPcloudPvminstancesActionPostParams

func NewPcloudPvminstancesActionPostParams() *PcloudPvminstancesActionPostParams

NewPcloudPvminstancesActionPostParams creates a new PcloudPvminstancesActionPostParams object with the default values initialized.

func NewPcloudPvminstancesActionPostParamsWithContext

func NewPcloudPvminstancesActionPostParamsWithContext(ctx context.Context) *PcloudPvminstancesActionPostParams

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

func NewPcloudPvminstancesActionPostParamsWithHTTPClient

func NewPcloudPvminstancesActionPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesActionPostParams

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

func NewPcloudPvminstancesActionPostParamsWithTimeout

func NewPcloudPvminstancesActionPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesActionPostParams

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

func (*PcloudPvminstancesActionPostParams) SetBody

SetBody adds the body to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) SetCloudInstanceID

func (o *PcloudPvminstancesActionPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) SetContext

SetContext adds the context to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) SetPvmInstanceID

func (o *PcloudPvminstancesActionPostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) WithBody

WithBody adds the body to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) WithContext

WithContext adds the context to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances action post params

func (*PcloudPvminstancesActionPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesActionPostReader

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

PcloudPvminstancesActionPostReader is a Reader for the PcloudPvminstancesActionPost structure.

func (*PcloudPvminstancesActionPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesCapturePostAccepted

type PcloudPvminstancesCapturePostAccepted struct {
	Payload models.Object
}

PcloudPvminstancesCapturePostAccepted handles this case with default header values.

Accepted, upload to cloud storage in progress

func NewPcloudPvminstancesCapturePostAccepted

func NewPcloudPvminstancesCapturePostAccepted() *PcloudPvminstancesCapturePostAccepted

NewPcloudPvminstancesCapturePostAccepted creates a PcloudPvminstancesCapturePostAccepted with default headers values

func (*PcloudPvminstancesCapturePostAccepted) Error

type PcloudPvminstancesCapturePostInternalServerError

type PcloudPvminstancesCapturePostInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesCapturePostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesCapturePostInternalServerError

func NewPcloudPvminstancesCapturePostInternalServerError() *PcloudPvminstancesCapturePostInternalServerError

NewPcloudPvminstancesCapturePostInternalServerError creates a PcloudPvminstancesCapturePostInternalServerError with default headers values

func (*PcloudPvminstancesCapturePostInternalServerError) Error

type PcloudPvminstancesCapturePostOK

type PcloudPvminstancesCapturePostOK struct {
	Payload models.Object
}

PcloudPvminstancesCapturePostOK handles this case with default header values.

OK

func NewPcloudPvminstancesCapturePostOK

func NewPcloudPvminstancesCapturePostOK() *PcloudPvminstancesCapturePostOK

NewPcloudPvminstancesCapturePostOK creates a PcloudPvminstancesCapturePostOK with default headers values

func (*PcloudPvminstancesCapturePostOK) Error

type PcloudPvminstancesCapturePostParams

type PcloudPvminstancesCapturePostParams struct {

	/*Body
	  Parameters for the capture PVMInstance

	*/
	Body *models.PVMInstanceCapture
	/*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
}

PcloudPvminstancesCapturePostParams contains all the parameters to send to the API endpoint for the pcloud pvminstances capture post operation typically these are written to a http.Request

func NewPcloudPvminstancesCapturePostParams

func NewPcloudPvminstancesCapturePostParams() *PcloudPvminstancesCapturePostParams

NewPcloudPvminstancesCapturePostParams creates a new PcloudPvminstancesCapturePostParams object with the default values initialized.

func NewPcloudPvminstancesCapturePostParamsWithContext

func NewPcloudPvminstancesCapturePostParamsWithContext(ctx context.Context) *PcloudPvminstancesCapturePostParams

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

func NewPcloudPvminstancesCapturePostParamsWithHTTPClient

func NewPcloudPvminstancesCapturePostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesCapturePostParams

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

func NewPcloudPvminstancesCapturePostParamsWithTimeout

func NewPcloudPvminstancesCapturePostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesCapturePostParams

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

func (*PcloudPvminstancesCapturePostParams) SetBody

SetBody adds the body to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) SetCloudInstanceID

func (o *PcloudPvminstancesCapturePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) SetContext

SetContext adds the context to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) SetPvmInstanceID

func (o *PcloudPvminstancesCapturePostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) WithBody

WithBody adds the body to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) WithContext

WithContext adds the context to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances capture post params

func (*PcloudPvminstancesCapturePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesCapturePostReader

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

PcloudPvminstancesCapturePostReader is a Reader for the PcloudPvminstancesCapturePost structure.

func (*PcloudPvminstancesCapturePostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesClonePostAccepted added in v1.0.6

type PcloudPvminstancesClonePostAccepted struct {
	Payload *models.PVMInstance
}

PcloudPvminstancesClonePostAccepted handles this case with default header values.

Accepted

func NewPcloudPvminstancesClonePostAccepted added in v1.0.6

func NewPcloudPvminstancesClonePostAccepted() *PcloudPvminstancesClonePostAccepted

NewPcloudPvminstancesClonePostAccepted creates a PcloudPvminstancesClonePostAccepted with default headers values

func (*PcloudPvminstancesClonePostAccepted) Error added in v1.0.6

type PcloudPvminstancesClonePostBadRequest added in v1.0.6

type PcloudPvminstancesClonePostBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesClonePostBadRequest handles this case with default header values.

Bad Request

func NewPcloudPvminstancesClonePostBadRequest added in v1.0.6

func NewPcloudPvminstancesClonePostBadRequest() *PcloudPvminstancesClonePostBadRequest

NewPcloudPvminstancesClonePostBadRequest creates a PcloudPvminstancesClonePostBadRequest with default headers values

func (*PcloudPvminstancesClonePostBadRequest) Error added in v1.0.6

type PcloudPvminstancesClonePostConflict added in v1.0.6

type PcloudPvminstancesClonePostConflict struct {
	Payload *models.Error
}

PcloudPvminstancesClonePostConflict handles this case with default header values.

Conflict

func NewPcloudPvminstancesClonePostConflict added in v1.0.6

func NewPcloudPvminstancesClonePostConflict() *PcloudPvminstancesClonePostConflict

NewPcloudPvminstancesClonePostConflict creates a PcloudPvminstancesClonePostConflict with default headers values

func (*PcloudPvminstancesClonePostConflict) Error added in v1.0.6

type PcloudPvminstancesClonePostInternalServerError added in v1.0.6

type PcloudPvminstancesClonePostInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesClonePostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesClonePostInternalServerError added in v1.0.6

func NewPcloudPvminstancesClonePostInternalServerError() *PcloudPvminstancesClonePostInternalServerError

NewPcloudPvminstancesClonePostInternalServerError creates a PcloudPvminstancesClonePostInternalServerError with default headers values

func (*PcloudPvminstancesClonePostInternalServerError) Error added in v1.0.6

type PcloudPvminstancesClonePostParams added in v1.0.6

type PcloudPvminstancesClonePostParams struct {

	/*Body
	  Clone PVM Instance parameters

	*/
	Body *models.PVMInstanceClone
	/*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
}

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

func NewPcloudPvminstancesClonePostParams added in v1.0.6

func NewPcloudPvminstancesClonePostParams() *PcloudPvminstancesClonePostParams

NewPcloudPvminstancesClonePostParams creates a new PcloudPvminstancesClonePostParams object with the default values initialized.

func NewPcloudPvminstancesClonePostParamsWithContext added in v1.0.6

func NewPcloudPvminstancesClonePostParamsWithContext(ctx context.Context) *PcloudPvminstancesClonePostParams

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

func NewPcloudPvminstancesClonePostParamsWithHTTPClient added in v1.0.6

func NewPcloudPvminstancesClonePostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesClonePostParams

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

func NewPcloudPvminstancesClonePostParamsWithTimeout added in v1.0.6

func NewPcloudPvminstancesClonePostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesClonePostParams

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

func (*PcloudPvminstancesClonePostParams) SetBody added in v1.0.6

SetBody adds the body to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) SetCloudInstanceID added in v1.0.6

func (o *PcloudPvminstancesClonePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) SetContext added in v1.0.6

SetContext adds the context to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) SetHTTPClient added in v1.0.6

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) SetPvmInstanceID added in v1.0.6

func (o *PcloudPvminstancesClonePostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) SetTimeout added in v1.0.6

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

SetTimeout adds the timeout to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) WithBody added in v1.0.6

WithBody adds the body to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) WithCloudInstanceID added in v1.0.6

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) WithContext added in v1.0.6

WithContext adds the context to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) WithHTTPClient added in v1.0.6

WithHTTPClient adds the HTTPClient to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) WithPvmInstanceID added in v1.0.6

func (o *PcloudPvminstancesClonePostParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesClonePostParams

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) WithTimeout added in v1.0.6

WithTimeout adds the timeout to the pcloud pvminstances clone post params

func (*PcloudPvminstancesClonePostParams) WriteToRequest added in v1.0.6

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesClonePostReader added in v1.0.6

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

PcloudPvminstancesClonePostReader is a Reader for the PcloudPvminstancesClonePost structure.

func (*PcloudPvminstancesClonePostReader) ReadResponse added in v1.0.6

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesClonePostUnprocessableEntity added in v1.0.6

type PcloudPvminstancesClonePostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudPvminstancesClonePostUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudPvminstancesClonePostUnprocessableEntity added in v1.0.6

func NewPcloudPvminstancesClonePostUnprocessableEntity() *PcloudPvminstancesClonePostUnprocessableEntity

NewPcloudPvminstancesClonePostUnprocessableEntity creates a PcloudPvminstancesClonePostUnprocessableEntity with default headers values

func (*PcloudPvminstancesClonePostUnprocessableEntity) Error added in v1.0.6

type PcloudPvminstancesConsolePostCreated

type PcloudPvminstancesConsolePostCreated struct {
	Payload *models.PVMInstanceConsole
}

PcloudPvminstancesConsolePostCreated handles this case with default header values.

Created

func NewPcloudPvminstancesConsolePostCreated

func NewPcloudPvminstancesConsolePostCreated() *PcloudPvminstancesConsolePostCreated

NewPcloudPvminstancesConsolePostCreated creates a PcloudPvminstancesConsolePostCreated with default headers values

func (*PcloudPvminstancesConsolePostCreated) Error

type PcloudPvminstancesConsolePostInternalServerError

type PcloudPvminstancesConsolePostInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesConsolePostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesConsolePostInternalServerError

func NewPcloudPvminstancesConsolePostInternalServerError() *PcloudPvminstancesConsolePostInternalServerError

NewPcloudPvminstancesConsolePostInternalServerError creates a PcloudPvminstancesConsolePostInternalServerError with default headers values

func (*PcloudPvminstancesConsolePostInternalServerError) Error

type PcloudPvminstancesConsolePostParams

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

PcloudPvminstancesConsolePostParams contains all the parameters to send to the API endpoint for the pcloud pvminstances console post operation typically these are written to a http.Request

func NewPcloudPvminstancesConsolePostParams

func NewPcloudPvminstancesConsolePostParams() *PcloudPvminstancesConsolePostParams

NewPcloudPvminstancesConsolePostParams creates a new PcloudPvminstancesConsolePostParams object with the default values initialized.

func NewPcloudPvminstancesConsolePostParamsWithContext

func NewPcloudPvminstancesConsolePostParamsWithContext(ctx context.Context) *PcloudPvminstancesConsolePostParams

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

func NewPcloudPvminstancesConsolePostParamsWithHTTPClient

func NewPcloudPvminstancesConsolePostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesConsolePostParams

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

func NewPcloudPvminstancesConsolePostParamsWithTimeout

func NewPcloudPvminstancesConsolePostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesConsolePostParams

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

func (*PcloudPvminstancesConsolePostParams) SetCloudInstanceID

func (o *PcloudPvminstancesConsolePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) SetContext

SetContext adds the context to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) SetPvmInstanceID

func (o *PcloudPvminstancesConsolePostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) WithContext

WithContext adds the context to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances console post params

func (*PcloudPvminstancesConsolePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesConsolePostReader

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

PcloudPvminstancesConsolePostReader is a Reader for the PcloudPvminstancesConsolePost structure.

func (*PcloudPvminstancesConsolePostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesConsolePostUnprocessableEntity added in v1.0.1

type PcloudPvminstancesConsolePostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudPvminstancesConsolePostUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudPvminstancesConsolePostUnprocessableEntity added in v1.0.1

func NewPcloudPvminstancesConsolePostUnprocessableEntity() *PcloudPvminstancesConsolePostUnprocessableEntity

NewPcloudPvminstancesConsolePostUnprocessableEntity creates a PcloudPvminstancesConsolePostUnprocessableEntity with default headers values

func (*PcloudPvminstancesConsolePostUnprocessableEntity) Error added in v1.0.1

type PcloudPvminstancesDeleteBadRequest

type PcloudPvminstancesDeleteBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesDeleteBadRequest handles this case with default header values.

Bad Request

func NewPcloudPvminstancesDeleteBadRequest

func NewPcloudPvminstancesDeleteBadRequest() *PcloudPvminstancesDeleteBadRequest

NewPcloudPvminstancesDeleteBadRequest creates a PcloudPvminstancesDeleteBadRequest with default headers values

func (*PcloudPvminstancesDeleteBadRequest) Error

type PcloudPvminstancesDeleteGone

type PcloudPvminstancesDeleteGone struct {
	Payload *models.Error
}

PcloudPvminstancesDeleteGone handles this case with default header values.

Gone

func NewPcloudPvminstancesDeleteGone

func NewPcloudPvminstancesDeleteGone() *PcloudPvminstancesDeleteGone

NewPcloudPvminstancesDeleteGone creates a PcloudPvminstancesDeleteGone with default headers values

func (*PcloudPvminstancesDeleteGone) Error

type PcloudPvminstancesDeleteInternalServerError

type PcloudPvminstancesDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesDeleteInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesDeleteInternalServerError

func NewPcloudPvminstancesDeleteInternalServerError() *PcloudPvminstancesDeleteInternalServerError

NewPcloudPvminstancesDeleteInternalServerError creates a PcloudPvminstancesDeleteInternalServerError with default headers values

func (*PcloudPvminstancesDeleteInternalServerError) Error

type PcloudPvminstancesDeleteOK

type PcloudPvminstancesDeleteOK struct {
	Payload models.Object
}

PcloudPvminstancesDeleteOK handles this case with default header values.

OK

func NewPcloudPvminstancesDeleteOK

func NewPcloudPvminstancesDeleteOK() *PcloudPvminstancesDeleteOK

NewPcloudPvminstancesDeleteOK creates a PcloudPvminstancesDeleteOK with default headers values

func (*PcloudPvminstancesDeleteOK) Error

type PcloudPvminstancesDeleteParams

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

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

func NewPcloudPvminstancesDeleteParams

func NewPcloudPvminstancesDeleteParams() *PcloudPvminstancesDeleteParams

NewPcloudPvminstancesDeleteParams creates a new PcloudPvminstancesDeleteParams object with the default values initialized.

func NewPcloudPvminstancesDeleteParamsWithContext

func NewPcloudPvminstancesDeleteParamsWithContext(ctx context.Context) *PcloudPvminstancesDeleteParams

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

func NewPcloudPvminstancesDeleteParamsWithHTTPClient

func NewPcloudPvminstancesDeleteParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesDeleteParams

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

func NewPcloudPvminstancesDeleteParamsWithTimeout

func NewPcloudPvminstancesDeleteParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesDeleteParams

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

func (*PcloudPvminstancesDeleteParams) SetCloudInstanceID

func (o *PcloudPvminstancesDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) SetContext

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

SetContext adds the context to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) SetPvmInstanceID

func (o *PcloudPvminstancesDeleteParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) WithContext

WithContext adds the context to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) WithPvmInstanceID

func (o *PcloudPvminstancesDeleteParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesDeleteParams

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances delete params

func (*PcloudPvminstancesDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesDeleteReader

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

PcloudPvminstancesDeleteReader is a Reader for the PcloudPvminstancesDelete structure.

func (*PcloudPvminstancesDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesGetBadRequest

type PcloudPvminstancesGetBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesGetBadRequest handles this case with default header values.

Bad Request

func NewPcloudPvminstancesGetBadRequest

func NewPcloudPvminstancesGetBadRequest() *PcloudPvminstancesGetBadRequest

NewPcloudPvminstancesGetBadRequest creates a PcloudPvminstancesGetBadRequest with default headers values

func (*PcloudPvminstancesGetBadRequest) Error

type PcloudPvminstancesGetInternalServerError

type PcloudPvminstancesGetInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesGetInternalServerError

func NewPcloudPvminstancesGetInternalServerError() *PcloudPvminstancesGetInternalServerError

NewPcloudPvminstancesGetInternalServerError creates a PcloudPvminstancesGetInternalServerError with default headers values

func (*PcloudPvminstancesGetInternalServerError) Error

type PcloudPvminstancesGetNotFound

type PcloudPvminstancesGetNotFound struct {
	Payload *models.Error
}

PcloudPvminstancesGetNotFound handles this case with default header values.

Not Found

func NewPcloudPvminstancesGetNotFound

func NewPcloudPvminstancesGetNotFound() *PcloudPvminstancesGetNotFound

NewPcloudPvminstancesGetNotFound creates a PcloudPvminstancesGetNotFound with default headers values

func (*PcloudPvminstancesGetNotFound) Error

type PcloudPvminstancesGetOK

type PcloudPvminstancesGetOK struct {
	Payload *models.PVMInstance
}

PcloudPvminstancesGetOK handles this case with default header values.

OK

func NewPcloudPvminstancesGetOK

func NewPcloudPvminstancesGetOK() *PcloudPvminstancesGetOK

NewPcloudPvminstancesGetOK creates a PcloudPvminstancesGetOK with default headers values

func (*PcloudPvminstancesGetOK) Error

func (o *PcloudPvminstancesGetOK) Error() string

type PcloudPvminstancesGetParams

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

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

func NewPcloudPvminstancesGetParams

func NewPcloudPvminstancesGetParams() *PcloudPvminstancesGetParams

NewPcloudPvminstancesGetParams creates a new PcloudPvminstancesGetParams object with the default values initialized.

func NewPcloudPvminstancesGetParamsWithContext

func NewPcloudPvminstancesGetParamsWithContext(ctx context.Context) *PcloudPvminstancesGetParams

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

func NewPcloudPvminstancesGetParamsWithHTTPClient

func NewPcloudPvminstancesGetParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesGetParams

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

func NewPcloudPvminstancesGetParamsWithTimeout

func NewPcloudPvminstancesGetParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesGetParams

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

func (*PcloudPvminstancesGetParams) SetCloudInstanceID

func (o *PcloudPvminstancesGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) SetContext

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

SetContext adds the context to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) SetPvmInstanceID

func (o *PcloudPvminstancesGetParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) WithContext

WithContext adds the context to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) WithPvmInstanceID

func (o *PcloudPvminstancesGetParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesGetParams

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances get params

func (*PcloudPvminstancesGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesGetReader

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

PcloudPvminstancesGetReader is a Reader for the PcloudPvminstancesGet structure.

func (*PcloudPvminstancesGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesGetallBadRequest

type PcloudPvminstancesGetallBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesGetallBadRequest handles this case with default header values.

Bad Request

func NewPcloudPvminstancesGetallBadRequest

func NewPcloudPvminstancesGetallBadRequest() *PcloudPvminstancesGetallBadRequest

NewPcloudPvminstancesGetallBadRequest creates a PcloudPvminstancesGetallBadRequest with default headers values

func (*PcloudPvminstancesGetallBadRequest) Error

type PcloudPvminstancesGetallInternalServerError

type PcloudPvminstancesGetallInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesGetallInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesGetallInternalServerError

func NewPcloudPvminstancesGetallInternalServerError() *PcloudPvminstancesGetallInternalServerError

NewPcloudPvminstancesGetallInternalServerError creates a PcloudPvminstancesGetallInternalServerError with default headers values

func (*PcloudPvminstancesGetallInternalServerError) Error

type PcloudPvminstancesGetallOK

type PcloudPvminstancesGetallOK struct {
	Payload *models.PVMInstances
}

PcloudPvminstancesGetallOK handles this case with default header values.

OK

func NewPcloudPvminstancesGetallOK

func NewPcloudPvminstancesGetallOK() *PcloudPvminstancesGetallOK

NewPcloudPvminstancesGetallOK creates a PcloudPvminstancesGetallOK with default headers values

func (*PcloudPvminstancesGetallOK) Error

type PcloudPvminstancesGetallParams

type PcloudPvminstancesGetallParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string

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

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

func NewPcloudPvminstancesGetallParams

func NewPcloudPvminstancesGetallParams() *PcloudPvminstancesGetallParams

NewPcloudPvminstancesGetallParams creates a new PcloudPvminstancesGetallParams object with the default values initialized.

func NewPcloudPvminstancesGetallParamsWithContext

func NewPcloudPvminstancesGetallParamsWithContext(ctx context.Context) *PcloudPvminstancesGetallParams

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

func NewPcloudPvminstancesGetallParamsWithHTTPClient

func NewPcloudPvminstancesGetallParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesGetallParams

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

func NewPcloudPvminstancesGetallParamsWithTimeout

func NewPcloudPvminstancesGetallParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesGetallParams

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

func (*PcloudPvminstancesGetallParams) SetCloudInstanceID

func (o *PcloudPvminstancesGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances getall params

func (*PcloudPvminstancesGetallParams) SetContext

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

SetContext adds the context to the pcloud pvminstances getall params

func (*PcloudPvminstancesGetallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances getall params

func (*PcloudPvminstancesGetallParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud pvminstances getall params

func (*PcloudPvminstancesGetallParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances getall params

func (*PcloudPvminstancesGetallParams) WithContext

WithContext adds the context to the pcloud pvminstances getall params

func (*PcloudPvminstancesGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances getall params

func (*PcloudPvminstancesGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances getall params

func (*PcloudPvminstancesGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesGetallReader

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

PcloudPvminstancesGetallReader is a Reader for the PcloudPvminstancesGetall structure.

func (*PcloudPvminstancesGetallReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesNetworksDeleteBadRequest

type PcloudPvminstancesNetworksDeleteBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksDeleteBadRequest handles this case with default header values.

Bad Request

func NewPcloudPvminstancesNetworksDeleteBadRequest

func NewPcloudPvminstancesNetworksDeleteBadRequest() *PcloudPvminstancesNetworksDeleteBadRequest

NewPcloudPvminstancesNetworksDeleteBadRequest creates a PcloudPvminstancesNetworksDeleteBadRequest with default headers values

func (*PcloudPvminstancesNetworksDeleteBadRequest) Error

type PcloudPvminstancesNetworksDeleteGone

type PcloudPvminstancesNetworksDeleteGone struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksDeleteGone handles this case with default header values.

Gone

func NewPcloudPvminstancesNetworksDeleteGone

func NewPcloudPvminstancesNetworksDeleteGone() *PcloudPvminstancesNetworksDeleteGone

NewPcloudPvminstancesNetworksDeleteGone creates a PcloudPvminstancesNetworksDeleteGone with default headers values

func (*PcloudPvminstancesNetworksDeleteGone) Error

type PcloudPvminstancesNetworksDeleteInternalServerError

type PcloudPvminstancesNetworksDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksDeleteInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesNetworksDeleteInternalServerError

func NewPcloudPvminstancesNetworksDeleteInternalServerError() *PcloudPvminstancesNetworksDeleteInternalServerError

NewPcloudPvminstancesNetworksDeleteInternalServerError creates a PcloudPvminstancesNetworksDeleteInternalServerError with default headers values

func (*PcloudPvminstancesNetworksDeleteInternalServerError) Error

type PcloudPvminstancesNetworksDeleteOK

type PcloudPvminstancesNetworksDeleteOK struct {
	Payload models.Object
}

PcloudPvminstancesNetworksDeleteOK handles this case with default header values.

OK

func NewPcloudPvminstancesNetworksDeleteOK

func NewPcloudPvminstancesNetworksDeleteOK() *PcloudPvminstancesNetworksDeleteOK

NewPcloudPvminstancesNetworksDeleteOK creates a PcloudPvminstancesNetworksDeleteOK with default headers values

func (*PcloudPvminstancesNetworksDeleteOK) Error

type PcloudPvminstancesNetworksDeleteParams

type PcloudPvminstancesNetworksDeleteParams struct {

	/*Body
	  Remove a network from PVM Instance parameters

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

	*/
	CloudInstanceID string
	/*NetworkID
	  Network ID

	*/
	NetworkID string
	/*PvmInstanceID
	  PCloud PVM Instance ID

	*/
	PvmInstanceID string

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

PcloudPvminstancesNetworksDeleteParams contains all the parameters to send to the API endpoint for the pcloud pvminstances networks delete operation typically these are written to a http.Request

func NewPcloudPvminstancesNetworksDeleteParams

func NewPcloudPvminstancesNetworksDeleteParams() *PcloudPvminstancesNetworksDeleteParams

NewPcloudPvminstancesNetworksDeleteParams creates a new PcloudPvminstancesNetworksDeleteParams object with the default values initialized.

func NewPcloudPvminstancesNetworksDeleteParamsWithContext

func NewPcloudPvminstancesNetworksDeleteParamsWithContext(ctx context.Context) *PcloudPvminstancesNetworksDeleteParams

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

func NewPcloudPvminstancesNetworksDeleteParamsWithHTTPClient

func NewPcloudPvminstancesNetworksDeleteParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksDeleteParams

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

func NewPcloudPvminstancesNetworksDeleteParamsWithTimeout

func NewPcloudPvminstancesNetworksDeleteParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksDeleteParams

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

func (*PcloudPvminstancesNetworksDeleteParams) SetBody

SetBody adds the body to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) SetCloudInstanceID

func (o *PcloudPvminstancesNetworksDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) SetContext

SetContext adds the context to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) SetNetworkID

func (o *PcloudPvminstancesNetworksDeleteParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) SetPvmInstanceID

func (o *PcloudPvminstancesNetworksDeleteParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) WithBody

WithBody adds the body to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) WithContext

WithContext adds the context to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) WithNetworkID

WithNetworkID adds the networkID to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances networks delete params

func (*PcloudPvminstancesNetworksDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesNetworksDeleteReader

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

PcloudPvminstancesNetworksDeleteReader is a Reader for the PcloudPvminstancesNetworksDelete structure.

func (*PcloudPvminstancesNetworksDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesNetworksGetInternalServerError

type PcloudPvminstancesNetworksGetInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesNetworksGetInternalServerError

func NewPcloudPvminstancesNetworksGetInternalServerError() *PcloudPvminstancesNetworksGetInternalServerError

NewPcloudPvminstancesNetworksGetInternalServerError creates a PcloudPvminstancesNetworksGetInternalServerError with default headers values

func (*PcloudPvminstancesNetworksGetInternalServerError) Error

type PcloudPvminstancesNetworksGetNotFound

type PcloudPvminstancesNetworksGetNotFound struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksGetNotFound handles this case with default header values.

Not Found

func NewPcloudPvminstancesNetworksGetNotFound

func NewPcloudPvminstancesNetworksGetNotFound() *PcloudPvminstancesNetworksGetNotFound

NewPcloudPvminstancesNetworksGetNotFound creates a PcloudPvminstancesNetworksGetNotFound with default headers values

func (*PcloudPvminstancesNetworksGetNotFound) Error

type PcloudPvminstancesNetworksGetOK

type PcloudPvminstancesNetworksGetOK struct {
	Payload *models.PVMInstanceNetworks
}

PcloudPvminstancesNetworksGetOK handles this case with default header values.

OK

func NewPcloudPvminstancesNetworksGetOK

func NewPcloudPvminstancesNetworksGetOK() *PcloudPvminstancesNetworksGetOK

NewPcloudPvminstancesNetworksGetOK creates a PcloudPvminstancesNetworksGetOK with default headers values

func (*PcloudPvminstancesNetworksGetOK) Error

type PcloudPvminstancesNetworksGetParams

type PcloudPvminstancesNetworksGetParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*NetworkID
	  Network ID

	*/
	NetworkID string
	/*PvmInstanceID
	  PCloud PVM Instance ID

	*/
	PvmInstanceID string

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

PcloudPvminstancesNetworksGetParams contains all the parameters to send to the API endpoint for the pcloud pvminstances networks get operation typically these are written to a http.Request

func NewPcloudPvminstancesNetworksGetParams

func NewPcloudPvminstancesNetworksGetParams() *PcloudPvminstancesNetworksGetParams

NewPcloudPvminstancesNetworksGetParams creates a new PcloudPvminstancesNetworksGetParams object with the default values initialized.

func NewPcloudPvminstancesNetworksGetParamsWithContext

func NewPcloudPvminstancesNetworksGetParamsWithContext(ctx context.Context) *PcloudPvminstancesNetworksGetParams

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

func NewPcloudPvminstancesNetworksGetParamsWithHTTPClient

func NewPcloudPvminstancesNetworksGetParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksGetParams

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

func NewPcloudPvminstancesNetworksGetParamsWithTimeout

func NewPcloudPvminstancesNetworksGetParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksGetParams

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

func (*PcloudPvminstancesNetworksGetParams) SetCloudInstanceID

func (o *PcloudPvminstancesNetworksGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) SetContext

SetContext adds the context to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) SetNetworkID

func (o *PcloudPvminstancesNetworksGetParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) SetPvmInstanceID

func (o *PcloudPvminstancesNetworksGetParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) WithContext

WithContext adds the context to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) WithNetworkID

WithNetworkID adds the networkID to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances networks get params

func (*PcloudPvminstancesNetworksGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesNetworksGetReader

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

PcloudPvminstancesNetworksGetReader is a Reader for the PcloudPvminstancesNetworksGet structure.

func (*PcloudPvminstancesNetworksGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesNetworksGetallBadRequest

type PcloudPvminstancesNetworksGetallBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksGetallBadRequest handles this case with default header values.

Bad Request

func NewPcloudPvminstancesNetworksGetallBadRequest

func NewPcloudPvminstancesNetworksGetallBadRequest() *PcloudPvminstancesNetworksGetallBadRequest

NewPcloudPvminstancesNetworksGetallBadRequest creates a PcloudPvminstancesNetworksGetallBadRequest with default headers values

func (*PcloudPvminstancesNetworksGetallBadRequest) Error

type PcloudPvminstancesNetworksGetallInternalServerError

type PcloudPvminstancesNetworksGetallInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksGetallInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesNetworksGetallInternalServerError

func NewPcloudPvminstancesNetworksGetallInternalServerError() *PcloudPvminstancesNetworksGetallInternalServerError

NewPcloudPvminstancesNetworksGetallInternalServerError creates a PcloudPvminstancesNetworksGetallInternalServerError with default headers values

func (*PcloudPvminstancesNetworksGetallInternalServerError) Error

type PcloudPvminstancesNetworksGetallOK

type PcloudPvminstancesNetworksGetallOK struct {
	Payload *models.PVMInstanceNetworks
}

PcloudPvminstancesNetworksGetallOK handles this case with default header values.

OK

func NewPcloudPvminstancesNetworksGetallOK

func NewPcloudPvminstancesNetworksGetallOK() *PcloudPvminstancesNetworksGetallOK

NewPcloudPvminstancesNetworksGetallOK creates a PcloudPvminstancesNetworksGetallOK with default headers values

func (*PcloudPvminstancesNetworksGetallOK) Error

type PcloudPvminstancesNetworksGetallParams

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

PcloudPvminstancesNetworksGetallParams contains all the parameters to send to the API endpoint for the pcloud pvminstances networks getall operation typically these are written to a http.Request

func NewPcloudPvminstancesNetworksGetallParams

func NewPcloudPvminstancesNetworksGetallParams() *PcloudPvminstancesNetworksGetallParams

NewPcloudPvminstancesNetworksGetallParams creates a new PcloudPvminstancesNetworksGetallParams object with the default values initialized.

func NewPcloudPvminstancesNetworksGetallParamsWithContext

func NewPcloudPvminstancesNetworksGetallParamsWithContext(ctx context.Context) *PcloudPvminstancesNetworksGetallParams

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

func NewPcloudPvminstancesNetworksGetallParamsWithHTTPClient

func NewPcloudPvminstancesNetworksGetallParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksGetallParams

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

func NewPcloudPvminstancesNetworksGetallParamsWithTimeout

func NewPcloudPvminstancesNetworksGetallParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksGetallParams

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

func (*PcloudPvminstancesNetworksGetallParams) SetCloudInstanceID

func (o *PcloudPvminstancesNetworksGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) SetContext

SetContext adds the context to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) SetPvmInstanceID

func (o *PcloudPvminstancesNetworksGetallParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) WithContext

WithContext adds the context to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances networks getall params

func (*PcloudPvminstancesNetworksGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesNetworksGetallReader

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

PcloudPvminstancesNetworksGetallReader is a Reader for the PcloudPvminstancesNetworksGetall structure.

func (*PcloudPvminstancesNetworksGetallReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesNetworksPostBadRequest

type PcloudPvminstancesNetworksPostBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksPostBadRequest handles this case with default header values.

Bad Request

func NewPcloudPvminstancesNetworksPostBadRequest

func NewPcloudPvminstancesNetworksPostBadRequest() *PcloudPvminstancesNetworksPostBadRequest

NewPcloudPvminstancesNetworksPostBadRequest creates a PcloudPvminstancesNetworksPostBadRequest with default headers values

func (*PcloudPvminstancesNetworksPostBadRequest) Error

type PcloudPvminstancesNetworksPostConflict

type PcloudPvminstancesNetworksPostConflict struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksPostConflict handles this case with default header values.

Conflict

func NewPcloudPvminstancesNetworksPostConflict

func NewPcloudPvminstancesNetworksPostConflict() *PcloudPvminstancesNetworksPostConflict

NewPcloudPvminstancesNetworksPostConflict creates a PcloudPvminstancesNetworksPostConflict with default headers values

func (*PcloudPvminstancesNetworksPostConflict) Error

type PcloudPvminstancesNetworksPostCreated

type PcloudPvminstancesNetworksPostCreated struct {
	Payload *models.PVMInstanceNetwork
}

PcloudPvminstancesNetworksPostCreated handles this case with default header values.

Created

func NewPcloudPvminstancesNetworksPostCreated

func NewPcloudPvminstancesNetworksPostCreated() *PcloudPvminstancesNetworksPostCreated

NewPcloudPvminstancesNetworksPostCreated creates a PcloudPvminstancesNetworksPostCreated with default headers values

func (*PcloudPvminstancesNetworksPostCreated) Error

type PcloudPvminstancesNetworksPostInternalServerError

type PcloudPvminstancesNetworksPostInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksPostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesNetworksPostInternalServerError

func NewPcloudPvminstancesNetworksPostInternalServerError() *PcloudPvminstancesNetworksPostInternalServerError

NewPcloudPvminstancesNetworksPostInternalServerError creates a PcloudPvminstancesNetworksPostInternalServerError with default headers values

func (*PcloudPvminstancesNetworksPostInternalServerError) Error

type PcloudPvminstancesNetworksPostParams

type PcloudPvminstancesNetworksPostParams struct {

	/*Body
	  Add network to PVM Instance parameters

	*/
	Body *models.PVMInstanceAddNetwork
	/*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
}

PcloudPvminstancesNetworksPostParams contains all the parameters to send to the API endpoint for the pcloud pvminstances networks post operation typically these are written to a http.Request

func NewPcloudPvminstancesNetworksPostParams

func NewPcloudPvminstancesNetworksPostParams() *PcloudPvminstancesNetworksPostParams

NewPcloudPvminstancesNetworksPostParams creates a new PcloudPvminstancesNetworksPostParams object with the default values initialized.

func NewPcloudPvminstancesNetworksPostParamsWithContext

func NewPcloudPvminstancesNetworksPostParamsWithContext(ctx context.Context) *PcloudPvminstancesNetworksPostParams

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

func NewPcloudPvminstancesNetworksPostParamsWithHTTPClient

func NewPcloudPvminstancesNetworksPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesNetworksPostParams

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

func NewPcloudPvminstancesNetworksPostParamsWithTimeout

func NewPcloudPvminstancesNetworksPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesNetworksPostParams

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

func (*PcloudPvminstancesNetworksPostParams) SetBody

SetBody adds the body to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) SetCloudInstanceID

func (o *PcloudPvminstancesNetworksPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) SetContext

SetContext adds the context to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) SetPvmInstanceID

func (o *PcloudPvminstancesNetworksPostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) WithBody

WithBody adds the body to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) WithContext

WithContext adds the context to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances networks post params

func (*PcloudPvminstancesNetworksPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesNetworksPostReader

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

PcloudPvminstancesNetworksPostReader is a Reader for the PcloudPvminstancesNetworksPost structure.

func (*PcloudPvminstancesNetworksPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesNetworksPostUnprocessableEntity

type PcloudPvminstancesNetworksPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudPvminstancesNetworksPostUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudPvminstancesNetworksPostUnprocessableEntity

func NewPcloudPvminstancesNetworksPostUnprocessableEntity() *PcloudPvminstancesNetworksPostUnprocessableEntity

NewPcloudPvminstancesNetworksPostUnprocessableEntity creates a PcloudPvminstancesNetworksPostUnprocessableEntity with default headers values

func (*PcloudPvminstancesNetworksPostUnprocessableEntity) Error

type PcloudPvminstancesPostAccepted

type PcloudPvminstancesPostAccepted struct {
	Payload models.PVMInstanceList
}

PcloudPvminstancesPostAccepted handles this case with default header values.

Accepted

func NewPcloudPvminstancesPostAccepted

func NewPcloudPvminstancesPostAccepted() *PcloudPvminstancesPostAccepted

NewPcloudPvminstancesPostAccepted creates a PcloudPvminstancesPostAccepted with default headers values

func (*PcloudPvminstancesPostAccepted) Error

type PcloudPvminstancesPostBadRequest

type PcloudPvminstancesPostBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesPostBadRequest handles this case with default header values.

Bad Request

func NewPcloudPvminstancesPostBadRequest

func NewPcloudPvminstancesPostBadRequest() *PcloudPvminstancesPostBadRequest

NewPcloudPvminstancesPostBadRequest creates a PcloudPvminstancesPostBadRequest with default headers values

func (*PcloudPvminstancesPostBadRequest) Error

type PcloudPvminstancesPostConflict

type PcloudPvminstancesPostConflict struct {
	Payload *models.Error
}

PcloudPvminstancesPostConflict handles this case with default header values.

Conflict

func NewPcloudPvminstancesPostConflict

func NewPcloudPvminstancesPostConflict() *PcloudPvminstancesPostConflict

NewPcloudPvminstancesPostConflict creates a PcloudPvminstancesPostConflict with default headers values

func (*PcloudPvminstancesPostConflict) Error

type PcloudPvminstancesPostCreated

type PcloudPvminstancesPostCreated struct {
	Payload models.PVMInstanceList
}

PcloudPvminstancesPostCreated handles this case with default header values.

Created

func NewPcloudPvminstancesPostCreated

func NewPcloudPvminstancesPostCreated() *PcloudPvminstancesPostCreated

NewPcloudPvminstancesPostCreated creates a PcloudPvminstancesPostCreated with default headers values

func (*PcloudPvminstancesPostCreated) Error

type PcloudPvminstancesPostInternalServerError

type PcloudPvminstancesPostInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesPostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesPostInternalServerError

func NewPcloudPvminstancesPostInternalServerError() *PcloudPvminstancesPostInternalServerError

NewPcloudPvminstancesPostInternalServerError creates a PcloudPvminstancesPostInternalServerError with default headers values

func (*PcloudPvminstancesPostInternalServerError) Error

type PcloudPvminstancesPostOK

type PcloudPvminstancesPostOK struct {
	Payload models.PVMInstanceList
}

PcloudPvminstancesPostOK handles this case with default header values.

OK

func NewPcloudPvminstancesPostOK

func NewPcloudPvminstancesPostOK() *PcloudPvminstancesPostOK

NewPcloudPvminstancesPostOK creates a PcloudPvminstancesPostOK with default headers values

func (*PcloudPvminstancesPostOK) Error

func (o *PcloudPvminstancesPostOK) Error() string

type PcloudPvminstancesPostParams

type PcloudPvminstancesPostParams struct {

	/*Body
	  Parameters for the creation of a new tenant

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

	*/
	CloudInstanceID string

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

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

func NewPcloudPvminstancesPostParams

func NewPcloudPvminstancesPostParams() *PcloudPvminstancesPostParams

NewPcloudPvminstancesPostParams creates a new PcloudPvminstancesPostParams object with the default values initialized.

func NewPcloudPvminstancesPostParamsWithContext

func NewPcloudPvminstancesPostParamsWithContext(ctx context.Context) *PcloudPvminstancesPostParams

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

func NewPcloudPvminstancesPostParamsWithHTTPClient

func NewPcloudPvminstancesPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesPostParams

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

func NewPcloudPvminstancesPostParamsWithTimeout

func NewPcloudPvminstancesPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesPostParams

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

func (*PcloudPvminstancesPostParams) SetBody

SetBody adds the body to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) SetCloudInstanceID

func (o *PcloudPvminstancesPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) SetContext

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

SetContext adds the context to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) WithBody

WithBody adds the body to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) WithContext

WithContext adds the context to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances post params

func (*PcloudPvminstancesPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesPostReader

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

PcloudPvminstancesPostReader is a Reader for the PcloudPvminstancesPost structure.

func (*PcloudPvminstancesPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesPostUnprocessableEntity

type PcloudPvminstancesPostUnprocessableEntity struct {
	Payload *models.Error
}

PcloudPvminstancesPostUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudPvminstancesPostUnprocessableEntity

func NewPcloudPvminstancesPostUnprocessableEntity() *PcloudPvminstancesPostUnprocessableEntity

NewPcloudPvminstancesPostUnprocessableEntity creates a PcloudPvminstancesPostUnprocessableEntity with default headers values

func (*PcloudPvminstancesPostUnprocessableEntity) Error

type PcloudPvminstancesPutAccepted

type PcloudPvminstancesPutAccepted struct {
	Payload *models.PVMInstanceUpdateResponse
}

PcloudPvminstancesPutAccepted handles this case with default header values.

Accepted (this is a long running operation)

func NewPcloudPvminstancesPutAccepted

func NewPcloudPvminstancesPutAccepted() *PcloudPvminstancesPutAccepted

NewPcloudPvminstancesPutAccepted creates a PcloudPvminstancesPutAccepted with default headers values

func (*PcloudPvminstancesPutAccepted) Error

type PcloudPvminstancesPutBadRequest

type PcloudPvminstancesPutBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesPutBadRequest handles this case with default header values.

Bad Request

func NewPcloudPvminstancesPutBadRequest

func NewPcloudPvminstancesPutBadRequest() *PcloudPvminstancesPutBadRequest

NewPcloudPvminstancesPutBadRequest creates a PcloudPvminstancesPutBadRequest with default headers values

func (*PcloudPvminstancesPutBadRequest) Error

type PcloudPvminstancesPutInternalServerError

type PcloudPvminstancesPutInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesPutInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesPutInternalServerError

func NewPcloudPvminstancesPutInternalServerError() *PcloudPvminstancesPutInternalServerError

NewPcloudPvminstancesPutInternalServerError creates a PcloudPvminstancesPutInternalServerError with default headers values

func (*PcloudPvminstancesPutInternalServerError) Error

type PcloudPvminstancesPutParams

type PcloudPvminstancesPutParams struct {

	/*Body
	  Parameters to update a PCloud PVM Instance

	*/
	Body *models.PVMInstanceUpdate
	/*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
}

PcloudPvminstancesPutParams contains all the parameters to send to the API endpoint for the pcloud pvminstances put operation typically these are written to a http.Request

func NewPcloudPvminstancesPutParams

func NewPcloudPvminstancesPutParams() *PcloudPvminstancesPutParams

NewPcloudPvminstancesPutParams creates a new PcloudPvminstancesPutParams object with the default values initialized.

func NewPcloudPvminstancesPutParamsWithContext

func NewPcloudPvminstancesPutParamsWithContext(ctx context.Context) *PcloudPvminstancesPutParams

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

func NewPcloudPvminstancesPutParamsWithHTTPClient

func NewPcloudPvminstancesPutParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesPutParams

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

func NewPcloudPvminstancesPutParamsWithTimeout

func NewPcloudPvminstancesPutParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesPutParams

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

func (*PcloudPvminstancesPutParams) SetBody

SetBody adds the body to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) SetCloudInstanceID

func (o *PcloudPvminstancesPutParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) SetContext

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

SetContext adds the context to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) SetPvmInstanceID

func (o *PcloudPvminstancesPutParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) WithBody

WithBody adds the body to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) WithCloudInstanceID

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

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) WithContext

WithContext adds the context to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) WithPvmInstanceID

func (o *PcloudPvminstancesPutParams) WithPvmInstanceID(pvmInstanceID string) *PcloudPvminstancesPutParams

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances put params

func (*PcloudPvminstancesPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesPutReader

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

PcloudPvminstancesPutReader is a Reader for the PcloudPvminstancesPut structure.

func (*PcloudPvminstancesPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesPutUnprocessableEntity

type PcloudPvminstancesPutUnprocessableEntity struct {
	Payload *models.Error
}

PcloudPvminstancesPutUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPcloudPvminstancesPutUnprocessableEntity

func NewPcloudPvminstancesPutUnprocessableEntity() *PcloudPvminstancesPutUnprocessableEntity

NewPcloudPvminstancesPutUnprocessableEntity creates a PcloudPvminstancesPutUnprocessableEntity with default headers values

func (*PcloudPvminstancesPutUnprocessableEntity) Error

type PcloudPvminstancesSnapshotsGetallBadRequest

type PcloudPvminstancesSnapshotsGetallBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsGetallBadRequest handles this case with default header values.

Bad Request

func NewPcloudPvminstancesSnapshotsGetallBadRequest

func NewPcloudPvminstancesSnapshotsGetallBadRequest() *PcloudPvminstancesSnapshotsGetallBadRequest

NewPcloudPvminstancesSnapshotsGetallBadRequest creates a PcloudPvminstancesSnapshotsGetallBadRequest with default headers values

func (*PcloudPvminstancesSnapshotsGetallBadRequest) Error

type PcloudPvminstancesSnapshotsGetallInternalServerError

type PcloudPvminstancesSnapshotsGetallInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsGetallInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesSnapshotsGetallInternalServerError

func NewPcloudPvminstancesSnapshotsGetallInternalServerError() *PcloudPvminstancesSnapshotsGetallInternalServerError

NewPcloudPvminstancesSnapshotsGetallInternalServerError creates a PcloudPvminstancesSnapshotsGetallInternalServerError with default headers values

func (*PcloudPvminstancesSnapshotsGetallInternalServerError) Error

type PcloudPvminstancesSnapshotsGetallOK

type PcloudPvminstancesSnapshotsGetallOK struct {
	Payload *models.Snapshots
}

PcloudPvminstancesSnapshotsGetallOK handles this case with default header values.

OK

func NewPcloudPvminstancesSnapshotsGetallOK

func NewPcloudPvminstancesSnapshotsGetallOK() *PcloudPvminstancesSnapshotsGetallOK

NewPcloudPvminstancesSnapshotsGetallOK creates a PcloudPvminstancesSnapshotsGetallOK with default headers values

func (*PcloudPvminstancesSnapshotsGetallOK) Error

type PcloudPvminstancesSnapshotsGetallParams

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

PcloudPvminstancesSnapshotsGetallParams contains all the parameters to send to the API endpoint for the pcloud pvminstances snapshots getall operation typically these are written to a http.Request

func NewPcloudPvminstancesSnapshotsGetallParams

func NewPcloudPvminstancesSnapshotsGetallParams() *PcloudPvminstancesSnapshotsGetallParams

NewPcloudPvminstancesSnapshotsGetallParams creates a new PcloudPvminstancesSnapshotsGetallParams object with the default values initialized.

func NewPcloudPvminstancesSnapshotsGetallParamsWithContext

func NewPcloudPvminstancesSnapshotsGetallParamsWithContext(ctx context.Context) *PcloudPvminstancesSnapshotsGetallParams

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

func NewPcloudPvminstancesSnapshotsGetallParamsWithHTTPClient

func NewPcloudPvminstancesSnapshotsGetallParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesSnapshotsGetallParams

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

func NewPcloudPvminstancesSnapshotsGetallParamsWithTimeout

func NewPcloudPvminstancesSnapshotsGetallParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesSnapshotsGetallParams

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

func (*PcloudPvminstancesSnapshotsGetallParams) SetCloudInstanceID

func (o *PcloudPvminstancesSnapshotsGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) SetContext

SetContext adds the context to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) SetPvmInstanceID

func (o *PcloudPvminstancesSnapshotsGetallParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) WithContext

WithContext adds the context to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances snapshots getall params

func (*PcloudPvminstancesSnapshotsGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesSnapshotsGetallReader

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

PcloudPvminstancesSnapshotsGetallReader is a Reader for the PcloudPvminstancesSnapshotsGetall structure.

func (*PcloudPvminstancesSnapshotsGetallReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesSnapshotsPostAccepted

type PcloudPvminstancesSnapshotsPostAccepted struct {
	Payload *models.SnapshotCreateResponse
}

PcloudPvminstancesSnapshotsPostAccepted handles this case with default header values.

Accepted

func NewPcloudPvminstancesSnapshotsPostAccepted

func NewPcloudPvminstancesSnapshotsPostAccepted() *PcloudPvminstancesSnapshotsPostAccepted

NewPcloudPvminstancesSnapshotsPostAccepted creates a PcloudPvminstancesSnapshotsPostAccepted with default headers values

func (*PcloudPvminstancesSnapshotsPostAccepted) Error

type PcloudPvminstancesSnapshotsPostBadRequest

type PcloudPvminstancesSnapshotsPostBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsPostBadRequest handles this case with default header values.

Bad Request

func NewPcloudPvminstancesSnapshotsPostBadRequest

func NewPcloudPvminstancesSnapshotsPostBadRequest() *PcloudPvminstancesSnapshotsPostBadRequest

NewPcloudPvminstancesSnapshotsPostBadRequest creates a PcloudPvminstancesSnapshotsPostBadRequest with default headers values

func (*PcloudPvminstancesSnapshotsPostBadRequest) Error

type PcloudPvminstancesSnapshotsPostConflict

type PcloudPvminstancesSnapshotsPostConflict struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsPostConflict handles this case with default header values.

Conflict

func NewPcloudPvminstancesSnapshotsPostConflict

func NewPcloudPvminstancesSnapshotsPostConflict() *PcloudPvminstancesSnapshotsPostConflict

NewPcloudPvminstancesSnapshotsPostConflict creates a PcloudPvminstancesSnapshotsPostConflict with default headers values

func (*PcloudPvminstancesSnapshotsPostConflict) Error

type PcloudPvminstancesSnapshotsPostInternalServerError

type PcloudPvminstancesSnapshotsPostInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsPostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesSnapshotsPostInternalServerError

func NewPcloudPvminstancesSnapshotsPostInternalServerError() *PcloudPvminstancesSnapshotsPostInternalServerError

NewPcloudPvminstancesSnapshotsPostInternalServerError creates a PcloudPvminstancesSnapshotsPostInternalServerError with default headers values

func (*PcloudPvminstancesSnapshotsPostInternalServerError) Error

type PcloudPvminstancesSnapshotsPostParams

type PcloudPvminstancesSnapshotsPostParams struct {

	/*Body
	  PVM Instance snapshot create parameters

	*/
	Body *models.SnapshotCreate
	/*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
}

PcloudPvminstancesSnapshotsPostParams contains all the parameters to send to the API endpoint for the pcloud pvminstances snapshots post operation typically these are written to a http.Request

func NewPcloudPvminstancesSnapshotsPostParams

func NewPcloudPvminstancesSnapshotsPostParams() *PcloudPvminstancesSnapshotsPostParams

NewPcloudPvminstancesSnapshotsPostParams creates a new PcloudPvminstancesSnapshotsPostParams object with the default values initialized.

func NewPcloudPvminstancesSnapshotsPostParamsWithContext

func NewPcloudPvminstancesSnapshotsPostParamsWithContext(ctx context.Context) *PcloudPvminstancesSnapshotsPostParams

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

func NewPcloudPvminstancesSnapshotsPostParamsWithHTTPClient

func NewPcloudPvminstancesSnapshotsPostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesSnapshotsPostParams

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

func NewPcloudPvminstancesSnapshotsPostParamsWithTimeout

func NewPcloudPvminstancesSnapshotsPostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesSnapshotsPostParams

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

func (*PcloudPvminstancesSnapshotsPostParams) SetBody

SetBody adds the body to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) SetCloudInstanceID

func (o *PcloudPvminstancesSnapshotsPostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) SetContext

SetContext adds the context to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) SetPvmInstanceID

func (o *PcloudPvminstancesSnapshotsPostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) WithBody

WithBody adds the body to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) WithContext

WithContext adds the context to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) WithTimeout

WithTimeout adds the timeout to the pcloud pvminstances snapshots post params

func (*PcloudPvminstancesSnapshotsPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesSnapshotsPostReader

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

PcloudPvminstancesSnapshotsPostReader is a Reader for the PcloudPvminstancesSnapshotsPost structure.

func (*PcloudPvminstancesSnapshotsPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudPvminstancesSnapshotsRestorePostAccepted added in v1.0.1

type PcloudPvminstancesSnapshotsRestorePostAccepted struct {
	Payload *models.Snapshot
}

PcloudPvminstancesSnapshotsRestorePostAccepted handles this case with default header values.

Accepted

func NewPcloudPvminstancesSnapshotsRestorePostAccepted added in v1.0.1

func NewPcloudPvminstancesSnapshotsRestorePostAccepted() *PcloudPvminstancesSnapshotsRestorePostAccepted

NewPcloudPvminstancesSnapshotsRestorePostAccepted creates a PcloudPvminstancesSnapshotsRestorePostAccepted with default headers values

func (*PcloudPvminstancesSnapshotsRestorePostAccepted) Error added in v1.0.1

type PcloudPvminstancesSnapshotsRestorePostBadRequest added in v1.0.1

type PcloudPvminstancesSnapshotsRestorePostBadRequest struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsRestorePostBadRequest handles this case with default header values.

Bad Request

func NewPcloudPvminstancesSnapshotsRestorePostBadRequest added in v1.0.1

func NewPcloudPvminstancesSnapshotsRestorePostBadRequest() *PcloudPvminstancesSnapshotsRestorePostBadRequest

NewPcloudPvminstancesSnapshotsRestorePostBadRequest creates a PcloudPvminstancesSnapshotsRestorePostBadRequest with default headers values

func (*PcloudPvminstancesSnapshotsRestorePostBadRequest) Error added in v1.0.1

type PcloudPvminstancesSnapshotsRestorePostConflict added in v1.0.1

type PcloudPvminstancesSnapshotsRestorePostConflict struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsRestorePostConflict handles this case with default header values.

Conflict

func NewPcloudPvminstancesSnapshotsRestorePostConflict added in v1.0.1

func NewPcloudPvminstancesSnapshotsRestorePostConflict() *PcloudPvminstancesSnapshotsRestorePostConflict

NewPcloudPvminstancesSnapshotsRestorePostConflict creates a PcloudPvminstancesSnapshotsRestorePostConflict with default headers values

func (*PcloudPvminstancesSnapshotsRestorePostConflict) Error added in v1.0.1

type PcloudPvminstancesSnapshotsRestorePostInternalServerError added in v1.0.1

type PcloudPvminstancesSnapshotsRestorePostInternalServerError struct {
	Payload *models.Error
}

PcloudPvminstancesSnapshotsRestorePostInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudPvminstancesSnapshotsRestorePostInternalServerError added in v1.0.1

func NewPcloudPvminstancesSnapshotsRestorePostInternalServerError() *PcloudPvminstancesSnapshotsRestorePostInternalServerError

NewPcloudPvminstancesSnapshotsRestorePostInternalServerError creates a PcloudPvminstancesSnapshotsRestorePostInternalServerError with default headers values

func (*PcloudPvminstancesSnapshotsRestorePostInternalServerError) Error added in v1.0.1

type PcloudPvminstancesSnapshotsRestorePostParams added in v1.0.1

type PcloudPvminstancesSnapshotsRestorePostParams struct {

	/*Body
	  PVM Instance snapshot restore parameters

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

	*/
	CloudInstanceID string
	/*PvmInstanceID
	  PCloud PVM Instance ID

	*/
	PvmInstanceID string
	/*RestoreFailAction
	  Action to take on a failed snapshot restore

	*/
	RestoreFailAction *string
	/*SnapshotID
	  PVM Instance snapshot id

	*/
	SnapshotID string

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

PcloudPvminstancesSnapshotsRestorePostParams contains all the parameters to send to the API endpoint for the pcloud pvminstances snapshots restore post operation typically these are written to a http.Request

func NewPcloudPvminstancesSnapshotsRestorePostParams added in v1.0.1

func NewPcloudPvminstancesSnapshotsRestorePostParams() *PcloudPvminstancesSnapshotsRestorePostParams

NewPcloudPvminstancesSnapshotsRestorePostParams creates a new PcloudPvminstancesSnapshotsRestorePostParams object with the default values initialized.

func NewPcloudPvminstancesSnapshotsRestorePostParamsWithContext added in v1.0.1

func NewPcloudPvminstancesSnapshotsRestorePostParamsWithContext(ctx context.Context) *PcloudPvminstancesSnapshotsRestorePostParams

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

func NewPcloudPvminstancesSnapshotsRestorePostParamsWithHTTPClient added in v1.0.1

func NewPcloudPvminstancesSnapshotsRestorePostParamsWithHTTPClient(client *http.Client) *PcloudPvminstancesSnapshotsRestorePostParams

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

func NewPcloudPvminstancesSnapshotsRestorePostParamsWithTimeout added in v1.0.1

func NewPcloudPvminstancesSnapshotsRestorePostParamsWithTimeout(timeout time.Duration) *PcloudPvminstancesSnapshotsRestorePostParams

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

func (*PcloudPvminstancesSnapshotsRestorePostParams) SetBody added in v1.0.1

SetBody adds the body to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) SetCloudInstanceID added in v1.0.1

func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) SetContext added in v1.0.1

SetContext adds the context to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) SetHTTPClient added in v1.0.1

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

SetHTTPClient adds the HTTPClient to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) SetPvmInstanceID added in v1.0.1

func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) SetRestoreFailAction added in v1.0.1

func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetRestoreFailAction(restoreFailAction *string)

SetRestoreFailAction adds the restoreFailAction to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) SetSnapshotID added in v1.0.1

func (o *PcloudPvminstancesSnapshotsRestorePostParams) SetSnapshotID(snapshotID string)

SetSnapshotID adds the snapshotId to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) SetTimeout added in v1.0.1

SetTimeout adds the timeout to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) WithBody added in v1.0.1

WithBody adds the body to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) WithCloudInstanceID added in v1.0.1

WithCloudInstanceID adds the cloudInstanceID to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) WithContext added in v1.0.1

WithContext adds the context to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) WithHTTPClient added in v1.0.1

WithHTTPClient adds the HTTPClient to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) WithPvmInstanceID added in v1.0.1

WithPvmInstanceID adds the pvmInstanceID to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) WithRestoreFailAction added in v1.0.1

WithRestoreFailAction adds the restoreFailAction to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) WithSnapshotID added in v1.0.1

WithSnapshotID adds the snapshotID to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) WithTimeout added in v1.0.1

WithTimeout adds the timeout to the pcloud pvminstances snapshots restore post params

func (*PcloudPvminstancesSnapshotsRestorePostParams) WriteToRequest added in v1.0.1

WriteToRequest writes these params to a swagger request

type PcloudPvminstancesSnapshotsRestorePostReader added in v1.0.1

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

PcloudPvminstancesSnapshotsRestorePostReader is a Reader for the PcloudPvminstancesSnapshotsRestorePost structure.

func (*PcloudPvminstancesSnapshotsRestorePostReader) ReadResponse added in v1.0.1

func (o *PcloudPvminstancesSnapshotsRestorePostReader) 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