Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateVMSnapshot(params *CreateVMSnapshotParams, opts ...ClientOption) (*CreateVMSnapshotOK, error)
- func (a *Client) DeleteVMSnapshot(params *DeleteVMSnapshotParams, opts ...ClientOption) (*DeleteVMSnapshotOK, error)
- func (a *Client) GetVMSnapshots(params *GetVMSnapshotsParams, opts ...ClientOption) (*GetVMSnapshotsOK, error)
- func (a *Client) GetVMSnapshotsConnection(params *GetVMSnapshotsConnectionParams, opts ...ClientOption) (*GetVMSnapshotsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateVMSnapshotBadRequest
- type CreateVMSnapshotOK
- type CreateVMSnapshotParams
- func NewCreateVMSnapshotParams() *CreateVMSnapshotParams
- func NewCreateVMSnapshotParamsWithContext(ctx context.Context) *CreateVMSnapshotParams
- func NewCreateVMSnapshotParamsWithHTTPClient(client *http.Client) *CreateVMSnapshotParams
- func NewCreateVMSnapshotParamsWithTimeout(timeout time.Duration) *CreateVMSnapshotParams
- func (o *CreateVMSnapshotParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateVMSnapshotParams) SetContext(ctx context.Context)
- func (o *CreateVMSnapshotParams) SetDefaults()
- func (o *CreateVMSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *CreateVMSnapshotParams) SetRequestBody(requestBody *models.VMSnapshotCreationParams)
- func (o *CreateVMSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *CreateVMSnapshotParams) WithContentLanguage(contentLanguage *string) *CreateVMSnapshotParams
- func (o *CreateVMSnapshotParams) WithContext(ctx context.Context) *CreateVMSnapshotParams
- func (o *CreateVMSnapshotParams) WithDefaults() *CreateVMSnapshotParams
- func (o *CreateVMSnapshotParams) WithHTTPClient(client *http.Client) *CreateVMSnapshotParams
- func (o *CreateVMSnapshotParams) WithRequestBody(requestBody *models.VMSnapshotCreationParams) *CreateVMSnapshotParams
- func (o *CreateVMSnapshotParams) WithTimeout(timeout time.Duration) *CreateVMSnapshotParams
- func (o *CreateVMSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVMSnapshotReader
- type DeleteVMSnapshotBadRequest
- type DeleteVMSnapshotOK
- type DeleteVMSnapshotParams
- func NewDeleteVMSnapshotParams() *DeleteVMSnapshotParams
- func NewDeleteVMSnapshotParamsWithContext(ctx context.Context) *DeleteVMSnapshotParams
- func NewDeleteVMSnapshotParamsWithHTTPClient(client *http.Client) *DeleteVMSnapshotParams
- func NewDeleteVMSnapshotParamsWithTimeout(timeout time.Duration) *DeleteVMSnapshotParams
- func (o *DeleteVMSnapshotParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteVMSnapshotParams) SetContext(ctx context.Context)
- func (o *DeleteVMSnapshotParams) SetDefaults()
- func (o *DeleteVMSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *DeleteVMSnapshotParams) SetRequestBody(requestBody *models.VMSnapshotDeletionParams)
- func (o *DeleteVMSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *DeleteVMSnapshotParams) WithContentLanguage(contentLanguage *string) *DeleteVMSnapshotParams
- func (o *DeleteVMSnapshotParams) WithContext(ctx context.Context) *DeleteVMSnapshotParams
- func (o *DeleteVMSnapshotParams) WithDefaults() *DeleteVMSnapshotParams
- func (o *DeleteVMSnapshotParams) WithHTTPClient(client *http.Client) *DeleteVMSnapshotParams
- func (o *DeleteVMSnapshotParams) WithRequestBody(requestBody *models.VMSnapshotDeletionParams) *DeleteVMSnapshotParams
- func (o *DeleteVMSnapshotParams) WithTimeout(timeout time.Duration) *DeleteVMSnapshotParams
- func (o *DeleteVMSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteVMSnapshotReader
- type GetVMSnapshotsBadRequest
- type GetVMSnapshotsConnectionBadRequest
- type GetVMSnapshotsConnectionOK
- type GetVMSnapshotsConnectionParams
- func NewGetVMSnapshotsConnectionParams() *GetVMSnapshotsConnectionParams
- func NewGetVMSnapshotsConnectionParamsWithContext(ctx context.Context) *GetVMSnapshotsConnectionParams
- func NewGetVMSnapshotsConnectionParamsWithHTTPClient(client *http.Client) *GetVMSnapshotsConnectionParams
- func NewGetVMSnapshotsConnectionParamsWithTimeout(timeout time.Duration) *GetVMSnapshotsConnectionParams
- func (o *GetVMSnapshotsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVMSnapshotsConnectionParams) SetContext(ctx context.Context)
- func (o *GetVMSnapshotsConnectionParams) SetDefaults()
- func (o *GetVMSnapshotsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetVMSnapshotsConnectionParams) SetRequestBody(requestBody *models.GetVMSnapshotsConnectionRequestBody)
- func (o *GetVMSnapshotsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetVMSnapshotsConnectionParams) WithContentLanguage(contentLanguage *string) *GetVMSnapshotsConnectionParams
- func (o *GetVMSnapshotsConnectionParams) WithContext(ctx context.Context) *GetVMSnapshotsConnectionParams
- func (o *GetVMSnapshotsConnectionParams) WithDefaults() *GetVMSnapshotsConnectionParams
- func (o *GetVMSnapshotsConnectionParams) WithHTTPClient(client *http.Client) *GetVMSnapshotsConnectionParams
- func (o *GetVMSnapshotsConnectionParams) WithRequestBody(requestBody *models.GetVMSnapshotsConnectionRequestBody) *GetVMSnapshotsConnectionParams
- func (o *GetVMSnapshotsConnectionParams) WithTimeout(timeout time.Duration) *GetVMSnapshotsConnectionParams
- func (o *GetVMSnapshotsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVMSnapshotsConnectionReader
- type GetVMSnapshotsOK
- type GetVMSnapshotsParams
- func NewGetVMSnapshotsParams() *GetVMSnapshotsParams
- func NewGetVMSnapshotsParamsWithContext(ctx context.Context) *GetVMSnapshotsParams
- func NewGetVMSnapshotsParamsWithHTTPClient(client *http.Client) *GetVMSnapshotsParams
- func NewGetVMSnapshotsParamsWithTimeout(timeout time.Duration) *GetVMSnapshotsParams
- func (o *GetVMSnapshotsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVMSnapshotsParams) SetContext(ctx context.Context)
- func (o *GetVMSnapshotsParams) SetDefaults()
- func (o *GetVMSnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *GetVMSnapshotsParams) SetRequestBody(requestBody *models.GetVMSnapshotsRequestBody)
- func (o *GetVMSnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *GetVMSnapshotsParams) WithContentLanguage(contentLanguage *string) *GetVMSnapshotsParams
- func (o *GetVMSnapshotsParams) WithContext(ctx context.Context) *GetVMSnapshotsParams
- func (o *GetVMSnapshotsParams) WithDefaults() *GetVMSnapshotsParams
- func (o *GetVMSnapshotsParams) WithHTTPClient(client *http.Client) *GetVMSnapshotsParams
- func (o *GetVMSnapshotsParams) WithRequestBody(requestBody *models.GetVMSnapshotsRequestBody) *GetVMSnapshotsParams
- func (o *GetVMSnapshotsParams) WithTimeout(timeout time.Duration) *GetVMSnapshotsParams
- func (o *GetVMSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVMSnapshotsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for vm snapshot API
func (*Client) CreateVMSnapshot ¶
func (a *Client) CreateVMSnapshot(params *CreateVMSnapshotParams, opts ...ClientOption) (*CreateVMSnapshotOK, error)
CreateVMSnapshot create Vm snapshot API
func (*Client) DeleteVMSnapshot ¶
func (a *Client) DeleteVMSnapshot(params *DeleteVMSnapshotParams, opts ...ClientOption) (*DeleteVMSnapshotOK, error)
DeleteVMSnapshot delete Vm snapshot API
func (*Client) GetVMSnapshots ¶
func (a *Client) GetVMSnapshots(params *GetVMSnapshotsParams, opts ...ClientOption) (*GetVMSnapshotsOK, error)
GetVMSnapshots get Vm snapshots API
func (*Client) GetVMSnapshotsConnection ¶
func (a *Client) GetVMSnapshotsConnection(params *GetVMSnapshotsConnectionParams, opts ...ClientOption) (*GetVMSnapshotsConnectionOK, error)
GetVMSnapshotsConnection get Vm snapshots connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateVMSnapshot(params *CreateVMSnapshotParams, opts ...ClientOption) (*CreateVMSnapshotOK, error) DeleteVMSnapshot(params *DeleteVMSnapshotParams, opts ...ClientOption) (*DeleteVMSnapshotOK, error) GetVMSnapshots(params *GetVMSnapshotsParams, opts ...ClientOption) (*GetVMSnapshotsOK, error) GetVMSnapshotsConnection(params *GetVMSnapshotsConnectionParams, opts ...ClientOption) (*GetVMSnapshotsConnectionOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new vm snapshot API client.
type CreateVMSnapshotBadRequest ¶
type CreateVMSnapshotBadRequest struct {
Payload string
}
CreateVMSnapshotBadRequest describes a response with status code 400, with default header values.
CreateVMSnapshotBadRequest create Vm snapshot bad request
func NewCreateVMSnapshotBadRequest ¶
func NewCreateVMSnapshotBadRequest() *CreateVMSnapshotBadRequest
NewCreateVMSnapshotBadRequest creates a CreateVMSnapshotBadRequest with default headers values
func (*CreateVMSnapshotBadRequest) Error ¶
func (o *CreateVMSnapshotBadRequest) Error() string
func (*CreateVMSnapshotBadRequest) GetPayload ¶
func (o *CreateVMSnapshotBadRequest) GetPayload() string
type CreateVMSnapshotOK ¶
type CreateVMSnapshotOK struct {
Payload []*models.WithTaskVMSnapshot
}
CreateVMSnapshotOK describes a response with status code 200, with default header values.
Ok
func NewCreateVMSnapshotOK ¶
func NewCreateVMSnapshotOK() *CreateVMSnapshotOK
NewCreateVMSnapshotOK creates a CreateVMSnapshotOK with default headers values
func (*CreateVMSnapshotOK) Error ¶
func (o *CreateVMSnapshotOK) Error() string
func (*CreateVMSnapshotOK) GetPayload ¶
func (o *CreateVMSnapshotOK) GetPayload() []*models.WithTaskVMSnapshot
type CreateVMSnapshotParams ¶
type CreateVMSnapshotParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMSnapshotCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateVMSnapshotParams contains all the parameters to send to the API endpoint
for the create Vm snapshot operation. Typically these are written to a http.Request.
func NewCreateVMSnapshotParams ¶
func NewCreateVMSnapshotParams() *CreateVMSnapshotParams
NewCreateVMSnapshotParams creates a new CreateVMSnapshotParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateVMSnapshotParamsWithContext ¶
func NewCreateVMSnapshotParamsWithContext(ctx context.Context) *CreateVMSnapshotParams
NewCreateVMSnapshotParamsWithContext creates a new CreateVMSnapshotParams object with the ability to set a context for a request.
func NewCreateVMSnapshotParamsWithHTTPClient ¶
func NewCreateVMSnapshotParamsWithHTTPClient(client *http.Client) *CreateVMSnapshotParams
NewCreateVMSnapshotParamsWithHTTPClient creates a new CreateVMSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewCreateVMSnapshotParamsWithTimeout ¶
func NewCreateVMSnapshotParamsWithTimeout(timeout time.Duration) *CreateVMSnapshotParams
NewCreateVMSnapshotParamsWithTimeout creates a new CreateVMSnapshotParams object with the ability to set a timeout on a request.
func (*CreateVMSnapshotParams) SetContentLanguage ¶
func (o *CreateVMSnapshotParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create Vm snapshot params
func (*CreateVMSnapshotParams) SetContext ¶
func (o *CreateVMSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the create Vm snapshot params
func (*CreateVMSnapshotParams) SetDefaults ¶
func (o *CreateVMSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the create Vm snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVMSnapshotParams) SetHTTPClient ¶
func (o *CreateVMSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create Vm snapshot params
func (*CreateVMSnapshotParams) SetRequestBody ¶
func (o *CreateVMSnapshotParams) SetRequestBody(requestBody *models.VMSnapshotCreationParams)
SetRequestBody adds the requestBody to the create Vm snapshot params
func (*CreateVMSnapshotParams) SetTimeout ¶
func (o *CreateVMSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create Vm snapshot params
func (*CreateVMSnapshotParams) WithContentLanguage ¶
func (o *CreateVMSnapshotParams) WithContentLanguage(contentLanguage *string) *CreateVMSnapshotParams
WithContentLanguage adds the contentLanguage to the create Vm snapshot params
func (*CreateVMSnapshotParams) WithContext ¶
func (o *CreateVMSnapshotParams) WithContext(ctx context.Context) *CreateVMSnapshotParams
WithContext adds the context to the create Vm snapshot params
func (*CreateVMSnapshotParams) WithDefaults ¶
func (o *CreateVMSnapshotParams) WithDefaults() *CreateVMSnapshotParams
WithDefaults hydrates default values in the create Vm snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVMSnapshotParams) WithHTTPClient ¶
func (o *CreateVMSnapshotParams) WithHTTPClient(client *http.Client) *CreateVMSnapshotParams
WithHTTPClient adds the HTTPClient to the create Vm snapshot params
func (*CreateVMSnapshotParams) WithRequestBody ¶
func (o *CreateVMSnapshotParams) WithRequestBody(requestBody *models.VMSnapshotCreationParams) *CreateVMSnapshotParams
WithRequestBody adds the requestBody to the create Vm snapshot params
func (*CreateVMSnapshotParams) WithTimeout ¶
func (o *CreateVMSnapshotParams) WithTimeout(timeout time.Duration) *CreateVMSnapshotParams
WithTimeout adds the timeout to the create Vm snapshot params
func (*CreateVMSnapshotParams) WriteToRequest ¶
func (o *CreateVMSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateVMSnapshotReader ¶
type CreateVMSnapshotReader struct {
// contains filtered or unexported fields
}
CreateVMSnapshotReader is a Reader for the CreateVMSnapshot structure.
func (*CreateVMSnapshotReader) ReadResponse ¶
func (o *CreateVMSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteVMSnapshotBadRequest ¶
type DeleteVMSnapshotBadRequest struct {
Payload string
}
DeleteVMSnapshotBadRequest describes a response with status code 400, with default header values.
DeleteVMSnapshotBadRequest delete Vm snapshot bad request
func NewDeleteVMSnapshotBadRequest ¶
func NewDeleteVMSnapshotBadRequest() *DeleteVMSnapshotBadRequest
NewDeleteVMSnapshotBadRequest creates a DeleteVMSnapshotBadRequest with default headers values
func (*DeleteVMSnapshotBadRequest) Error ¶
func (o *DeleteVMSnapshotBadRequest) Error() string
func (*DeleteVMSnapshotBadRequest) GetPayload ¶
func (o *DeleteVMSnapshotBadRequest) GetPayload() string
type DeleteVMSnapshotOK ¶
type DeleteVMSnapshotOK struct {
Payload []*models.WithTaskDeleteVMSnapshot
}
DeleteVMSnapshotOK describes a response with status code 200, with default header values.
Ok
func NewDeleteVMSnapshotOK ¶
func NewDeleteVMSnapshotOK() *DeleteVMSnapshotOK
NewDeleteVMSnapshotOK creates a DeleteVMSnapshotOK with default headers values
func (*DeleteVMSnapshotOK) Error ¶
func (o *DeleteVMSnapshotOK) Error() string
func (*DeleteVMSnapshotOK) GetPayload ¶
func (o *DeleteVMSnapshotOK) GetPayload() []*models.WithTaskDeleteVMSnapshot
type DeleteVMSnapshotParams ¶
type DeleteVMSnapshotParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMSnapshotDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteVMSnapshotParams contains all the parameters to send to the API endpoint
for the delete Vm snapshot operation. Typically these are written to a http.Request.
func NewDeleteVMSnapshotParams ¶
func NewDeleteVMSnapshotParams() *DeleteVMSnapshotParams
NewDeleteVMSnapshotParams creates a new DeleteVMSnapshotParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteVMSnapshotParamsWithContext ¶
func NewDeleteVMSnapshotParamsWithContext(ctx context.Context) *DeleteVMSnapshotParams
NewDeleteVMSnapshotParamsWithContext creates a new DeleteVMSnapshotParams object with the ability to set a context for a request.
func NewDeleteVMSnapshotParamsWithHTTPClient ¶
func NewDeleteVMSnapshotParamsWithHTTPClient(client *http.Client) *DeleteVMSnapshotParams
NewDeleteVMSnapshotParamsWithHTTPClient creates a new DeleteVMSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteVMSnapshotParamsWithTimeout ¶
func NewDeleteVMSnapshotParamsWithTimeout(timeout time.Duration) *DeleteVMSnapshotParams
NewDeleteVMSnapshotParamsWithTimeout creates a new DeleteVMSnapshotParams object with the ability to set a timeout on a request.
func (*DeleteVMSnapshotParams) SetContentLanguage ¶
func (o *DeleteVMSnapshotParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete Vm snapshot params
func (*DeleteVMSnapshotParams) SetContext ¶
func (o *DeleteVMSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the delete Vm snapshot params
func (*DeleteVMSnapshotParams) SetDefaults ¶
func (o *DeleteVMSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the delete Vm snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVMSnapshotParams) SetHTTPClient ¶
func (o *DeleteVMSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete Vm snapshot params
func (*DeleteVMSnapshotParams) SetRequestBody ¶
func (o *DeleteVMSnapshotParams) SetRequestBody(requestBody *models.VMSnapshotDeletionParams)
SetRequestBody adds the requestBody to the delete Vm snapshot params
func (*DeleteVMSnapshotParams) SetTimeout ¶
func (o *DeleteVMSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete Vm snapshot params
func (*DeleteVMSnapshotParams) WithContentLanguage ¶
func (o *DeleteVMSnapshotParams) WithContentLanguage(contentLanguage *string) *DeleteVMSnapshotParams
WithContentLanguage adds the contentLanguage to the delete Vm snapshot params
func (*DeleteVMSnapshotParams) WithContext ¶
func (o *DeleteVMSnapshotParams) WithContext(ctx context.Context) *DeleteVMSnapshotParams
WithContext adds the context to the delete Vm snapshot params
func (*DeleteVMSnapshotParams) WithDefaults ¶
func (o *DeleteVMSnapshotParams) WithDefaults() *DeleteVMSnapshotParams
WithDefaults hydrates default values in the delete Vm snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVMSnapshotParams) WithHTTPClient ¶
func (o *DeleteVMSnapshotParams) WithHTTPClient(client *http.Client) *DeleteVMSnapshotParams
WithHTTPClient adds the HTTPClient to the delete Vm snapshot params
func (*DeleteVMSnapshotParams) WithRequestBody ¶
func (o *DeleteVMSnapshotParams) WithRequestBody(requestBody *models.VMSnapshotDeletionParams) *DeleteVMSnapshotParams
WithRequestBody adds the requestBody to the delete Vm snapshot params
func (*DeleteVMSnapshotParams) WithTimeout ¶
func (o *DeleteVMSnapshotParams) WithTimeout(timeout time.Duration) *DeleteVMSnapshotParams
WithTimeout adds the timeout to the delete Vm snapshot params
func (*DeleteVMSnapshotParams) WriteToRequest ¶
func (o *DeleteVMSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteVMSnapshotReader ¶
type DeleteVMSnapshotReader struct {
// contains filtered or unexported fields
}
DeleteVMSnapshotReader is a Reader for the DeleteVMSnapshot structure.
func (*DeleteVMSnapshotReader) ReadResponse ¶
func (o *DeleteVMSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVMSnapshotsBadRequest ¶
type GetVMSnapshotsBadRequest struct {
Payload string
}
GetVMSnapshotsBadRequest describes a response with status code 400, with default header values.
GetVMSnapshotsBadRequest get Vm snapshots bad request
func NewGetVMSnapshotsBadRequest ¶
func NewGetVMSnapshotsBadRequest() *GetVMSnapshotsBadRequest
NewGetVMSnapshotsBadRequest creates a GetVMSnapshotsBadRequest with default headers values
func (*GetVMSnapshotsBadRequest) Error ¶
func (o *GetVMSnapshotsBadRequest) Error() string
func (*GetVMSnapshotsBadRequest) GetPayload ¶
func (o *GetVMSnapshotsBadRequest) GetPayload() string
type GetVMSnapshotsConnectionBadRequest ¶
type GetVMSnapshotsConnectionBadRequest struct {
Payload string
}
GetVMSnapshotsConnectionBadRequest describes a response with status code 400, with default header values.
GetVMSnapshotsConnectionBadRequest get Vm snapshots connection bad request
func NewGetVMSnapshotsConnectionBadRequest ¶
func NewGetVMSnapshotsConnectionBadRequest() *GetVMSnapshotsConnectionBadRequest
NewGetVMSnapshotsConnectionBadRequest creates a GetVMSnapshotsConnectionBadRequest with default headers values
func (*GetVMSnapshotsConnectionBadRequest) Error ¶
func (o *GetVMSnapshotsConnectionBadRequest) Error() string
func (*GetVMSnapshotsConnectionBadRequest) GetPayload ¶
func (o *GetVMSnapshotsConnectionBadRequest) GetPayload() string
type GetVMSnapshotsConnectionOK ¶
type GetVMSnapshotsConnectionOK struct {
Payload *models.VMSnapshotConnection
}
GetVMSnapshotsConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetVMSnapshotsConnectionOK ¶
func NewGetVMSnapshotsConnectionOK() *GetVMSnapshotsConnectionOK
NewGetVMSnapshotsConnectionOK creates a GetVMSnapshotsConnectionOK with default headers values
func (*GetVMSnapshotsConnectionOK) Error ¶
func (o *GetVMSnapshotsConnectionOK) Error() string
func (*GetVMSnapshotsConnectionOK) GetPayload ¶
func (o *GetVMSnapshotsConnectionOK) GetPayload() *models.VMSnapshotConnection
type GetVMSnapshotsConnectionParams ¶
type GetVMSnapshotsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVMSnapshotsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVMSnapshotsConnectionParams contains all the parameters to send to the API endpoint
for the get Vm snapshots connection operation. Typically these are written to a http.Request.
func NewGetVMSnapshotsConnectionParams ¶
func NewGetVMSnapshotsConnectionParams() *GetVMSnapshotsConnectionParams
NewGetVMSnapshotsConnectionParams creates a new GetVMSnapshotsConnectionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetVMSnapshotsConnectionParamsWithContext ¶
func NewGetVMSnapshotsConnectionParamsWithContext(ctx context.Context) *GetVMSnapshotsConnectionParams
NewGetVMSnapshotsConnectionParamsWithContext creates a new GetVMSnapshotsConnectionParams object with the ability to set a context for a request.
func NewGetVMSnapshotsConnectionParamsWithHTTPClient ¶
func NewGetVMSnapshotsConnectionParamsWithHTTPClient(client *http.Client) *GetVMSnapshotsConnectionParams
NewGetVMSnapshotsConnectionParamsWithHTTPClient creates a new GetVMSnapshotsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetVMSnapshotsConnectionParamsWithTimeout ¶
func NewGetVMSnapshotsConnectionParamsWithTimeout(timeout time.Duration) *GetVMSnapshotsConnectionParams
NewGetVMSnapshotsConnectionParamsWithTimeout creates a new GetVMSnapshotsConnectionParams object with the ability to set a timeout on a request.
func (*GetVMSnapshotsConnectionParams) SetContentLanguage ¶
func (o *GetVMSnapshotsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get Vm snapshots connection params
func (*GetVMSnapshotsConnectionParams) SetContext ¶
func (o *GetVMSnapshotsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get Vm snapshots connection params
func (*GetVMSnapshotsConnectionParams) SetDefaults ¶
func (o *GetVMSnapshotsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get Vm snapshots connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMSnapshotsConnectionParams) SetHTTPClient ¶
func (o *GetVMSnapshotsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Vm snapshots connection params
func (*GetVMSnapshotsConnectionParams) SetRequestBody ¶
func (o *GetVMSnapshotsConnectionParams) SetRequestBody(requestBody *models.GetVMSnapshotsConnectionRequestBody)
SetRequestBody adds the requestBody to the get Vm snapshots connection params
func (*GetVMSnapshotsConnectionParams) SetTimeout ¶
func (o *GetVMSnapshotsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Vm snapshots connection params
func (*GetVMSnapshotsConnectionParams) WithContentLanguage ¶
func (o *GetVMSnapshotsConnectionParams) WithContentLanguage(contentLanguage *string) *GetVMSnapshotsConnectionParams
WithContentLanguage adds the contentLanguage to the get Vm snapshots connection params
func (*GetVMSnapshotsConnectionParams) WithContext ¶
func (o *GetVMSnapshotsConnectionParams) WithContext(ctx context.Context) *GetVMSnapshotsConnectionParams
WithContext adds the context to the get Vm snapshots connection params
func (*GetVMSnapshotsConnectionParams) WithDefaults ¶
func (o *GetVMSnapshotsConnectionParams) WithDefaults() *GetVMSnapshotsConnectionParams
WithDefaults hydrates default values in the get Vm snapshots connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMSnapshotsConnectionParams) WithHTTPClient ¶
func (o *GetVMSnapshotsConnectionParams) WithHTTPClient(client *http.Client) *GetVMSnapshotsConnectionParams
WithHTTPClient adds the HTTPClient to the get Vm snapshots connection params
func (*GetVMSnapshotsConnectionParams) WithRequestBody ¶
func (o *GetVMSnapshotsConnectionParams) WithRequestBody(requestBody *models.GetVMSnapshotsConnectionRequestBody) *GetVMSnapshotsConnectionParams
WithRequestBody adds the requestBody to the get Vm snapshots connection params
func (*GetVMSnapshotsConnectionParams) WithTimeout ¶
func (o *GetVMSnapshotsConnectionParams) WithTimeout(timeout time.Duration) *GetVMSnapshotsConnectionParams
WithTimeout adds the timeout to the get Vm snapshots connection params
func (*GetVMSnapshotsConnectionParams) WriteToRequest ¶
func (o *GetVMSnapshotsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVMSnapshotsConnectionReader ¶
type GetVMSnapshotsConnectionReader struct {
// contains filtered or unexported fields
}
GetVMSnapshotsConnectionReader is a Reader for the GetVMSnapshotsConnection structure.
func (*GetVMSnapshotsConnectionReader) ReadResponse ¶
func (o *GetVMSnapshotsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVMSnapshotsOK ¶
type GetVMSnapshotsOK struct {
Payload []*models.VMSnapshot
}
GetVMSnapshotsOK describes a response with status code 200, with default header values.
Ok
func NewGetVMSnapshotsOK ¶
func NewGetVMSnapshotsOK() *GetVMSnapshotsOK
NewGetVMSnapshotsOK creates a GetVMSnapshotsOK with default headers values
func (*GetVMSnapshotsOK) Error ¶
func (o *GetVMSnapshotsOK) Error() string
func (*GetVMSnapshotsOK) GetPayload ¶
func (o *GetVMSnapshotsOK) GetPayload() []*models.VMSnapshot
type GetVMSnapshotsParams ¶
type GetVMSnapshotsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVMSnapshotsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVMSnapshotsParams contains all the parameters to send to the API endpoint
for the get Vm snapshots operation. Typically these are written to a http.Request.
func NewGetVMSnapshotsParams ¶
func NewGetVMSnapshotsParams() *GetVMSnapshotsParams
NewGetVMSnapshotsParams creates a new GetVMSnapshotsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetVMSnapshotsParamsWithContext ¶
func NewGetVMSnapshotsParamsWithContext(ctx context.Context) *GetVMSnapshotsParams
NewGetVMSnapshotsParamsWithContext creates a new GetVMSnapshotsParams object with the ability to set a context for a request.
func NewGetVMSnapshotsParamsWithHTTPClient ¶
func NewGetVMSnapshotsParamsWithHTTPClient(client *http.Client) *GetVMSnapshotsParams
NewGetVMSnapshotsParamsWithHTTPClient creates a new GetVMSnapshotsParams object with the ability to set a custom HTTPClient for a request.
func NewGetVMSnapshotsParamsWithTimeout ¶
func NewGetVMSnapshotsParamsWithTimeout(timeout time.Duration) *GetVMSnapshotsParams
NewGetVMSnapshotsParamsWithTimeout creates a new GetVMSnapshotsParams object with the ability to set a timeout on a request.
func (*GetVMSnapshotsParams) SetContentLanguage ¶
func (o *GetVMSnapshotsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get Vm snapshots params
func (*GetVMSnapshotsParams) SetContext ¶
func (o *GetVMSnapshotsParams) SetContext(ctx context.Context)
SetContext adds the context to the get Vm snapshots params
func (*GetVMSnapshotsParams) SetDefaults ¶
func (o *GetVMSnapshotsParams) SetDefaults()
SetDefaults hydrates default values in the get Vm snapshots params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMSnapshotsParams) SetHTTPClient ¶
func (o *GetVMSnapshotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Vm snapshots params
func (*GetVMSnapshotsParams) SetRequestBody ¶
func (o *GetVMSnapshotsParams) SetRequestBody(requestBody *models.GetVMSnapshotsRequestBody)
SetRequestBody adds the requestBody to the get Vm snapshots params
func (*GetVMSnapshotsParams) SetTimeout ¶
func (o *GetVMSnapshotsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Vm snapshots params
func (*GetVMSnapshotsParams) WithContentLanguage ¶
func (o *GetVMSnapshotsParams) WithContentLanguage(contentLanguage *string) *GetVMSnapshotsParams
WithContentLanguage adds the contentLanguage to the get Vm snapshots params
func (*GetVMSnapshotsParams) WithContext ¶
func (o *GetVMSnapshotsParams) WithContext(ctx context.Context) *GetVMSnapshotsParams
WithContext adds the context to the get Vm snapshots params
func (*GetVMSnapshotsParams) WithDefaults ¶
func (o *GetVMSnapshotsParams) WithDefaults() *GetVMSnapshotsParams
WithDefaults hydrates default values in the get Vm snapshots params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMSnapshotsParams) WithHTTPClient ¶
func (o *GetVMSnapshotsParams) WithHTTPClient(client *http.Client) *GetVMSnapshotsParams
WithHTTPClient adds the HTTPClient to the get Vm snapshots params
func (*GetVMSnapshotsParams) WithRequestBody ¶
func (o *GetVMSnapshotsParams) WithRequestBody(requestBody *models.GetVMSnapshotsRequestBody) *GetVMSnapshotsParams
WithRequestBody adds the requestBody to the get Vm snapshots params
func (*GetVMSnapshotsParams) WithTimeout ¶
func (o *GetVMSnapshotsParams) WithTimeout(timeout time.Duration) *GetVMSnapshotsParams
WithTimeout adds the timeout to the get Vm snapshots params
func (*GetVMSnapshotsParams) WriteToRequest ¶
func (o *GetVMSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVMSnapshotsReader ¶
type GetVMSnapshotsReader struct {
// contains filtered or unexported fields
}
GetVMSnapshotsReader is a Reader for the GetVMSnapshots structure.
func (*GetVMSnapshotsReader) ReadResponse ¶
func (o *GetVMSnapshotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.