Documentation ¶
Index ¶
- type Client
- func (a *Client) CloneVMTemplateFromVM(params *CloneVMTemplateFromVMParams, opts ...ClientOption) (*CloneVMTemplateFromVMOK, error)
- func (a *Client) ConvertVMTemplateFromVM(params *ConvertVMTemplateFromVMParams, opts ...ClientOption) (*ConvertVMTemplateFromVMOK, error)
- func (a *Client) DeleteVMTemplate(params *DeleteVMTemplateParams, opts ...ClientOption) (*DeleteVMTemplateOK, error)
- func (a *Client) GetVMTemplates(params *GetVMTemplatesParams, opts ...ClientOption) (*GetVMTemplatesOK, error)
- func (a *Client) GetVMTemplatesConnection(params *GetVMTemplatesConnectionParams, opts ...ClientOption) (*GetVMTemplatesConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateVMTemplate(params *UpdateVMTemplateParams, opts ...ClientOption) (*UpdateVMTemplateOK, error)
- type ClientOption
- type ClientService
- type CloneVMTemplateFromVMBadRequest
- type CloneVMTemplateFromVMInternalServerError
- type CloneVMTemplateFromVMNotFound
- type CloneVMTemplateFromVMOK
- type CloneVMTemplateFromVMParams
- func NewCloneVMTemplateFromVMParams() *CloneVMTemplateFromVMParams
- func NewCloneVMTemplateFromVMParamsWithContext(ctx context.Context) *CloneVMTemplateFromVMParams
- func NewCloneVMTemplateFromVMParamsWithHTTPClient(client *http.Client) *CloneVMTemplateFromVMParams
- func NewCloneVMTemplateFromVMParamsWithTimeout(timeout time.Duration) *CloneVMTemplateFromVMParams
- func (o *CloneVMTemplateFromVMParams) SetContentLanguage(contentLanguage *string)
- func (o *CloneVMTemplateFromVMParams) SetContext(ctx context.Context)
- func (o *CloneVMTemplateFromVMParams) SetDefaults()
- func (o *CloneVMTemplateFromVMParams) SetHTTPClient(client *http.Client)
- func (o *CloneVMTemplateFromVMParams) SetRequestBody(requestBody []*models.VMTemplateCreationParams)
- func (o *CloneVMTemplateFromVMParams) SetTimeout(timeout time.Duration)
- func (o *CloneVMTemplateFromVMParams) WithContentLanguage(contentLanguage *string) *CloneVMTemplateFromVMParams
- func (o *CloneVMTemplateFromVMParams) WithContext(ctx context.Context) *CloneVMTemplateFromVMParams
- func (o *CloneVMTemplateFromVMParams) WithDefaults() *CloneVMTemplateFromVMParams
- func (o *CloneVMTemplateFromVMParams) WithHTTPClient(client *http.Client) *CloneVMTemplateFromVMParams
- func (o *CloneVMTemplateFromVMParams) WithRequestBody(requestBody []*models.VMTemplateCreationParams) *CloneVMTemplateFromVMParams
- func (o *CloneVMTemplateFromVMParams) WithTimeout(timeout time.Duration) *CloneVMTemplateFromVMParams
- func (o *CloneVMTemplateFromVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CloneVMTemplateFromVMReader
- type ConvertVMTemplateFromVMBadRequest
- type ConvertVMTemplateFromVMInternalServerError
- type ConvertVMTemplateFromVMNotFound
- type ConvertVMTemplateFromVMOK
- type ConvertVMTemplateFromVMParams
- func NewConvertVMTemplateFromVMParams() *ConvertVMTemplateFromVMParams
- func NewConvertVMTemplateFromVMParamsWithContext(ctx context.Context) *ConvertVMTemplateFromVMParams
- func NewConvertVMTemplateFromVMParamsWithHTTPClient(client *http.Client) *ConvertVMTemplateFromVMParams
- func NewConvertVMTemplateFromVMParamsWithTimeout(timeout time.Duration) *ConvertVMTemplateFromVMParams
- func (o *ConvertVMTemplateFromVMParams) SetContentLanguage(contentLanguage *string)
- func (o *ConvertVMTemplateFromVMParams) SetContext(ctx context.Context)
- func (o *ConvertVMTemplateFromVMParams) SetDefaults()
- func (o *ConvertVMTemplateFromVMParams) SetHTTPClient(client *http.Client)
- func (o *ConvertVMTemplateFromVMParams) SetRequestBody(requestBody []*models.VMTemplateCreationParams)
- func (o *ConvertVMTemplateFromVMParams) SetTimeout(timeout time.Duration)
- func (o *ConvertVMTemplateFromVMParams) WithContentLanguage(contentLanguage *string) *ConvertVMTemplateFromVMParams
- func (o *ConvertVMTemplateFromVMParams) WithContext(ctx context.Context) *ConvertVMTemplateFromVMParams
- func (o *ConvertVMTemplateFromVMParams) WithDefaults() *ConvertVMTemplateFromVMParams
- func (o *ConvertVMTemplateFromVMParams) WithHTTPClient(client *http.Client) *ConvertVMTemplateFromVMParams
- func (o *ConvertVMTemplateFromVMParams) WithRequestBody(requestBody []*models.VMTemplateCreationParams) *ConvertVMTemplateFromVMParams
- func (o *ConvertVMTemplateFromVMParams) WithTimeout(timeout time.Duration) *ConvertVMTemplateFromVMParams
- func (o *ConvertVMTemplateFromVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConvertVMTemplateFromVMReader
- type DeleteVMTemplateBadRequest
- type DeleteVMTemplateInternalServerError
- type DeleteVMTemplateNotFound
- type DeleteVMTemplateOK
- type DeleteVMTemplateParams
- func NewDeleteVMTemplateParams() *DeleteVMTemplateParams
- func NewDeleteVMTemplateParamsWithContext(ctx context.Context) *DeleteVMTemplateParams
- func NewDeleteVMTemplateParamsWithHTTPClient(client *http.Client) *DeleteVMTemplateParams
- func NewDeleteVMTemplateParamsWithTimeout(timeout time.Duration) *DeleteVMTemplateParams
- func (o *DeleteVMTemplateParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteVMTemplateParams) SetContext(ctx context.Context)
- func (o *DeleteVMTemplateParams) SetDefaults()
- func (o *DeleteVMTemplateParams) SetHTTPClient(client *http.Client)
- func (o *DeleteVMTemplateParams) SetRequestBody(requestBody *models.VMTemplateDeletionParams)
- func (o *DeleteVMTemplateParams) SetTimeout(timeout time.Duration)
- func (o *DeleteVMTemplateParams) WithContentLanguage(contentLanguage *string) *DeleteVMTemplateParams
- func (o *DeleteVMTemplateParams) WithContext(ctx context.Context) *DeleteVMTemplateParams
- func (o *DeleteVMTemplateParams) WithDefaults() *DeleteVMTemplateParams
- func (o *DeleteVMTemplateParams) WithHTTPClient(client *http.Client) *DeleteVMTemplateParams
- func (o *DeleteVMTemplateParams) WithRequestBody(requestBody *models.VMTemplateDeletionParams) *DeleteVMTemplateParams
- func (o *DeleteVMTemplateParams) WithTimeout(timeout time.Duration) *DeleteVMTemplateParams
- func (o *DeleteVMTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteVMTemplateReader
- type GetVMTemplatesBadRequest
- type GetVMTemplatesConnectionBadRequest
- type GetVMTemplatesConnectionInternalServerError
- type GetVMTemplatesConnectionNotFound
- type GetVMTemplatesConnectionOK
- type GetVMTemplatesConnectionParams
- func NewGetVMTemplatesConnectionParams() *GetVMTemplatesConnectionParams
- func NewGetVMTemplatesConnectionParamsWithContext(ctx context.Context) *GetVMTemplatesConnectionParams
- func NewGetVMTemplatesConnectionParamsWithHTTPClient(client *http.Client) *GetVMTemplatesConnectionParams
- func NewGetVMTemplatesConnectionParamsWithTimeout(timeout time.Duration) *GetVMTemplatesConnectionParams
- func (o *GetVMTemplatesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVMTemplatesConnectionParams) SetContext(ctx context.Context)
- func (o *GetVMTemplatesConnectionParams) SetDefaults()
- func (o *GetVMTemplatesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetVMTemplatesConnectionParams) SetRequestBody(requestBody *models.GetVMTemplatesConnectionRequestBody)
- func (o *GetVMTemplatesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetVMTemplatesConnectionParams) WithContentLanguage(contentLanguage *string) *GetVMTemplatesConnectionParams
- func (o *GetVMTemplatesConnectionParams) WithContext(ctx context.Context) *GetVMTemplatesConnectionParams
- func (o *GetVMTemplatesConnectionParams) WithDefaults() *GetVMTemplatesConnectionParams
- func (o *GetVMTemplatesConnectionParams) WithHTTPClient(client *http.Client) *GetVMTemplatesConnectionParams
- func (o *GetVMTemplatesConnectionParams) WithRequestBody(requestBody *models.GetVMTemplatesConnectionRequestBody) *GetVMTemplatesConnectionParams
- func (o *GetVMTemplatesConnectionParams) WithTimeout(timeout time.Duration) *GetVMTemplatesConnectionParams
- func (o *GetVMTemplatesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVMTemplatesConnectionReader
- type GetVMTemplatesInternalServerError
- type GetVMTemplatesNotFound
- type GetVMTemplatesOK
- type GetVMTemplatesParams
- func NewGetVMTemplatesParams() *GetVMTemplatesParams
- func NewGetVMTemplatesParamsWithContext(ctx context.Context) *GetVMTemplatesParams
- func NewGetVMTemplatesParamsWithHTTPClient(client *http.Client) *GetVMTemplatesParams
- func NewGetVMTemplatesParamsWithTimeout(timeout time.Duration) *GetVMTemplatesParams
- func (o *GetVMTemplatesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVMTemplatesParams) SetContext(ctx context.Context)
- func (o *GetVMTemplatesParams) SetDefaults()
- func (o *GetVMTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *GetVMTemplatesParams) SetRequestBody(requestBody *models.GetVMTemplatesRequestBody)
- func (o *GetVMTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *GetVMTemplatesParams) WithContentLanguage(contentLanguage *string) *GetVMTemplatesParams
- func (o *GetVMTemplatesParams) WithContext(ctx context.Context) *GetVMTemplatesParams
- func (o *GetVMTemplatesParams) WithDefaults() *GetVMTemplatesParams
- func (o *GetVMTemplatesParams) WithHTTPClient(client *http.Client) *GetVMTemplatesParams
- func (o *GetVMTemplatesParams) WithRequestBody(requestBody *models.GetVMTemplatesRequestBody) *GetVMTemplatesParams
- func (o *GetVMTemplatesParams) WithTimeout(timeout time.Duration) *GetVMTemplatesParams
- func (o *GetVMTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVMTemplatesReader
- type UpdateVMTemplateBadRequest
- type UpdateVMTemplateInternalServerError
- type UpdateVMTemplateNotFound
- type UpdateVMTemplateOK
- type UpdateVMTemplateParams
- func NewUpdateVMTemplateParams() *UpdateVMTemplateParams
- func NewUpdateVMTemplateParamsWithContext(ctx context.Context) *UpdateVMTemplateParams
- func NewUpdateVMTemplateParamsWithHTTPClient(client *http.Client) *UpdateVMTemplateParams
- func NewUpdateVMTemplateParamsWithTimeout(timeout time.Duration) *UpdateVMTemplateParams
- func (o *UpdateVMTemplateParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateVMTemplateParams) SetContext(ctx context.Context)
- func (o *UpdateVMTemplateParams) SetDefaults()
- func (o *UpdateVMTemplateParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVMTemplateParams) SetRequestBody(requestBody *models.VMTemplateUpdationParams)
- func (o *UpdateVMTemplateParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVMTemplateParams) WithContentLanguage(contentLanguage *string) *UpdateVMTemplateParams
- func (o *UpdateVMTemplateParams) WithContext(ctx context.Context) *UpdateVMTemplateParams
- func (o *UpdateVMTemplateParams) WithDefaults() *UpdateVMTemplateParams
- func (o *UpdateVMTemplateParams) WithHTTPClient(client *http.Client) *UpdateVMTemplateParams
- func (o *UpdateVMTemplateParams) WithRequestBody(requestBody *models.VMTemplateUpdationParams) *UpdateVMTemplateParams
- func (o *UpdateVMTemplateParams) WithTimeout(timeout time.Duration) *UpdateVMTemplateParams
- func (o *UpdateVMTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVMTemplateReader
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 template API
func (*Client) CloneVMTemplateFromVM ¶
func (a *Client) CloneVMTemplateFromVM(params *CloneVMTemplateFromVMParams, opts ...ClientOption) (*CloneVMTemplateFromVMOK, error)
CloneVMTemplateFromVM clone Vm template from Vm API
func (*Client) ConvertVMTemplateFromVM ¶
func (a *Client) ConvertVMTemplateFromVM(params *ConvertVMTemplateFromVMParams, opts ...ClientOption) (*ConvertVMTemplateFromVMOK, error)
ConvertVMTemplateFromVM convert Vm template from Vm API
func (*Client) DeleteVMTemplate ¶
func (a *Client) DeleteVMTemplate(params *DeleteVMTemplateParams, opts ...ClientOption) (*DeleteVMTemplateOK, error)
DeleteVMTemplate delete Vm template API
func (*Client) GetVMTemplates ¶
func (a *Client) GetVMTemplates(params *GetVMTemplatesParams, opts ...ClientOption) (*GetVMTemplatesOK, error)
GetVMTemplates get Vm templates API
func (*Client) GetVMTemplatesConnection ¶
func (a *Client) GetVMTemplatesConnection(params *GetVMTemplatesConnectionParams, opts ...ClientOption) (*GetVMTemplatesConnectionOK, error)
GetVMTemplatesConnection get Vm templates connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateVMTemplate ¶
func (a *Client) UpdateVMTemplate(params *UpdateVMTemplateParams, opts ...ClientOption) (*UpdateVMTemplateOK, error)
UpdateVMTemplate update Vm template API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CloneVMTemplateFromVM(params *CloneVMTemplateFromVMParams, opts ...ClientOption) (*CloneVMTemplateFromVMOK, error) ConvertVMTemplateFromVM(params *ConvertVMTemplateFromVMParams, opts ...ClientOption) (*ConvertVMTemplateFromVMOK, error) DeleteVMTemplate(params *DeleteVMTemplateParams, opts ...ClientOption) (*DeleteVMTemplateOK, error) GetVMTemplates(params *GetVMTemplatesParams, opts ...ClientOption) (*GetVMTemplatesOK, error) GetVMTemplatesConnection(params *GetVMTemplatesConnectionParams, opts ...ClientOption) (*GetVMTemplatesConnectionOK, error) UpdateVMTemplate(params *UpdateVMTemplateParams, opts ...ClientOption) (*UpdateVMTemplateOK, 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 template API client.
type CloneVMTemplateFromVMBadRequest ¶
CloneVMTemplateFromVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCloneVMTemplateFromVMBadRequest ¶
func NewCloneVMTemplateFromVMBadRequest() *CloneVMTemplateFromVMBadRequest
NewCloneVMTemplateFromVMBadRequest creates a CloneVMTemplateFromVMBadRequest with default headers values
func (*CloneVMTemplateFromVMBadRequest) Error ¶
func (o *CloneVMTemplateFromVMBadRequest) Error() string
func (*CloneVMTemplateFromVMBadRequest) GetPayload ¶
func (o *CloneVMTemplateFromVMBadRequest) GetPayload() *models.ErrorBody
type CloneVMTemplateFromVMInternalServerError ¶
type CloneVMTemplateFromVMInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
CloneVMTemplateFromVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCloneVMTemplateFromVMInternalServerError ¶
func NewCloneVMTemplateFromVMInternalServerError() *CloneVMTemplateFromVMInternalServerError
NewCloneVMTemplateFromVMInternalServerError creates a CloneVMTemplateFromVMInternalServerError with default headers values
func (*CloneVMTemplateFromVMInternalServerError) Error ¶
func (o *CloneVMTemplateFromVMInternalServerError) Error() string
func (*CloneVMTemplateFromVMInternalServerError) GetPayload ¶
func (o *CloneVMTemplateFromVMInternalServerError) GetPayload() *models.ErrorBody
type CloneVMTemplateFromVMNotFound ¶
CloneVMTemplateFromVMNotFound describes a response with status code 404, with default header values.
Not found
func NewCloneVMTemplateFromVMNotFound ¶
func NewCloneVMTemplateFromVMNotFound() *CloneVMTemplateFromVMNotFound
NewCloneVMTemplateFromVMNotFound creates a CloneVMTemplateFromVMNotFound with default headers values
func (*CloneVMTemplateFromVMNotFound) Error ¶
func (o *CloneVMTemplateFromVMNotFound) Error() string
func (*CloneVMTemplateFromVMNotFound) GetPayload ¶
func (o *CloneVMTemplateFromVMNotFound) GetPayload() *models.ErrorBody
type CloneVMTemplateFromVMOK ¶
type CloneVMTemplateFromVMOK struct { XTowerRequestID string Payload []*models.WithTaskVMTemplate }
CloneVMTemplateFromVMOK describes a response with status code 200, with default header values.
CloneVMTemplateFromVMOK clone Vm template from Vm o k
func NewCloneVMTemplateFromVMOK ¶
func NewCloneVMTemplateFromVMOK() *CloneVMTemplateFromVMOK
NewCloneVMTemplateFromVMOK creates a CloneVMTemplateFromVMOK with default headers values
func (*CloneVMTemplateFromVMOK) Error ¶
func (o *CloneVMTemplateFromVMOK) Error() string
func (*CloneVMTemplateFromVMOK) GetPayload ¶
func (o *CloneVMTemplateFromVMOK) GetPayload() []*models.WithTaskVMTemplate
type CloneVMTemplateFromVMParams ¶
type CloneVMTemplateFromVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.VMTemplateCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CloneVMTemplateFromVMParams contains all the parameters to send to the API endpoint
for the clone Vm template from Vm operation. Typically these are written to a http.Request.
func NewCloneVMTemplateFromVMParams ¶
func NewCloneVMTemplateFromVMParams() *CloneVMTemplateFromVMParams
NewCloneVMTemplateFromVMParams creates a new CloneVMTemplateFromVMParams 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 NewCloneVMTemplateFromVMParamsWithContext ¶
func NewCloneVMTemplateFromVMParamsWithContext(ctx context.Context) *CloneVMTemplateFromVMParams
NewCloneVMTemplateFromVMParamsWithContext creates a new CloneVMTemplateFromVMParams object with the ability to set a context for a request.
func NewCloneVMTemplateFromVMParamsWithHTTPClient ¶
func NewCloneVMTemplateFromVMParamsWithHTTPClient(client *http.Client) *CloneVMTemplateFromVMParams
NewCloneVMTemplateFromVMParamsWithHTTPClient creates a new CloneVMTemplateFromVMParams object with the ability to set a custom HTTPClient for a request.
func NewCloneVMTemplateFromVMParamsWithTimeout ¶
func NewCloneVMTemplateFromVMParamsWithTimeout(timeout time.Duration) *CloneVMTemplateFromVMParams
NewCloneVMTemplateFromVMParamsWithTimeout creates a new CloneVMTemplateFromVMParams object with the ability to set a timeout on a request.
func (*CloneVMTemplateFromVMParams) SetContentLanguage ¶
func (o *CloneVMTemplateFromVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the clone Vm template from Vm params
func (*CloneVMTemplateFromVMParams) SetContext ¶
func (o *CloneVMTemplateFromVMParams) SetContext(ctx context.Context)
SetContext adds the context to the clone Vm template from Vm params
func (*CloneVMTemplateFromVMParams) SetDefaults ¶
func (o *CloneVMTemplateFromVMParams) SetDefaults()
SetDefaults hydrates default values in the clone Vm template from Vm params (not the query body).
All values with no default are reset to their zero value.
func (*CloneVMTemplateFromVMParams) SetHTTPClient ¶
func (o *CloneVMTemplateFromVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the clone Vm template from Vm params
func (*CloneVMTemplateFromVMParams) SetRequestBody ¶
func (o *CloneVMTemplateFromVMParams) SetRequestBody(requestBody []*models.VMTemplateCreationParams)
SetRequestBody adds the requestBody to the clone Vm template from Vm params
func (*CloneVMTemplateFromVMParams) SetTimeout ¶
func (o *CloneVMTemplateFromVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the clone Vm template from Vm params
func (*CloneVMTemplateFromVMParams) WithContentLanguage ¶
func (o *CloneVMTemplateFromVMParams) WithContentLanguage(contentLanguage *string) *CloneVMTemplateFromVMParams
WithContentLanguage adds the contentLanguage to the clone Vm template from Vm params
func (*CloneVMTemplateFromVMParams) WithContext ¶
func (o *CloneVMTemplateFromVMParams) WithContext(ctx context.Context) *CloneVMTemplateFromVMParams
WithContext adds the context to the clone Vm template from Vm params
func (*CloneVMTemplateFromVMParams) WithDefaults ¶
func (o *CloneVMTemplateFromVMParams) WithDefaults() *CloneVMTemplateFromVMParams
WithDefaults hydrates default values in the clone Vm template from Vm params (not the query body).
All values with no default are reset to their zero value.
func (*CloneVMTemplateFromVMParams) WithHTTPClient ¶
func (o *CloneVMTemplateFromVMParams) WithHTTPClient(client *http.Client) *CloneVMTemplateFromVMParams
WithHTTPClient adds the HTTPClient to the clone Vm template from Vm params
func (*CloneVMTemplateFromVMParams) WithRequestBody ¶
func (o *CloneVMTemplateFromVMParams) WithRequestBody(requestBody []*models.VMTemplateCreationParams) *CloneVMTemplateFromVMParams
WithRequestBody adds the requestBody to the clone Vm template from Vm params
func (*CloneVMTemplateFromVMParams) WithTimeout ¶
func (o *CloneVMTemplateFromVMParams) WithTimeout(timeout time.Duration) *CloneVMTemplateFromVMParams
WithTimeout adds the timeout to the clone Vm template from Vm params
func (*CloneVMTemplateFromVMParams) WriteToRequest ¶
func (o *CloneVMTemplateFromVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CloneVMTemplateFromVMReader ¶
type CloneVMTemplateFromVMReader struct {
// contains filtered or unexported fields
}
CloneVMTemplateFromVMReader is a Reader for the CloneVMTemplateFromVM structure.
func (*CloneVMTemplateFromVMReader) ReadResponse ¶
func (o *CloneVMTemplateFromVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ConvertVMTemplateFromVMBadRequest ¶
ConvertVMTemplateFromVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewConvertVMTemplateFromVMBadRequest ¶
func NewConvertVMTemplateFromVMBadRequest() *ConvertVMTemplateFromVMBadRequest
NewConvertVMTemplateFromVMBadRequest creates a ConvertVMTemplateFromVMBadRequest with default headers values
func (*ConvertVMTemplateFromVMBadRequest) Error ¶
func (o *ConvertVMTemplateFromVMBadRequest) Error() string
func (*ConvertVMTemplateFromVMBadRequest) GetPayload ¶
func (o *ConvertVMTemplateFromVMBadRequest) GetPayload() *models.ErrorBody
type ConvertVMTemplateFromVMInternalServerError ¶
type ConvertVMTemplateFromVMInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
ConvertVMTemplateFromVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewConvertVMTemplateFromVMInternalServerError ¶
func NewConvertVMTemplateFromVMInternalServerError() *ConvertVMTemplateFromVMInternalServerError
NewConvertVMTemplateFromVMInternalServerError creates a ConvertVMTemplateFromVMInternalServerError with default headers values
func (*ConvertVMTemplateFromVMInternalServerError) Error ¶
func (o *ConvertVMTemplateFromVMInternalServerError) Error() string
func (*ConvertVMTemplateFromVMInternalServerError) GetPayload ¶
func (o *ConvertVMTemplateFromVMInternalServerError) GetPayload() *models.ErrorBody
type ConvertVMTemplateFromVMNotFound ¶
ConvertVMTemplateFromVMNotFound describes a response with status code 404, with default header values.
Not found
func NewConvertVMTemplateFromVMNotFound ¶
func NewConvertVMTemplateFromVMNotFound() *ConvertVMTemplateFromVMNotFound
NewConvertVMTemplateFromVMNotFound creates a ConvertVMTemplateFromVMNotFound with default headers values
func (*ConvertVMTemplateFromVMNotFound) Error ¶
func (o *ConvertVMTemplateFromVMNotFound) Error() string
func (*ConvertVMTemplateFromVMNotFound) GetPayload ¶
func (o *ConvertVMTemplateFromVMNotFound) GetPayload() *models.ErrorBody
type ConvertVMTemplateFromVMOK ¶
type ConvertVMTemplateFromVMOK struct { XTowerRequestID string Payload []*models.WithTaskVMTemplate }
ConvertVMTemplateFromVMOK describes a response with status code 200, with default header values.
ConvertVMTemplateFromVMOK convert Vm template from Vm o k
func NewConvertVMTemplateFromVMOK ¶
func NewConvertVMTemplateFromVMOK() *ConvertVMTemplateFromVMOK
NewConvertVMTemplateFromVMOK creates a ConvertVMTemplateFromVMOK with default headers values
func (*ConvertVMTemplateFromVMOK) Error ¶
func (o *ConvertVMTemplateFromVMOK) Error() string
func (*ConvertVMTemplateFromVMOK) GetPayload ¶
func (o *ConvertVMTemplateFromVMOK) GetPayload() []*models.WithTaskVMTemplate
type ConvertVMTemplateFromVMParams ¶
type ConvertVMTemplateFromVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.VMTemplateCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ConvertVMTemplateFromVMParams contains all the parameters to send to the API endpoint
for the convert Vm template from Vm operation. Typically these are written to a http.Request.
func NewConvertVMTemplateFromVMParams ¶
func NewConvertVMTemplateFromVMParams() *ConvertVMTemplateFromVMParams
NewConvertVMTemplateFromVMParams creates a new ConvertVMTemplateFromVMParams 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 NewConvertVMTemplateFromVMParamsWithContext ¶
func NewConvertVMTemplateFromVMParamsWithContext(ctx context.Context) *ConvertVMTemplateFromVMParams
NewConvertVMTemplateFromVMParamsWithContext creates a new ConvertVMTemplateFromVMParams object with the ability to set a context for a request.
func NewConvertVMTemplateFromVMParamsWithHTTPClient ¶
func NewConvertVMTemplateFromVMParamsWithHTTPClient(client *http.Client) *ConvertVMTemplateFromVMParams
NewConvertVMTemplateFromVMParamsWithHTTPClient creates a new ConvertVMTemplateFromVMParams object with the ability to set a custom HTTPClient for a request.
func NewConvertVMTemplateFromVMParamsWithTimeout ¶
func NewConvertVMTemplateFromVMParamsWithTimeout(timeout time.Duration) *ConvertVMTemplateFromVMParams
NewConvertVMTemplateFromVMParamsWithTimeout creates a new ConvertVMTemplateFromVMParams object with the ability to set a timeout on a request.
func (*ConvertVMTemplateFromVMParams) SetContentLanguage ¶
func (o *ConvertVMTemplateFromVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the convert Vm template from Vm params
func (*ConvertVMTemplateFromVMParams) SetContext ¶
func (o *ConvertVMTemplateFromVMParams) SetContext(ctx context.Context)
SetContext adds the context to the convert Vm template from Vm params
func (*ConvertVMTemplateFromVMParams) SetDefaults ¶
func (o *ConvertVMTemplateFromVMParams) SetDefaults()
SetDefaults hydrates default values in the convert Vm template from Vm params (not the query body).
All values with no default are reset to their zero value.
func (*ConvertVMTemplateFromVMParams) SetHTTPClient ¶
func (o *ConvertVMTemplateFromVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the convert Vm template from Vm params
func (*ConvertVMTemplateFromVMParams) SetRequestBody ¶
func (o *ConvertVMTemplateFromVMParams) SetRequestBody(requestBody []*models.VMTemplateCreationParams)
SetRequestBody adds the requestBody to the convert Vm template from Vm params
func (*ConvertVMTemplateFromVMParams) SetTimeout ¶
func (o *ConvertVMTemplateFromVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the convert Vm template from Vm params
func (*ConvertVMTemplateFromVMParams) WithContentLanguage ¶
func (o *ConvertVMTemplateFromVMParams) WithContentLanguage(contentLanguage *string) *ConvertVMTemplateFromVMParams
WithContentLanguage adds the contentLanguage to the convert Vm template from Vm params
func (*ConvertVMTemplateFromVMParams) WithContext ¶
func (o *ConvertVMTemplateFromVMParams) WithContext(ctx context.Context) *ConvertVMTemplateFromVMParams
WithContext adds the context to the convert Vm template from Vm params
func (*ConvertVMTemplateFromVMParams) WithDefaults ¶
func (o *ConvertVMTemplateFromVMParams) WithDefaults() *ConvertVMTemplateFromVMParams
WithDefaults hydrates default values in the convert Vm template from Vm params (not the query body).
All values with no default are reset to their zero value.
func (*ConvertVMTemplateFromVMParams) WithHTTPClient ¶
func (o *ConvertVMTemplateFromVMParams) WithHTTPClient(client *http.Client) *ConvertVMTemplateFromVMParams
WithHTTPClient adds the HTTPClient to the convert Vm template from Vm params
func (*ConvertVMTemplateFromVMParams) WithRequestBody ¶
func (o *ConvertVMTemplateFromVMParams) WithRequestBody(requestBody []*models.VMTemplateCreationParams) *ConvertVMTemplateFromVMParams
WithRequestBody adds the requestBody to the convert Vm template from Vm params
func (*ConvertVMTemplateFromVMParams) WithTimeout ¶
func (o *ConvertVMTemplateFromVMParams) WithTimeout(timeout time.Duration) *ConvertVMTemplateFromVMParams
WithTimeout adds the timeout to the convert Vm template from Vm params
func (*ConvertVMTemplateFromVMParams) WriteToRequest ¶
func (o *ConvertVMTemplateFromVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConvertVMTemplateFromVMReader ¶
type ConvertVMTemplateFromVMReader struct {
// contains filtered or unexported fields
}
ConvertVMTemplateFromVMReader is a Reader for the ConvertVMTemplateFromVM structure.
func (*ConvertVMTemplateFromVMReader) ReadResponse ¶
func (o *ConvertVMTemplateFromVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteVMTemplateBadRequest ¶
DeleteVMTemplateBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteVMTemplateBadRequest ¶
func NewDeleteVMTemplateBadRequest() *DeleteVMTemplateBadRequest
NewDeleteVMTemplateBadRequest creates a DeleteVMTemplateBadRequest with default headers values
func (*DeleteVMTemplateBadRequest) Error ¶
func (o *DeleteVMTemplateBadRequest) Error() string
func (*DeleteVMTemplateBadRequest) GetPayload ¶
func (o *DeleteVMTemplateBadRequest) GetPayload() *models.ErrorBody
type DeleteVMTemplateInternalServerError ¶
type DeleteVMTemplateInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteVMTemplateInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteVMTemplateInternalServerError ¶
func NewDeleteVMTemplateInternalServerError() *DeleteVMTemplateInternalServerError
NewDeleteVMTemplateInternalServerError creates a DeleteVMTemplateInternalServerError with default headers values
func (*DeleteVMTemplateInternalServerError) Error ¶
func (o *DeleteVMTemplateInternalServerError) Error() string
func (*DeleteVMTemplateInternalServerError) GetPayload ¶
func (o *DeleteVMTemplateInternalServerError) GetPayload() *models.ErrorBody
type DeleteVMTemplateNotFound ¶
DeleteVMTemplateNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteVMTemplateNotFound ¶
func NewDeleteVMTemplateNotFound() *DeleteVMTemplateNotFound
NewDeleteVMTemplateNotFound creates a DeleteVMTemplateNotFound with default headers values
func (*DeleteVMTemplateNotFound) Error ¶
func (o *DeleteVMTemplateNotFound) Error() string
func (*DeleteVMTemplateNotFound) GetPayload ¶
func (o *DeleteVMTemplateNotFound) GetPayload() *models.ErrorBody
type DeleteVMTemplateOK ¶
type DeleteVMTemplateOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteVMTemplate }
DeleteVMTemplateOK describes a response with status code 200, with default header values.
DeleteVMTemplateOK delete Vm template o k
func NewDeleteVMTemplateOK ¶
func NewDeleteVMTemplateOK() *DeleteVMTemplateOK
NewDeleteVMTemplateOK creates a DeleteVMTemplateOK with default headers values
func (*DeleteVMTemplateOK) Error ¶
func (o *DeleteVMTemplateOK) Error() string
func (*DeleteVMTemplateOK) GetPayload ¶
func (o *DeleteVMTemplateOK) GetPayload() []*models.WithTaskDeleteVMTemplate
type DeleteVMTemplateParams ¶
type DeleteVMTemplateParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMTemplateDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteVMTemplateParams contains all the parameters to send to the API endpoint
for the delete Vm template operation. Typically these are written to a http.Request.
func NewDeleteVMTemplateParams ¶
func NewDeleteVMTemplateParams() *DeleteVMTemplateParams
NewDeleteVMTemplateParams creates a new DeleteVMTemplateParams 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 NewDeleteVMTemplateParamsWithContext ¶
func NewDeleteVMTemplateParamsWithContext(ctx context.Context) *DeleteVMTemplateParams
NewDeleteVMTemplateParamsWithContext creates a new DeleteVMTemplateParams object with the ability to set a context for a request.
func NewDeleteVMTemplateParamsWithHTTPClient ¶
func NewDeleteVMTemplateParamsWithHTTPClient(client *http.Client) *DeleteVMTemplateParams
NewDeleteVMTemplateParamsWithHTTPClient creates a new DeleteVMTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteVMTemplateParamsWithTimeout ¶
func NewDeleteVMTemplateParamsWithTimeout(timeout time.Duration) *DeleteVMTemplateParams
NewDeleteVMTemplateParamsWithTimeout creates a new DeleteVMTemplateParams object with the ability to set a timeout on a request.
func (*DeleteVMTemplateParams) SetContentLanguage ¶
func (o *DeleteVMTemplateParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete Vm template params
func (*DeleteVMTemplateParams) SetContext ¶
func (o *DeleteVMTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the delete Vm template params
func (*DeleteVMTemplateParams) SetDefaults ¶
func (o *DeleteVMTemplateParams) SetDefaults()
SetDefaults hydrates default values in the delete Vm template params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVMTemplateParams) SetHTTPClient ¶
func (o *DeleteVMTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete Vm template params
func (*DeleteVMTemplateParams) SetRequestBody ¶
func (o *DeleteVMTemplateParams) SetRequestBody(requestBody *models.VMTemplateDeletionParams)
SetRequestBody adds the requestBody to the delete Vm template params
func (*DeleteVMTemplateParams) SetTimeout ¶
func (o *DeleteVMTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete Vm template params
func (*DeleteVMTemplateParams) WithContentLanguage ¶
func (o *DeleteVMTemplateParams) WithContentLanguage(contentLanguage *string) *DeleteVMTemplateParams
WithContentLanguage adds the contentLanguage to the delete Vm template params
func (*DeleteVMTemplateParams) WithContext ¶
func (o *DeleteVMTemplateParams) WithContext(ctx context.Context) *DeleteVMTemplateParams
WithContext adds the context to the delete Vm template params
func (*DeleteVMTemplateParams) WithDefaults ¶
func (o *DeleteVMTemplateParams) WithDefaults() *DeleteVMTemplateParams
WithDefaults hydrates default values in the delete Vm template params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVMTemplateParams) WithHTTPClient ¶
func (o *DeleteVMTemplateParams) WithHTTPClient(client *http.Client) *DeleteVMTemplateParams
WithHTTPClient adds the HTTPClient to the delete Vm template params
func (*DeleteVMTemplateParams) WithRequestBody ¶
func (o *DeleteVMTemplateParams) WithRequestBody(requestBody *models.VMTemplateDeletionParams) *DeleteVMTemplateParams
WithRequestBody adds the requestBody to the delete Vm template params
func (*DeleteVMTemplateParams) WithTimeout ¶
func (o *DeleteVMTemplateParams) WithTimeout(timeout time.Duration) *DeleteVMTemplateParams
WithTimeout adds the timeout to the delete Vm template params
func (*DeleteVMTemplateParams) WriteToRequest ¶
func (o *DeleteVMTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteVMTemplateReader ¶
type DeleteVMTemplateReader struct {
// contains filtered or unexported fields
}
DeleteVMTemplateReader is a Reader for the DeleteVMTemplate structure.
func (*DeleteVMTemplateReader) ReadResponse ¶
func (o *DeleteVMTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVMTemplatesBadRequest ¶
GetVMTemplatesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetVMTemplatesBadRequest ¶
func NewGetVMTemplatesBadRequest() *GetVMTemplatesBadRequest
NewGetVMTemplatesBadRequest creates a GetVMTemplatesBadRequest with default headers values
func (*GetVMTemplatesBadRequest) Error ¶
func (o *GetVMTemplatesBadRequest) Error() string
func (*GetVMTemplatesBadRequest) GetPayload ¶
func (o *GetVMTemplatesBadRequest) GetPayload() *models.ErrorBody
type GetVMTemplatesConnectionBadRequest ¶
GetVMTemplatesConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetVMTemplatesConnectionBadRequest ¶
func NewGetVMTemplatesConnectionBadRequest() *GetVMTemplatesConnectionBadRequest
NewGetVMTemplatesConnectionBadRequest creates a GetVMTemplatesConnectionBadRequest with default headers values
func (*GetVMTemplatesConnectionBadRequest) Error ¶
func (o *GetVMTemplatesConnectionBadRequest) Error() string
func (*GetVMTemplatesConnectionBadRequest) GetPayload ¶
func (o *GetVMTemplatesConnectionBadRequest) GetPayload() *models.ErrorBody
type GetVMTemplatesConnectionInternalServerError ¶
type GetVMTemplatesConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetVMTemplatesConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetVMTemplatesConnectionInternalServerError ¶
func NewGetVMTemplatesConnectionInternalServerError() *GetVMTemplatesConnectionInternalServerError
NewGetVMTemplatesConnectionInternalServerError creates a GetVMTemplatesConnectionInternalServerError with default headers values
func (*GetVMTemplatesConnectionInternalServerError) Error ¶
func (o *GetVMTemplatesConnectionInternalServerError) Error() string
func (*GetVMTemplatesConnectionInternalServerError) GetPayload ¶
func (o *GetVMTemplatesConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetVMTemplatesConnectionNotFound ¶
GetVMTemplatesConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetVMTemplatesConnectionNotFound ¶
func NewGetVMTemplatesConnectionNotFound() *GetVMTemplatesConnectionNotFound
NewGetVMTemplatesConnectionNotFound creates a GetVMTemplatesConnectionNotFound with default headers values
func (*GetVMTemplatesConnectionNotFound) Error ¶
func (o *GetVMTemplatesConnectionNotFound) Error() string
func (*GetVMTemplatesConnectionNotFound) GetPayload ¶
func (o *GetVMTemplatesConnectionNotFound) GetPayload() *models.ErrorBody
type GetVMTemplatesConnectionOK ¶
type GetVMTemplatesConnectionOK struct { XTowerRequestID string Payload *models.VMTemplateConnection }
GetVMTemplatesConnectionOK describes a response with status code 200, with default header values.
GetVMTemplatesConnectionOK get Vm templates connection o k
func NewGetVMTemplatesConnectionOK ¶
func NewGetVMTemplatesConnectionOK() *GetVMTemplatesConnectionOK
NewGetVMTemplatesConnectionOK creates a GetVMTemplatesConnectionOK with default headers values
func (*GetVMTemplatesConnectionOK) Error ¶
func (o *GetVMTemplatesConnectionOK) Error() string
func (*GetVMTemplatesConnectionOK) GetPayload ¶
func (o *GetVMTemplatesConnectionOK) GetPayload() *models.VMTemplateConnection
type GetVMTemplatesConnectionParams ¶
type GetVMTemplatesConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVMTemplatesConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVMTemplatesConnectionParams contains all the parameters to send to the API endpoint
for the get Vm templates connection operation. Typically these are written to a http.Request.
func NewGetVMTemplatesConnectionParams ¶
func NewGetVMTemplatesConnectionParams() *GetVMTemplatesConnectionParams
NewGetVMTemplatesConnectionParams creates a new GetVMTemplatesConnectionParams 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 NewGetVMTemplatesConnectionParamsWithContext ¶
func NewGetVMTemplatesConnectionParamsWithContext(ctx context.Context) *GetVMTemplatesConnectionParams
NewGetVMTemplatesConnectionParamsWithContext creates a new GetVMTemplatesConnectionParams object with the ability to set a context for a request.
func NewGetVMTemplatesConnectionParamsWithHTTPClient ¶
func NewGetVMTemplatesConnectionParamsWithHTTPClient(client *http.Client) *GetVMTemplatesConnectionParams
NewGetVMTemplatesConnectionParamsWithHTTPClient creates a new GetVMTemplatesConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetVMTemplatesConnectionParamsWithTimeout ¶
func NewGetVMTemplatesConnectionParamsWithTimeout(timeout time.Duration) *GetVMTemplatesConnectionParams
NewGetVMTemplatesConnectionParamsWithTimeout creates a new GetVMTemplatesConnectionParams object with the ability to set a timeout on a request.
func (*GetVMTemplatesConnectionParams) SetContentLanguage ¶
func (o *GetVMTemplatesConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get Vm templates connection params
func (*GetVMTemplatesConnectionParams) SetContext ¶
func (o *GetVMTemplatesConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get Vm templates connection params
func (*GetVMTemplatesConnectionParams) SetDefaults ¶
func (o *GetVMTemplatesConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get Vm templates connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMTemplatesConnectionParams) SetHTTPClient ¶
func (o *GetVMTemplatesConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Vm templates connection params
func (*GetVMTemplatesConnectionParams) SetRequestBody ¶
func (o *GetVMTemplatesConnectionParams) SetRequestBody(requestBody *models.GetVMTemplatesConnectionRequestBody)
SetRequestBody adds the requestBody to the get Vm templates connection params
func (*GetVMTemplatesConnectionParams) SetTimeout ¶
func (o *GetVMTemplatesConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Vm templates connection params
func (*GetVMTemplatesConnectionParams) WithContentLanguage ¶
func (o *GetVMTemplatesConnectionParams) WithContentLanguage(contentLanguage *string) *GetVMTemplatesConnectionParams
WithContentLanguage adds the contentLanguage to the get Vm templates connection params
func (*GetVMTemplatesConnectionParams) WithContext ¶
func (o *GetVMTemplatesConnectionParams) WithContext(ctx context.Context) *GetVMTemplatesConnectionParams
WithContext adds the context to the get Vm templates connection params
func (*GetVMTemplatesConnectionParams) WithDefaults ¶
func (o *GetVMTemplatesConnectionParams) WithDefaults() *GetVMTemplatesConnectionParams
WithDefaults hydrates default values in the get Vm templates connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMTemplatesConnectionParams) WithHTTPClient ¶
func (o *GetVMTemplatesConnectionParams) WithHTTPClient(client *http.Client) *GetVMTemplatesConnectionParams
WithHTTPClient adds the HTTPClient to the get Vm templates connection params
func (*GetVMTemplatesConnectionParams) WithRequestBody ¶
func (o *GetVMTemplatesConnectionParams) WithRequestBody(requestBody *models.GetVMTemplatesConnectionRequestBody) *GetVMTemplatesConnectionParams
WithRequestBody adds the requestBody to the get Vm templates connection params
func (*GetVMTemplatesConnectionParams) WithTimeout ¶
func (o *GetVMTemplatesConnectionParams) WithTimeout(timeout time.Duration) *GetVMTemplatesConnectionParams
WithTimeout adds the timeout to the get Vm templates connection params
func (*GetVMTemplatesConnectionParams) WriteToRequest ¶
func (o *GetVMTemplatesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVMTemplatesConnectionReader ¶
type GetVMTemplatesConnectionReader struct {
// contains filtered or unexported fields
}
GetVMTemplatesConnectionReader is a Reader for the GetVMTemplatesConnection structure.
func (*GetVMTemplatesConnectionReader) ReadResponse ¶
func (o *GetVMTemplatesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVMTemplatesInternalServerError ¶
GetVMTemplatesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetVMTemplatesInternalServerError ¶
func NewGetVMTemplatesInternalServerError() *GetVMTemplatesInternalServerError
NewGetVMTemplatesInternalServerError creates a GetVMTemplatesInternalServerError with default headers values
func (*GetVMTemplatesInternalServerError) Error ¶
func (o *GetVMTemplatesInternalServerError) Error() string
func (*GetVMTemplatesInternalServerError) GetPayload ¶
func (o *GetVMTemplatesInternalServerError) GetPayload() *models.ErrorBody
type GetVMTemplatesNotFound ¶
GetVMTemplatesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetVMTemplatesNotFound ¶
func NewGetVMTemplatesNotFound() *GetVMTemplatesNotFound
NewGetVMTemplatesNotFound creates a GetVMTemplatesNotFound with default headers values
func (*GetVMTemplatesNotFound) Error ¶
func (o *GetVMTemplatesNotFound) Error() string
func (*GetVMTemplatesNotFound) GetPayload ¶
func (o *GetVMTemplatesNotFound) GetPayload() *models.ErrorBody
type GetVMTemplatesOK ¶
type GetVMTemplatesOK struct { XTowerRequestID string Payload []*models.VMTemplate }
GetVMTemplatesOK describes a response with status code 200, with default header values.
GetVMTemplatesOK get Vm templates o k
func NewGetVMTemplatesOK ¶
func NewGetVMTemplatesOK() *GetVMTemplatesOK
NewGetVMTemplatesOK creates a GetVMTemplatesOK with default headers values
func (*GetVMTemplatesOK) Error ¶
func (o *GetVMTemplatesOK) Error() string
func (*GetVMTemplatesOK) GetPayload ¶
func (o *GetVMTemplatesOK) GetPayload() []*models.VMTemplate
type GetVMTemplatesParams ¶
type GetVMTemplatesParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVMTemplatesRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVMTemplatesParams contains all the parameters to send to the API endpoint
for the get Vm templates operation. Typically these are written to a http.Request.
func NewGetVMTemplatesParams ¶
func NewGetVMTemplatesParams() *GetVMTemplatesParams
NewGetVMTemplatesParams creates a new GetVMTemplatesParams 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 NewGetVMTemplatesParamsWithContext ¶
func NewGetVMTemplatesParamsWithContext(ctx context.Context) *GetVMTemplatesParams
NewGetVMTemplatesParamsWithContext creates a new GetVMTemplatesParams object with the ability to set a context for a request.
func NewGetVMTemplatesParamsWithHTTPClient ¶
func NewGetVMTemplatesParamsWithHTTPClient(client *http.Client) *GetVMTemplatesParams
NewGetVMTemplatesParamsWithHTTPClient creates a new GetVMTemplatesParams object with the ability to set a custom HTTPClient for a request.
func NewGetVMTemplatesParamsWithTimeout ¶
func NewGetVMTemplatesParamsWithTimeout(timeout time.Duration) *GetVMTemplatesParams
NewGetVMTemplatesParamsWithTimeout creates a new GetVMTemplatesParams object with the ability to set a timeout on a request.
func (*GetVMTemplatesParams) SetContentLanguage ¶
func (o *GetVMTemplatesParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get Vm templates params
func (*GetVMTemplatesParams) SetContext ¶
func (o *GetVMTemplatesParams) SetContext(ctx context.Context)
SetContext adds the context to the get Vm templates params
func (*GetVMTemplatesParams) SetDefaults ¶
func (o *GetVMTemplatesParams) SetDefaults()
SetDefaults hydrates default values in the get Vm templates params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMTemplatesParams) SetHTTPClient ¶
func (o *GetVMTemplatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Vm templates params
func (*GetVMTemplatesParams) SetRequestBody ¶
func (o *GetVMTemplatesParams) SetRequestBody(requestBody *models.GetVMTemplatesRequestBody)
SetRequestBody adds the requestBody to the get Vm templates params
func (*GetVMTemplatesParams) SetTimeout ¶
func (o *GetVMTemplatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Vm templates params
func (*GetVMTemplatesParams) WithContentLanguage ¶
func (o *GetVMTemplatesParams) WithContentLanguage(contentLanguage *string) *GetVMTemplatesParams
WithContentLanguage adds the contentLanguage to the get Vm templates params
func (*GetVMTemplatesParams) WithContext ¶
func (o *GetVMTemplatesParams) WithContext(ctx context.Context) *GetVMTemplatesParams
WithContext adds the context to the get Vm templates params
func (*GetVMTemplatesParams) WithDefaults ¶
func (o *GetVMTemplatesParams) WithDefaults() *GetVMTemplatesParams
WithDefaults hydrates default values in the get Vm templates params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMTemplatesParams) WithHTTPClient ¶
func (o *GetVMTemplatesParams) WithHTTPClient(client *http.Client) *GetVMTemplatesParams
WithHTTPClient adds the HTTPClient to the get Vm templates params
func (*GetVMTemplatesParams) WithRequestBody ¶
func (o *GetVMTemplatesParams) WithRequestBody(requestBody *models.GetVMTemplatesRequestBody) *GetVMTemplatesParams
WithRequestBody adds the requestBody to the get Vm templates params
func (*GetVMTemplatesParams) WithTimeout ¶
func (o *GetVMTemplatesParams) WithTimeout(timeout time.Duration) *GetVMTemplatesParams
WithTimeout adds the timeout to the get Vm templates params
func (*GetVMTemplatesParams) WriteToRequest ¶
func (o *GetVMTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVMTemplatesReader ¶
type GetVMTemplatesReader struct {
// contains filtered or unexported fields
}
GetVMTemplatesReader is a Reader for the GetVMTemplates structure.
func (*GetVMTemplatesReader) ReadResponse ¶
func (o *GetVMTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVMTemplateBadRequest ¶
UpdateVMTemplateBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateVMTemplateBadRequest ¶
func NewUpdateVMTemplateBadRequest() *UpdateVMTemplateBadRequest
NewUpdateVMTemplateBadRequest creates a UpdateVMTemplateBadRequest with default headers values
func (*UpdateVMTemplateBadRequest) Error ¶
func (o *UpdateVMTemplateBadRequest) Error() string
func (*UpdateVMTemplateBadRequest) GetPayload ¶
func (o *UpdateVMTemplateBadRequest) GetPayload() *models.ErrorBody
type UpdateVMTemplateInternalServerError ¶
type UpdateVMTemplateInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateVMTemplateInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateVMTemplateInternalServerError ¶
func NewUpdateVMTemplateInternalServerError() *UpdateVMTemplateInternalServerError
NewUpdateVMTemplateInternalServerError creates a UpdateVMTemplateInternalServerError with default headers values
func (*UpdateVMTemplateInternalServerError) Error ¶
func (o *UpdateVMTemplateInternalServerError) Error() string
func (*UpdateVMTemplateInternalServerError) GetPayload ¶
func (o *UpdateVMTemplateInternalServerError) GetPayload() *models.ErrorBody
type UpdateVMTemplateNotFound ¶
UpdateVMTemplateNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateVMTemplateNotFound ¶
func NewUpdateVMTemplateNotFound() *UpdateVMTemplateNotFound
NewUpdateVMTemplateNotFound creates a UpdateVMTemplateNotFound with default headers values
func (*UpdateVMTemplateNotFound) Error ¶
func (o *UpdateVMTemplateNotFound) Error() string
func (*UpdateVMTemplateNotFound) GetPayload ¶
func (o *UpdateVMTemplateNotFound) GetPayload() *models.ErrorBody
type UpdateVMTemplateOK ¶
type UpdateVMTemplateOK struct { XTowerRequestID string Payload []*models.WithTaskVMTemplate }
UpdateVMTemplateOK describes a response with status code 200, with default header values.
UpdateVMTemplateOK update Vm template o k
func NewUpdateVMTemplateOK ¶
func NewUpdateVMTemplateOK() *UpdateVMTemplateOK
NewUpdateVMTemplateOK creates a UpdateVMTemplateOK with default headers values
func (*UpdateVMTemplateOK) Error ¶
func (o *UpdateVMTemplateOK) Error() string
func (*UpdateVMTemplateOK) GetPayload ¶
func (o *UpdateVMTemplateOK) GetPayload() []*models.WithTaskVMTemplate
type UpdateVMTemplateParams ¶
type UpdateVMTemplateParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMTemplateUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVMTemplateParams contains all the parameters to send to the API endpoint
for the update Vm template operation. Typically these are written to a http.Request.
func NewUpdateVMTemplateParams ¶
func NewUpdateVMTemplateParams() *UpdateVMTemplateParams
NewUpdateVMTemplateParams creates a new UpdateVMTemplateParams 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 NewUpdateVMTemplateParamsWithContext ¶
func NewUpdateVMTemplateParamsWithContext(ctx context.Context) *UpdateVMTemplateParams
NewUpdateVMTemplateParamsWithContext creates a new UpdateVMTemplateParams object with the ability to set a context for a request.
func NewUpdateVMTemplateParamsWithHTTPClient ¶
func NewUpdateVMTemplateParamsWithHTTPClient(client *http.Client) *UpdateVMTemplateParams
NewUpdateVMTemplateParamsWithHTTPClient creates a new UpdateVMTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVMTemplateParamsWithTimeout ¶
func NewUpdateVMTemplateParamsWithTimeout(timeout time.Duration) *UpdateVMTemplateParams
NewUpdateVMTemplateParamsWithTimeout creates a new UpdateVMTemplateParams object with the ability to set a timeout on a request.
func (*UpdateVMTemplateParams) SetContentLanguage ¶
func (o *UpdateVMTemplateParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update Vm template params
func (*UpdateVMTemplateParams) SetContext ¶
func (o *UpdateVMTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the update Vm template params
func (*UpdateVMTemplateParams) SetDefaults ¶
func (o *UpdateVMTemplateParams) SetDefaults()
SetDefaults hydrates default values in the update Vm template params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMTemplateParams) SetHTTPClient ¶
func (o *UpdateVMTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update Vm template params
func (*UpdateVMTemplateParams) SetRequestBody ¶
func (o *UpdateVMTemplateParams) SetRequestBody(requestBody *models.VMTemplateUpdationParams)
SetRequestBody adds the requestBody to the update Vm template params
func (*UpdateVMTemplateParams) SetTimeout ¶
func (o *UpdateVMTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update Vm template params
func (*UpdateVMTemplateParams) WithContentLanguage ¶
func (o *UpdateVMTemplateParams) WithContentLanguage(contentLanguage *string) *UpdateVMTemplateParams
WithContentLanguage adds the contentLanguage to the update Vm template params
func (*UpdateVMTemplateParams) WithContext ¶
func (o *UpdateVMTemplateParams) WithContext(ctx context.Context) *UpdateVMTemplateParams
WithContext adds the context to the update Vm template params
func (*UpdateVMTemplateParams) WithDefaults ¶
func (o *UpdateVMTemplateParams) WithDefaults() *UpdateVMTemplateParams
WithDefaults hydrates default values in the update Vm template params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMTemplateParams) WithHTTPClient ¶
func (o *UpdateVMTemplateParams) WithHTTPClient(client *http.Client) *UpdateVMTemplateParams
WithHTTPClient adds the HTTPClient to the update Vm template params
func (*UpdateVMTemplateParams) WithRequestBody ¶
func (o *UpdateVMTemplateParams) WithRequestBody(requestBody *models.VMTemplateUpdationParams) *UpdateVMTemplateParams
WithRequestBody adds the requestBody to the update Vm template params
func (*UpdateVMTemplateParams) WithTimeout ¶
func (o *UpdateVMTemplateParams) WithTimeout(timeout time.Duration) *UpdateVMTemplateParams
WithTimeout adds the timeout to the update Vm template params
func (*UpdateVMTemplateParams) WriteToRequest ¶
func (o *UpdateVMTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVMTemplateReader ¶
type UpdateVMTemplateReader struct {
// contains filtered or unexported fields
}
UpdateVMTemplateReader is a Reader for the UpdateVMTemplate structure.
func (*UpdateVMTemplateReader) ReadResponse ¶
func (o *UpdateVMTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- clone_vm_template_from_vm_parameters.go
- clone_vm_template_from_vm_responses.go
- convert_vm_template_from_vm_parameters.go
- convert_vm_template_from_vm_responses.go
- delete_vm_template_parameters.go
- delete_vm_template_responses.go
- get_vm_templates_connection_parameters.go
- get_vm_templates_connection_responses.go
- get_vm_templates_parameters.go
- get_vm_templates_responses.go
- update_vm_template_parameters.go
- update_vm_template_responses.go
- vm_template_client.go