vm_volume_snapshot

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: ISC 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 volume snapshot API

func (*Client) CreateVMVolumeSnapshot

func (a *Client) CreateVMVolumeSnapshot(params *CreateVMVolumeSnapshotParams, opts ...ClientOption) (*CreateVMVolumeSnapshotOK, error)

CreateVMVolumeSnapshot create Vm volume snapshot API

func (*Client) DeleteVMVolumeSnapshot

func (a *Client) DeleteVMVolumeSnapshot(params *DeleteVMVolumeSnapshotParams, opts ...ClientOption) (*DeleteVMVolumeSnapshotOK, error)

DeleteVMVolumeSnapshot delete Vm volume snapshot API

func (*Client) GetVMVolumeSnapshots

func (a *Client) GetVMVolumeSnapshots(params *GetVMVolumeSnapshotsParams, opts ...ClientOption) (*GetVMVolumeSnapshotsOK, error)

GetVMVolumeSnapshots get Vm volume snapshots API

func (*Client) GetVMVolumeSnapshotsConnection

func (a *Client) GetVMVolumeSnapshotsConnection(params *GetVMVolumeSnapshotsConnectionParams, opts ...ClientOption) (*GetVMVolumeSnapshotsConnectionOK, error)

GetVMVolumeSnapshotsConnection get Vm volume 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 {
	CreateVMVolumeSnapshot(params *CreateVMVolumeSnapshotParams, opts ...ClientOption) (*CreateVMVolumeSnapshotOK, error)

	DeleteVMVolumeSnapshot(params *DeleteVMVolumeSnapshotParams, opts ...ClientOption) (*DeleteVMVolumeSnapshotOK, error)

	GetVMVolumeSnapshots(params *GetVMVolumeSnapshotsParams, opts ...ClientOption) (*GetVMVolumeSnapshotsOK, error)

	GetVMVolumeSnapshotsConnection(params *GetVMVolumeSnapshotsConnectionParams, opts ...ClientOption) (*GetVMVolumeSnapshotsConnectionOK, 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 volume snapshot API client.

type CreateVMVolumeSnapshotBadRequest

type CreateVMVolumeSnapshotBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVMVolumeSnapshotBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateVMVolumeSnapshotBadRequest

func NewCreateVMVolumeSnapshotBadRequest() *CreateVMVolumeSnapshotBadRequest

NewCreateVMVolumeSnapshotBadRequest creates a CreateVMVolumeSnapshotBadRequest with default headers values

func (*CreateVMVolumeSnapshotBadRequest) Error

func (*CreateVMVolumeSnapshotBadRequest) GetPayload

type CreateVMVolumeSnapshotInternalServerError

type CreateVMVolumeSnapshotInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVMVolumeSnapshotInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateVMVolumeSnapshotInternalServerError

func NewCreateVMVolumeSnapshotInternalServerError() *CreateVMVolumeSnapshotInternalServerError

NewCreateVMVolumeSnapshotInternalServerError creates a CreateVMVolumeSnapshotInternalServerError with default headers values

func (*CreateVMVolumeSnapshotInternalServerError) Error

func (*CreateVMVolumeSnapshotInternalServerError) GetPayload

type CreateVMVolumeSnapshotNotFound

type CreateVMVolumeSnapshotNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVMVolumeSnapshotNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateVMVolumeSnapshotNotFound

func NewCreateVMVolumeSnapshotNotFound() *CreateVMVolumeSnapshotNotFound

NewCreateVMVolumeSnapshotNotFound creates a CreateVMVolumeSnapshotNotFound with default headers values

func (*CreateVMVolumeSnapshotNotFound) Error

func (*CreateVMVolumeSnapshotNotFound) GetPayload

type CreateVMVolumeSnapshotOK

type CreateVMVolumeSnapshotOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVMVolumeSnapshot
}
CreateVMVolumeSnapshotOK describes a response with status code 200, with default header values.

CreateVMVolumeSnapshotOK create Vm volume snapshot o k

func NewCreateVMVolumeSnapshotOK

func NewCreateVMVolumeSnapshotOK() *CreateVMVolumeSnapshotOK

NewCreateVMVolumeSnapshotOK creates a CreateVMVolumeSnapshotOK with default headers values

func (*CreateVMVolumeSnapshotOK) Error

func (o *CreateVMVolumeSnapshotOK) Error() string

func (*CreateVMVolumeSnapshotOK) GetPayload

type CreateVMVolumeSnapshotParams

type CreateVMVolumeSnapshotParams struct {

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

	// RequestBody.
	RequestBody []*models.VMVolumeSnapshotCreationParams

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

CreateVMVolumeSnapshotParams contains all the parameters to send to the API endpoint

for the create Vm volume snapshot operation.

Typically these are written to a http.Request.

func NewCreateVMVolumeSnapshotParams

func NewCreateVMVolumeSnapshotParams() *CreateVMVolumeSnapshotParams

NewCreateVMVolumeSnapshotParams creates a new CreateVMVolumeSnapshotParams 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 NewCreateVMVolumeSnapshotParamsWithContext

func NewCreateVMVolumeSnapshotParamsWithContext(ctx context.Context) *CreateVMVolumeSnapshotParams

NewCreateVMVolumeSnapshotParamsWithContext creates a new CreateVMVolumeSnapshotParams object with the ability to set a context for a request.

func NewCreateVMVolumeSnapshotParamsWithHTTPClient

func NewCreateVMVolumeSnapshotParamsWithHTTPClient(client *http.Client) *CreateVMVolumeSnapshotParams

NewCreateVMVolumeSnapshotParamsWithHTTPClient creates a new CreateVMVolumeSnapshotParams object with the ability to set a custom HTTPClient for a request.

func NewCreateVMVolumeSnapshotParamsWithTimeout

func NewCreateVMVolumeSnapshotParamsWithTimeout(timeout time.Duration) *CreateVMVolumeSnapshotParams

NewCreateVMVolumeSnapshotParamsWithTimeout creates a new CreateVMVolumeSnapshotParams object with the ability to set a timeout on a request.

func (*CreateVMVolumeSnapshotParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the create Vm volume snapshot params

func (*CreateVMVolumeSnapshotParams) SetContext

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

SetContext adds the context to the create Vm volume snapshot params

func (*CreateVMVolumeSnapshotParams) SetDefaults

func (o *CreateVMVolumeSnapshotParams) SetDefaults()

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

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

func (*CreateVMVolumeSnapshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create Vm volume snapshot params

func (*CreateVMVolumeSnapshotParams) SetRequestBody

func (o *CreateVMVolumeSnapshotParams) SetRequestBody(requestBody []*models.VMVolumeSnapshotCreationParams)

SetRequestBody adds the requestBody to the create Vm volume snapshot params

func (*CreateVMVolumeSnapshotParams) SetTimeout

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

SetTimeout adds the timeout to the create Vm volume snapshot params

func (*CreateVMVolumeSnapshotParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the create Vm volume snapshot params

func (*CreateVMVolumeSnapshotParams) WithContext

WithContext adds the context to the create Vm volume snapshot params

func (*CreateVMVolumeSnapshotParams) WithDefaults

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

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

func (*CreateVMVolumeSnapshotParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create Vm volume snapshot params

func (*CreateVMVolumeSnapshotParams) WithRequestBody

WithRequestBody adds the requestBody to the create Vm volume snapshot params

func (*CreateVMVolumeSnapshotParams) WithTimeout

WithTimeout adds the timeout to the create Vm volume snapshot params

func (*CreateVMVolumeSnapshotParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateVMVolumeSnapshotReader

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

CreateVMVolumeSnapshotReader is a Reader for the CreateVMVolumeSnapshot structure.

func (*CreateVMVolumeSnapshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteVMVolumeSnapshotBadRequest

type DeleteVMVolumeSnapshotBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteVMVolumeSnapshotBadRequest describes a response with status code 400, with default header values.

Bad request

func NewDeleteVMVolumeSnapshotBadRequest

func NewDeleteVMVolumeSnapshotBadRequest() *DeleteVMVolumeSnapshotBadRequest

NewDeleteVMVolumeSnapshotBadRequest creates a DeleteVMVolumeSnapshotBadRequest with default headers values

func (*DeleteVMVolumeSnapshotBadRequest) Error

func (*DeleteVMVolumeSnapshotBadRequest) GetPayload

type DeleteVMVolumeSnapshotInternalServerError

type DeleteVMVolumeSnapshotInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteVMVolumeSnapshotInternalServerError describes a response with status code 500, with default header values.

Server error

func NewDeleteVMVolumeSnapshotInternalServerError

func NewDeleteVMVolumeSnapshotInternalServerError() *DeleteVMVolumeSnapshotInternalServerError

NewDeleteVMVolumeSnapshotInternalServerError creates a DeleteVMVolumeSnapshotInternalServerError with default headers values

func (*DeleteVMVolumeSnapshotInternalServerError) Error

func (*DeleteVMVolumeSnapshotInternalServerError) GetPayload

type DeleteVMVolumeSnapshotNotFound

type DeleteVMVolumeSnapshotNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteVMVolumeSnapshotNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteVMVolumeSnapshotNotFound

func NewDeleteVMVolumeSnapshotNotFound() *DeleteVMVolumeSnapshotNotFound

NewDeleteVMVolumeSnapshotNotFound creates a DeleteVMVolumeSnapshotNotFound with default headers values

func (*DeleteVMVolumeSnapshotNotFound) Error

func (*DeleteVMVolumeSnapshotNotFound) GetPayload

type DeleteVMVolumeSnapshotOK

type DeleteVMVolumeSnapshotOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskDeleteVMVolumeSnapshot
}
DeleteVMVolumeSnapshotOK describes a response with status code 200, with default header values.

DeleteVMVolumeSnapshotOK delete Vm volume snapshot o k

func NewDeleteVMVolumeSnapshotOK

func NewDeleteVMVolumeSnapshotOK() *DeleteVMVolumeSnapshotOK

NewDeleteVMVolumeSnapshotOK creates a DeleteVMVolumeSnapshotOK with default headers values

func (*DeleteVMVolumeSnapshotOK) Error

func (o *DeleteVMVolumeSnapshotOK) Error() string

func (*DeleteVMVolumeSnapshotOK) GetPayload

type DeleteVMVolumeSnapshotParams

type DeleteVMVolumeSnapshotParams struct {

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

	// RequestBody.
	RequestBody *models.VMVolumeSnapshotDeletionParams

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

DeleteVMVolumeSnapshotParams contains all the parameters to send to the API endpoint

for the delete Vm volume snapshot operation.

Typically these are written to a http.Request.

func NewDeleteVMVolumeSnapshotParams

func NewDeleteVMVolumeSnapshotParams() *DeleteVMVolumeSnapshotParams

NewDeleteVMVolumeSnapshotParams creates a new DeleteVMVolumeSnapshotParams 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 NewDeleteVMVolumeSnapshotParamsWithContext

func NewDeleteVMVolumeSnapshotParamsWithContext(ctx context.Context) *DeleteVMVolumeSnapshotParams

NewDeleteVMVolumeSnapshotParamsWithContext creates a new DeleteVMVolumeSnapshotParams object with the ability to set a context for a request.

func NewDeleteVMVolumeSnapshotParamsWithHTTPClient

func NewDeleteVMVolumeSnapshotParamsWithHTTPClient(client *http.Client) *DeleteVMVolumeSnapshotParams

NewDeleteVMVolumeSnapshotParamsWithHTTPClient creates a new DeleteVMVolumeSnapshotParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteVMVolumeSnapshotParamsWithTimeout

func NewDeleteVMVolumeSnapshotParamsWithTimeout(timeout time.Duration) *DeleteVMVolumeSnapshotParams

NewDeleteVMVolumeSnapshotParamsWithTimeout creates a new DeleteVMVolumeSnapshotParams object with the ability to set a timeout on a request.

func (*DeleteVMVolumeSnapshotParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the delete Vm volume snapshot params

func (*DeleteVMVolumeSnapshotParams) SetContext

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

SetContext adds the context to the delete Vm volume snapshot params

func (*DeleteVMVolumeSnapshotParams) SetDefaults

func (o *DeleteVMVolumeSnapshotParams) SetDefaults()

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

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

func (*DeleteVMVolumeSnapshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete Vm volume snapshot params

func (*DeleteVMVolumeSnapshotParams) SetRequestBody

func (o *DeleteVMVolumeSnapshotParams) SetRequestBody(requestBody *models.VMVolumeSnapshotDeletionParams)

SetRequestBody adds the requestBody to the delete Vm volume snapshot params

func (*DeleteVMVolumeSnapshotParams) SetTimeout

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

SetTimeout adds the timeout to the delete Vm volume snapshot params

func (*DeleteVMVolumeSnapshotParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the delete Vm volume snapshot params

func (*DeleteVMVolumeSnapshotParams) WithContext

WithContext adds the context to the delete Vm volume snapshot params

func (*DeleteVMVolumeSnapshotParams) WithDefaults

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

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

func (*DeleteVMVolumeSnapshotParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete Vm volume snapshot params

func (*DeleteVMVolumeSnapshotParams) WithRequestBody

WithRequestBody adds the requestBody to the delete Vm volume snapshot params

func (*DeleteVMVolumeSnapshotParams) WithTimeout

WithTimeout adds the timeout to the delete Vm volume snapshot params

func (*DeleteVMVolumeSnapshotParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteVMVolumeSnapshotReader

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

DeleteVMVolumeSnapshotReader is a Reader for the DeleteVMVolumeSnapshot structure.

func (*DeleteVMVolumeSnapshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVMVolumeSnapshotsBadRequest

type GetVMVolumeSnapshotsBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVMVolumeSnapshotsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetVMVolumeSnapshotsBadRequest

func NewGetVMVolumeSnapshotsBadRequest() *GetVMVolumeSnapshotsBadRequest

NewGetVMVolumeSnapshotsBadRequest creates a GetVMVolumeSnapshotsBadRequest with default headers values

func (*GetVMVolumeSnapshotsBadRequest) Error

func (*GetVMVolumeSnapshotsBadRequest) GetPayload

type GetVMVolumeSnapshotsConnectionBadRequest

type GetVMVolumeSnapshotsConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVMVolumeSnapshotsConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetVMVolumeSnapshotsConnectionBadRequest

func NewGetVMVolumeSnapshotsConnectionBadRequest() *GetVMVolumeSnapshotsConnectionBadRequest

NewGetVMVolumeSnapshotsConnectionBadRequest creates a GetVMVolumeSnapshotsConnectionBadRequest with default headers values

func (*GetVMVolumeSnapshotsConnectionBadRequest) Error

func (*GetVMVolumeSnapshotsConnectionBadRequest) GetPayload

type GetVMVolumeSnapshotsConnectionInternalServerError

type GetVMVolumeSnapshotsConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVMVolumeSnapshotsConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetVMVolumeSnapshotsConnectionInternalServerError

func NewGetVMVolumeSnapshotsConnectionInternalServerError() *GetVMVolumeSnapshotsConnectionInternalServerError

NewGetVMVolumeSnapshotsConnectionInternalServerError creates a GetVMVolumeSnapshotsConnectionInternalServerError with default headers values

func (*GetVMVolumeSnapshotsConnectionInternalServerError) Error

func (*GetVMVolumeSnapshotsConnectionInternalServerError) GetPayload

type GetVMVolumeSnapshotsConnectionNotFound

type GetVMVolumeSnapshotsConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVMVolumeSnapshotsConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetVMVolumeSnapshotsConnectionNotFound

func NewGetVMVolumeSnapshotsConnectionNotFound() *GetVMVolumeSnapshotsConnectionNotFound

NewGetVMVolumeSnapshotsConnectionNotFound creates a GetVMVolumeSnapshotsConnectionNotFound with default headers values

func (*GetVMVolumeSnapshotsConnectionNotFound) Error

func (*GetVMVolumeSnapshotsConnectionNotFound) GetPayload

type GetVMVolumeSnapshotsConnectionOK

type GetVMVolumeSnapshotsConnectionOK struct {
	XTowerRequestID string

	Payload *models.VMVolumeSnapshotConnection
}
GetVMVolumeSnapshotsConnectionOK describes a response with status code 200, with default header values.

GetVMVolumeSnapshotsConnectionOK get Vm volume snapshots connection o k

func NewGetVMVolumeSnapshotsConnectionOK

func NewGetVMVolumeSnapshotsConnectionOK() *GetVMVolumeSnapshotsConnectionOK

NewGetVMVolumeSnapshotsConnectionOK creates a GetVMVolumeSnapshotsConnectionOK with default headers values

func (*GetVMVolumeSnapshotsConnectionOK) Error

func (*GetVMVolumeSnapshotsConnectionOK) GetPayload

type GetVMVolumeSnapshotsConnectionParams

type GetVMVolumeSnapshotsConnectionParams struct {

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

	// RequestBody.
	RequestBody *models.GetVMVolumeSnapshotsConnectionRequestBody

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

GetVMVolumeSnapshotsConnectionParams contains all the parameters to send to the API endpoint

for the get Vm volume snapshots connection operation.

Typically these are written to a http.Request.

func NewGetVMVolumeSnapshotsConnectionParams

func NewGetVMVolumeSnapshotsConnectionParams() *GetVMVolumeSnapshotsConnectionParams

NewGetVMVolumeSnapshotsConnectionParams creates a new GetVMVolumeSnapshotsConnectionParams 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 NewGetVMVolumeSnapshotsConnectionParamsWithContext

func NewGetVMVolumeSnapshotsConnectionParamsWithContext(ctx context.Context) *GetVMVolumeSnapshotsConnectionParams

NewGetVMVolumeSnapshotsConnectionParamsWithContext creates a new GetVMVolumeSnapshotsConnectionParams object with the ability to set a context for a request.

func NewGetVMVolumeSnapshotsConnectionParamsWithHTTPClient

func NewGetVMVolumeSnapshotsConnectionParamsWithHTTPClient(client *http.Client) *GetVMVolumeSnapshotsConnectionParams

NewGetVMVolumeSnapshotsConnectionParamsWithHTTPClient creates a new GetVMVolumeSnapshotsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetVMVolumeSnapshotsConnectionParamsWithTimeout

func NewGetVMVolumeSnapshotsConnectionParamsWithTimeout(timeout time.Duration) *GetVMVolumeSnapshotsConnectionParams

NewGetVMVolumeSnapshotsConnectionParamsWithTimeout creates a new GetVMVolumeSnapshotsConnectionParams object with the ability to set a timeout on a request.

func (*GetVMVolumeSnapshotsConnectionParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get Vm volume snapshots connection params

func (*GetVMVolumeSnapshotsConnectionParams) SetContext

SetContext adds the context to the get Vm volume snapshots connection params

func (*GetVMVolumeSnapshotsConnectionParams) SetDefaults

func (o *GetVMVolumeSnapshotsConnectionParams) SetDefaults()

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

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

func (*GetVMVolumeSnapshotsConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get Vm volume snapshots connection params

func (*GetVMVolumeSnapshotsConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get Vm volume snapshots connection params

func (*GetVMVolumeSnapshotsConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get Vm volume snapshots connection params

func (*GetVMVolumeSnapshotsConnectionParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get Vm volume snapshots connection params

func (*GetVMVolumeSnapshotsConnectionParams) WithContext

WithContext adds the context to the get Vm volume snapshots connection params

func (*GetVMVolumeSnapshotsConnectionParams) WithDefaults

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

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

func (*GetVMVolumeSnapshotsConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get Vm volume snapshots connection params

func (*GetVMVolumeSnapshotsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get Vm volume snapshots connection params

func (*GetVMVolumeSnapshotsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get Vm volume snapshots connection params

func (*GetVMVolumeSnapshotsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVMVolumeSnapshotsConnectionReader

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

GetVMVolumeSnapshotsConnectionReader is a Reader for the GetVMVolumeSnapshotsConnection structure.

func (*GetVMVolumeSnapshotsConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVMVolumeSnapshotsInternalServerError

type GetVMVolumeSnapshotsInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVMVolumeSnapshotsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetVMVolumeSnapshotsInternalServerError

func NewGetVMVolumeSnapshotsInternalServerError() *GetVMVolumeSnapshotsInternalServerError

NewGetVMVolumeSnapshotsInternalServerError creates a GetVMVolumeSnapshotsInternalServerError with default headers values

func (*GetVMVolumeSnapshotsInternalServerError) Error

func (*GetVMVolumeSnapshotsInternalServerError) GetPayload

type GetVMVolumeSnapshotsNotFound

type GetVMVolumeSnapshotsNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVMVolumeSnapshotsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetVMVolumeSnapshotsNotFound

func NewGetVMVolumeSnapshotsNotFound() *GetVMVolumeSnapshotsNotFound

NewGetVMVolumeSnapshotsNotFound creates a GetVMVolumeSnapshotsNotFound with default headers values

func (*GetVMVolumeSnapshotsNotFound) Error

func (*GetVMVolumeSnapshotsNotFound) GetPayload

type GetVMVolumeSnapshotsOK

type GetVMVolumeSnapshotsOK struct {
	XTowerRequestID string

	Payload []*models.VMVolumeSnapshot
}
GetVMVolumeSnapshotsOK describes a response with status code 200, with default header values.

GetVMVolumeSnapshotsOK get Vm volume snapshots o k

func NewGetVMVolumeSnapshotsOK

func NewGetVMVolumeSnapshotsOK() *GetVMVolumeSnapshotsOK

NewGetVMVolumeSnapshotsOK creates a GetVMVolumeSnapshotsOK with default headers values

func (*GetVMVolumeSnapshotsOK) Error

func (o *GetVMVolumeSnapshotsOK) Error() string

func (*GetVMVolumeSnapshotsOK) GetPayload

func (o *GetVMVolumeSnapshotsOK) GetPayload() []*models.VMVolumeSnapshot

type GetVMVolumeSnapshotsParams

type GetVMVolumeSnapshotsParams struct {

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

	// RequestBody.
	RequestBody *models.GetVMVolumeSnapshotsRequestBody

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

GetVMVolumeSnapshotsParams contains all the parameters to send to the API endpoint

for the get Vm volume snapshots operation.

Typically these are written to a http.Request.

func NewGetVMVolumeSnapshotsParams

func NewGetVMVolumeSnapshotsParams() *GetVMVolumeSnapshotsParams

NewGetVMVolumeSnapshotsParams creates a new GetVMVolumeSnapshotsParams 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 NewGetVMVolumeSnapshotsParamsWithContext

func NewGetVMVolumeSnapshotsParamsWithContext(ctx context.Context) *GetVMVolumeSnapshotsParams

NewGetVMVolumeSnapshotsParamsWithContext creates a new GetVMVolumeSnapshotsParams object with the ability to set a context for a request.

func NewGetVMVolumeSnapshotsParamsWithHTTPClient

func NewGetVMVolumeSnapshotsParamsWithHTTPClient(client *http.Client) *GetVMVolumeSnapshotsParams

NewGetVMVolumeSnapshotsParamsWithHTTPClient creates a new GetVMVolumeSnapshotsParams object with the ability to set a custom HTTPClient for a request.

func NewGetVMVolumeSnapshotsParamsWithTimeout

func NewGetVMVolumeSnapshotsParamsWithTimeout(timeout time.Duration) *GetVMVolumeSnapshotsParams

NewGetVMVolumeSnapshotsParamsWithTimeout creates a new GetVMVolumeSnapshotsParams object with the ability to set a timeout on a request.

func (*GetVMVolumeSnapshotsParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get Vm volume snapshots params

func (*GetVMVolumeSnapshotsParams) SetContext

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

SetContext adds the context to the get Vm volume snapshots params

func (*GetVMVolumeSnapshotsParams) SetDefaults

func (o *GetVMVolumeSnapshotsParams) SetDefaults()

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

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

func (*GetVMVolumeSnapshotsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get Vm volume snapshots params

func (*GetVMVolumeSnapshotsParams) SetRequestBody

func (o *GetVMVolumeSnapshotsParams) SetRequestBody(requestBody *models.GetVMVolumeSnapshotsRequestBody)

SetRequestBody adds the requestBody to the get Vm volume snapshots params

func (*GetVMVolumeSnapshotsParams) SetTimeout

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

SetTimeout adds the timeout to the get Vm volume snapshots params

func (*GetVMVolumeSnapshotsParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get Vm volume snapshots params

func (*GetVMVolumeSnapshotsParams) WithContext

WithContext adds the context to the get Vm volume snapshots params

func (*GetVMVolumeSnapshotsParams) WithDefaults

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

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

func (*GetVMVolumeSnapshotsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get Vm volume snapshots params

func (*GetVMVolumeSnapshotsParams) WithRequestBody

WithRequestBody adds the requestBody to the get Vm volume snapshots params

func (*GetVMVolumeSnapshotsParams) WithTimeout

WithTimeout adds the timeout to the get Vm volume snapshots params

func (*GetVMVolumeSnapshotsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVMVolumeSnapshotsReader

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

GetVMVolumeSnapshotsReader is a Reader for the GetVMVolumeSnapshots structure.

func (*GetVMVolumeSnapshotsReader) ReadResponse

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