Documentation ¶
Index ¶
- type Client
- func (a *Client) CloneContentLibraryVMTemplateFromVM(params *CloneContentLibraryVMTemplateFromVMParams, opts ...ClientOption) (*CloneContentLibraryVMTemplateFromVMOK, error)
- func (a *Client) ConvertContentLibraryVMTemplateFromVM(params *ConvertContentLibraryVMTemplateFromVMParams, opts ...ClientOption) (*ConvertContentLibraryVMTemplateFromVMOK, error)
- func (a *Client) DeleteContentLibraryVMTemplate(params *DeleteContentLibraryVMTemplateParams, opts ...ClientOption) (*DeleteContentLibraryVMTemplateOK, error)
- func (a *Client) DistributeContentLibraryVmtemplateClusters(params *DistributeContentLibraryVmtemplateClustersParams, opts ...ClientOption) (*DistributeContentLibraryVmtemplateClustersOK, error)
- func (a *Client) GetContentLibraryVMTemplates(params *GetContentLibraryVMTemplatesParams, opts ...ClientOption) (*GetContentLibraryVMTemplatesOK, error)
- func (a *Client) GetContentLibraryVMTemplatesConnection(params *GetContentLibraryVMTemplatesConnectionParams, opts ...ClientOption) (*GetContentLibraryVMTemplatesConnectionOK, error)
- func (a *Client) RemoveContentLibraryVMTemplateClusters(params *RemoveContentLibraryVMTemplateClustersParams, opts ...ClientOption) (*RemoveContentLibraryVMTemplateClustersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateContentLibraryVMTemplate(params *UpdateContentLibraryVMTemplateParams, opts ...ClientOption) (*UpdateContentLibraryVMTemplateOK, error)
- type ClientOption
- type ClientService
- type CloneContentLibraryVMTemplateFromVMBadRequest
- type CloneContentLibraryVMTemplateFromVMInternalServerError
- type CloneContentLibraryVMTemplateFromVMNotFound
- type CloneContentLibraryVMTemplateFromVMOK
- type CloneContentLibraryVMTemplateFromVMParams
- func NewCloneContentLibraryVMTemplateFromVMParams() *CloneContentLibraryVMTemplateFromVMParams
- func NewCloneContentLibraryVMTemplateFromVMParamsWithContext(ctx context.Context) *CloneContentLibraryVMTemplateFromVMParams
- func NewCloneContentLibraryVMTemplateFromVMParamsWithHTTPClient(client *http.Client) *CloneContentLibraryVMTemplateFromVMParams
- func NewCloneContentLibraryVMTemplateFromVMParamsWithTimeout(timeout time.Duration) *CloneContentLibraryVMTemplateFromVMParams
- func (o *CloneContentLibraryVMTemplateFromVMParams) SetContentLanguage(contentLanguage *string)
- func (o *CloneContentLibraryVMTemplateFromVMParams) SetContext(ctx context.Context)
- func (o *CloneContentLibraryVMTemplateFromVMParams) SetDefaults()
- func (o *CloneContentLibraryVMTemplateFromVMParams) SetHTTPClient(client *http.Client)
- func (o *CloneContentLibraryVMTemplateFromVMParams) SetRequestBody(requestBody []*models.ContentLibraryVMTemplateCreationParams)
- func (o *CloneContentLibraryVMTemplateFromVMParams) SetTimeout(timeout time.Duration)
- func (o *CloneContentLibraryVMTemplateFromVMParams) WithContentLanguage(contentLanguage *string) *CloneContentLibraryVMTemplateFromVMParams
- func (o *CloneContentLibraryVMTemplateFromVMParams) WithContext(ctx context.Context) *CloneContentLibraryVMTemplateFromVMParams
- func (o *CloneContentLibraryVMTemplateFromVMParams) WithDefaults() *CloneContentLibraryVMTemplateFromVMParams
- func (o *CloneContentLibraryVMTemplateFromVMParams) WithHTTPClient(client *http.Client) *CloneContentLibraryVMTemplateFromVMParams
- func (o *CloneContentLibraryVMTemplateFromVMParams) WithRequestBody(requestBody []*models.ContentLibraryVMTemplateCreationParams) *CloneContentLibraryVMTemplateFromVMParams
- func (o *CloneContentLibraryVMTemplateFromVMParams) WithTimeout(timeout time.Duration) *CloneContentLibraryVMTemplateFromVMParams
- func (o *CloneContentLibraryVMTemplateFromVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CloneContentLibraryVMTemplateFromVMReader
- type ConvertContentLibraryVMTemplateFromVMBadRequest
- type ConvertContentLibraryVMTemplateFromVMInternalServerError
- type ConvertContentLibraryVMTemplateFromVMNotFound
- type ConvertContentLibraryVMTemplateFromVMOK
- type ConvertContentLibraryVMTemplateFromVMParams
- func NewConvertContentLibraryVMTemplateFromVMParams() *ConvertContentLibraryVMTemplateFromVMParams
- func NewConvertContentLibraryVMTemplateFromVMParamsWithContext(ctx context.Context) *ConvertContentLibraryVMTemplateFromVMParams
- func NewConvertContentLibraryVMTemplateFromVMParamsWithHTTPClient(client *http.Client) *ConvertContentLibraryVMTemplateFromVMParams
- func NewConvertContentLibraryVMTemplateFromVMParamsWithTimeout(timeout time.Duration) *ConvertContentLibraryVMTemplateFromVMParams
- func (o *ConvertContentLibraryVMTemplateFromVMParams) SetContentLanguage(contentLanguage *string)
- func (o *ConvertContentLibraryVMTemplateFromVMParams) SetContext(ctx context.Context)
- func (o *ConvertContentLibraryVMTemplateFromVMParams) SetDefaults()
- func (o *ConvertContentLibraryVMTemplateFromVMParams) SetHTTPClient(client *http.Client)
- func (o *ConvertContentLibraryVMTemplateFromVMParams) SetRequestBody(requestBody []*models.ContentLibraryVMTemplateCreationParams)
- func (o *ConvertContentLibraryVMTemplateFromVMParams) SetTimeout(timeout time.Duration)
- func (o *ConvertContentLibraryVMTemplateFromVMParams) WithContentLanguage(contentLanguage *string) *ConvertContentLibraryVMTemplateFromVMParams
- func (o *ConvertContentLibraryVMTemplateFromVMParams) WithContext(ctx context.Context) *ConvertContentLibraryVMTemplateFromVMParams
- func (o *ConvertContentLibraryVMTemplateFromVMParams) WithDefaults() *ConvertContentLibraryVMTemplateFromVMParams
- func (o *ConvertContentLibraryVMTemplateFromVMParams) WithHTTPClient(client *http.Client) *ConvertContentLibraryVMTemplateFromVMParams
- func (o *ConvertContentLibraryVMTemplateFromVMParams) WithRequestBody(requestBody []*models.ContentLibraryVMTemplateCreationParams) *ConvertContentLibraryVMTemplateFromVMParams
- func (o *ConvertContentLibraryVMTemplateFromVMParams) WithTimeout(timeout time.Duration) *ConvertContentLibraryVMTemplateFromVMParams
- func (o *ConvertContentLibraryVMTemplateFromVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConvertContentLibraryVMTemplateFromVMReader
- type DeleteContentLibraryVMTemplateBadRequest
- type DeleteContentLibraryVMTemplateInternalServerError
- type DeleteContentLibraryVMTemplateNotFound
- type DeleteContentLibraryVMTemplateOK
- type DeleteContentLibraryVMTemplateParams
- func NewDeleteContentLibraryVMTemplateParams() *DeleteContentLibraryVMTemplateParams
- func NewDeleteContentLibraryVMTemplateParamsWithContext(ctx context.Context) *DeleteContentLibraryVMTemplateParams
- func NewDeleteContentLibraryVMTemplateParamsWithHTTPClient(client *http.Client) *DeleteContentLibraryVMTemplateParams
- func NewDeleteContentLibraryVMTemplateParamsWithTimeout(timeout time.Duration) *DeleteContentLibraryVMTemplateParams
- func (o *DeleteContentLibraryVMTemplateParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteContentLibraryVMTemplateParams) SetContext(ctx context.Context)
- func (o *DeleteContentLibraryVMTemplateParams) SetDefaults()
- func (o *DeleteContentLibraryVMTemplateParams) SetHTTPClient(client *http.Client)
- func (o *DeleteContentLibraryVMTemplateParams) SetRequestBody(requestBody *models.ContentLibraryVMTemplateDeletionParams)
- func (o *DeleteContentLibraryVMTemplateParams) SetTimeout(timeout time.Duration)
- func (o *DeleteContentLibraryVMTemplateParams) WithContentLanguage(contentLanguage *string) *DeleteContentLibraryVMTemplateParams
- func (o *DeleteContentLibraryVMTemplateParams) WithContext(ctx context.Context) *DeleteContentLibraryVMTemplateParams
- func (o *DeleteContentLibraryVMTemplateParams) WithDefaults() *DeleteContentLibraryVMTemplateParams
- func (o *DeleteContentLibraryVMTemplateParams) WithHTTPClient(client *http.Client) *DeleteContentLibraryVMTemplateParams
- func (o *DeleteContentLibraryVMTemplateParams) WithRequestBody(requestBody *models.ContentLibraryVMTemplateDeletionParams) *DeleteContentLibraryVMTemplateParams
- func (o *DeleteContentLibraryVMTemplateParams) WithTimeout(timeout time.Duration) *DeleteContentLibraryVMTemplateParams
- func (o *DeleteContentLibraryVMTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteContentLibraryVMTemplateReader
- type DistributeContentLibraryVmtemplateClustersBadRequest
- type DistributeContentLibraryVmtemplateClustersInternalServerError
- type DistributeContentLibraryVmtemplateClustersNotFound
- type DistributeContentLibraryVmtemplateClustersOK
- type DistributeContentLibraryVmtemplateClustersParams
- func NewDistributeContentLibraryVmtemplateClustersParams() *DistributeContentLibraryVmtemplateClustersParams
- func NewDistributeContentLibraryVmtemplateClustersParamsWithContext(ctx context.Context) *DistributeContentLibraryVmtemplateClustersParams
- func NewDistributeContentLibraryVmtemplateClustersParamsWithHTTPClient(client *http.Client) *DistributeContentLibraryVmtemplateClustersParams
- func NewDistributeContentLibraryVmtemplateClustersParamsWithTimeout(timeout time.Duration) *DistributeContentLibraryVmtemplateClustersParams
- func (o *DistributeContentLibraryVmtemplateClustersParams) SetContentLanguage(contentLanguage *string)
- func (o *DistributeContentLibraryVmtemplateClustersParams) SetContext(ctx context.Context)
- func (o *DistributeContentLibraryVmtemplateClustersParams) SetDefaults()
- func (o *DistributeContentLibraryVmtemplateClustersParams) SetHTTPClient(client *http.Client)
- func (o *DistributeContentLibraryVmtemplateClustersParams) SetRequestBody(requestBody *models.ContentLibraryVMTemplateUpdationClusterParams)
- func (o *DistributeContentLibraryVmtemplateClustersParams) SetTimeout(timeout time.Duration)
- func (o *DistributeContentLibraryVmtemplateClustersParams) WithContentLanguage(contentLanguage *string) *DistributeContentLibraryVmtemplateClustersParams
- func (o *DistributeContentLibraryVmtemplateClustersParams) WithContext(ctx context.Context) *DistributeContentLibraryVmtemplateClustersParams
- func (o *DistributeContentLibraryVmtemplateClustersParams) WithDefaults() *DistributeContentLibraryVmtemplateClustersParams
- func (o *DistributeContentLibraryVmtemplateClustersParams) WithHTTPClient(client *http.Client) *DistributeContentLibraryVmtemplateClustersParams
- func (o *DistributeContentLibraryVmtemplateClustersParams) WithRequestBody(requestBody *models.ContentLibraryVMTemplateUpdationClusterParams) *DistributeContentLibraryVmtemplateClustersParams
- func (o *DistributeContentLibraryVmtemplateClustersParams) WithTimeout(timeout time.Duration) *DistributeContentLibraryVmtemplateClustersParams
- func (o *DistributeContentLibraryVmtemplateClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DistributeContentLibraryVmtemplateClustersReader
- type GetContentLibraryVMTemplatesBadRequest
- type GetContentLibraryVMTemplatesConnectionBadRequest
- type GetContentLibraryVMTemplatesConnectionInternalServerError
- type GetContentLibraryVMTemplatesConnectionNotFound
- type GetContentLibraryVMTemplatesConnectionOK
- type GetContentLibraryVMTemplatesConnectionParams
- func NewGetContentLibraryVMTemplatesConnectionParams() *GetContentLibraryVMTemplatesConnectionParams
- func NewGetContentLibraryVMTemplatesConnectionParamsWithContext(ctx context.Context) *GetContentLibraryVMTemplatesConnectionParams
- func NewGetContentLibraryVMTemplatesConnectionParamsWithHTTPClient(client *http.Client) *GetContentLibraryVMTemplatesConnectionParams
- func NewGetContentLibraryVMTemplatesConnectionParamsWithTimeout(timeout time.Duration) *GetContentLibraryVMTemplatesConnectionParams
- func (o *GetContentLibraryVMTemplatesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetContentLibraryVMTemplatesConnectionParams) SetContext(ctx context.Context)
- func (o *GetContentLibraryVMTemplatesConnectionParams) SetDefaults()
- func (o *GetContentLibraryVMTemplatesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetContentLibraryVMTemplatesConnectionParams) SetRequestBody(requestBody *models.GetContentLibraryVMTemplatesConnectionRequestBody)
- func (o *GetContentLibraryVMTemplatesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetContentLibraryVMTemplatesConnectionParams) WithContentLanguage(contentLanguage *string) *GetContentLibraryVMTemplatesConnectionParams
- func (o *GetContentLibraryVMTemplatesConnectionParams) WithContext(ctx context.Context) *GetContentLibraryVMTemplatesConnectionParams
- func (o *GetContentLibraryVMTemplatesConnectionParams) WithDefaults() *GetContentLibraryVMTemplatesConnectionParams
- func (o *GetContentLibraryVMTemplatesConnectionParams) WithHTTPClient(client *http.Client) *GetContentLibraryVMTemplatesConnectionParams
- func (o *GetContentLibraryVMTemplatesConnectionParams) WithRequestBody(requestBody *models.GetContentLibraryVMTemplatesConnectionRequestBody) *GetContentLibraryVMTemplatesConnectionParams
- func (o *GetContentLibraryVMTemplatesConnectionParams) WithTimeout(timeout time.Duration) *GetContentLibraryVMTemplatesConnectionParams
- func (o *GetContentLibraryVMTemplatesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContentLibraryVMTemplatesConnectionReader
- type GetContentLibraryVMTemplatesInternalServerError
- type GetContentLibraryVMTemplatesNotFound
- type GetContentLibraryVMTemplatesOK
- type GetContentLibraryVMTemplatesParams
- func NewGetContentLibraryVMTemplatesParams() *GetContentLibraryVMTemplatesParams
- func NewGetContentLibraryVMTemplatesParamsWithContext(ctx context.Context) *GetContentLibraryVMTemplatesParams
- func NewGetContentLibraryVMTemplatesParamsWithHTTPClient(client *http.Client) *GetContentLibraryVMTemplatesParams
- func NewGetContentLibraryVMTemplatesParamsWithTimeout(timeout time.Duration) *GetContentLibraryVMTemplatesParams
- func (o *GetContentLibraryVMTemplatesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetContentLibraryVMTemplatesParams) SetContext(ctx context.Context)
- func (o *GetContentLibraryVMTemplatesParams) SetDefaults()
- func (o *GetContentLibraryVMTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *GetContentLibraryVMTemplatesParams) SetRequestBody(requestBody *models.GetContentLibraryVMTemplatesRequestBody)
- func (o *GetContentLibraryVMTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *GetContentLibraryVMTemplatesParams) WithContentLanguage(contentLanguage *string) *GetContentLibraryVMTemplatesParams
- func (o *GetContentLibraryVMTemplatesParams) WithContext(ctx context.Context) *GetContentLibraryVMTemplatesParams
- func (o *GetContentLibraryVMTemplatesParams) WithDefaults() *GetContentLibraryVMTemplatesParams
- func (o *GetContentLibraryVMTemplatesParams) WithHTTPClient(client *http.Client) *GetContentLibraryVMTemplatesParams
- func (o *GetContentLibraryVMTemplatesParams) WithRequestBody(requestBody *models.GetContentLibraryVMTemplatesRequestBody) *GetContentLibraryVMTemplatesParams
- func (o *GetContentLibraryVMTemplatesParams) WithTimeout(timeout time.Duration) *GetContentLibraryVMTemplatesParams
- func (o *GetContentLibraryVMTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContentLibraryVMTemplatesReader
- type RemoveContentLibraryVMTemplateClustersBadRequest
- type RemoveContentLibraryVMTemplateClustersInternalServerError
- type RemoveContentLibraryVMTemplateClustersNotFound
- type RemoveContentLibraryVMTemplateClustersOK
- type RemoveContentLibraryVMTemplateClustersParams
- func NewRemoveContentLibraryVMTemplateClustersParams() *RemoveContentLibraryVMTemplateClustersParams
- func NewRemoveContentLibraryVMTemplateClustersParamsWithContext(ctx context.Context) *RemoveContentLibraryVMTemplateClustersParams
- func NewRemoveContentLibraryVMTemplateClustersParamsWithHTTPClient(client *http.Client) *RemoveContentLibraryVMTemplateClustersParams
- func NewRemoveContentLibraryVMTemplateClustersParamsWithTimeout(timeout time.Duration) *RemoveContentLibraryVMTemplateClustersParams
- func (o *RemoveContentLibraryVMTemplateClustersParams) SetContentLanguage(contentLanguage *string)
- func (o *RemoveContentLibraryVMTemplateClustersParams) SetContext(ctx context.Context)
- func (o *RemoveContentLibraryVMTemplateClustersParams) SetDefaults()
- func (o *RemoveContentLibraryVMTemplateClustersParams) SetHTTPClient(client *http.Client)
- func (o *RemoveContentLibraryVMTemplateClustersParams) SetRequestBody(requestBody *models.ContentLibraryVMTemplateUpdationClusterParams)
- func (o *RemoveContentLibraryVMTemplateClustersParams) SetTimeout(timeout time.Duration)
- func (o *RemoveContentLibraryVMTemplateClustersParams) WithContentLanguage(contentLanguage *string) *RemoveContentLibraryVMTemplateClustersParams
- func (o *RemoveContentLibraryVMTemplateClustersParams) WithContext(ctx context.Context) *RemoveContentLibraryVMTemplateClustersParams
- func (o *RemoveContentLibraryVMTemplateClustersParams) WithDefaults() *RemoveContentLibraryVMTemplateClustersParams
- func (o *RemoveContentLibraryVMTemplateClustersParams) WithHTTPClient(client *http.Client) *RemoveContentLibraryVMTemplateClustersParams
- func (o *RemoveContentLibraryVMTemplateClustersParams) WithRequestBody(requestBody *models.ContentLibraryVMTemplateUpdationClusterParams) *RemoveContentLibraryVMTemplateClustersParams
- func (o *RemoveContentLibraryVMTemplateClustersParams) WithTimeout(timeout time.Duration) *RemoveContentLibraryVMTemplateClustersParams
- func (o *RemoveContentLibraryVMTemplateClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveContentLibraryVMTemplateClustersReader
- type UpdateContentLibraryVMTemplateBadRequest
- type UpdateContentLibraryVMTemplateInternalServerError
- type UpdateContentLibraryVMTemplateNotFound
- type UpdateContentLibraryVMTemplateOK
- type UpdateContentLibraryVMTemplateParams
- func NewUpdateContentLibraryVMTemplateParams() *UpdateContentLibraryVMTemplateParams
- func NewUpdateContentLibraryVMTemplateParamsWithContext(ctx context.Context) *UpdateContentLibraryVMTemplateParams
- func NewUpdateContentLibraryVMTemplateParamsWithHTTPClient(client *http.Client) *UpdateContentLibraryVMTemplateParams
- func NewUpdateContentLibraryVMTemplateParamsWithTimeout(timeout time.Duration) *UpdateContentLibraryVMTemplateParams
- func (o *UpdateContentLibraryVMTemplateParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateContentLibraryVMTemplateParams) SetContext(ctx context.Context)
- func (o *UpdateContentLibraryVMTemplateParams) SetDefaults()
- func (o *UpdateContentLibraryVMTemplateParams) SetHTTPClient(client *http.Client)
- func (o *UpdateContentLibraryVMTemplateParams) SetRequestBody(requestBody *models.ContentLibraryVMTemplateUpdationParams)
- func (o *UpdateContentLibraryVMTemplateParams) SetTimeout(timeout time.Duration)
- func (o *UpdateContentLibraryVMTemplateParams) WithContentLanguage(contentLanguage *string) *UpdateContentLibraryVMTemplateParams
- func (o *UpdateContentLibraryVMTemplateParams) WithContext(ctx context.Context) *UpdateContentLibraryVMTemplateParams
- func (o *UpdateContentLibraryVMTemplateParams) WithDefaults() *UpdateContentLibraryVMTemplateParams
- func (o *UpdateContentLibraryVMTemplateParams) WithHTTPClient(client *http.Client) *UpdateContentLibraryVMTemplateParams
- func (o *UpdateContentLibraryVMTemplateParams) WithRequestBody(requestBody *models.ContentLibraryVMTemplateUpdationParams) *UpdateContentLibraryVMTemplateParams
- func (o *UpdateContentLibraryVMTemplateParams) WithTimeout(timeout time.Duration) *UpdateContentLibraryVMTemplateParams
- func (o *UpdateContentLibraryVMTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateContentLibraryVMTemplateReader
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 content library vm template API
func (*Client) CloneContentLibraryVMTemplateFromVM ¶
func (a *Client) CloneContentLibraryVMTemplateFromVM(params *CloneContentLibraryVMTemplateFromVMParams, opts ...ClientOption) (*CloneContentLibraryVMTemplateFromVMOK, error)
CloneContentLibraryVMTemplateFromVM clone content library Vm template from Vm API
func (*Client) ConvertContentLibraryVMTemplateFromVM ¶
func (a *Client) ConvertContentLibraryVMTemplateFromVM(params *ConvertContentLibraryVMTemplateFromVMParams, opts ...ClientOption) (*ConvertContentLibraryVMTemplateFromVMOK, error)
ConvertContentLibraryVMTemplateFromVM convert content library Vm template from Vm API
func (*Client) DeleteContentLibraryVMTemplate ¶
func (a *Client) DeleteContentLibraryVMTemplate(params *DeleteContentLibraryVMTemplateParams, opts ...ClientOption) (*DeleteContentLibraryVMTemplateOK, error)
DeleteContentLibraryVMTemplate delete content library Vm template API
func (*Client) DistributeContentLibraryVmtemplateClusters ¶
func (a *Client) DistributeContentLibraryVmtemplateClusters(params *DistributeContentLibraryVmtemplateClustersParams, opts ...ClientOption) (*DistributeContentLibraryVmtemplateClustersOK, error)
DistributeContentLibraryVmtemplateClusters distribute content library vmtemplate clusters API
func (*Client) GetContentLibraryVMTemplates ¶
func (a *Client) GetContentLibraryVMTemplates(params *GetContentLibraryVMTemplatesParams, opts ...ClientOption) (*GetContentLibraryVMTemplatesOK, error)
GetContentLibraryVMTemplates get content library Vm templates API
func (*Client) GetContentLibraryVMTemplatesConnection ¶
func (a *Client) GetContentLibraryVMTemplatesConnection(params *GetContentLibraryVMTemplatesConnectionParams, opts ...ClientOption) (*GetContentLibraryVMTemplatesConnectionOK, error)
GetContentLibraryVMTemplatesConnection get content library Vm templates connection API
func (*Client) RemoveContentLibraryVMTemplateClusters ¶
func (a *Client) RemoveContentLibraryVMTemplateClusters(params *RemoveContentLibraryVMTemplateClustersParams, opts ...ClientOption) (*RemoveContentLibraryVMTemplateClustersOK, error)
RemoveContentLibraryVMTemplateClusters remove content library Vm template clusters API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateContentLibraryVMTemplate ¶
func (a *Client) UpdateContentLibraryVMTemplate(params *UpdateContentLibraryVMTemplateParams, opts ...ClientOption) (*UpdateContentLibraryVMTemplateOK, error)
UpdateContentLibraryVMTemplate update content library Vm template API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CloneContentLibraryVMTemplateFromVM(params *CloneContentLibraryVMTemplateFromVMParams, opts ...ClientOption) (*CloneContentLibraryVMTemplateFromVMOK, error) ConvertContentLibraryVMTemplateFromVM(params *ConvertContentLibraryVMTemplateFromVMParams, opts ...ClientOption) (*ConvertContentLibraryVMTemplateFromVMOK, error) DeleteContentLibraryVMTemplate(params *DeleteContentLibraryVMTemplateParams, opts ...ClientOption) (*DeleteContentLibraryVMTemplateOK, error) DistributeContentLibraryVmtemplateClusters(params *DistributeContentLibraryVmtemplateClustersParams, opts ...ClientOption) (*DistributeContentLibraryVmtemplateClustersOK, error) GetContentLibraryVMTemplates(params *GetContentLibraryVMTemplatesParams, opts ...ClientOption) (*GetContentLibraryVMTemplatesOK, error) GetContentLibraryVMTemplatesConnection(params *GetContentLibraryVMTemplatesConnectionParams, opts ...ClientOption) (*GetContentLibraryVMTemplatesConnectionOK, error) RemoveContentLibraryVMTemplateClusters(params *RemoveContentLibraryVMTemplateClustersParams, opts ...ClientOption) (*RemoveContentLibraryVMTemplateClustersOK, error) UpdateContentLibraryVMTemplate(params *UpdateContentLibraryVMTemplateParams, opts ...ClientOption) (*UpdateContentLibraryVMTemplateOK, 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 content library vm template API client.
type CloneContentLibraryVMTemplateFromVMBadRequest ¶
CloneContentLibraryVMTemplateFromVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCloneContentLibraryVMTemplateFromVMBadRequest ¶
func NewCloneContentLibraryVMTemplateFromVMBadRequest() *CloneContentLibraryVMTemplateFromVMBadRequest
NewCloneContentLibraryVMTemplateFromVMBadRequest creates a CloneContentLibraryVMTemplateFromVMBadRequest with default headers values
func (*CloneContentLibraryVMTemplateFromVMBadRequest) Error ¶
func (o *CloneContentLibraryVMTemplateFromVMBadRequest) Error() string
func (*CloneContentLibraryVMTemplateFromVMBadRequest) GetPayload ¶
func (o *CloneContentLibraryVMTemplateFromVMBadRequest) GetPayload() *models.ErrorBody
type CloneContentLibraryVMTemplateFromVMInternalServerError ¶
CloneContentLibraryVMTemplateFromVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCloneContentLibraryVMTemplateFromVMInternalServerError ¶
func NewCloneContentLibraryVMTemplateFromVMInternalServerError() *CloneContentLibraryVMTemplateFromVMInternalServerError
NewCloneContentLibraryVMTemplateFromVMInternalServerError creates a CloneContentLibraryVMTemplateFromVMInternalServerError with default headers values
func (*CloneContentLibraryVMTemplateFromVMInternalServerError) Error ¶
func (o *CloneContentLibraryVMTemplateFromVMInternalServerError) Error() string
func (*CloneContentLibraryVMTemplateFromVMInternalServerError) GetPayload ¶
func (o *CloneContentLibraryVMTemplateFromVMInternalServerError) GetPayload() *models.ErrorBody
type CloneContentLibraryVMTemplateFromVMNotFound ¶
CloneContentLibraryVMTemplateFromVMNotFound describes a response with status code 404, with default header values.
Not found
func NewCloneContentLibraryVMTemplateFromVMNotFound ¶
func NewCloneContentLibraryVMTemplateFromVMNotFound() *CloneContentLibraryVMTemplateFromVMNotFound
NewCloneContentLibraryVMTemplateFromVMNotFound creates a CloneContentLibraryVMTemplateFromVMNotFound with default headers values
func (*CloneContentLibraryVMTemplateFromVMNotFound) Error ¶
func (o *CloneContentLibraryVMTemplateFromVMNotFound) Error() string
func (*CloneContentLibraryVMTemplateFromVMNotFound) GetPayload ¶
func (o *CloneContentLibraryVMTemplateFromVMNotFound) GetPayload() *models.ErrorBody
type CloneContentLibraryVMTemplateFromVMOK ¶
type CloneContentLibraryVMTemplateFromVMOK struct {
Payload []*models.WithTaskContentLibraryVMTemplate
}
CloneContentLibraryVMTemplateFromVMOK describes a response with status code 200, with default header values.
Ok
func NewCloneContentLibraryVMTemplateFromVMOK ¶
func NewCloneContentLibraryVMTemplateFromVMOK() *CloneContentLibraryVMTemplateFromVMOK
NewCloneContentLibraryVMTemplateFromVMOK creates a CloneContentLibraryVMTemplateFromVMOK with default headers values
func (*CloneContentLibraryVMTemplateFromVMOK) Error ¶
func (o *CloneContentLibraryVMTemplateFromVMOK) Error() string
func (*CloneContentLibraryVMTemplateFromVMOK) GetPayload ¶
func (o *CloneContentLibraryVMTemplateFromVMOK) GetPayload() []*models.WithTaskContentLibraryVMTemplate
type CloneContentLibraryVMTemplateFromVMParams ¶
type CloneContentLibraryVMTemplateFromVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.ContentLibraryVMTemplateCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CloneContentLibraryVMTemplateFromVMParams contains all the parameters to send to the API endpoint
for the clone content library Vm template from Vm operation. Typically these are written to a http.Request.
func NewCloneContentLibraryVMTemplateFromVMParams ¶
func NewCloneContentLibraryVMTemplateFromVMParams() *CloneContentLibraryVMTemplateFromVMParams
NewCloneContentLibraryVMTemplateFromVMParams creates a new CloneContentLibraryVMTemplateFromVMParams 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 NewCloneContentLibraryVMTemplateFromVMParamsWithContext ¶
func NewCloneContentLibraryVMTemplateFromVMParamsWithContext(ctx context.Context) *CloneContentLibraryVMTemplateFromVMParams
NewCloneContentLibraryVMTemplateFromVMParamsWithContext creates a new CloneContentLibraryVMTemplateFromVMParams object with the ability to set a context for a request.
func NewCloneContentLibraryVMTemplateFromVMParamsWithHTTPClient ¶
func NewCloneContentLibraryVMTemplateFromVMParamsWithHTTPClient(client *http.Client) *CloneContentLibraryVMTemplateFromVMParams
NewCloneContentLibraryVMTemplateFromVMParamsWithHTTPClient creates a new CloneContentLibraryVMTemplateFromVMParams object with the ability to set a custom HTTPClient for a request.
func NewCloneContentLibraryVMTemplateFromVMParamsWithTimeout ¶
func NewCloneContentLibraryVMTemplateFromVMParamsWithTimeout(timeout time.Duration) *CloneContentLibraryVMTemplateFromVMParams
NewCloneContentLibraryVMTemplateFromVMParamsWithTimeout creates a new CloneContentLibraryVMTemplateFromVMParams object with the ability to set a timeout on a request.
func (*CloneContentLibraryVMTemplateFromVMParams) SetContentLanguage ¶
func (o *CloneContentLibraryVMTemplateFromVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the clone content library Vm template from Vm params
func (*CloneContentLibraryVMTemplateFromVMParams) SetContext ¶
func (o *CloneContentLibraryVMTemplateFromVMParams) SetContext(ctx context.Context)
SetContext adds the context to the clone content library Vm template from Vm params
func (*CloneContentLibraryVMTemplateFromVMParams) SetDefaults ¶
func (o *CloneContentLibraryVMTemplateFromVMParams) SetDefaults()
SetDefaults hydrates default values in the clone content library Vm template from Vm params (not the query body).
All values with no default are reset to their zero value.
func (*CloneContentLibraryVMTemplateFromVMParams) SetHTTPClient ¶
func (o *CloneContentLibraryVMTemplateFromVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the clone content library Vm template from Vm params
func (*CloneContentLibraryVMTemplateFromVMParams) SetRequestBody ¶
func (o *CloneContentLibraryVMTemplateFromVMParams) SetRequestBody(requestBody []*models.ContentLibraryVMTemplateCreationParams)
SetRequestBody adds the requestBody to the clone content library Vm template from Vm params
func (*CloneContentLibraryVMTemplateFromVMParams) SetTimeout ¶
func (o *CloneContentLibraryVMTemplateFromVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the clone content library Vm template from Vm params
func (*CloneContentLibraryVMTemplateFromVMParams) WithContentLanguage ¶
func (o *CloneContentLibraryVMTemplateFromVMParams) WithContentLanguage(contentLanguage *string) *CloneContentLibraryVMTemplateFromVMParams
WithContentLanguage adds the contentLanguage to the clone content library Vm template from Vm params
func (*CloneContentLibraryVMTemplateFromVMParams) WithContext ¶
func (o *CloneContentLibraryVMTemplateFromVMParams) WithContext(ctx context.Context) *CloneContentLibraryVMTemplateFromVMParams
WithContext adds the context to the clone content library Vm template from Vm params
func (*CloneContentLibraryVMTemplateFromVMParams) WithDefaults ¶
func (o *CloneContentLibraryVMTemplateFromVMParams) WithDefaults() *CloneContentLibraryVMTemplateFromVMParams
WithDefaults hydrates default values in the clone content library Vm template from Vm params (not the query body).
All values with no default are reset to their zero value.
func (*CloneContentLibraryVMTemplateFromVMParams) WithHTTPClient ¶
func (o *CloneContentLibraryVMTemplateFromVMParams) WithHTTPClient(client *http.Client) *CloneContentLibraryVMTemplateFromVMParams
WithHTTPClient adds the HTTPClient to the clone content library Vm template from Vm params
func (*CloneContentLibraryVMTemplateFromVMParams) WithRequestBody ¶
func (o *CloneContentLibraryVMTemplateFromVMParams) WithRequestBody(requestBody []*models.ContentLibraryVMTemplateCreationParams) *CloneContentLibraryVMTemplateFromVMParams
WithRequestBody adds the requestBody to the clone content library Vm template from Vm params
func (*CloneContentLibraryVMTemplateFromVMParams) WithTimeout ¶
func (o *CloneContentLibraryVMTemplateFromVMParams) WithTimeout(timeout time.Duration) *CloneContentLibraryVMTemplateFromVMParams
WithTimeout adds the timeout to the clone content library Vm template from Vm params
func (*CloneContentLibraryVMTemplateFromVMParams) WriteToRequest ¶
func (o *CloneContentLibraryVMTemplateFromVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CloneContentLibraryVMTemplateFromVMReader ¶
type CloneContentLibraryVMTemplateFromVMReader struct {
// contains filtered or unexported fields
}
CloneContentLibraryVMTemplateFromVMReader is a Reader for the CloneContentLibraryVMTemplateFromVM structure.
func (*CloneContentLibraryVMTemplateFromVMReader) ReadResponse ¶
func (o *CloneContentLibraryVMTemplateFromVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ConvertContentLibraryVMTemplateFromVMBadRequest ¶
ConvertContentLibraryVMTemplateFromVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewConvertContentLibraryVMTemplateFromVMBadRequest ¶
func NewConvertContentLibraryVMTemplateFromVMBadRequest() *ConvertContentLibraryVMTemplateFromVMBadRequest
NewConvertContentLibraryVMTemplateFromVMBadRequest creates a ConvertContentLibraryVMTemplateFromVMBadRequest with default headers values
func (*ConvertContentLibraryVMTemplateFromVMBadRequest) Error ¶
func (o *ConvertContentLibraryVMTemplateFromVMBadRequest) Error() string
func (*ConvertContentLibraryVMTemplateFromVMBadRequest) GetPayload ¶
func (o *ConvertContentLibraryVMTemplateFromVMBadRequest) GetPayload() *models.ErrorBody
type ConvertContentLibraryVMTemplateFromVMInternalServerError ¶
ConvertContentLibraryVMTemplateFromVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewConvertContentLibraryVMTemplateFromVMInternalServerError ¶
func NewConvertContentLibraryVMTemplateFromVMInternalServerError() *ConvertContentLibraryVMTemplateFromVMInternalServerError
NewConvertContentLibraryVMTemplateFromVMInternalServerError creates a ConvertContentLibraryVMTemplateFromVMInternalServerError with default headers values
func (*ConvertContentLibraryVMTemplateFromVMInternalServerError) Error ¶
func (o *ConvertContentLibraryVMTemplateFromVMInternalServerError) Error() string
func (*ConvertContentLibraryVMTemplateFromVMInternalServerError) GetPayload ¶
func (o *ConvertContentLibraryVMTemplateFromVMInternalServerError) GetPayload() *models.ErrorBody
type ConvertContentLibraryVMTemplateFromVMNotFound ¶
ConvertContentLibraryVMTemplateFromVMNotFound describes a response with status code 404, with default header values.
Not found
func NewConvertContentLibraryVMTemplateFromVMNotFound ¶
func NewConvertContentLibraryVMTemplateFromVMNotFound() *ConvertContentLibraryVMTemplateFromVMNotFound
NewConvertContentLibraryVMTemplateFromVMNotFound creates a ConvertContentLibraryVMTemplateFromVMNotFound with default headers values
func (*ConvertContentLibraryVMTemplateFromVMNotFound) Error ¶
func (o *ConvertContentLibraryVMTemplateFromVMNotFound) Error() string
func (*ConvertContentLibraryVMTemplateFromVMNotFound) GetPayload ¶
func (o *ConvertContentLibraryVMTemplateFromVMNotFound) GetPayload() *models.ErrorBody
type ConvertContentLibraryVMTemplateFromVMOK ¶
type ConvertContentLibraryVMTemplateFromVMOK struct {
Payload []*models.WithTaskContentLibraryVMTemplate
}
ConvertContentLibraryVMTemplateFromVMOK describes a response with status code 200, with default header values.
Ok
func NewConvertContentLibraryVMTemplateFromVMOK ¶
func NewConvertContentLibraryVMTemplateFromVMOK() *ConvertContentLibraryVMTemplateFromVMOK
NewConvertContentLibraryVMTemplateFromVMOK creates a ConvertContentLibraryVMTemplateFromVMOK with default headers values
func (*ConvertContentLibraryVMTemplateFromVMOK) Error ¶
func (o *ConvertContentLibraryVMTemplateFromVMOK) Error() string
func (*ConvertContentLibraryVMTemplateFromVMOK) GetPayload ¶
func (o *ConvertContentLibraryVMTemplateFromVMOK) GetPayload() []*models.WithTaskContentLibraryVMTemplate
type ConvertContentLibraryVMTemplateFromVMParams ¶
type ConvertContentLibraryVMTemplateFromVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.ContentLibraryVMTemplateCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ConvertContentLibraryVMTemplateFromVMParams contains all the parameters to send to the API endpoint
for the convert content library Vm template from Vm operation. Typically these are written to a http.Request.
func NewConvertContentLibraryVMTemplateFromVMParams ¶
func NewConvertContentLibraryVMTemplateFromVMParams() *ConvertContentLibraryVMTemplateFromVMParams
NewConvertContentLibraryVMTemplateFromVMParams creates a new ConvertContentLibraryVMTemplateFromVMParams 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 NewConvertContentLibraryVMTemplateFromVMParamsWithContext ¶
func NewConvertContentLibraryVMTemplateFromVMParamsWithContext(ctx context.Context) *ConvertContentLibraryVMTemplateFromVMParams
NewConvertContentLibraryVMTemplateFromVMParamsWithContext creates a new ConvertContentLibraryVMTemplateFromVMParams object with the ability to set a context for a request.
func NewConvertContentLibraryVMTemplateFromVMParamsWithHTTPClient ¶
func NewConvertContentLibraryVMTemplateFromVMParamsWithHTTPClient(client *http.Client) *ConvertContentLibraryVMTemplateFromVMParams
NewConvertContentLibraryVMTemplateFromVMParamsWithHTTPClient creates a new ConvertContentLibraryVMTemplateFromVMParams object with the ability to set a custom HTTPClient for a request.
func NewConvertContentLibraryVMTemplateFromVMParamsWithTimeout ¶
func NewConvertContentLibraryVMTemplateFromVMParamsWithTimeout(timeout time.Duration) *ConvertContentLibraryVMTemplateFromVMParams
NewConvertContentLibraryVMTemplateFromVMParamsWithTimeout creates a new ConvertContentLibraryVMTemplateFromVMParams object with the ability to set a timeout on a request.
func (*ConvertContentLibraryVMTemplateFromVMParams) SetContentLanguage ¶
func (o *ConvertContentLibraryVMTemplateFromVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the convert content library Vm template from Vm params
func (*ConvertContentLibraryVMTemplateFromVMParams) SetContext ¶
func (o *ConvertContentLibraryVMTemplateFromVMParams) SetContext(ctx context.Context)
SetContext adds the context to the convert content library Vm template from Vm params
func (*ConvertContentLibraryVMTemplateFromVMParams) SetDefaults ¶
func (o *ConvertContentLibraryVMTemplateFromVMParams) SetDefaults()
SetDefaults hydrates default values in the convert content library Vm template from Vm params (not the query body).
All values with no default are reset to their zero value.
func (*ConvertContentLibraryVMTemplateFromVMParams) SetHTTPClient ¶
func (o *ConvertContentLibraryVMTemplateFromVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the convert content library Vm template from Vm params
func (*ConvertContentLibraryVMTemplateFromVMParams) SetRequestBody ¶
func (o *ConvertContentLibraryVMTemplateFromVMParams) SetRequestBody(requestBody []*models.ContentLibraryVMTemplateCreationParams)
SetRequestBody adds the requestBody to the convert content library Vm template from Vm params
func (*ConvertContentLibraryVMTemplateFromVMParams) SetTimeout ¶
func (o *ConvertContentLibraryVMTemplateFromVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the convert content library Vm template from Vm params
func (*ConvertContentLibraryVMTemplateFromVMParams) WithContentLanguage ¶
func (o *ConvertContentLibraryVMTemplateFromVMParams) WithContentLanguage(contentLanguage *string) *ConvertContentLibraryVMTemplateFromVMParams
WithContentLanguage adds the contentLanguage to the convert content library Vm template from Vm params
func (*ConvertContentLibraryVMTemplateFromVMParams) WithContext ¶
func (o *ConvertContentLibraryVMTemplateFromVMParams) WithContext(ctx context.Context) *ConvertContentLibraryVMTemplateFromVMParams
WithContext adds the context to the convert content library Vm template from Vm params
func (*ConvertContentLibraryVMTemplateFromVMParams) WithDefaults ¶
func (o *ConvertContentLibraryVMTemplateFromVMParams) WithDefaults() *ConvertContentLibraryVMTemplateFromVMParams
WithDefaults hydrates default values in the convert content library Vm template from Vm params (not the query body).
All values with no default are reset to their zero value.
func (*ConvertContentLibraryVMTemplateFromVMParams) WithHTTPClient ¶
func (o *ConvertContentLibraryVMTemplateFromVMParams) WithHTTPClient(client *http.Client) *ConvertContentLibraryVMTemplateFromVMParams
WithHTTPClient adds the HTTPClient to the convert content library Vm template from Vm params
func (*ConvertContentLibraryVMTemplateFromVMParams) WithRequestBody ¶
func (o *ConvertContentLibraryVMTemplateFromVMParams) WithRequestBody(requestBody []*models.ContentLibraryVMTemplateCreationParams) *ConvertContentLibraryVMTemplateFromVMParams
WithRequestBody adds the requestBody to the convert content library Vm template from Vm params
func (*ConvertContentLibraryVMTemplateFromVMParams) WithTimeout ¶
func (o *ConvertContentLibraryVMTemplateFromVMParams) WithTimeout(timeout time.Duration) *ConvertContentLibraryVMTemplateFromVMParams
WithTimeout adds the timeout to the convert content library Vm template from Vm params
func (*ConvertContentLibraryVMTemplateFromVMParams) WriteToRequest ¶
func (o *ConvertContentLibraryVMTemplateFromVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConvertContentLibraryVMTemplateFromVMReader ¶
type ConvertContentLibraryVMTemplateFromVMReader struct {
// contains filtered or unexported fields
}
ConvertContentLibraryVMTemplateFromVMReader is a Reader for the ConvertContentLibraryVMTemplateFromVM structure.
func (*ConvertContentLibraryVMTemplateFromVMReader) ReadResponse ¶
func (o *ConvertContentLibraryVMTemplateFromVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteContentLibraryVMTemplateBadRequest ¶
DeleteContentLibraryVMTemplateBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteContentLibraryVMTemplateBadRequest ¶
func NewDeleteContentLibraryVMTemplateBadRequest() *DeleteContentLibraryVMTemplateBadRequest
NewDeleteContentLibraryVMTemplateBadRequest creates a DeleteContentLibraryVMTemplateBadRequest with default headers values
func (*DeleteContentLibraryVMTemplateBadRequest) Error ¶
func (o *DeleteContentLibraryVMTemplateBadRequest) Error() string
func (*DeleteContentLibraryVMTemplateBadRequest) GetPayload ¶
func (o *DeleteContentLibraryVMTemplateBadRequest) GetPayload() *models.ErrorBody
type DeleteContentLibraryVMTemplateInternalServerError ¶
DeleteContentLibraryVMTemplateInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteContentLibraryVMTemplateInternalServerError ¶
func NewDeleteContentLibraryVMTemplateInternalServerError() *DeleteContentLibraryVMTemplateInternalServerError
NewDeleteContentLibraryVMTemplateInternalServerError creates a DeleteContentLibraryVMTemplateInternalServerError with default headers values
func (*DeleteContentLibraryVMTemplateInternalServerError) Error ¶
func (o *DeleteContentLibraryVMTemplateInternalServerError) Error() string
func (*DeleteContentLibraryVMTemplateInternalServerError) GetPayload ¶
func (o *DeleteContentLibraryVMTemplateInternalServerError) GetPayload() *models.ErrorBody
type DeleteContentLibraryVMTemplateNotFound ¶
DeleteContentLibraryVMTemplateNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteContentLibraryVMTemplateNotFound ¶
func NewDeleteContentLibraryVMTemplateNotFound() *DeleteContentLibraryVMTemplateNotFound
NewDeleteContentLibraryVMTemplateNotFound creates a DeleteContentLibraryVMTemplateNotFound with default headers values
func (*DeleteContentLibraryVMTemplateNotFound) Error ¶
func (o *DeleteContentLibraryVMTemplateNotFound) Error() string
func (*DeleteContentLibraryVMTemplateNotFound) GetPayload ¶
func (o *DeleteContentLibraryVMTemplateNotFound) GetPayload() *models.ErrorBody
type DeleteContentLibraryVMTemplateOK ¶
type DeleteContentLibraryVMTemplateOK struct {
Payload []*models.WithTaskDeleteContentLibraryVMTemplate
}
DeleteContentLibraryVMTemplateOK describes a response with status code 200, with default header values.
Ok
func NewDeleteContentLibraryVMTemplateOK ¶
func NewDeleteContentLibraryVMTemplateOK() *DeleteContentLibraryVMTemplateOK
NewDeleteContentLibraryVMTemplateOK creates a DeleteContentLibraryVMTemplateOK with default headers values
func (*DeleteContentLibraryVMTemplateOK) Error ¶
func (o *DeleteContentLibraryVMTemplateOK) Error() string
func (*DeleteContentLibraryVMTemplateOK) GetPayload ¶
func (o *DeleteContentLibraryVMTemplateOK) GetPayload() []*models.WithTaskDeleteContentLibraryVMTemplate
type DeleteContentLibraryVMTemplateParams ¶
type DeleteContentLibraryVMTemplateParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ContentLibraryVMTemplateDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteContentLibraryVMTemplateParams contains all the parameters to send to the API endpoint
for the delete content library Vm template operation. Typically these are written to a http.Request.
func NewDeleteContentLibraryVMTemplateParams ¶
func NewDeleteContentLibraryVMTemplateParams() *DeleteContentLibraryVMTemplateParams
NewDeleteContentLibraryVMTemplateParams creates a new DeleteContentLibraryVMTemplateParams 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 NewDeleteContentLibraryVMTemplateParamsWithContext ¶
func NewDeleteContentLibraryVMTemplateParamsWithContext(ctx context.Context) *DeleteContentLibraryVMTemplateParams
NewDeleteContentLibraryVMTemplateParamsWithContext creates a new DeleteContentLibraryVMTemplateParams object with the ability to set a context for a request.
func NewDeleteContentLibraryVMTemplateParamsWithHTTPClient ¶
func NewDeleteContentLibraryVMTemplateParamsWithHTTPClient(client *http.Client) *DeleteContentLibraryVMTemplateParams
NewDeleteContentLibraryVMTemplateParamsWithHTTPClient creates a new DeleteContentLibraryVMTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteContentLibraryVMTemplateParamsWithTimeout ¶
func NewDeleteContentLibraryVMTemplateParamsWithTimeout(timeout time.Duration) *DeleteContentLibraryVMTemplateParams
NewDeleteContentLibraryVMTemplateParamsWithTimeout creates a new DeleteContentLibraryVMTemplateParams object with the ability to set a timeout on a request.
func (*DeleteContentLibraryVMTemplateParams) SetContentLanguage ¶
func (o *DeleteContentLibraryVMTemplateParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete content library Vm template params
func (*DeleteContentLibraryVMTemplateParams) SetContext ¶
func (o *DeleteContentLibraryVMTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the delete content library Vm template params
func (*DeleteContentLibraryVMTemplateParams) SetDefaults ¶
func (o *DeleteContentLibraryVMTemplateParams) SetDefaults()
SetDefaults hydrates default values in the delete content library Vm template params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteContentLibraryVMTemplateParams) SetHTTPClient ¶
func (o *DeleteContentLibraryVMTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete content library Vm template params
func (*DeleteContentLibraryVMTemplateParams) SetRequestBody ¶
func (o *DeleteContentLibraryVMTemplateParams) SetRequestBody(requestBody *models.ContentLibraryVMTemplateDeletionParams)
SetRequestBody adds the requestBody to the delete content library Vm template params
func (*DeleteContentLibraryVMTemplateParams) SetTimeout ¶
func (o *DeleteContentLibraryVMTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete content library Vm template params
func (*DeleteContentLibraryVMTemplateParams) WithContentLanguage ¶
func (o *DeleteContentLibraryVMTemplateParams) WithContentLanguage(contentLanguage *string) *DeleteContentLibraryVMTemplateParams
WithContentLanguage adds the contentLanguage to the delete content library Vm template params
func (*DeleteContentLibraryVMTemplateParams) WithContext ¶
func (o *DeleteContentLibraryVMTemplateParams) WithContext(ctx context.Context) *DeleteContentLibraryVMTemplateParams
WithContext adds the context to the delete content library Vm template params
func (*DeleteContentLibraryVMTemplateParams) WithDefaults ¶
func (o *DeleteContentLibraryVMTemplateParams) WithDefaults() *DeleteContentLibraryVMTemplateParams
WithDefaults hydrates default values in the delete content library Vm template params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteContentLibraryVMTemplateParams) WithHTTPClient ¶
func (o *DeleteContentLibraryVMTemplateParams) WithHTTPClient(client *http.Client) *DeleteContentLibraryVMTemplateParams
WithHTTPClient adds the HTTPClient to the delete content library Vm template params
func (*DeleteContentLibraryVMTemplateParams) WithRequestBody ¶
func (o *DeleteContentLibraryVMTemplateParams) WithRequestBody(requestBody *models.ContentLibraryVMTemplateDeletionParams) *DeleteContentLibraryVMTemplateParams
WithRequestBody adds the requestBody to the delete content library Vm template params
func (*DeleteContentLibraryVMTemplateParams) WithTimeout ¶
func (o *DeleteContentLibraryVMTemplateParams) WithTimeout(timeout time.Duration) *DeleteContentLibraryVMTemplateParams
WithTimeout adds the timeout to the delete content library Vm template params
func (*DeleteContentLibraryVMTemplateParams) WriteToRequest ¶
func (o *DeleteContentLibraryVMTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteContentLibraryVMTemplateReader ¶
type DeleteContentLibraryVMTemplateReader struct {
// contains filtered or unexported fields
}
DeleteContentLibraryVMTemplateReader is a Reader for the DeleteContentLibraryVMTemplate structure.
func (*DeleteContentLibraryVMTemplateReader) ReadResponse ¶
func (o *DeleteContentLibraryVMTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DistributeContentLibraryVmtemplateClustersBadRequest ¶
DistributeContentLibraryVmtemplateClustersBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDistributeContentLibraryVmtemplateClustersBadRequest ¶
func NewDistributeContentLibraryVmtemplateClustersBadRequest() *DistributeContentLibraryVmtemplateClustersBadRequest
NewDistributeContentLibraryVmtemplateClustersBadRequest creates a DistributeContentLibraryVmtemplateClustersBadRequest with default headers values
func (*DistributeContentLibraryVmtemplateClustersBadRequest) Error ¶
func (o *DistributeContentLibraryVmtemplateClustersBadRequest) Error() string
func (*DistributeContentLibraryVmtemplateClustersBadRequest) GetPayload ¶
func (o *DistributeContentLibraryVmtemplateClustersBadRequest) GetPayload() *models.ErrorBody
type DistributeContentLibraryVmtemplateClustersInternalServerError ¶
type DistributeContentLibraryVmtemplateClustersInternalServerError struct {
Payload *models.ErrorBody
}
DistributeContentLibraryVmtemplateClustersInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDistributeContentLibraryVmtemplateClustersInternalServerError ¶
func NewDistributeContentLibraryVmtemplateClustersInternalServerError() *DistributeContentLibraryVmtemplateClustersInternalServerError
NewDistributeContentLibraryVmtemplateClustersInternalServerError creates a DistributeContentLibraryVmtemplateClustersInternalServerError with default headers values
func (*DistributeContentLibraryVmtemplateClustersInternalServerError) Error ¶
func (o *DistributeContentLibraryVmtemplateClustersInternalServerError) Error() string
func (*DistributeContentLibraryVmtemplateClustersInternalServerError) GetPayload ¶
func (o *DistributeContentLibraryVmtemplateClustersInternalServerError) GetPayload() *models.ErrorBody
type DistributeContentLibraryVmtemplateClustersNotFound ¶
DistributeContentLibraryVmtemplateClustersNotFound describes a response with status code 404, with default header values.
Not found
func NewDistributeContentLibraryVmtemplateClustersNotFound ¶
func NewDistributeContentLibraryVmtemplateClustersNotFound() *DistributeContentLibraryVmtemplateClustersNotFound
NewDistributeContentLibraryVmtemplateClustersNotFound creates a DistributeContentLibraryVmtemplateClustersNotFound with default headers values
func (*DistributeContentLibraryVmtemplateClustersNotFound) Error ¶
func (o *DistributeContentLibraryVmtemplateClustersNotFound) Error() string
func (*DistributeContentLibraryVmtemplateClustersNotFound) GetPayload ¶
func (o *DistributeContentLibraryVmtemplateClustersNotFound) GetPayload() *models.ErrorBody
type DistributeContentLibraryVmtemplateClustersOK ¶
type DistributeContentLibraryVmtemplateClustersOK struct {
Payload []*models.WithTaskContentLibraryVMTemplate
}
DistributeContentLibraryVmtemplateClustersOK describes a response with status code 200, with default header values.
Ok
func NewDistributeContentLibraryVmtemplateClustersOK ¶
func NewDistributeContentLibraryVmtemplateClustersOK() *DistributeContentLibraryVmtemplateClustersOK
NewDistributeContentLibraryVmtemplateClustersOK creates a DistributeContentLibraryVmtemplateClustersOK with default headers values
func (*DistributeContentLibraryVmtemplateClustersOK) Error ¶
func (o *DistributeContentLibraryVmtemplateClustersOK) Error() string
func (*DistributeContentLibraryVmtemplateClustersOK) GetPayload ¶
func (o *DistributeContentLibraryVmtemplateClustersOK) GetPayload() []*models.WithTaskContentLibraryVMTemplate
type DistributeContentLibraryVmtemplateClustersParams ¶
type DistributeContentLibraryVmtemplateClustersParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ContentLibraryVMTemplateUpdationClusterParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DistributeContentLibraryVmtemplateClustersParams contains all the parameters to send to the API endpoint
for the distribute content library vmtemplate clusters operation. Typically these are written to a http.Request.
func NewDistributeContentLibraryVmtemplateClustersParams ¶
func NewDistributeContentLibraryVmtemplateClustersParams() *DistributeContentLibraryVmtemplateClustersParams
NewDistributeContentLibraryVmtemplateClustersParams creates a new DistributeContentLibraryVmtemplateClustersParams 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 NewDistributeContentLibraryVmtemplateClustersParamsWithContext ¶
func NewDistributeContentLibraryVmtemplateClustersParamsWithContext(ctx context.Context) *DistributeContentLibraryVmtemplateClustersParams
NewDistributeContentLibraryVmtemplateClustersParamsWithContext creates a new DistributeContentLibraryVmtemplateClustersParams object with the ability to set a context for a request.
func NewDistributeContentLibraryVmtemplateClustersParamsWithHTTPClient ¶
func NewDistributeContentLibraryVmtemplateClustersParamsWithHTTPClient(client *http.Client) *DistributeContentLibraryVmtemplateClustersParams
NewDistributeContentLibraryVmtemplateClustersParamsWithHTTPClient creates a new DistributeContentLibraryVmtemplateClustersParams object with the ability to set a custom HTTPClient for a request.
func NewDistributeContentLibraryVmtemplateClustersParamsWithTimeout ¶
func NewDistributeContentLibraryVmtemplateClustersParamsWithTimeout(timeout time.Duration) *DistributeContentLibraryVmtemplateClustersParams
NewDistributeContentLibraryVmtemplateClustersParamsWithTimeout creates a new DistributeContentLibraryVmtemplateClustersParams object with the ability to set a timeout on a request.
func (*DistributeContentLibraryVmtemplateClustersParams) SetContentLanguage ¶
func (o *DistributeContentLibraryVmtemplateClustersParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the distribute content library vmtemplate clusters params
func (*DistributeContentLibraryVmtemplateClustersParams) SetContext ¶
func (o *DistributeContentLibraryVmtemplateClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the distribute content library vmtemplate clusters params
func (*DistributeContentLibraryVmtemplateClustersParams) SetDefaults ¶
func (o *DistributeContentLibraryVmtemplateClustersParams) SetDefaults()
SetDefaults hydrates default values in the distribute content library vmtemplate clusters params (not the query body).
All values with no default are reset to their zero value.
func (*DistributeContentLibraryVmtemplateClustersParams) SetHTTPClient ¶
func (o *DistributeContentLibraryVmtemplateClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the distribute content library vmtemplate clusters params
func (*DistributeContentLibraryVmtemplateClustersParams) SetRequestBody ¶
func (o *DistributeContentLibraryVmtemplateClustersParams) SetRequestBody(requestBody *models.ContentLibraryVMTemplateUpdationClusterParams)
SetRequestBody adds the requestBody to the distribute content library vmtemplate clusters params
func (*DistributeContentLibraryVmtemplateClustersParams) SetTimeout ¶
func (o *DistributeContentLibraryVmtemplateClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the distribute content library vmtemplate clusters params
func (*DistributeContentLibraryVmtemplateClustersParams) WithContentLanguage ¶
func (o *DistributeContentLibraryVmtemplateClustersParams) WithContentLanguage(contentLanguage *string) *DistributeContentLibraryVmtemplateClustersParams
WithContentLanguage adds the contentLanguage to the distribute content library vmtemplate clusters params
func (*DistributeContentLibraryVmtemplateClustersParams) WithContext ¶
func (o *DistributeContentLibraryVmtemplateClustersParams) WithContext(ctx context.Context) *DistributeContentLibraryVmtemplateClustersParams
WithContext adds the context to the distribute content library vmtemplate clusters params
func (*DistributeContentLibraryVmtemplateClustersParams) WithDefaults ¶
func (o *DistributeContentLibraryVmtemplateClustersParams) WithDefaults() *DistributeContentLibraryVmtemplateClustersParams
WithDefaults hydrates default values in the distribute content library vmtemplate clusters params (not the query body).
All values with no default are reset to their zero value.
func (*DistributeContentLibraryVmtemplateClustersParams) WithHTTPClient ¶
func (o *DistributeContentLibraryVmtemplateClustersParams) WithHTTPClient(client *http.Client) *DistributeContentLibraryVmtemplateClustersParams
WithHTTPClient adds the HTTPClient to the distribute content library vmtemplate clusters params
func (*DistributeContentLibraryVmtemplateClustersParams) WithRequestBody ¶
func (o *DistributeContentLibraryVmtemplateClustersParams) WithRequestBody(requestBody *models.ContentLibraryVMTemplateUpdationClusterParams) *DistributeContentLibraryVmtemplateClustersParams
WithRequestBody adds the requestBody to the distribute content library vmtemplate clusters params
func (*DistributeContentLibraryVmtemplateClustersParams) WithTimeout ¶
func (o *DistributeContentLibraryVmtemplateClustersParams) WithTimeout(timeout time.Duration) *DistributeContentLibraryVmtemplateClustersParams
WithTimeout adds the timeout to the distribute content library vmtemplate clusters params
func (*DistributeContentLibraryVmtemplateClustersParams) WriteToRequest ¶
func (o *DistributeContentLibraryVmtemplateClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DistributeContentLibraryVmtemplateClustersReader ¶
type DistributeContentLibraryVmtemplateClustersReader struct {
// contains filtered or unexported fields
}
DistributeContentLibraryVmtemplateClustersReader is a Reader for the DistributeContentLibraryVmtemplateClusters structure.
func (*DistributeContentLibraryVmtemplateClustersReader) ReadResponse ¶
func (o *DistributeContentLibraryVmtemplateClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetContentLibraryVMTemplatesBadRequest ¶
GetContentLibraryVMTemplatesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetContentLibraryVMTemplatesBadRequest ¶
func NewGetContentLibraryVMTemplatesBadRequest() *GetContentLibraryVMTemplatesBadRequest
NewGetContentLibraryVMTemplatesBadRequest creates a GetContentLibraryVMTemplatesBadRequest with default headers values
func (*GetContentLibraryVMTemplatesBadRequest) Error ¶
func (o *GetContentLibraryVMTemplatesBadRequest) Error() string
func (*GetContentLibraryVMTemplatesBadRequest) GetPayload ¶
func (o *GetContentLibraryVMTemplatesBadRequest) GetPayload() *models.ErrorBody
type GetContentLibraryVMTemplatesConnectionBadRequest ¶
GetContentLibraryVMTemplatesConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetContentLibraryVMTemplatesConnectionBadRequest ¶
func NewGetContentLibraryVMTemplatesConnectionBadRequest() *GetContentLibraryVMTemplatesConnectionBadRequest
NewGetContentLibraryVMTemplatesConnectionBadRequest creates a GetContentLibraryVMTemplatesConnectionBadRequest with default headers values
func (*GetContentLibraryVMTemplatesConnectionBadRequest) Error ¶
func (o *GetContentLibraryVMTemplatesConnectionBadRequest) Error() string
func (*GetContentLibraryVMTemplatesConnectionBadRequest) GetPayload ¶
func (o *GetContentLibraryVMTemplatesConnectionBadRequest) GetPayload() *models.ErrorBody
type GetContentLibraryVMTemplatesConnectionInternalServerError ¶
GetContentLibraryVMTemplatesConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetContentLibraryVMTemplatesConnectionInternalServerError ¶
func NewGetContentLibraryVMTemplatesConnectionInternalServerError() *GetContentLibraryVMTemplatesConnectionInternalServerError
NewGetContentLibraryVMTemplatesConnectionInternalServerError creates a GetContentLibraryVMTemplatesConnectionInternalServerError with default headers values
func (*GetContentLibraryVMTemplatesConnectionInternalServerError) Error ¶
func (o *GetContentLibraryVMTemplatesConnectionInternalServerError) Error() string
func (*GetContentLibraryVMTemplatesConnectionInternalServerError) GetPayload ¶
func (o *GetContentLibraryVMTemplatesConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetContentLibraryVMTemplatesConnectionNotFound ¶
GetContentLibraryVMTemplatesConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetContentLibraryVMTemplatesConnectionNotFound ¶
func NewGetContentLibraryVMTemplatesConnectionNotFound() *GetContentLibraryVMTemplatesConnectionNotFound
NewGetContentLibraryVMTemplatesConnectionNotFound creates a GetContentLibraryVMTemplatesConnectionNotFound with default headers values
func (*GetContentLibraryVMTemplatesConnectionNotFound) Error ¶
func (o *GetContentLibraryVMTemplatesConnectionNotFound) Error() string
func (*GetContentLibraryVMTemplatesConnectionNotFound) GetPayload ¶
func (o *GetContentLibraryVMTemplatesConnectionNotFound) GetPayload() *models.ErrorBody
type GetContentLibraryVMTemplatesConnectionOK ¶
type GetContentLibraryVMTemplatesConnectionOK struct {
Payload *models.ContentLibraryVMTemplateConnection
}
GetContentLibraryVMTemplatesConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetContentLibraryVMTemplatesConnectionOK ¶
func NewGetContentLibraryVMTemplatesConnectionOK() *GetContentLibraryVMTemplatesConnectionOK
NewGetContentLibraryVMTemplatesConnectionOK creates a GetContentLibraryVMTemplatesConnectionOK with default headers values
func (*GetContentLibraryVMTemplatesConnectionOK) Error ¶
func (o *GetContentLibraryVMTemplatesConnectionOK) Error() string
func (*GetContentLibraryVMTemplatesConnectionOK) GetPayload ¶
func (o *GetContentLibraryVMTemplatesConnectionOK) GetPayload() *models.ContentLibraryVMTemplateConnection
type GetContentLibraryVMTemplatesConnectionParams ¶
type GetContentLibraryVMTemplatesConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetContentLibraryVMTemplatesConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetContentLibraryVMTemplatesConnectionParams contains all the parameters to send to the API endpoint
for the get content library Vm templates connection operation. Typically these are written to a http.Request.
func NewGetContentLibraryVMTemplatesConnectionParams ¶
func NewGetContentLibraryVMTemplatesConnectionParams() *GetContentLibraryVMTemplatesConnectionParams
NewGetContentLibraryVMTemplatesConnectionParams creates a new GetContentLibraryVMTemplatesConnectionParams 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 NewGetContentLibraryVMTemplatesConnectionParamsWithContext ¶
func NewGetContentLibraryVMTemplatesConnectionParamsWithContext(ctx context.Context) *GetContentLibraryVMTemplatesConnectionParams
NewGetContentLibraryVMTemplatesConnectionParamsWithContext creates a new GetContentLibraryVMTemplatesConnectionParams object with the ability to set a context for a request.
func NewGetContentLibraryVMTemplatesConnectionParamsWithHTTPClient ¶
func NewGetContentLibraryVMTemplatesConnectionParamsWithHTTPClient(client *http.Client) *GetContentLibraryVMTemplatesConnectionParams
NewGetContentLibraryVMTemplatesConnectionParamsWithHTTPClient creates a new GetContentLibraryVMTemplatesConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetContentLibraryVMTemplatesConnectionParamsWithTimeout ¶
func NewGetContentLibraryVMTemplatesConnectionParamsWithTimeout(timeout time.Duration) *GetContentLibraryVMTemplatesConnectionParams
NewGetContentLibraryVMTemplatesConnectionParamsWithTimeout creates a new GetContentLibraryVMTemplatesConnectionParams object with the ability to set a timeout on a request.
func (*GetContentLibraryVMTemplatesConnectionParams) SetContentLanguage ¶
func (o *GetContentLibraryVMTemplatesConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get content library Vm templates connection params
func (*GetContentLibraryVMTemplatesConnectionParams) SetContext ¶
func (o *GetContentLibraryVMTemplatesConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get content library Vm templates connection params
func (*GetContentLibraryVMTemplatesConnectionParams) SetDefaults ¶
func (o *GetContentLibraryVMTemplatesConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get content library Vm templates connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetContentLibraryVMTemplatesConnectionParams) SetHTTPClient ¶
func (o *GetContentLibraryVMTemplatesConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get content library Vm templates connection params
func (*GetContentLibraryVMTemplatesConnectionParams) SetRequestBody ¶
func (o *GetContentLibraryVMTemplatesConnectionParams) SetRequestBody(requestBody *models.GetContentLibraryVMTemplatesConnectionRequestBody)
SetRequestBody adds the requestBody to the get content library Vm templates connection params
func (*GetContentLibraryVMTemplatesConnectionParams) SetTimeout ¶
func (o *GetContentLibraryVMTemplatesConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get content library Vm templates connection params
func (*GetContentLibraryVMTemplatesConnectionParams) WithContentLanguage ¶
func (o *GetContentLibraryVMTemplatesConnectionParams) WithContentLanguage(contentLanguage *string) *GetContentLibraryVMTemplatesConnectionParams
WithContentLanguage adds the contentLanguage to the get content library Vm templates connection params
func (*GetContentLibraryVMTemplatesConnectionParams) WithContext ¶
func (o *GetContentLibraryVMTemplatesConnectionParams) WithContext(ctx context.Context) *GetContentLibraryVMTemplatesConnectionParams
WithContext adds the context to the get content library Vm templates connection params
func (*GetContentLibraryVMTemplatesConnectionParams) WithDefaults ¶
func (o *GetContentLibraryVMTemplatesConnectionParams) WithDefaults() *GetContentLibraryVMTemplatesConnectionParams
WithDefaults hydrates default values in the get content library Vm templates connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetContentLibraryVMTemplatesConnectionParams) WithHTTPClient ¶
func (o *GetContentLibraryVMTemplatesConnectionParams) WithHTTPClient(client *http.Client) *GetContentLibraryVMTemplatesConnectionParams
WithHTTPClient adds the HTTPClient to the get content library Vm templates connection params
func (*GetContentLibraryVMTemplatesConnectionParams) WithRequestBody ¶
func (o *GetContentLibraryVMTemplatesConnectionParams) WithRequestBody(requestBody *models.GetContentLibraryVMTemplatesConnectionRequestBody) *GetContentLibraryVMTemplatesConnectionParams
WithRequestBody adds the requestBody to the get content library Vm templates connection params
func (*GetContentLibraryVMTemplatesConnectionParams) WithTimeout ¶
func (o *GetContentLibraryVMTemplatesConnectionParams) WithTimeout(timeout time.Duration) *GetContentLibraryVMTemplatesConnectionParams
WithTimeout adds the timeout to the get content library Vm templates connection params
func (*GetContentLibraryVMTemplatesConnectionParams) WriteToRequest ¶
func (o *GetContentLibraryVMTemplatesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetContentLibraryVMTemplatesConnectionReader ¶
type GetContentLibraryVMTemplatesConnectionReader struct {
// contains filtered or unexported fields
}
GetContentLibraryVMTemplatesConnectionReader is a Reader for the GetContentLibraryVMTemplatesConnection structure.
func (*GetContentLibraryVMTemplatesConnectionReader) ReadResponse ¶
func (o *GetContentLibraryVMTemplatesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetContentLibraryVMTemplatesInternalServerError ¶
GetContentLibraryVMTemplatesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetContentLibraryVMTemplatesInternalServerError ¶
func NewGetContentLibraryVMTemplatesInternalServerError() *GetContentLibraryVMTemplatesInternalServerError
NewGetContentLibraryVMTemplatesInternalServerError creates a GetContentLibraryVMTemplatesInternalServerError with default headers values
func (*GetContentLibraryVMTemplatesInternalServerError) Error ¶
func (o *GetContentLibraryVMTemplatesInternalServerError) Error() string
func (*GetContentLibraryVMTemplatesInternalServerError) GetPayload ¶
func (o *GetContentLibraryVMTemplatesInternalServerError) GetPayload() *models.ErrorBody
type GetContentLibraryVMTemplatesNotFound ¶
GetContentLibraryVMTemplatesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetContentLibraryVMTemplatesNotFound ¶
func NewGetContentLibraryVMTemplatesNotFound() *GetContentLibraryVMTemplatesNotFound
NewGetContentLibraryVMTemplatesNotFound creates a GetContentLibraryVMTemplatesNotFound with default headers values
func (*GetContentLibraryVMTemplatesNotFound) Error ¶
func (o *GetContentLibraryVMTemplatesNotFound) Error() string
func (*GetContentLibraryVMTemplatesNotFound) GetPayload ¶
func (o *GetContentLibraryVMTemplatesNotFound) GetPayload() *models.ErrorBody
type GetContentLibraryVMTemplatesOK ¶
type GetContentLibraryVMTemplatesOK struct {
Payload []*models.ContentLibraryVMTemplate
}
GetContentLibraryVMTemplatesOK describes a response with status code 200, with default header values.
Ok
func NewGetContentLibraryVMTemplatesOK ¶
func NewGetContentLibraryVMTemplatesOK() *GetContentLibraryVMTemplatesOK
NewGetContentLibraryVMTemplatesOK creates a GetContentLibraryVMTemplatesOK with default headers values
func (*GetContentLibraryVMTemplatesOK) Error ¶
func (o *GetContentLibraryVMTemplatesOK) Error() string
func (*GetContentLibraryVMTemplatesOK) GetPayload ¶
func (o *GetContentLibraryVMTemplatesOK) GetPayload() []*models.ContentLibraryVMTemplate
type GetContentLibraryVMTemplatesParams ¶
type GetContentLibraryVMTemplatesParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetContentLibraryVMTemplatesRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetContentLibraryVMTemplatesParams contains all the parameters to send to the API endpoint
for the get content library Vm templates operation. Typically these are written to a http.Request.
func NewGetContentLibraryVMTemplatesParams ¶
func NewGetContentLibraryVMTemplatesParams() *GetContentLibraryVMTemplatesParams
NewGetContentLibraryVMTemplatesParams creates a new GetContentLibraryVMTemplatesParams 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 NewGetContentLibraryVMTemplatesParamsWithContext ¶
func NewGetContentLibraryVMTemplatesParamsWithContext(ctx context.Context) *GetContentLibraryVMTemplatesParams
NewGetContentLibraryVMTemplatesParamsWithContext creates a new GetContentLibraryVMTemplatesParams object with the ability to set a context for a request.
func NewGetContentLibraryVMTemplatesParamsWithHTTPClient ¶
func NewGetContentLibraryVMTemplatesParamsWithHTTPClient(client *http.Client) *GetContentLibraryVMTemplatesParams
NewGetContentLibraryVMTemplatesParamsWithHTTPClient creates a new GetContentLibraryVMTemplatesParams object with the ability to set a custom HTTPClient for a request.
func NewGetContentLibraryVMTemplatesParamsWithTimeout ¶
func NewGetContentLibraryVMTemplatesParamsWithTimeout(timeout time.Duration) *GetContentLibraryVMTemplatesParams
NewGetContentLibraryVMTemplatesParamsWithTimeout creates a new GetContentLibraryVMTemplatesParams object with the ability to set a timeout on a request.
func (*GetContentLibraryVMTemplatesParams) SetContentLanguage ¶
func (o *GetContentLibraryVMTemplatesParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get content library Vm templates params
func (*GetContentLibraryVMTemplatesParams) SetContext ¶
func (o *GetContentLibraryVMTemplatesParams) SetContext(ctx context.Context)
SetContext adds the context to the get content library Vm templates params
func (*GetContentLibraryVMTemplatesParams) SetDefaults ¶
func (o *GetContentLibraryVMTemplatesParams) SetDefaults()
SetDefaults hydrates default values in the get content library Vm templates params (not the query body).
All values with no default are reset to their zero value.
func (*GetContentLibraryVMTemplatesParams) SetHTTPClient ¶
func (o *GetContentLibraryVMTemplatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get content library Vm templates params
func (*GetContentLibraryVMTemplatesParams) SetRequestBody ¶
func (o *GetContentLibraryVMTemplatesParams) SetRequestBody(requestBody *models.GetContentLibraryVMTemplatesRequestBody)
SetRequestBody adds the requestBody to the get content library Vm templates params
func (*GetContentLibraryVMTemplatesParams) SetTimeout ¶
func (o *GetContentLibraryVMTemplatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get content library Vm templates params
func (*GetContentLibraryVMTemplatesParams) WithContentLanguage ¶
func (o *GetContentLibraryVMTemplatesParams) WithContentLanguage(contentLanguage *string) *GetContentLibraryVMTemplatesParams
WithContentLanguage adds the contentLanguage to the get content library Vm templates params
func (*GetContentLibraryVMTemplatesParams) WithContext ¶
func (o *GetContentLibraryVMTemplatesParams) WithContext(ctx context.Context) *GetContentLibraryVMTemplatesParams
WithContext adds the context to the get content library Vm templates params
func (*GetContentLibraryVMTemplatesParams) WithDefaults ¶
func (o *GetContentLibraryVMTemplatesParams) WithDefaults() *GetContentLibraryVMTemplatesParams
WithDefaults hydrates default values in the get content library Vm templates params (not the query body).
All values with no default are reset to their zero value.
func (*GetContentLibraryVMTemplatesParams) WithHTTPClient ¶
func (o *GetContentLibraryVMTemplatesParams) WithHTTPClient(client *http.Client) *GetContentLibraryVMTemplatesParams
WithHTTPClient adds the HTTPClient to the get content library Vm templates params
func (*GetContentLibraryVMTemplatesParams) WithRequestBody ¶
func (o *GetContentLibraryVMTemplatesParams) WithRequestBody(requestBody *models.GetContentLibraryVMTemplatesRequestBody) *GetContentLibraryVMTemplatesParams
WithRequestBody adds the requestBody to the get content library Vm templates params
func (*GetContentLibraryVMTemplatesParams) WithTimeout ¶
func (o *GetContentLibraryVMTemplatesParams) WithTimeout(timeout time.Duration) *GetContentLibraryVMTemplatesParams
WithTimeout adds the timeout to the get content library Vm templates params
func (*GetContentLibraryVMTemplatesParams) WriteToRequest ¶
func (o *GetContentLibraryVMTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetContentLibraryVMTemplatesReader ¶
type GetContentLibraryVMTemplatesReader struct {
// contains filtered or unexported fields
}
GetContentLibraryVMTemplatesReader is a Reader for the GetContentLibraryVMTemplates structure.
func (*GetContentLibraryVMTemplatesReader) ReadResponse ¶
func (o *GetContentLibraryVMTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveContentLibraryVMTemplateClustersBadRequest ¶
RemoveContentLibraryVMTemplateClustersBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRemoveContentLibraryVMTemplateClustersBadRequest ¶
func NewRemoveContentLibraryVMTemplateClustersBadRequest() *RemoveContentLibraryVMTemplateClustersBadRequest
NewRemoveContentLibraryVMTemplateClustersBadRequest creates a RemoveContentLibraryVMTemplateClustersBadRequest with default headers values
func (*RemoveContentLibraryVMTemplateClustersBadRequest) Error ¶
func (o *RemoveContentLibraryVMTemplateClustersBadRequest) Error() string
func (*RemoveContentLibraryVMTemplateClustersBadRequest) GetPayload ¶
func (o *RemoveContentLibraryVMTemplateClustersBadRequest) GetPayload() *models.ErrorBody
type RemoveContentLibraryVMTemplateClustersInternalServerError ¶
RemoveContentLibraryVMTemplateClustersInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRemoveContentLibraryVMTemplateClustersInternalServerError ¶
func NewRemoveContentLibraryVMTemplateClustersInternalServerError() *RemoveContentLibraryVMTemplateClustersInternalServerError
NewRemoveContentLibraryVMTemplateClustersInternalServerError creates a RemoveContentLibraryVMTemplateClustersInternalServerError with default headers values
func (*RemoveContentLibraryVMTemplateClustersInternalServerError) Error ¶
func (o *RemoveContentLibraryVMTemplateClustersInternalServerError) Error() string
func (*RemoveContentLibraryVMTemplateClustersInternalServerError) GetPayload ¶
func (o *RemoveContentLibraryVMTemplateClustersInternalServerError) GetPayload() *models.ErrorBody
type RemoveContentLibraryVMTemplateClustersNotFound ¶
RemoveContentLibraryVMTemplateClustersNotFound describes a response with status code 404, with default header values.
Not found
func NewRemoveContentLibraryVMTemplateClustersNotFound ¶
func NewRemoveContentLibraryVMTemplateClustersNotFound() *RemoveContentLibraryVMTemplateClustersNotFound
NewRemoveContentLibraryVMTemplateClustersNotFound creates a RemoveContentLibraryVMTemplateClustersNotFound with default headers values
func (*RemoveContentLibraryVMTemplateClustersNotFound) Error ¶
func (o *RemoveContentLibraryVMTemplateClustersNotFound) Error() string
func (*RemoveContentLibraryVMTemplateClustersNotFound) GetPayload ¶
func (o *RemoveContentLibraryVMTemplateClustersNotFound) GetPayload() *models.ErrorBody
type RemoveContentLibraryVMTemplateClustersOK ¶
type RemoveContentLibraryVMTemplateClustersOK struct {
Payload []*models.WithTaskContentLibraryVMTemplate
}
RemoveContentLibraryVMTemplateClustersOK describes a response with status code 200, with default header values.
Ok
func NewRemoveContentLibraryVMTemplateClustersOK ¶
func NewRemoveContentLibraryVMTemplateClustersOK() *RemoveContentLibraryVMTemplateClustersOK
NewRemoveContentLibraryVMTemplateClustersOK creates a RemoveContentLibraryVMTemplateClustersOK with default headers values
func (*RemoveContentLibraryVMTemplateClustersOK) Error ¶
func (o *RemoveContentLibraryVMTemplateClustersOK) Error() string
func (*RemoveContentLibraryVMTemplateClustersOK) GetPayload ¶
func (o *RemoveContentLibraryVMTemplateClustersOK) GetPayload() []*models.WithTaskContentLibraryVMTemplate
type RemoveContentLibraryVMTemplateClustersParams ¶
type RemoveContentLibraryVMTemplateClustersParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ContentLibraryVMTemplateUpdationClusterParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveContentLibraryVMTemplateClustersParams contains all the parameters to send to the API endpoint
for the remove content library Vm template clusters operation. Typically these are written to a http.Request.
func NewRemoveContentLibraryVMTemplateClustersParams ¶
func NewRemoveContentLibraryVMTemplateClustersParams() *RemoveContentLibraryVMTemplateClustersParams
NewRemoveContentLibraryVMTemplateClustersParams creates a new RemoveContentLibraryVMTemplateClustersParams 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 NewRemoveContentLibraryVMTemplateClustersParamsWithContext ¶
func NewRemoveContentLibraryVMTemplateClustersParamsWithContext(ctx context.Context) *RemoveContentLibraryVMTemplateClustersParams
NewRemoveContentLibraryVMTemplateClustersParamsWithContext creates a new RemoveContentLibraryVMTemplateClustersParams object with the ability to set a context for a request.
func NewRemoveContentLibraryVMTemplateClustersParamsWithHTTPClient ¶
func NewRemoveContentLibraryVMTemplateClustersParamsWithHTTPClient(client *http.Client) *RemoveContentLibraryVMTemplateClustersParams
NewRemoveContentLibraryVMTemplateClustersParamsWithHTTPClient creates a new RemoveContentLibraryVMTemplateClustersParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveContentLibraryVMTemplateClustersParamsWithTimeout ¶
func NewRemoveContentLibraryVMTemplateClustersParamsWithTimeout(timeout time.Duration) *RemoveContentLibraryVMTemplateClustersParams
NewRemoveContentLibraryVMTemplateClustersParamsWithTimeout creates a new RemoveContentLibraryVMTemplateClustersParams object with the ability to set a timeout on a request.
func (*RemoveContentLibraryVMTemplateClustersParams) SetContentLanguage ¶
func (o *RemoveContentLibraryVMTemplateClustersParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the remove content library Vm template clusters params
func (*RemoveContentLibraryVMTemplateClustersParams) SetContext ¶
func (o *RemoveContentLibraryVMTemplateClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the remove content library Vm template clusters params
func (*RemoveContentLibraryVMTemplateClustersParams) SetDefaults ¶
func (o *RemoveContentLibraryVMTemplateClustersParams) SetDefaults()
SetDefaults hydrates default values in the remove content library Vm template clusters params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveContentLibraryVMTemplateClustersParams) SetHTTPClient ¶
func (o *RemoveContentLibraryVMTemplateClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove content library Vm template clusters params
func (*RemoveContentLibraryVMTemplateClustersParams) SetRequestBody ¶
func (o *RemoveContentLibraryVMTemplateClustersParams) SetRequestBody(requestBody *models.ContentLibraryVMTemplateUpdationClusterParams)
SetRequestBody adds the requestBody to the remove content library Vm template clusters params
func (*RemoveContentLibraryVMTemplateClustersParams) SetTimeout ¶
func (o *RemoveContentLibraryVMTemplateClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove content library Vm template clusters params
func (*RemoveContentLibraryVMTemplateClustersParams) WithContentLanguage ¶
func (o *RemoveContentLibraryVMTemplateClustersParams) WithContentLanguage(contentLanguage *string) *RemoveContentLibraryVMTemplateClustersParams
WithContentLanguage adds the contentLanguage to the remove content library Vm template clusters params
func (*RemoveContentLibraryVMTemplateClustersParams) WithContext ¶
func (o *RemoveContentLibraryVMTemplateClustersParams) WithContext(ctx context.Context) *RemoveContentLibraryVMTemplateClustersParams
WithContext adds the context to the remove content library Vm template clusters params
func (*RemoveContentLibraryVMTemplateClustersParams) WithDefaults ¶
func (o *RemoveContentLibraryVMTemplateClustersParams) WithDefaults() *RemoveContentLibraryVMTemplateClustersParams
WithDefaults hydrates default values in the remove content library Vm template clusters params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveContentLibraryVMTemplateClustersParams) WithHTTPClient ¶
func (o *RemoveContentLibraryVMTemplateClustersParams) WithHTTPClient(client *http.Client) *RemoveContentLibraryVMTemplateClustersParams
WithHTTPClient adds the HTTPClient to the remove content library Vm template clusters params
func (*RemoveContentLibraryVMTemplateClustersParams) WithRequestBody ¶
func (o *RemoveContentLibraryVMTemplateClustersParams) WithRequestBody(requestBody *models.ContentLibraryVMTemplateUpdationClusterParams) *RemoveContentLibraryVMTemplateClustersParams
WithRequestBody adds the requestBody to the remove content library Vm template clusters params
func (*RemoveContentLibraryVMTemplateClustersParams) WithTimeout ¶
func (o *RemoveContentLibraryVMTemplateClustersParams) WithTimeout(timeout time.Duration) *RemoveContentLibraryVMTemplateClustersParams
WithTimeout adds the timeout to the remove content library Vm template clusters params
func (*RemoveContentLibraryVMTemplateClustersParams) WriteToRequest ¶
func (o *RemoveContentLibraryVMTemplateClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveContentLibraryVMTemplateClustersReader ¶
type RemoveContentLibraryVMTemplateClustersReader struct {
// contains filtered or unexported fields
}
RemoveContentLibraryVMTemplateClustersReader is a Reader for the RemoveContentLibraryVMTemplateClusters structure.
func (*RemoveContentLibraryVMTemplateClustersReader) ReadResponse ¶
func (o *RemoveContentLibraryVMTemplateClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateContentLibraryVMTemplateBadRequest ¶
UpdateContentLibraryVMTemplateBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateContentLibraryVMTemplateBadRequest ¶
func NewUpdateContentLibraryVMTemplateBadRequest() *UpdateContentLibraryVMTemplateBadRequest
NewUpdateContentLibraryVMTemplateBadRequest creates a UpdateContentLibraryVMTemplateBadRequest with default headers values
func (*UpdateContentLibraryVMTemplateBadRequest) Error ¶
func (o *UpdateContentLibraryVMTemplateBadRequest) Error() string
func (*UpdateContentLibraryVMTemplateBadRequest) GetPayload ¶
func (o *UpdateContentLibraryVMTemplateBadRequest) GetPayload() *models.ErrorBody
type UpdateContentLibraryVMTemplateInternalServerError ¶
UpdateContentLibraryVMTemplateInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateContentLibraryVMTemplateInternalServerError ¶
func NewUpdateContentLibraryVMTemplateInternalServerError() *UpdateContentLibraryVMTemplateInternalServerError
NewUpdateContentLibraryVMTemplateInternalServerError creates a UpdateContentLibraryVMTemplateInternalServerError with default headers values
func (*UpdateContentLibraryVMTemplateInternalServerError) Error ¶
func (o *UpdateContentLibraryVMTemplateInternalServerError) Error() string
func (*UpdateContentLibraryVMTemplateInternalServerError) GetPayload ¶
func (o *UpdateContentLibraryVMTemplateInternalServerError) GetPayload() *models.ErrorBody
type UpdateContentLibraryVMTemplateNotFound ¶
UpdateContentLibraryVMTemplateNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateContentLibraryVMTemplateNotFound ¶
func NewUpdateContentLibraryVMTemplateNotFound() *UpdateContentLibraryVMTemplateNotFound
NewUpdateContentLibraryVMTemplateNotFound creates a UpdateContentLibraryVMTemplateNotFound with default headers values
func (*UpdateContentLibraryVMTemplateNotFound) Error ¶
func (o *UpdateContentLibraryVMTemplateNotFound) Error() string
func (*UpdateContentLibraryVMTemplateNotFound) GetPayload ¶
func (o *UpdateContentLibraryVMTemplateNotFound) GetPayload() *models.ErrorBody
type UpdateContentLibraryVMTemplateOK ¶
type UpdateContentLibraryVMTemplateOK struct {
Payload []*models.WithTaskContentLibraryVMTemplate
}
UpdateContentLibraryVMTemplateOK describes a response with status code 200, with default header values.
Ok
func NewUpdateContentLibraryVMTemplateOK ¶
func NewUpdateContentLibraryVMTemplateOK() *UpdateContentLibraryVMTemplateOK
NewUpdateContentLibraryVMTemplateOK creates a UpdateContentLibraryVMTemplateOK with default headers values
func (*UpdateContentLibraryVMTemplateOK) Error ¶
func (o *UpdateContentLibraryVMTemplateOK) Error() string
func (*UpdateContentLibraryVMTemplateOK) GetPayload ¶
func (o *UpdateContentLibraryVMTemplateOK) GetPayload() []*models.WithTaskContentLibraryVMTemplate
type UpdateContentLibraryVMTemplateParams ¶
type UpdateContentLibraryVMTemplateParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ContentLibraryVMTemplateUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateContentLibraryVMTemplateParams contains all the parameters to send to the API endpoint
for the update content library Vm template operation. Typically these are written to a http.Request.
func NewUpdateContentLibraryVMTemplateParams ¶
func NewUpdateContentLibraryVMTemplateParams() *UpdateContentLibraryVMTemplateParams
NewUpdateContentLibraryVMTemplateParams creates a new UpdateContentLibraryVMTemplateParams 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 NewUpdateContentLibraryVMTemplateParamsWithContext ¶
func NewUpdateContentLibraryVMTemplateParamsWithContext(ctx context.Context) *UpdateContentLibraryVMTemplateParams
NewUpdateContentLibraryVMTemplateParamsWithContext creates a new UpdateContentLibraryVMTemplateParams object with the ability to set a context for a request.
func NewUpdateContentLibraryVMTemplateParamsWithHTTPClient ¶
func NewUpdateContentLibraryVMTemplateParamsWithHTTPClient(client *http.Client) *UpdateContentLibraryVMTemplateParams
NewUpdateContentLibraryVMTemplateParamsWithHTTPClient creates a new UpdateContentLibraryVMTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateContentLibraryVMTemplateParamsWithTimeout ¶
func NewUpdateContentLibraryVMTemplateParamsWithTimeout(timeout time.Duration) *UpdateContentLibraryVMTemplateParams
NewUpdateContentLibraryVMTemplateParamsWithTimeout creates a new UpdateContentLibraryVMTemplateParams object with the ability to set a timeout on a request.
func (*UpdateContentLibraryVMTemplateParams) SetContentLanguage ¶
func (o *UpdateContentLibraryVMTemplateParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update content library Vm template params
func (*UpdateContentLibraryVMTemplateParams) SetContext ¶
func (o *UpdateContentLibraryVMTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the update content library Vm template params
func (*UpdateContentLibraryVMTemplateParams) SetDefaults ¶
func (o *UpdateContentLibraryVMTemplateParams) SetDefaults()
SetDefaults hydrates default values in the update content library Vm template params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateContentLibraryVMTemplateParams) SetHTTPClient ¶
func (o *UpdateContentLibraryVMTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update content library Vm template params
func (*UpdateContentLibraryVMTemplateParams) SetRequestBody ¶
func (o *UpdateContentLibraryVMTemplateParams) SetRequestBody(requestBody *models.ContentLibraryVMTemplateUpdationParams)
SetRequestBody adds the requestBody to the update content library Vm template params
func (*UpdateContentLibraryVMTemplateParams) SetTimeout ¶
func (o *UpdateContentLibraryVMTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update content library Vm template params
func (*UpdateContentLibraryVMTemplateParams) WithContentLanguage ¶
func (o *UpdateContentLibraryVMTemplateParams) WithContentLanguage(contentLanguage *string) *UpdateContentLibraryVMTemplateParams
WithContentLanguage adds the contentLanguage to the update content library Vm template params
func (*UpdateContentLibraryVMTemplateParams) WithContext ¶
func (o *UpdateContentLibraryVMTemplateParams) WithContext(ctx context.Context) *UpdateContentLibraryVMTemplateParams
WithContext adds the context to the update content library Vm template params
func (*UpdateContentLibraryVMTemplateParams) WithDefaults ¶
func (o *UpdateContentLibraryVMTemplateParams) WithDefaults() *UpdateContentLibraryVMTemplateParams
WithDefaults hydrates default values in the update content library Vm template params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateContentLibraryVMTemplateParams) WithHTTPClient ¶
func (o *UpdateContentLibraryVMTemplateParams) WithHTTPClient(client *http.Client) *UpdateContentLibraryVMTemplateParams
WithHTTPClient adds the HTTPClient to the update content library Vm template params
func (*UpdateContentLibraryVMTemplateParams) WithRequestBody ¶
func (o *UpdateContentLibraryVMTemplateParams) WithRequestBody(requestBody *models.ContentLibraryVMTemplateUpdationParams) *UpdateContentLibraryVMTemplateParams
WithRequestBody adds the requestBody to the update content library Vm template params
func (*UpdateContentLibraryVMTemplateParams) WithTimeout ¶
func (o *UpdateContentLibraryVMTemplateParams) WithTimeout(timeout time.Duration) *UpdateContentLibraryVMTemplateParams
WithTimeout adds the timeout to the update content library Vm template params
func (*UpdateContentLibraryVMTemplateParams) WriteToRequest ¶
func (o *UpdateContentLibraryVMTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateContentLibraryVMTemplateReader ¶
type UpdateContentLibraryVMTemplateReader struct {
// contains filtered or unexported fields
}
UpdateContentLibraryVMTemplateReader is a Reader for the UpdateContentLibraryVMTemplate structure.
func (*UpdateContentLibraryVMTemplateReader) ReadResponse ¶
func (o *UpdateContentLibraryVMTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- clone_content_library_vm_template_from_vm_parameters.go
- clone_content_library_vm_template_from_vm_responses.go
- content_library_vm_template_client.go
- convert_content_library_vm_template_from_vm_parameters.go
- convert_content_library_vm_template_from_vm_responses.go
- delete_content_library_vm_template_parameters.go
- delete_content_library_vm_template_responses.go
- distribute_content_library_vmtemplate_clusters_parameters.go
- distribute_content_library_vmtemplate_clusters_responses.go
- get_content_library_vm_templates_connection_parameters.go
- get_content_library_vm_templates_connection_responses.go
- get_content_library_vm_templates_parameters.go
- get_content_library_vm_templates_responses.go
- remove_content_library_vm_template_clusters_parameters.go
- remove_content_library_vm_template_clusters_responses.go
- update_content_library_vm_template_parameters.go
- update_content_library_vm_template_responses.go