Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateVMVolumeSnapshot(params *CreateVMVolumeSnapshotParams, opts ...ClientOption) (*CreateVMVolumeSnapshotOK, error)
- func (a *Client) DeleteVMVolumeSnapshot(params *DeleteVMVolumeSnapshotParams, opts ...ClientOption) (*DeleteVMVolumeSnapshotOK, error)
- func (a *Client) GetVMVolumeSnapshots(params *GetVMVolumeSnapshotsParams, opts ...ClientOption) (*GetVMVolumeSnapshotsOK, error)
- func (a *Client) GetVMVolumeSnapshotsConnection(params *GetVMVolumeSnapshotsConnectionParams, opts ...ClientOption) (*GetVMVolumeSnapshotsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateVMVolumeSnapshotBadRequest
- type CreateVMVolumeSnapshotInternalServerError
- type CreateVMVolumeSnapshotNotFound
- type CreateVMVolumeSnapshotOK
- type CreateVMVolumeSnapshotParams
- func NewCreateVMVolumeSnapshotParams() *CreateVMVolumeSnapshotParams
- func NewCreateVMVolumeSnapshotParamsWithContext(ctx context.Context) *CreateVMVolumeSnapshotParams
- func NewCreateVMVolumeSnapshotParamsWithHTTPClient(client *http.Client) *CreateVMVolumeSnapshotParams
- func NewCreateVMVolumeSnapshotParamsWithTimeout(timeout time.Duration) *CreateVMVolumeSnapshotParams
- func (o *CreateVMVolumeSnapshotParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateVMVolumeSnapshotParams) SetContext(ctx context.Context)
- func (o *CreateVMVolumeSnapshotParams) SetDefaults()
- func (o *CreateVMVolumeSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *CreateVMVolumeSnapshotParams) SetRequestBody(requestBody []*models.VMVolumeSnapshotCreationParams)
- func (o *CreateVMVolumeSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *CreateVMVolumeSnapshotParams) WithContentLanguage(contentLanguage *string) *CreateVMVolumeSnapshotParams
- func (o *CreateVMVolumeSnapshotParams) WithContext(ctx context.Context) *CreateVMVolumeSnapshotParams
- func (o *CreateVMVolumeSnapshotParams) WithDefaults() *CreateVMVolumeSnapshotParams
- func (o *CreateVMVolumeSnapshotParams) WithHTTPClient(client *http.Client) *CreateVMVolumeSnapshotParams
- func (o *CreateVMVolumeSnapshotParams) WithRequestBody(requestBody []*models.VMVolumeSnapshotCreationParams) *CreateVMVolumeSnapshotParams
- func (o *CreateVMVolumeSnapshotParams) WithTimeout(timeout time.Duration) *CreateVMVolumeSnapshotParams
- func (o *CreateVMVolumeSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVMVolumeSnapshotReader
- type DeleteVMVolumeSnapshotBadRequest
- type DeleteVMVolumeSnapshotInternalServerError
- type DeleteVMVolumeSnapshotNotFound
- type DeleteVMVolumeSnapshotOK
- type DeleteVMVolumeSnapshotParams
- func NewDeleteVMVolumeSnapshotParams() *DeleteVMVolumeSnapshotParams
- func NewDeleteVMVolumeSnapshotParamsWithContext(ctx context.Context) *DeleteVMVolumeSnapshotParams
- func NewDeleteVMVolumeSnapshotParamsWithHTTPClient(client *http.Client) *DeleteVMVolumeSnapshotParams
- func NewDeleteVMVolumeSnapshotParamsWithTimeout(timeout time.Duration) *DeleteVMVolumeSnapshotParams
- func (o *DeleteVMVolumeSnapshotParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteVMVolumeSnapshotParams) SetContext(ctx context.Context)
- func (o *DeleteVMVolumeSnapshotParams) SetDefaults()
- func (o *DeleteVMVolumeSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *DeleteVMVolumeSnapshotParams) SetRequestBody(requestBody *models.VMVolumeSnapshotDeletionParams)
- func (o *DeleteVMVolumeSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *DeleteVMVolumeSnapshotParams) WithContentLanguage(contentLanguage *string) *DeleteVMVolumeSnapshotParams
- func (o *DeleteVMVolumeSnapshotParams) WithContext(ctx context.Context) *DeleteVMVolumeSnapshotParams
- func (o *DeleteVMVolumeSnapshotParams) WithDefaults() *DeleteVMVolumeSnapshotParams
- func (o *DeleteVMVolumeSnapshotParams) WithHTTPClient(client *http.Client) *DeleteVMVolumeSnapshotParams
- func (o *DeleteVMVolumeSnapshotParams) WithRequestBody(requestBody *models.VMVolumeSnapshotDeletionParams) *DeleteVMVolumeSnapshotParams
- func (o *DeleteVMVolumeSnapshotParams) WithTimeout(timeout time.Duration) *DeleteVMVolumeSnapshotParams
- func (o *DeleteVMVolumeSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteVMVolumeSnapshotReader
- type GetVMVolumeSnapshotsBadRequest
- type GetVMVolumeSnapshotsConnectionBadRequest
- type GetVMVolumeSnapshotsConnectionInternalServerError
- type GetVMVolumeSnapshotsConnectionNotFound
- type GetVMVolumeSnapshotsConnectionOK
- type GetVMVolumeSnapshotsConnectionParams
- func NewGetVMVolumeSnapshotsConnectionParams() *GetVMVolumeSnapshotsConnectionParams
- func NewGetVMVolumeSnapshotsConnectionParamsWithContext(ctx context.Context) *GetVMVolumeSnapshotsConnectionParams
- func NewGetVMVolumeSnapshotsConnectionParamsWithHTTPClient(client *http.Client) *GetVMVolumeSnapshotsConnectionParams
- func NewGetVMVolumeSnapshotsConnectionParamsWithTimeout(timeout time.Duration) *GetVMVolumeSnapshotsConnectionParams
- func (o *GetVMVolumeSnapshotsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVMVolumeSnapshotsConnectionParams) SetContext(ctx context.Context)
- func (o *GetVMVolumeSnapshotsConnectionParams) SetDefaults()
- func (o *GetVMVolumeSnapshotsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetVMVolumeSnapshotsConnectionParams) SetRequestBody(requestBody *models.GetVMVolumeSnapshotsConnectionRequestBody)
- func (o *GetVMVolumeSnapshotsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetVMVolumeSnapshotsConnectionParams) WithContentLanguage(contentLanguage *string) *GetVMVolumeSnapshotsConnectionParams
- func (o *GetVMVolumeSnapshotsConnectionParams) WithContext(ctx context.Context) *GetVMVolumeSnapshotsConnectionParams
- func (o *GetVMVolumeSnapshotsConnectionParams) WithDefaults() *GetVMVolumeSnapshotsConnectionParams
- func (o *GetVMVolumeSnapshotsConnectionParams) WithHTTPClient(client *http.Client) *GetVMVolumeSnapshotsConnectionParams
- func (o *GetVMVolumeSnapshotsConnectionParams) WithRequestBody(requestBody *models.GetVMVolumeSnapshotsConnectionRequestBody) *GetVMVolumeSnapshotsConnectionParams
- func (o *GetVMVolumeSnapshotsConnectionParams) WithTimeout(timeout time.Duration) *GetVMVolumeSnapshotsConnectionParams
- func (o *GetVMVolumeSnapshotsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVMVolumeSnapshotsConnectionReader
- type GetVMVolumeSnapshotsInternalServerError
- type GetVMVolumeSnapshotsNotFound
- type GetVMVolumeSnapshotsOK
- type GetVMVolumeSnapshotsParams
- func NewGetVMVolumeSnapshotsParams() *GetVMVolumeSnapshotsParams
- func NewGetVMVolumeSnapshotsParamsWithContext(ctx context.Context) *GetVMVolumeSnapshotsParams
- func NewGetVMVolumeSnapshotsParamsWithHTTPClient(client *http.Client) *GetVMVolumeSnapshotsParams
- func NewGetVMVolumeSnapshotsParamsWithTimeout(timeout time.Duration) *GetVMVolumeSnapshotsParams
- func (o *GetVMVolumeSnapshotsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVMVolumeSnapshotsParams) SetContext(ctx context.Context)
- func (o *GetVMVolumeSnapshotsParams) SetDefaults()
- func (o *GetVMVolumeSnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *GetVMVolumeSnapshotsParams) SetRequestBody(requestBody *models.GetVMVolumeSnapshotsRequestBody)
- func (o *GetVMVolumeSnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *GetVMVolumeSnapshotsParams) WithContentLanguage(contentLanguage *string) *GetVMVolumeSnapshotsParams
- func (o *GetVMVolumeSnapshotsParams) WithContext(ctx context.Context) *GetVMVolumeSnapshotsParams
- func (o *GetVMVolumeSnapshotsParams) WithDefaults() *GetVMVolumeSnapshotsParams
- func (o *GetVMVolumeSnapshotsParams) WithHTTPClient(client *http.Client) *GetVMVolumeSnapshotsParams
- func (o *GetVMVolumeSnapshotsParams) WithRequestBody(requestBody *models.GetVMVolumeSnapshotsRequestBody) *GetVMVolumeSnapshotsParams
- func (o *GetVMVolumeSnapshotsParams) WithTimeout(timeout time.Duration) *GetVMVolumeSnapshotsParams
- func (o *GetVMVolumeSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVMVolumeSnapshotsReader
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 ¶
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 (o *CreateVMVolumeSnapshotBadRequest) Error() string
func (*CreateVMVolumeSnapshotBadRequest) GetPayload ¶
func (o *CreateVMVolumeSnapshotBadRequest) GetPayload() *models.ErrorBody
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 (o *CreateVMVolumeSnapshotInternalServerError) Error() string
func (*CreateVMVolumeSnapshotInternalServerError) GetPayload ¶
func (o *CreateVMVolumeSnapshotInternalServerError) GetPayload() *models.ErrorBody
type CreateVMVolumeSnapshotNotFound ¶
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 (o *CreateVMVolumeSnapshotNotFound) Error() string
func (*CreateVMVolumeSnapshotNotFound) GetPayload ¶
func (o *CreateVMVolumeSnapshotNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *CreateVMVolumeSnapshotOK) GetPayload() []*models.WithTaskVMVolumeSnapshot
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 ¶
func (o *CreateVMVolumeSnapshotParams) WithContext(ctx context.Context) *CreateVMVolumeSnapshotParams
WithContext adds the context to the create Vm volume snapshot params
func (*CreateVMVolumeSnapshotParams) WithDefaults ¶
func (o *CreateVMVolumeSnapshotParams) WithDefaults() *CreateVMVolumeSnapshotParams
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 ¶
func (o *CreateVMVolumeSnapshotParams) WithHTTPClient(client *http.Client) *CreateVMVolumeSnapshotParams
WithHTTPClient adds the HTTPClient to the create Vm volume snapshot params
func (*CreateVMVolumeSnapshotParams) WithRequestBody ¶
func (o *CreateVMVolumeSnapshotParams) WithRequestBody(requestBody []*models.VMVolumeSnapshotCreationParams) *CreateVMVolumeSnapshotParams
WithRequestBody adds the requestBody to the create Vm volume snapshot params
func (*CreateVMVolumeSnapshotParams) WithTimeout ¶
func (o *CreateVMVolumeSnapshotParams) WithTimeout(timeout time.Duration) *CreateVMVolumeSnapshotParams
WithTimeout adds the timeout to the create Vm volume snapshot params
func (*CreateVMVolumeSnapshotParams) WriteToRequest ¶
func (o *CreateVMVolumeSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *DeleteVMVolumeSnapshotBadRequest) Error() string
func (*DeleteVMVolumeSnapshotBadRequest) GetPayload ¶
func (o *DeleteVMVolumeSnapshotBadRequest) GetPayload() *models.ErrorBody
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 (o *DeleteVMVolumeSnapshotInternalServerError) Error() string
func (*DeleteVMVolumeSnapshotInternalServerError) GetPayload ¶
func (o *DeleteVMVolumeSnapshotInternalServerError) GetPayload() *models.ErrorBody
type DeleteVMVolumeSnapshotNotFound ¶
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 (o *DeleteVMVolumeSnapshotNotFound) Error() string
func (*DeleteVMVolumeSnapshotNotFound) GetPayload ¶
func (o *DeleteVMVolumeSnapshotNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *DeleteVMVolumeSnapshotOK) GetPayload() []*models.WithTaskDeleteVMVolumeSnapshot
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 ¶
func (o *DeleteVMVolumeSnapshotParams) WithContext(ctx context.Context) *DeleteVMVolumeSnapshotParams
WithContext adds the context to the delete Vm volume snapshot params
func (*DeleteVMVolumeSnapshotParams) WithDefaults ¶
func (o *DeleteVMVolumeSnapshotParams) WithDefaults() *DeleteVMVolumeSnapshotParams
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 ¶
func (o *DeleteVMVolumeSnapshotParams) WithHTTPClient(client *http.Client) *DeleteVMVolumeSnapshotParams
WithHTTPClient adds the HTTPClient to the delete Vm volume snapshot params
func (*DeleteVMVolumeSnapshotParams) WithRequestBody ¶
func (o *DeleteVMVolumeSnapshotParams) WithRequestBody(requestBody *models.VMVolumeSnapshotDeletionParams) *DeleteVMVolumeSnapshotParams
WithRequestBody adds the requestBody to the delete Vm volume snapshot params
func (*DeleteVMVolumeSnapshotParams) WithTimeout ¶
func (o *DeleteVMVolumeSnapshotParams) WithTimeout(timeout time.Duration) *DeleteVMVolumeSnapshotParams
WithTimeout adds the timeout to the delete Vm volume snapshot params
func (*DeleteVMVolumeSnapshotParams) WriteToRequest ¶
func (o *DeleteVMVolumeSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetVMVolumeSnapshotsBadRequest) Error() string
func (*GetVMVolumeSnapshotsBadRequest) GetPayload ¶
func (o *GetVMVolumeSnapshotsBadRequest) GetPayload() *models.ErrorBody
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 (o *GetVMVolumeSnapshotsConnectionBadRequest) Error() string
func (*GetVMVolumeSnapshotsConnectionBadRequest) GetPayload ¶
func (o *GetVMVolumeSnapshotsConnectionBadRequest) GetPayload() *models.ErrorBody
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 (o *GetVMVolumeSnapshotsConnectionInternalServerError) Error() string
func (*GetVMVolumeSnapshotsConnectionInternalServerError) GetPayload ¶
func (o *GetVMVolumeSnapshotsConnectionInternalServerError) GetPayload() *models.ErrorBody
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 (o *GetVMVolumeSnapshotsConnectionNotFound) Error() string
func (*GetVMVolumeSnapshotsConnectionNotFound) GetPayload ¶
func (o *GetVMVolumeSnapshotsConnectionNotFound) GetPayload() *models.ErrorBody
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 (o *GetVMVolumeSnapshotsConnectionOK) Error() string
func (*GetVMVolumeSnapshotsConnectionOK) GetPayload ¶
func (o *GetVMVolumeSnapshotsConnectionOK) GetPayload() *models.VMVolumeSnapshotConnection
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 ¶
func (o *GetVMVolumeSnapshotsConnectionParams) SetContext(ctx context.Context)
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 ¶
func (o *GetVMVolumeSnapshotsConnectionParams) SetRequestBody(requestBody *models.GetVMVolumeSnapshotsConnectionRequestBody)
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 ¶
func (o *GetVMVolumeSnapshotsConnectionParams) WithContext(ctx context.Context) *GetVMVolumeSnapshotsConnectionParams
WithContext adds the context to the get Vm volume snapshots connection params
func (*GetVMVolumeSnapshotsConnectionParams) WithDefaults ¶
func (o *GetVMVolumeSnapshotsConnectionParams) WithDefaults() *GetVMVolumeSnapshotsConnectionParams
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 ¶
func (o *GetVMVolumeSnapshotsConnectionParams) WithHTTPClient(client *http.Client) *GetVMVolumeSnapshotsConnectionParams
WithHTTPClient adds the HTTPClient to the get Vm volume snapshots connection params
func (*GetVMVolumeSnapshotsConnectionParams) WithRequestBody ¶
func (o *GetVMVolumeSnapshotsConnectionParams) WithRequestBody(requestBody *models.GetVMVolumeSnapshotsConnectionRequestBody) *GetVMVolumeSnapshotsConnectionParams
WithRequestBody adds the requestBody to the get Vm volume snapshots connection params
func (*GetVMVolumeSnapshotsConnectionParams) WithTimeout ¶
func (o *GetVMVolumeSnapshotsConnectionParams) WithTimeout(timeout time.Duration) *GetVMVolumeSnapshotsConnectionParams
WithTimeout adds the timeout to the get Vm volume snapshots connection params
func (*GetVMVolumeSnapshotsConnectionParams) WriteToRequest ¶
func (o *GetVMVolumeSnapshotsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetVMVolumeSnapshotsInternalServerError) Error() string
func (*GetVMVolumeSnapshotsInternalServerError) GetPayload ¶
func (o *GetVMVolumeSnapshotsInternalServerError) GetPayload() *models.ErrorBody
type GetVMVolumeSnapshotsNotFound ¶
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 (o *GetVMVolumeSnapshotsNotFound) Error() string
func (*GetVMVolumeSnapshotsNotFound) GetPayload ¶
func (o *GetVMVolumeSnapshotsNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *GetVMVolumeSnapshotsParams) WithContext(ctx context.Context) *GetVMVolumeSnapshotsParams
WithContext adds the context to the get Vm volume snapshots params
func (*GetVMVolumeSnapshotsParams) WithDefaults ¶
func (o *GetVMVolumeSnapshotsParams) WithDefaults() *GetVMVolumeSnapshotsParams
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 ¶
func (o *GetVMVolumeSnapshotsParams) WithHTTPClient(client *http.Client) *GetVMVolumeSnapshotsParams
WithHTTPClient adds the HTTPClient to the get Vm volume snapshots params
func (*GetVMVolumeSnapshotsParams) WithRequestBody ¶
func (o *GetVMVolumeSnapshotsParams) WithRequestBody(requestBody *models.GetVMVolumeSnapshotsRequestBody) *GetVMVolumeSnapshotsParams
WithRequestBody adds the requestBody to the get Vm volume snapshots params
func (*GetVMVolumeSnapshotsParams) WithTimeout ¶
func (o *GetVMVolumeSnapshotsParams) WithTimeout(timeout time.Duration) *GetVMVolumeSnapshotsParams
WithTimeout adds the timeout to the get Vm volume snapshots params
func (*GetVMVolumeSnapshotsParams) WriteToRequest ¶
func (o *GetVMVolumeSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_vm_volume_snapshot_parameters.go
- create_vm_volume_snapshot_responses.go
- delete_vm_volume_snapshot_parameters.go
- delete_vm_volume_snapshot_responses.go
- get_vm_volume_snapshots_connection_parameters.go
- get_vm_volume_snapshots_connection_responses.go
- get_vm_volume_snapshots_parameters.go
- get_vm_volume_snapshots_responses.go
- vm_volume_snapshot_client.go