vm_snapshot

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT 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 vm snapshot API

func (*Client) CreateVMSnapshot

func (a *Client) CreateVMSnapshot(params *CreateVMSnapshotParams, opts ...ClientOption) (*CreateVMSnapshotOK, error)

CreateVMSnapshot create Vm snapshot API

func (*Client) DeleteVMSnapshot

func (a *Client) DeleteVMSnapshot(params *DeleteVMSnapshotParams, opts ...ClientOption) (*DeleteVMSnapshotOK, error)

DeleteVMSnapshot delete Vm snapshot API

func (*Client) GetVMSnapshots

func (a *Client) GetVMSnapshots(params *GetVMSnapshotsParams, opts ...ClientOption) (*GetVMSnapshotsOK, error)

GetVMSnapshots get Vm snapshots API

func (*Client) GetVMSnapshotsConnection

func (a *Client) GetVMSnapshotsConnection(params *GetVMSnapshotsConnectionParams, opts ...ClientOption) (*GetVMSnapshotsConnectionOK, error)

GetVMSnapshotsConnection get Vm snapshots connection API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateVMSnapshot(params *CreateVMSnapshotParams, opts ...ClientOption) (*CreateVMSnapshotOK, error)

	DeleteVMSnapshot(params *DeleteVMSnapshotParams, opts ...ClientOption) (*DeleteVMSnapshotOK, error)

	GetVMSnapshots(params *GetVMSnapshotsParams, opts ...ClientOption) (*GetVMSnapshotsOK, error)

	GetVMSnapshotsConnection(params *GetVMSnapshotsConnectionParams, opts ...ClientOption) (*GetVMSnapshotsConnectionOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new vm snapshot API client.

type CreateVMSnapshotBadRequest

type CreateVMSnapshotBadRequest struct {
	Payload string
}
CreateVMSnapshotBadRequest describes a response with status code 400, with default header values.

CreateVMSnapshotBadRequest create Vm snapshot bad request

func NewCreateVMSnapshotBadRequest

func NewCreateVMSnapshotBadRequest() *CreateVMSnapshotBadRequest

NewCreateVMSnapshotBadRequest creates a CreateVMSnapshotBadRequest with default headers values

func (*CreateVMSnapshotBadRequest) Error

func (*CreateVMSnapshotBadRequest) GetPayload

func (o *CreateVMSnapshotBadRequest) GetPayload() string

type CreateVMSnapshotOK

type CreateVMSnapshotOK struct {
	Payload []*models.WithTaskVMSnapshot
}
CreateVMSnapshotOK describes a response with status code 200, with default header values.

Ok

func NewCreateVMSnapshotOK

func NewCreateVMSnapshotOK() *CreateVMSnapshotOK

NewCreateVMSnapshotOK creates a CreateVMSnapshotOK with default headers values

func (*CreateVMSnapshotOK) Error

func (o *CreateVMSnapshotOK) Error() string

func (*CreateVMSnapshotOK) GetPayload

func (o *CreateVMSnapshotOK) GetPayload() []*models.WithTaskVMSnapshot

type CreateVMSnapshotParams

type CreateVMSnapshotParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMSnapshotCreationParams

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

CreateVMSnapshotParams contains all the parameters to send to the API endpoint

for the create Vm snapshot operation.

Typically these are written to a http.Request.

func NewCreateVMSnapshotParams

func NewCreateVMSnapshotParams() *CreateVMSnapshotParams

NewCreateVMSnapshotParams creates a new CreateVMSnapshotParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateVMSnapshotParamsWithContext

func NewCreateVMSnapshotParamsWithContext(ctx context.Context) *CreateVMSnapshotParams

NewCreateVMSnapshotParamsWithContext creates a new CreateVMSnapshotParams object with the ability to set a context for a request.

func NewCreateVMSnapshotParamsWithHTTPClient

func NewCreateVMSnapshotParamsWithHTTPClient(client *http.Client) *CreateVMSnapshotParams

NewCreateVMSnapshotParamsWithHTTPClient creates a new CreateVMSnapshotParams object with the ability to set a custom HTTPClient for a request.

func NewCreateVMSnapshotParamsWithTimeout

func NewCreateVMSnapshotParamsWithTimeout(timeout time.Duration) *CreateVMSnapshotParams

NewCreateVMSnapshotParamsWithTimeout creates a new CreateVMSnapshotParams object with the ability to set a timeout on a request.

func (*CreateVMSnapshotParams) SetContentLanguage

func (o *CreateVMSnapshotParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create Vm snapshot params

func (*CreateVMSnapshotParams) SetContext

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

SetContext adds the context to the create Vm snapshot params

func (*CreateVMSnapshotParams) SetDefaults

func (o *CreateVMSnapshotParams) SetDefaults()

SetDefaults hydrates default values in the create Vm snapshot params (not the query body).

All values with no default are reset to their zero value.

func (*CreateVMSnapshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create Vm snapshot params

func (*CreateVMSnapshotParams) SetRequestBody

func (o *CreateVMSnapshotParams) SetRequestBody(requestBody *models.VMSnapshotCreationParams)

SetRequestBody adds the requestBody to the create Vm snapshot params

func (*CreateVMSnapshotParams) SetTimeout

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

SetTimeout adds the timeout to the create Vm snapshot params

func (*CreateVMSnapshotParams) WithContentLanguage

func (o *CreateVMSnapshotParams) WithContentLanguage(contentLanguage *string) *CreateVMSnapshotParams

WithContentLanguage adds the contentLanguage to the create Vm snapshot params

func (*CreateVMSnapshotParams) WithContext

WithContext adds the context to the create Vm snapshot params

func (*CreateVMSnapshotParams) WithDefaults

WithDefaults hydrates default values in the create Vm snapshot params (not the query body).

All values with no default are reset to their zero value.

func (*CreateVMSnapshotParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create Vm snapshot params

func (*CreateVMSnapshotParams) WithRequestBody

WithRequestBody adds the requestBody to the create Vm snapshot params

func (*CreateVMSnapshotParams) WithTimeout

WithTimeout adds the timeout to the create Vm snapshot params

func (*CreateVMSnapshotParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateVMSnapshotReader

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

CreateVMSnapshotReader is a Reader for the CreateVMSnapshot structure.

func (*CreateVMSnapshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteVMSnapshotBadRequest

type DeleteVMSnapshotBadRequest struct {
	Payload string
}
DeleteVMSnapshotBadRequest describes a response with status code 400, with default header values.

DeleteVMSnapshotBadRequest delete Vm snapshot bad request

func NewDeleteVMSnapshotBadRequest

func NewDeleteVMSnapshotBadRequest() *DeleteVMSnapshotBadRequest

NewDeleteVMSnapshotBadRequest creates a DeleteVMSnapshotBadRequest with default headers values

func (*DeleteVMSnapshotBadRequest) Error

func (*DeleteVMSnapshotBadRequest) GetPayload

func (o *DeleteVMSnapshotBadRequest) GetPayload() string

type DeleteVMSnapshotOK

type DeleteVMSnapshotOK struct {
	Payload []*models.WithTaskDeleteVMSnapshot
}
DeleteVMSnapshotOK describes a response with status code 200, with default header values.

Ok

func NewDeleteVMSnapshotOK

func NewDeleteVMSnapshotOK() *DeleteVMSnapshotOK

NewDeleteVMSnapshotOK creates a DeleteVMSnapshotOK with default headers values

func (*DeleteVMSnapshotOK) Error

func (o *DeleteVMSnapshotOK) Error() string

func (*DeleteVMSnapshotOK) GetPayload

type DeleteVMSnapshotParams

type DeleteVMSnapshotParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMSnapshotDeletionParams

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

DeleteVMSnapshotParams contains all the parameters to send to the API endpoint

for the delete Vm snapshot operation.

Typically these are written to a http.Request.

func NewDeleteVMSnapshotParams

func NewDeleteVMSnapshotParams() *DeleteVMSnapshotParams

NewDeleteVMSnapshotParams creates a new DeleteVMSnapshotParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteVMSnapshotParamsWithContext

func NewDeleteVMSnapshotParamsWithContext(ctx context.Context) *DeleteVMSnapshotParams

NewDeleteVMSnapshotParamsWithContext creates a new DeleteVMSnapshotParams object with the ability to set a context for a request.

func NewDeleteVMSnapshotParamsWithHTTPClient

func NewDeleteVMSnapshotParamsWithHTTPClient(client *http.Client) *DeleteVMSnapshotParams

NewDeleteVMSnapshotParamsWithHTTPClient creates a new DeleteVMSnapshotParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteVMSnapshotParamsWithTimeout

func NewDeleteVMSnapshotParamsWithTimeout(timeout time.Duration) *DeleteVMSnapshotParams

NewDeleteVMSnapshotParamsWithTimeout creates a new DeleteVMSnapshotParams object with the ability to set a timeout on a request.

func (*DeleteVMSnapshotParams) SetContentLanguage

func (o *DeleteVMSnapshotParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the delete Vm snapshot params

func (*DeleteVMSnapshotParams) SetContext

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

SetContext adds the context to the delete Vm snapshot params

func (*DeleteVMSnapshotParams) SetDefaults

func (o *DeleteVMSnapshotParams) SetDefaults()

SetDefaults hydrates default values in the delete Vm snapshot params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVMSnapshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete Vm snapshot params

func (*DeleteVMSnapshotParams) SetRequestBody

func (o *DeleteVMSnapshotParams) SetRequestBody(requestBody *models.VMSnapshotDeletionParams)

SetRequestBody adds the requestBody to the delete Vm snapshot params

func (*DeleteVMSnapshotParams) SetTimeout

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

SetTimeout adds the timeout to the delete Vm snapshot params

func (*DeleteVMSnapshotParams) WithContentLanguage

func (o *DeleteVMSnapshotParams) WithContentLanguage(contentLanguage *string) *DeleteVMSnapshotParams

WithContentLanguage adds the contentLanguage to the delete Vm snapshot params

func (*DeleteVMSnapshotParams) WithContext

WithContext adds the context to the delete Vm snapshot params

func (*DeleteVMSnapshotParams) WithDefaults

WithDefaults hydrates default values in the delete Vm snapshot params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVMSnapshotParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete Vm snapshot params

func (*DeleteVMSnapshotParams) WithRequestBody

WithRequestBody adds the requestBody to the delete Vm snapshot params

func (*DeleteVMSnapshotParams) WithTimeout

WithTimeout adds the timeout to the delete Vm snapshot params

func (*DeleteVMSnapshotParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteVMSnapshotReader

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

DeleteVMSnapshotReader is a Reader for the DeleteVMSnapshot structure.

func (*DeleteVMSnapshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVMSnapshotsBadRequest

type GetVMSnapshotsBadRequest struct {
	Payload string
}
GetVMSnapshotsBadRequest describes a response with status code 400, with default header values.

GetVMSnapshotsBadRequest get Vm snapshots bad request

func NewGetVMSnapshotsBadRequest

func NewGetVMSnapshotsBadRequest() *GetVMSnapshotsBadRequest

NewGetVMSnapshotsBadRequest creates a GetVMSnapshotsBadRequest with default headers values

func (*GetVMSnapshotsBadRequest) Error

func (o *GetVMSnapshotsBadRequest) Error() string

func (*GetVMSnapshotsBadRequest) GetPayload

func (o *GetVMSnapshotsBadRequest) GetPayload() string

type GetVMSnapshotsConnectionBadRequest

type GetVMSnapshotsConnectionBadRequest struct {
	Payload string
}
GetVMSnapshotsConnectionBadRequest describes a response with status code 400, with default header values.

GetVMSnapshotsConnectionBadRequest get Vm snapshots connection bad request

func NewGetVMSnapshotsConnectionBadRequest

func NewGetVMSnapshotsConnectionBadRequest() *GetVMSnapshotsConnectionBadRequest

NewGetVMSnapshotsConnectionBadRequest creates a GetVMSnapshotsConnectionBadRequest with default headers values

func (*GetVMSnapshotsConnectionBadRequest) Error

func (*GetVMSnapshotsConnectionBadRequest) GetPayload

type GetVMSnapshotsConnectionOK

type GetVMSnapshotsConnectionOK struct {
	Payload *models.VMSnapshotConnection
}
GetVMSnapshotsConnectionOK describes a response with status code 200, with default header values.

Ok

func NewGetVMSnapshotsConnectionOK

func NewGetVMSnapshotsConnectionOK() *GetVMSnapshotsConnectionOK

NewGetVMSnapshotsConnectionOK creates a GetVMSnapshotsConnectionOK with default headers values

func (*GetVMSnapshotsConnectionOK) Error

func (*GetVMSnapshotsConnectionOK) GetPayload

type GetVMSnapshotsConnectionParams

type GetVMSnapshotsConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetVMSnapshotsConnectionRequestBody

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

GetVMSnapshotsConnectionParams contains all the parameters to send to the API endpoint

for the get Vm snapshots connection operation.

Typically these are written to a http.Request.

func NewGetVMSnapshotsConnectionParams

func NewGetVMSnapshotsConnectionParams() *GetVMSnapshotsConnectionParams

NewGetVMSnapshotsConnectionParams creates a new GetVMSnapshotsConnectionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVMSnapshotsConnectionParamsWithContext

func NewGetVMSnapshotsConnectionParamsWithContext(ctx context.Context) *GetVMSnapshotsConnectionParams

NewGetVMSnapshotsConnectionParamsWithContext creates a new GetVMSnapshotsConnectionParams object with the ability to set a context for a request.

func NewGetVMSnapshotsConnectionParamsWithHTTPClient

func NewGetVMSnapshotsConnectionParamsWithHTTPClient(client *http.Client) *GetVMSnapshotsConnectionParams

NewGetVMSnapshotsConnectionParamsWithHTTPClient creates a new GetVMSnapshotsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetVMSnapshotsConnectionParamsWithTimeout

func NewGetVMSnapshotsConnectionParamsWithTimeout(timeout time.Duration) *GetVMSnapshotsConnectionParams

NewGetVMSnapshotsConnectionParamsWithTimeout creates a new GetVMSnapshotsConnectionParams object with the ability to set a timeout on a request.

func (*GetVMSnapshotsConnectionParams) SetContentLanguage

func (o *GetVMSnapshotsConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get Vm snapshots connection params

func (*GetVMSnapshotsConnectionParams) SetContext

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

SetContext adds the context to the get Vm snapshots connection params

func (*GetVMSnapshotsConnectionParams) SetDefaults

func (o *GetVMSnapshotsConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get Vm snapshots connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetVMSnapshotsConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get Vm snapshots connection params

func (*GetVMSnapshotsConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get Vm snapshots connection params

func (*GetVMSnapshotsConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get Vm snapshots connection params

func (*GetVMSnapshotsConnectionParams) WithContentLanguage

func (o *GetVMSnapshotsConnectionParams) WithContentLanguage(contentLanguage *string) *GetVMSnapshotsConnectionParams

WithContentLanguage adds the contentLanguage to the get Vm snapshots connection params

func (*GetVMSnapshotsConnectionParams) WithContext

WithContext adds the context to the get Vm snapshots connection params

func (*GetVMSnapshotsConnectionParams) WithDefaults

WithDefaults hydrates default values in the get Vm snapshots connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetVMSnapshotsConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get Vm snapshots connection params

func (*GetVMSnapshotsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get Vm snapshots connection params

func (*GetVMSnapshotsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get Vm snapshots connection params

func (*GetVMSnapshotsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVMSnapshotsConnectionReader

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

GetVMSnapshotsConnectionReader is a Reader for the GetVMSnapshotsConnection structure.

func (*GetVMSnapshotsConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVMSnapshotsOK

type GetVMSnapshotsOK struct {
	Payload []*models.VMSnapshot
}
GetVMSnapshotsOK describes a response with status code 200, with default header values.

Ok

func NewGetVMSnapshotsOK

func NewGetVMSnapshotsOK() *GetVMSnapshotsOK

NewGetVMSnapshotsOK creates a GetVMSnapshotsOK with default headers values

func (*GetVMSnapshotsOK) Error

func (o *GetVMSnapshotsOK) Error() string

func (*GetVMSnapshotsOK) GetPayload

func (o *GetVMSnapshotsOK) GetPayload() []*models.VMSnapshot

type GetVMSnapshotsParams

type GetVMSnapshotsParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetVMSnapshotsRequestBody

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

GetVMSnapshotsParams contains all the parameters to send to the API endpoint

for the get Vm snapshots operation.

Typically these are written to a http.Request.

func NewGetVMSnapshotsParams

func NewGetVMSnapshotsParams() *GetVMSnapshotsParams

NewGetVMSnapshotsParams creates a new GetVMSnapshotsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVMSnapshotsParamsWithContext

func NewGetVMSnapshotsParamsWithContext(ctx context.Context) *GetVMSnapshotsParams

NewGetVMSnapshotsParamsWithContext creates a new GetVMSnapshotsParams object with the ability to set a context for a request.

func NewGetVMSnapshotsParamsWithHTTPClient

func NewGetVMSnapshotsParamsWithHTTPClient(client *http.Client) *GetVMSnapshotsParams

NewGetVMSnapshotsParamsWithHTTPClient creates a new GetVMSnapshotsParams object with the ability to set a custom HTTPClient for a request.

func NewGetVMSnapshotsParamsWithTimeout

func NewGetVMSnapshotsParamsWithTimeout(timeout time.Duration) *GetVMSnapshotsParams

NewGetVMSnapshotsParamsWithTimeout creates a new GetVMSnapshotsParams object with the ability to set a timeout on a request.

func (*GetVMSnapshotsParams) SetContentLanguage

func (o *GetVMSnapshotsParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get Vm snapshots params

func (*GetVMSnapshotsParams) SetContext

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

SetContext adds the context to the get Vm snapshots params

func (*GetVMSnapshotsParams) SetDefaults

func (o *GetVMSnapshotsParams) SetDefaults()

SetDefaults hydrates default values in the get Vm snapshots params (not the query body).

All values with no default are reset to their zero value.

func (*GetVMSnapshotsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get Vm snapshots params

func (*GetVMSnapshotsParams) SetRequestBody

func (o *GetVMSnapshotsParams) SetRequestBody(requestBody *models.GetVMSnapshotsRequestBody)

SetRequestBody adds the requestBody to the get Vm snapshots params

func (*GetVMSnapshotsParams) SetTimeout

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

SetTimeout adds the timeout to the get Vm snapshots params

func (*GetVMSnapshotsParams) WithContentLanguage

func (o *GetVMSnapshotsParams) WithContentLanguage(contentLanguage *string) *GetVMSnapshotsParams

WithContentLanguage adds the contentLanguage to the get Vm snapshots params

func (*GetVMSnapshotsParams) WithContext

WithContext adds the context to the get Vm snapshots params

func (*GetVMSnapshotsParams) WithDefaults

func (o *GetVMSnapshotsParams) WithDefaults() *GetVMSnapshotsParams

WithDefaults hydrates default values in the get Vm snapshots params (not the query body).

All values with no default are reset to their zero value.

func (*GetVMSnapshotsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get Vm snapshots params

func (*GetVMSnapshotsParams) WithRequestBody

WithRequestBody adds the requestBody to the get Vm snapshots params

func (*GetVMSnapshotsParams) WithTimeout

func (o *GetVMSnapshotsParams) WithTimeout(timeout time.Duration) *GetVMSnapshotsParams

WithTimeout adds the timeout to the get Vm snapshots params

func (*GetVMSnapshotsParams) WriteToRequest

func (o *GetVMSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetVMSnapshotsReader

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

GetVMSnapshotsReader is a Reader for the GetVMSnapshots structure.

func (*GetVMSnapshotsReader) ReadResponse

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