p_cloud_snapshots

package
v1.0.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for p cloud snapshots API

func New

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

New creates a new p cloud snapshots API client.

func (*Client) PcloudCloudinstancesSnapshotsDelete

PcloudCloudinstancesSnapshotsDelete deletes a p VM instance snapshot of a cloud instance

func (*Client) PcloudCloudinstancesSnapshotsGet

PcloudCloudinstancesSnapshotsGet gets the detail of a snapshot

func (*Client) PcloudCloudinstancesSnapshotsGetall

PcloudCloudinstancesSnapshotsGetall lists all p VM instance snapshots for this cloud instance

func (*Client) PcloudCloudinstancesSnapshotsPut

PcloudCloudinstancesSnapshotsPut updates a p VM instance snapshot

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type PcloudCloudinstancesSnapshotsDeleteAccepted

type PcloudCloudinstancesSnapshotsDeleteAccepted struct {
	Payload models.Object
}

PcloudCloudinstancesSnapshotsDeleteAccepted handles this case with default header values.

Accepted

func NewPcloudCloudinstancesSnapshotsDeleteAccepted

func NewPcloudCloudinstancesSnapshotsDeleteAccepted() *PcloudCloudinstancesSnapshotsDeleteAccepted

NewPcloudCloudinstancesSnapshotsDeleteAccepted creates a PcloudCloudinstancesSnapshotsDeleteAccepted with default headers values

func (*PcloudCloudinstancesSnapshotsDeleteAccepted) Error

type PcloudCloudinstancesSnapshotsDeleteBadRequest

type PcloudCloudinstancesSnapshotsDeleteBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesSnapshotsDeleteBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesSnapshotsDeleteBadRequest

func NewPcloudCloudinstancesSnapshotsDeleteBadRequest() *PcloudCloudinstancesSnapshotsDeleteBadRequest

NewPcloudCloudinstancesSnapshotsDeleteBadRequest creates a PcloudCloudinstancesSnapshotsDeleteBadRequest with default headers values

func (*PcloudCloudinstancesSnapshotsDeleteBadRequest) Error

type PcloudCloudinstancesSnapshotsDeleteGone

type PcloudCloudinstancesSnapshotsDeleteGone struct {
	Payload *models.Error
}

PcloudCloudinstancesSnapshotsDeleteGone handles this case with default header values.

Gone

func NewPcloudCloudinstancesSnapshotsDeleteGone

func NewPcloudCloudinstancesSnapshotsDeleteGone() *PcloudCloudinstancesSnapshotsDeleteGone

NewPcloudCloudinstancesSnapshotsDeleteGone creates a PcloudCloudinstancesSnapshotsDeleteGone with default headers values

func (*PcloudCloudinstancesSnapshotsDeleteGone) Error

type PcloudCloudinstancesSnapshotsDeleteInternalServerError

type PcloudCloudinstancesSnapshotsDeleteInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesSnapshotsDeleteInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesSnapshotsDeleteInternalServerError

func NewPcloudCloudinstancesSnapshotsDeleteInternalServerError() *PcloudCloudinstancesSnapshotsDeleteInternalServerError

NewPcloudCloudinstancesSnapshotsDeleteInternalServerError creates a PcloudCloudinstancesSnapshotsDeleteInternalServerError with default headers values

func (*PcloudCloudinstancesSnapshotsDeleteInternalServerError) Error

type PcloudCloudinstancesSnapshotsDeleteParams

type PcloudCloudinstancesSnapshotsDeleteParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*SnapshotID
	  PVM Instance snapshot id

	*/
	SnapshotID string

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

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

func NewPcloudCloudinstancesSnapshotsDeleteParams

func NewPcloudCloudinstancesSnapshotsDeleteParams() *PcloudCloudinstancesSnapshotsDeleteParams

NewPcloudCloudinstancesSnapshotsDeleteParams creates a new PcloudCloudinstancesSnapshotsDeleteParams object with the default values initialized.

func NewPcloudCloudinstancesSnapshotsDeleteParamsWithContext

func NewPcloudCloudinstancesSnapshotsDeleteParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsDeleteParams

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

func NewPcloudCloudinstancesSnapshotsDeleteParamsWithHTTPClient

func NewPcloudCloudinstancesSnapshotsDeleteParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsDeleteParams

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

func NewPcloudCloudinstancesSnapshotsDeleteParamsWithTimeout

func NewPcloudCloudinstancesSnapshotsDeleteParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsDeleteParams

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

func (*PcloudCloudinstancesSnapshotsDeleteParams) SetCloudInstanceID

func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances snapshots delete params

func (*PcloudCloudinstancesSnapshotsDeleteParams) SetContext

SetContext adds the context to the pcloud cloudinstances snapshots delete params

func (*PcloudCloudinstancesSnapshotsDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots delete params

func (*PcloudCloudinstancesSnapshotsDeleteParams) SetSnapshotID

func (o *PcloudCloudinstancesSnapshotsDeleteParams) SetSnapshotID(snapshotID string)

SetSnapshotID adds the snapshotId to the pcloud cloudinstances snapshots delete params

func (*PcloudCloudinstancesSnapshotsDeleteParams) SetTimeout

SetTimeout adds the timeout to the pcloud cloudinstances snapshots delete params

func (*PcloudCloudinstancesSnapshotsDeleteParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances snapshots delete params

func (*PcloudCloudinstancesSnapshotsDeleteParams) WithContext

WithContext adds the context to the pcloud cloudinstances snapshots delete params

func (*PcloudCloudinstancesSnapshotsDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots delete params

func (*PcloudCloudinstancesSnapshotsDeleteParams) WithSnapshotID

WithSnapshotID adds the snapshotID to the pcloud cloudinstances snapshots delete params

func (*PcloudCloudinstancesSnapshotsDeleteParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances snapshots delete params

func (*PcloudCloudinstancesSnapshotsDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesSnapshotsDeleteReader

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

PcloudCloudinstancesSnapshotsDeleteReader is a Reader for the PcloudCloudinstancesSnapshotsDelete structure.

func (*PcloudCloudinstancesSnapshotsDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesSnapshotsGetBadRequest

type PcloudCloudinstancesSnapshotsGetBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesSnapshotsGetBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesSnapshotsGetBadRequest

func NewPcloudCloudinstancesSnapshotsGetBadRequest() *PcloudCloudinstancesSnapshotsGetBadRequest

NewPcloudCloudinstancesSnapshotsGetBadRequest creates a PcloudCloudinstancesSnapshotsGetBadRequest with default headers values

func (*PcloudCloudinstancesSnapshotsGetBadRequest) Error

type PcloudCloudinstancesSnapshotsGetInternalServerError

type PcloudCloudinstancesSnapshotsGetInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesSnapshotsGetInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesSnapshotsGetInternalServerError

func NewPcloudCloudinstancesSnapshotsGetInternalServerError() *PcloudCloudinstancesSnapshotsGetInternalServerError

NewPcloudCloudinstancesSnapshotsGetInternalServerError creates a PcloudCloudinstancesSnapshotsGetInternalServerError with default headers values

func (*PcloudCloudinstancesSnapshotsGetInternalServerError) Error

type PcloudCloudinstancesSnapshotsGetOK

type PcloudCloudinstancesSnapshotsGetOK struct {
	Payload *models.Snapshot
}

PcloudCloudinstancesSnapshotsGetOK handles this case with default header values.

OK

func NewPcloudCloudinstancesSnapshotsGetOK

func NewPcloudCloudinstancesSnapshotsGetOK() *PcloudCloudinstancesSnapshotsGetOK

NewPcloudCloudinstancesSnapshotsGetOK creates a PcloudCloudinstancesSnapshotsGetOK with default headers values

func (*PcloudCloudinstancesSnapshotsGetOK) Error

type PcloudCloudinstancesSnapshotsGetParams

type PcloudCloudinstancesSnapshotsGetParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string
	/*SnapshotID
	  PVM Instance snapshot id

	*/
	SnapshotID string

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

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

func NewPcloudCloudinstancesSnapshotsGetParams

func NewPcloudCloudinstancesSnapshotsGetParams() *PcloudCloudinstancesSnapshotsGetParams

NewPcloudCloudinstancesSnapshotsGetParams creates a new PcloudCloudinstancesSnapshotsGetParams object with the default values initialized.

func NewPcloudCloudinstancesSnapshotsGetParamsWithContext

func NewPcloudCloudinstancesSnapshotsGetParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetParams

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

func NewPcloudCloudinstancesSnapshotsGetParamsWithHTTPClient

func NewPcloudCloudinstancesSnapshotsGetParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsGetParams

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

func NewPcloudCloudinstancesSnapshotsGetParamsWithTimeout

func NewPcloudCloudinstancesSnapshotsGetParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsGetParams

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

func (*PcloudCloudinstancesSnapshotsGetParams) SetCloudInstanceID

func (o *PcloudCloudinstancesSnapshotsGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances snapshots get params

func (*PcloudCloudinstancesSnapshotsGetParams) SetContext

SetContext adds the context to the pcloud cloudinstances snapshots get params

func (*PcloudCloudinstancesSnapshotsGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots get params

func (*PcloudCloudinstancesSnapshotsGetParams) SetSnapshotID

func (o *PcloudCloudinstancesSnapshotsGetParams) SetSnapshotID(snapshotID string)

SetSnapshotID adds the snapshotId to the pcloud cloudinstances snapshots get params

func (*PcloudCloudinstancesSnapshotsGetParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud cloudinstances snapshots get params

func (*PcloudCloudinstancesSnapshotsGetParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances snapshots get params

func (*PcloudCloudinstancesSnapshotsGetParams) WithContext

WithContext adds the context to the pcloud cloudinstances snapshots get params

func (*PcloudCloudinstancesSnapshotsGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots get params

func (*PcloudCloudinstancesSnapshotsGetParams) WithSnapshotID

WithSnapshotID adds the snapshotID to the pcloud cloudinstances snapshots get params

func (*PcloudCloudinstancesSnapshotsGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances snapshots get params

func (*PcloudCloudinstancesSnapshotsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesSnapshotsGetReader

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

PcloudCloudinstancesSnapshotsGetReader is a Reader for the PcloudCloudinstancesSnapshotsGet structure.

func (*PcloudCloudinstancesSnapshotsGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesSnapshotsGetallBadRequest

type PcloudCloudinstancesSnapshotsGetallBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesSnapshotsGetallBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesSnapshotsGetallBadRequest

func NewPcloudCloudinstancesSnapshotsGetallBadRequest() *PcloudCloudinstancesSnapshotsGetallBadRequest

NewPcloudCloudinstancesSnapshotsGetallBadRequest creates a PcloudCloudinstancesSnapshotsGetallBadRequest with default headers values

func (*PcloudCloudinstancesSnapshotsGetallBadRequest) Error

type PcloudCloudinstancesSnapshotsGetallInternalServerError

type PcloudCloudinstancesSnapshotsGetallInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesSnapshotsGetallInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesSnapshotsGetallInternalServerError

func NewPcloudCloudinstancesSnapshotsGetallInternalServerError() *PcloudCloudinstancesSnapshotsGetallInternalServerError

NewPcloudCloudinstancesSnapshotsGetallInternalServerError creates a PcloudCloudinstancesSnapshotsGetallInternalServerError with default headers values

func (*PcloudCloudinstancesSnapshotsGetallInternalServerError) Error

type PcloudCloudinstancesSnapshotsGetallOK

type PcloudCloudinstancesSnapshotsGetallOK struct {
	Payload *models.Snapshots
}

PcloudCloudinstancesSnapshotsGetallOK handles this case with default header values.

OK

func NewPcloudCloudinstancesSnapshotsGetallOK

func NewPcloudCloudinstancesSnapshotsGetallOK() *PcloudCloudinstancesSnapshotsGetallOK

NewPcloudCloudinstancesSnapshotsGetallOK creates a PcloudCloudinstancesSnapshotsGetallOK with default headers values

func (*PcloudCloudinstancesSnapshotsGetallOK) Error

type PcloudCloudinstancesSnapshotsGetallParams

type PcloudCloudinstancesSnapshotsGetallParams struct {

	/*CloudInstanceID
	  Cloud Instance ID of a PCloud Instance

	*/
	CloudInstanceID string

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

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

func NewPcloudCloudinstancesSnapshotsGetallParams

func NewPcloudCloudinstancesSnapshotsGetallParams() *PcloudCloudinstancesSnapshotsGetallParams

NewPcloudCloudinstancesSnapshotsGetallParams creates a new PcloudCloudinstancesSnapshotsGetallParams object with the default values initialized.

func NewPcloudCloudinstancesSnapshotsGetallParamsWithContext

func NewPcloudCloudinstancesSnapshotsGetallParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsGetallParams

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

func NewPcloudCloudinstancesSnapshotsGetallParamsWithHTTPClient

func NewPcloudCloudinstancesSnapshotsGetallParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsGetallParams

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

func NewPcloudCloudinstancesSnapshotsGetallParamsWithTimeout

func NewPcloudCloudinstancesSnapshotsGetallParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsGetallParams

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

func (*PcloudCloudinstancesSnapshotsGetallParams) SetCloudInstanceID

func (o *PcloudCloudinstancesSnapshotsGetallParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances snapshots getall params

func (*PcloudCloudinstancesSnapshotsGetallParams) SetContext

SetContext adds the context to the pcloud cloudinstances snapshots getall params

func (*PcloudCloudinstancesSnapshotsGetallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots getall params

func (*PcloudCloudinstancesSnapshotsGetallParams) SetTimeout

SetTimeout adds the timeout to the pcloud cloudinstances snapshots getall params

func (*PcloudCloudinstancesSnapshotsGetallParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances snapshots getall params

func (*PcloudCloudinstancesSnapshotsGetallParams) WithContext

WithContext adds the context to the pcloud cloudinstances snapshots getall params

func (*PcloudCloudinstancesSnapshotsGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots getall params

func (*PcloudCloudinstancesSnapshotsGetallParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances snapshots getall params

func (*PcloudCloudinstancesSnapshotsGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesSnapshotsGetallReader

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

PcloudCloudinstancesSnapshotsGetallReader is a Reader for the PcloudCloudinstancesSnapshotsGetall structure.

func (*PcloudCloudinstancesSnapshotsGetallReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PcloudCloudinstancesSnapshotsPutBadRequest

type PcloudCloudinstancesSnapshotsPutBadRequest struct {
	Payload *models.Error
}

PcloudCloudinstancesSnapshotsPutBadRequest handles this case with default header values.

Bad Request

func NewPcloudCloudinstancesSnapshotsPutBadRequest

func NewPcloudCloudinstancesSnapshotsPutBadRequest() *PcloudCloudinstancesSnapshotsPutBadRequest

NewPcloudCloudinstancesSnapshotsPutBadRequest creates a PcloudCloudinstancesSnapshotsPutBadRequest with default headers values

func (*PcloudCloudinstancesSnapshotsPutBadRequest) Error

type PcloudCloudinstancesSnapshotsPutInternalServerError

type PcloudCloudinstancesSnapshotsPutInternalServerError struct {
	Payload *models.Error
}

PcloudCloudinstancesSnapshotsPutInternalServerError handles this case with default header values.

Internal Server Error

func NewPcloudCloudinstancesSnapshotsPutInternalServerError

func NewPcloudCloudinstancesSnapshotsPutInternalServerError() *PcloudCloudinstancesSnapshotsPutInternalServerError

NewPcloudCloudinstancesSnapshotsPutInternalServerError creates a PcloudCloudinstancesSnapshotsPutInternalServerError with default headers values

func (*PcloudCloudinstancesSnapshotsPutInternalServerError) Error

type PcloudCloudinstancesSnapshotsPutOK

type PcloudCloudinstancesSnapshotsPutOK struct {
	Payload models.Object
}

PcloudCloudinstancesSnapshotsPutOK handles this case with default header values.

OK

func NewPcloudCloudinstancesSnapshotsPutOK

func NewPcloudCloudinstancesSnapshotsPutOK() *PcloudCloudinstancesSnapshotsPutOK

NewPcloudCloudinstancesSnapshotsPutOK creates a PcloudCloudinstancesSnapshotsPutOK with default headers values

func (*PcloudCloudinstancesSnapshotsPutOK) Error

type PcloudCloudinstancesSnapshotsPutParams

type PcloudCloudinstancesSnapshotsPutParams struct {

	/*Body
	  Parameters for the update of a  PVM instance snapshot

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

	*/
	CloudInstanceID string
	/*SnapshotID
	  PVM Instance snapshot id

	*/
	SnapshotID string

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

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

func NewPcloudCloudinstancesSnapshotsPutParams

func NewPcloudCloudinstancesSnapshotsPutParams() *PcloudCloudinstancesSnapshotsPutParams

NewPcloudCloudinstancesSnapshotsPutParams creates a new PcloudCloudinstancesSnapshotsPutParams object with the default values initialized.

func NewPcloudCloudinstancesSnapshotsPutParamsWithContext

func NewPcloudCloudinstancesSnapshotsPutParamsWithContext(ctx context.Context) *PcloudCloudinstancesSnapshotsPutParams

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

func NewPcloudCloudinstancesSnapshotsPutParamsWithHTTPClient

func NewPcloudCloudinstancesSnapshotsPutParamsWithHTTPClient(client *http.Client) *PcloudCloudinstancesSnapshotsPutParams

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

func NewPcloudCloudinstancesSnapshotsPutParamsWithTimeout

func NewPcloudCloudinstancesSnapshotsPutParamsWithTimeout(timeout time.Duration) *PcloudCloudinstancesSnapshotsPutParams

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

func (*PcloudCloudinstancesSnapshotsPutParams) SetBody

SetBody adds the body to the pcloud cloudinstances snapshots put params

func (*PcloudCloudinstancesSnapshotsPutParams) SetCloudInstanceID

func (o *PcloudCloudinstancesSnapshotsPutParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud cloudinstances snapshots put params

func (*PcloudCloudinstancesSnapshotsPutParams) SetContext

SetContext adds the context to the pcloud cloudinstances snapshots put params

func (*PcloudCloudinstancesSnapshotsPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots put params

func (*PcloudCloudinstancesSnapshotsPutParams) SetSnapshotID

func (o *PcloudCloudinstancesSnapshotsPutParams) SetSnapshotID(snapshotID string)

SetSnapshotID adds the snapshotId to the pcloud cloudinstances snapshots put params

func (*PcloudCloudinstancesSnapshotsPutParams) SetTimeout

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

SetTimeout adds the timeout to the pcloud cloudinstances snapshots put params

func (*PcloudCloudinstancesSnapshotsPutParams) WithBody

WithBody adds the body to the pcloud cloudinstances snapshots put params

func (*PcloudCloudinstancesSnapshotsPutParams) WithCloudInstanceID

WithCloudInstanceID adds the cloudInstanceID to the pcloud cloudinstances snapshots put params

func (*PcloudCloudinstancesSnapshotsPutParams) WithContext

WithContext adds the context to the pcloud cloudinstances snapshots put params

func (*PcloudCloudinstancesSnapshotsPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud cloudinstances snapshots put params

func (*PcloudCloudinstancesSnapshotsPutParams) WithSnapshotID

WithSnapshotID adds the snapshotID to the pcloud cloudinstances snapshots put params

func (*PcloudCloudinstancesSnapshotsPutParams) WithTimeout

WithTimeout adds the timeout to the pcloud cloudinstances snapshots put params

func (*PcloudCloudinstancesSnapshotsPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudCloudinstancesSnapshotsPutReader

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

PcloudCloudinstancesSnapshotsPutReader is a Reader for the PcloudCloudinstancesSnapshotsPut structure.

func (*PcloudCloudinstancesSnapshotsPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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