vm_volume

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 volume API

func (*Client) CreateVMVolume

func (a *Client) CreateVMVolume(params *CreateVMVolumeParams, opts ...ClientOption) (*CreateVMVolumeOK, error)

CreateVMVolume create Vm volume API

func (*Client) DeleteVMVolumeFromVM

func (a *Client) DeleteVMVolumeFromVM(params *DeleteVMVolumeFromVMParams, opts ...ClientOption) (*DeleteVMVolumeFromVMOK, error)

DeleteVMVolumeFromVM delete Vm volume from Vm API

func (*Client) GetVMVolumes

func (a *Client) GetVMVolumes(params *GetVMVolumesParams, opts ...ClientOption) (*GetVMVolumesOK, error)

GetVMVolumes get Vm volumes API

func (*Client) GetVMVolumesConnection

func (a *Client) GetVMVolumesConnection(params *GetVMVolumesConnectionParams, opts ...ClientOption) (*GetVMVolumesConnectionOK, error)

GetVMVolumesConnection get Vm volumes 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 {
	CreateVMVolume(params *CreateVMVolumeParams, opts ...ClientOption) (*CreateVMVolumeOK, error)

	DeleteVMVolumeFromVM(params *DeleteVMVolumeFromVMParams, opts ...ClientOption) (*DeleteVMVolumeFromVMOK, error)

	GetVMVolumes(params *GetVMVolumesParams, opts ...ClientOption) (*GetVMVolumesOK, error)

	GetVMVolumesConnection(params *GetVMVolumesConnectionParams, opts ...ClientOption) (*GetVMVolumesConnectionOK, 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 API client.

type CreateVMVolumeBadRequest

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

CreateVMVolumeBadRequest create Vm volume bad request

func NewCreateVMVolumeBadRequest

func NewCreateVMVolumeBadRequest() *CreateVMVolumeBadRequest

NewCreateVMVolumeBadRequest creates a CreateVMVolumeBadRequest with default headers values

func (*CreateVMVolumeBadRequest) Error

func (o *CreateVMVolumeBadRequest) Error() string

func (*CreateVMVolumeBadRequest) GetPayload

func (o *CreateVMVolumeBadRequest) GetPayload() string

type CreateVMVolumeOK

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

Ok

func NewCreateVMVolumeOK

func NewCreateVMVolumeOK() *CreateVMVolumeOK

NewCreateVMVolumeOK creates a CreateVMVolumeOK with default headers values

func (*CreateVMVolumeOK) Error

func (o *CreateVMVolumeOK) Error() string

func (*CreateVMVolumeOK) GetPayload

func (o *CreateVMVolumeOK) GetPayload() []*models.WithTaskVMVolume

type CreateVMVolumeParams

type CreateVMVolumeParams struct {

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

	// RequestBody.
	RequestBody []*models.VMVolumeCreationParams

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

CreateVMVolumeParams contains all the parameters to send to the API endpoint

for the create Vm volume operation.

Typically these are written to a http.Request.

func NewCreateVMVolumeParams

func NewCreateVMVolumeParams() *CreateVMVolumeParams

NewCreateVMVolumeParams creates a new CreateVMVolumeParams 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 NewCreateVMVolumeParamsWithContext

func NewCreateVMVolumeParamsWithContext(ctx context.Context) *CreateVMVolumeParams

NewCreateVMVolumeParamsWithContext creates a new CreateVMVolumeParams object with the ability to set a context for a request.

func NewCreateVMVolumeParamsWithHTTPClient

func NewCreateVMVolumeParamsWithHTTPClient(client *http.Client) *CreateVMVolumeParams

NewCreateVMVolumeParamsWithHTTPClient creates a new CreateVMVolumeParams object with the ability to set a custom HTTPClient for a request.

func NewCreateVMVolumeParamsWithTimeout

func NewCreateVMVolumeParamsWithTimeout(timeout time.Duration) *CreateVMVolumeParams

NewCreateVMVolumeParamsWithTimeout creates a new CreateVMVolumeParams object with the ability to set a timeout on a request.

func (*CreateVMVolumeParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the create Vm volume params

func (*CreateVMVolumeParams) SetContext

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

SetContext adds the context to the create Vm volume params

func (*CreateVMVolumeParams) SetDefaults

func (o *CreateVMVolumeParams) SetDefaults()

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

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

func (*CreateVMVolumeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create Vm volume params

func (*CreateVMVolumeParams) SetRequestBody

func (o *CreateVMVolumeParams) SetRequestBody(requestBody []*models.VMVolumeCreationParams)

SetRequestBody adds the requestBody to the create Vm volume params

func (*CreateVMVolumeParams) SetTimeout

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

SetTimeout adds the timeout to the create Vm volume params

func (*CreateVMVolumeParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the create Vm volume params

func (*CreateVMVolumeParams) WithContext

WithContext adds the context to the create Vm volume params

func (*CreateVMVolumeParams) WithDefaults

func (o *CreateVMVolumeParams) WithDefaults() *CreateVMVolumeParams

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

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

func (*CreateVMVolumeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create Vm volume params

func (*CreateVMVolumeParams) WithRequestBody

func (o *CreateVMVolumeParams) WithRequestBody(requestBody []*models.VMVolumeCreationParams) *CreateVMVolumeParams

WithRequestBody adds the requestBody to the create Vm volume params

func (*CreateVMVolumeParams) WithTimeout

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

WithTimeout adds the timeout to the create Vm volume params

func (*CreateVMVolumeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateVMVolumeReader

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

CreateVMVolumeReader is a Reader for the CreateVMVolume structure.

func (*CreateVMVolumeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteVMVolumeFromVMBadRequest

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

DeleteVMVolumeFromVMBadRequest delete Vm volume from Vm bad request

func NewDeleteVMVolumeFromVMBadRequest

func NewDeleteVMVolumeFromVMBadRequest() *DeleteVMVolumeFromVMBadRequest

NewDeleteVMVolumeFromVMBadRequest creates a DeleteVMVolumeFromVMBadRequest with default headers values

func (*DeleteVMVolumeFromVMBadRequest) Error

func (*DeleteVMVolumeFromVMBadRequest) GetPayload

func (o *DeleteVMVolumeFromVMBadRequest) GetPayload() string

type DeleteVMVolumeFromVMOK

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

Ok

func NewDeleteVMVolumeFromVMOK

func NewDeleteVMVolumeFromVMOK() *DeleteVMVolumeFromVMOK

NewDeleteVMVolumeFromVMOK creates a DeleteVMVolumeFromVMOK with default headers values

func (*DeleteVMVolumeFromVMOK) Error

func (o *DeleteVMVolumeFromVMOK) Error() string

func (*DeleteVMVolumeFromVMOK) GetPayload

type DeleteVMVolumeFromVMParams

type DeleteVMVolumeFromVMParams struct {

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

	// RequestBody.
	RequestBody *models.VMVolumeDeletionParams

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

DeleteVMVolumeFromVMParams contains all the parameters to send to the API endpoint

for the delete Vm volume from Vm operation.

Typically these are written to a http.Request.

func NewDeleteVMVolumeFromVMParams

func NewDeleteVMVolumeFromVMParams() *DeleteVMVolumeFromVMParams

NewDeleteVMVolumeFromVMParams creates a new DeleteVMVolumeFromVMParams 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 NewDeleteVMVolumeFromVMParamsWithContext

func NewDeleteVMVolumeFromVMParamsWithContext(ctx context.Context) *DeleteVMVolumeFromVMParams

NewDeleteVMVolumeFromVMParamsWithContext creates a new DeleteVMVolumeFromVMParams object with the ability to set a context for a request.

func NewDeleteVMVolumeFromVMParamsWithHTTPClient

func NewDeleteVMVolumeFromVMParamsWithHTTPClient(client *http.Client) *DeleteVMVolumeFromVMParams

NewDeleteVMVolumeFromVMParamsWithHTTPClient creates a new DeleteVMVolumeFromVMParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteVMVolumeFromVMParamsWithTimeout

func NewDeleteVMVolumeFromVMParamsWithTimeout(timeout time.Duration) *DeleteVMVolumeFromVMParams

NewDeleteVMVolumeFromVMParamsWithTimeout creates a new DeleteVMVolumeFromVMParams object with the ability to set a timeout on a request.

func (*DeleteVMVolumeFromVMParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) SetContext

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

SetContext adds the context to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) SetDefaults

func (o *DeleteVMVolumeFromVMParams) SetDefaults()

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

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

func (*DeleteVMVolumeFromVMParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) SetRequestBody

func (o *DeleteVMVolumeFromVMParams) SetRequestBody(requestBody *models.VMVolumeDeletionParams)

SetRequestBody adds the requestBody to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) SetTimeout

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

SetTimeout adds the timeout to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) WithContext

WithContext adds the context to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) WithDefaults

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

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

func (*DeleteVMVolumeFromVMParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) WithRequestBody

WithRequestBody adds the requestBody to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) WithTimeout

WithTimeout adds the timeout to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteVMVolumeFromVMReader

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

DeleteVMVolumeFromVMReader is a Reader for the DeleteVMVolumeFromVM structure.

func (*DeleteVMVolumeFromVMReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVMVolumesBadRequest

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

GetVMVolumesBadRequest get Vm volumes bad request

func NewGetVMVolumesBadRequest

func NewGetVMVolumesBadRequest() *GetVMVolumesBadRequest

NewGetVMVolumesBadRequest creates a GetVMVolumesBadRequest with default headers values

func (*GetVMVolumesBadRequest) Error

func (o *GetVMVolumesBadRequest) Error() string

func (*GetVMVolumesBadRequest) GetPayload

func (o *GetVMVolumesBadRequest) GetPayload() string

type GetVMVolumesConnectionBadRequest

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

GetVMVolumesConnectionBadRequest get Vm volumes connection bad request

func NewGetVMVolumesConnectionBadRequest

func NewGetVMVolumesConnectionBadRequest() *GetVMVolumesConnectionBadRequest

NewGetVMVolumesConnectionBadRequest creates a GetVMVolumesConnectionBadRequest with default headers values

func (*GetVMVolumesConnectionBadRequest) Error

func (*GetVMVolumesConnectionBadRequest) GetPayload

func (o *GetVMVolumesConnectionBadRequest) GetPayload() string

type GetVMVolumesConnectionOK

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

Ok

func NewGetVMVolumesConnectionOK

func NewGetVMVolumesConnectionOK() *GetVMVolumesConnectionOK

NewGetVMVolumesConnectionOK creates a GetVMVolumesConnectionOK with default headers values

func (*GetVMVolumesConnectionOK) Error

func (o *GetVMVolumesConnectionOK) Error() string

func (*GetVMVolumesConnectionOK) GetPayload

type GetVMVolumesConnectionParams

type GetVMVolumesConnectionParams struct {

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

	// RequestBody.
	RequestBody *models.GetVMVolumesConnectionRequestBody

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

GetVMVolumesConnectionParams contains all the parameters to send to the API endpoint

for the get Vm volumes connection operation.

Typically these are written to a http.Request.

func NewGetVMVolumesConnectionParams

func NewGetVMVolumesConnectionParams() *GetVMVolumesConnectionParams

NewGetVMVolumesConnectionParams creates a new GetVMVolumesConnectionParams 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 NewGetVMVolumesConnectionParamsWithContext

func NewGetVMVolumesConnectionParamsWithContext(ctx context.Context) *GetVMVolumesConnectionParams

NewGetVMVolumesConnectionParamsWithContext creates a new GetVMVolumesConnectionParams object with the ability to set a context for a request.

func NewGetVMVolumesConnectionParamsWithHTTPClient

func NewGetVMVolumesConnectionParamsWithHTTPClient(client *http.Client) *GetVMVolumesConnectionParams

NewGetVMVolumesConnectionParamsWithHTTPClient creates a new GetVMVolumesConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetVMVolumesConnectionParamsWithTimeout

func NewGetVMVolumesConnectionParamsWithTimeout(timeout time.Duration) *GetVMVolumesConnectionParams

NewGetVMVolumesConnectionParamsWithTimeout creates a new GetVMVolumesConnectionParams object with the ability to set a timeout on a request.

func (*GetVMVolumesConnectionParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) SetContext

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

SetContext adds the context to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) SetDefaults

func (o *GetVMVolumesConnectionParams) SetDefaults()

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

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

func (*GetVMVolumesConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) WithContext

WithContext adds the context to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) WithDefaults

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

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

func (*GetVMVolumesConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVMVolumesConnectionReader

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

GetVMVolumesConnectionReader is a Reader for the GetVMVolumesConnection structure.

func (*GetVMVolumesConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVMVolumesOK

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

Ok

func NewGetVMVolumesOK

func NewGetVMVolumesOK() *GetVMVolumesOK

NewGetVMVolumesOK creates a GetVMVolumesOK with default headers values

func (*GetVMVolumesOK) Error

func (o *GetVMVolumesOK) Error() string

func (*GetVMVolumesOK) GetPayload

func (o *GetVMVolumesOK) GetPayload() []*models.VMVolume

type GetVMVolumesParams

type GetVMVolumesParams struct {

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

	// RequestBody.
	RequestBody *models.GetVMVolumesRequestBody

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

GetVMVolumesParams contains all the parameters to send to the API endpoint

for the get Vm volumes operation.

Typically these are written to a http.Request.

func NewGetVMVolumesParams

func NewGetVMVolumesParams() *GetVMVolumesParams

NewGetVMVolumesParams creates a new GetVMVolumesParams 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 NewGetVMVolumesParamsWithContext

func NewGetVMVolumesParamsWithContext(ctx context.Context) *GetVMVolumesParams

NewGetVMVolumesParamsWithContext creates a new GetVMVolumesParams object with the ability to set a context for a request.

func NewGetVMVolumesParamsWithHTTPClient

func NewGetVMVolumesParamsWithHTTPClient(client *http.Client) *GetVMVolumesParams

NewGetVMVolumesParamsWithHTTPClient creates a new GetVMVolumesParams object with the ability to set a custom HTTPClient for a request.

func NewGetVMVolumesParamsWithTimeout

func NewGetVMVolumesParamsWithTimeout(timeout time.Duration) *GetVMVolumesParams

NewGetVMVolumesParamsWithTimeout creates a new GetVMVolumesParams object with the ability to set a timeout on a request.

func (*GetVMVolumesParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get Vm volumes params

func (*GetVMVolumesParams) SetContext

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

SetContext adds the context to the get Vm volumes params

func (*GetVMVolumesParams) SetDefaults

func (o *GetVMVolumesParams) SetDefaults()

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

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

func (*GetVMVolumesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get Vm volumes params

func (*GetVMVolumesParams) SetRequestBody

func (o *GetVMVolumesParams) SetRequestBody(requestBody *models.GetVMVolumesRequestBody)

SetRequestBody adds the requestBody to the get Vm volumes params

func (*GetVMVolumesParams) SetTimeout

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

SetTimeout adds the timeout to the get Vm volumes params

func (*GetVMVolumesParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get Vm volumes params

func (*GetVMVolumesParams) WithContext

WithContext adds the context to the get Vm volumes params

func (*GetVMVolumesParams) WithDefaults

func (o *GetVMVolumesParams) WithDefaults() *GetVMVolumesParams

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

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

func (*GetVMVolumesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get Vm volumes params

func (*GetVMVolumesParams) WithRequestBody

func (o *GetVMVolumesParams) WithRequestBody(requestBody *models.GetVMVolumesRequestBody) *GetVMVolumesParams

WithRequestBody adds the requestBody to the get Vm volumes params

func (*GetVMVolumesParams) WithTimeout

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

WithTimeout adds the timeout to the get Vm volumes params

func (*GetVMVolumesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetVMVolumesReader

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

GetVMVolumesReader is a Reader for the GetVMVolumes structure.

func (*GetVMVolumesReader) ReadResponse

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