content_library_vm_template

package
v2.0.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2022 License: ISC Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

type CloneContentLibraryVMTemplateFromVMBadRequest struct {
	Payload *models.ErrorBody
}
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 (*CloneContentLibraryVMTemplateFromVMBadRequest) GetPayload

type CloneContentLibraryVMTemplateFromVMInternalServerError

type CloneContentLibraryVMTemplateFromVMInternalServerError struct {
	Payload *models.ErrorBody
}
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 (*CloneContentLibraryVMTemplateFromVMInternalServerError) GetPayload

type CloneContentLibraryVMTemplateFromVMNotFound

type CloneContentLibraryVMTemplateFromVMNotFound struct {
	Payload *models.ErrorBody
}
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 (*CloneContentLibraryVMTemplateFromVMNotFound) GetPayload

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 (*CloneContentLibraryVMTemplateFromVMOK) GetPayload

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

SetContext adds the context to the clone content library Vm template from Vm params

func (*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

SetRequestBody adds the requestBody to the clone content library Vm template from Vm params

func (*CloneContentLibraryVMTemplateFromVMParams) SetTimeout

SetTimeout adds the timeout to the clone content library Vm template from Vm params

func (*CloneContentLibraryVMTemplateFromVMParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the clone content library Vm template from Vm params

func (*CloneContentLibraryVMTemplateFromVMParams) WithContext

WithContext adds the context to the clone content library Vm template from Vm params

func (*CloneContentLibraryVMTemplateFromVMParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the clone content library Vm template from Vm params

func (*CloneContentLibraryVMTemplateFromVMParams) WithRequestBody

WithRequestBody adds the requestBody to the clone content library Vm template from Vm params

func (*CloneContentLibraryVMTemplateFromVMParams) WithTimeout

WithTimeout adds the timeout to the clone content library Vm template from Vm params

func (*CloneContentLibraryVMTemplateFromVMParams) WriteToRequest

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

type ConvertContentLibraryVMTemplateFromVMBadRequest struct {
	Payload *models.ErrorBody
}
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 (*ConvertContentLibraryVMTemplateFromVMBadRequest) GetPayload

type ConvertContentLibraryVMTemplateFromVMInternalServerError

type ConvertContentLibraryVMTemplateFromVMInternalServerError struct {
	Payload *models.ErrorBody
}
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 (*ConvertContentLibraryVMTemplateFromVMInternalServerError) GetPayload

type ConvertContentLibraryVMTemplateFromVMNotFound

type ConvertContentLibraryVMTemplateFromVMNotFound struct {
	Payload *models.ErrorBody
}
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 (*ConvertContentLibraryVMTemplateFromVMNotFound) GetPayload

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 (*ConvertContentLibraryVMTemplateFromVMOK) GetPayload

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

SetContext adds the context to the convert content library Vm template from Vm params

func (*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

SetRequestBody adds the requestBody to the convert content library Vm template from Vm params

func (*ConvertContentLibraryVMTemplateFromVMParams) SetTimeout

SetTimeout adds the timeout to the convert content library Vm template from Vm params

func (*ConvertContentLibraryVMTemplateFromVMParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the convert content library Vm template from Vm params

func (*ConvertContentLibraryVMTemplateFromVMParams) WithContext

WithContext adds the context to the convert content library Vm template from Vm params

func (*ConvertContentLibraryVMTemplateFromVMParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the convert content library Vm template from Vm params

func (*ConvertContentLibraryVMTemplateFromVMParams) WithRequestBody

WithRequestBody adds the requestBody to the convert content library Vm template from Vm params

func (*ConvertContentLibraryVMTemplateFromVMParams) WithTimeout

WithTimeout adds the timeout to the convert content library Vm template from Vm params

func (*ConvertContentLibraryVMTemplateFromVMParams) WriteToRequest

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

type DeleteContentLibraryVMTemplateBadRequest struct {
	Payload *models.ErrorBody
}
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 (*DeleteContentLibraryVMTemplateBadRequest) GetPayload

type DeleteContentLibraryVMTemplateInternalServerError

type DeleteContentLibraryVMTemplateInternalServerError struct {
	Payload *models.ErrorBody
}
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 (*DeleteContentLibraryVMTemplateInternalServerError) GetPayload

type DeleteContentLibraryVMTemplateNotFound

type DeleteContentLibraryVMTemplateNotFound struct {
	Payload *models.ErrorBody
}
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 (*DeleteContentLibraryVMTemplateNotFound) GetPayload

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 (*DeleteContentLibraryVMTemplateOK) GetPayload

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

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

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

WithContext adds the context to the delete content library Vm template params

func (*DeleteContentLibraryVMTemplateParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete content library Vm template params

func (*DeleteContentLibraryVMTemplateParams) WithRequestBody

WithRequestBody adds the requestBody to the delete content library Vm template params

func (*DeleteContentLibraryVMTemplateParams) WithTimeout

WithTimeout adds the timeout to the delete content library Vm template params

func (*DeleteContentLibraryVMTemplateParams) WriteToRequest

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

type DistributeContentLibraryVmtemplateClustersBadRequest struct {
	Payload *models.ErrorBody
}
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 (*DistributeContentLibraryVmtemplateClustersBadRequest) GetPayload

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 (*DistributeContentLibraryVmtemplateClustersInternalServerError) GetPayload

type DistributeContentLibraryVmtemplateClustersNotFound

type DistributeContentLibraryVmtemplateClustersNotFound struct {
	Payload *models.ErrorBody
}
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 (*DistributeContentLibraryVmtemplateClustersNotFound) GetPayload

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 (*DistributeContentLibraryVmtemplateClustersOK) GetPayload

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

SetContext adds the context to the distribute content library vmtemplate clusters params

func (*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

SetHTTPClient adds the HTTPClient to the distribute content library vmtemplate clusters params

func (*DistributeContentLibraryVmtemplateClustersParams) SetRequestBody

SetRequestBody adds the requestBody to the distribute content library vmtemplate clusters params

func (*DistributeContentLibraryVmtemplateClustersParams) SetTimeout

SetTimeout adds the timeout to the distribute content library vmtemplate clusters params

func (*DistributeContentLibraryVmtemplateClustersParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the distribute content library vmtemplate clusters params

func (*DistributeContentLibraryVmtemplateClustersParams) WithContext

WithContext adds the context to the distribute content library vmtemplate clusters params

func (*DistributeContentLibraryVmtemplateClustersParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the distribute content library vmtemplate clusters params

func (*DistributeContentLibraryVmtemplateClustersParams) WithRequestBody

WithRequestBody adds the requestBody to the distribute content library vmtemplate clusters params

func (*DistributeContentLibraryVmtemplateClustersParams) WithTimeout

WithTimeout adds the timeout to the distribute content library vmtemplate clusters params

func (*DistributeContentLibraryVmtemplateClustersParams) WriteToRequest

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

type GetContentLibraryVMTemplatesBadRequest struct {
	Payload *models.ErrorBody
}
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 (*GetContentLibraryVMTemplatesBadRequest) GetPayload

type GetContentLibraryVMTemplatesConnectionBadRequest

type GetContentLibraryVMTemplatesConnectionBadRequest struct {
	Payload *models.ErrorBody
}
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 (*GetContentLibraryVMTemplatesConnectionBadRequest) GetPayload

type GetContentLibraryVMTemplatesConnectionInternalServerError

type GetContentLibraryVMTemplatesConnectionInternalServerError struct {
	Payload *models.ErrorBody
}
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 (*GetContentLibraryVMTemplatesConnectionInternalServerError) GetPayload

type GetContentLibraryVMTemplatesConnectionNotFound

type GetContentLibraryVMTemplatesConnectionNotFound struct {
	Payload *models.ErrorBody
}
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 (*GetContentLibraryVMTemplatesConnectionNotFound) GetPayload

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 (*GetContentLibraryVMTemplatesConnectionOK) GetPayload

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

SetContext adds the context to the get content library Vm templates connection params

func (*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

SetRequestBody adds the requestBody to the get content library Vm templates connection params

func (*GetContentLibraryVMTemplatesConnectionParams) SetTimeout

SetTimeout adds the timeout to the get content library Vm templates connection params

func (*GetContentLibraryVMTemplatesConnectionParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the get content library Vm templates connection params

func (*GetContentLibraryVMTemplatesConnectionParams) WithContext

WithContext adds the context to the get content library Vm templates connection params

func (*GetContentLibraryVMTemplatesConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get content library Vm templates connection params

func (*GetContentLibraryVMTemplatesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get content library Vm templates connection params

func (*GetContentLibraryVMTemplatesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get content library Vm templates connection params

func (*GetContentLibraryVMTemplatesConnectionParams) WriteToRequest

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

type GetContentLibraryVMTemplatesInternalServerError struct {
	Payload *models.ErrorBody
}
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 (*GetContentLibraryVMTemplatesInternalServerError) GetPayload

type GetContentLibraryVMTemplatesNotFound

type GetContentLibraryVMTemplatesNotFound struct {
	Payload *models.ErrorBody
}
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 (*GetContentLibraryVMTemplatesNotFound) GetPayload

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 (*GetContentLibraryVMTemplatesOK) GetPayload

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

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

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

WithContext adds the context to the get content library Vm templates params

func (*GetContentLibraryVMTemplatesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get content library Vm templates params

func (*GetContentLibraryVMTemplatesParams) WithRequestBody

WithRequestBody adds the requestBody to the get content library Vm templates params

func (*GetContentLibraryVMTemplatesParams) WithTimeout

WithTimeout adds the timeout to the get content library Vm templates params

func (*GetContentLibraryVMTemplatesParams) WriteToRequest

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

type RemoveContentLibraryVMTemplateClustersBadRequest struct {
	Payload *models.ErrorBody
}
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 (*RemoveContentLibraryVMTemplateClustersBadRequest) GetPayload

type RemoveContentLibraryVMTemplateClustersInternalServerError

type RemoveContentLibraryVMTemplateClustersInternalServerError struct {
	Payload *models.ErrorBody
}
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 (*RemoveContentLibraryVMTemplateClustersInternalServerError) GetPayload

type RemoveContentLibraryVMTemplateClustersNotFound

type RemoveContentLibraryVMTemplateClustersNotFound struct {
	Payload *models.ErrorBody
}
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 (*RemoveContentLibraryVMTemplateClustersNotFound) GetPayload

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 (*RemoveContentLibraryVMTemplateClustersOK) GetPayload

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

SetContext adds the context to the remove content library Vm template clusters params

func (*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

SetRequestBody adds the requestBody to the remove content library Vm template clusters params

func (*RemoveContentLibraryVMTemplateClustersParams) SetTimeout

SetTimeout adds the timeout to the remove content library Vm template clusters params

func (*RemoveContentLibraryVMTemplateClustersParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the remove content library Vm template clusters params

func (*RemoveContentLibraryVMTemplateClustersParams) WithContext

WithContext adds the context to the remove content library Vm template clusters params

func (*RemoveContentLibraryVMTemplateClustersParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the remove content library Vm template clusters params

func (*RemoveContentLibraryVMTemplateClustersParams) WithRequestBody

WithRequestBody adds the requestBody to the remove content library Vm template clusters params

func (*RemoveContentLibraryVMTemplateClustersParams) WithTimeout

WithTimeout adds the timeout to the remove content library Vm template clusters params

func (*RemoveContentLibraryVMTemplateClustersParams) WriteToRequest

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

type UpdateContentLibraryVMTemplateBadRequest struct {
	Payload *models.ErrorBody
}
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 (*UpdateContentLibraryVMTemplateBadRequest) GetPayload

type UpdateContentLibraryVMTemplateInternalServerError

type UpdateContentLibraryVMTemplateInternalServerError struct {
	Payload *models.ErrorBody
}
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 (*UpdateContentLibraryVMTemplateInternalServerError) GetPayload

type UpdateContentLibraryVMTemplateNotFound

type UpdateContentLibraryVMTemplateNotFound struct {
	Payload *models.ErrorBody
}
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 (*UpdateContentLibraryVMTemplateNotFound) GetPayload

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 (*UpdateContentLibraryVMTemplateOK) GetPayload

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

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

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

WithContext adds the context to the update content library Vm template params

func (*UpdateContentLibraryVMTemplateParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update content library Vm template params

func (*UpdateContentLibraryVMTemplateParams) WithRequestBody

WithRequestBody adds the requestBody to the update content library Vm template params

func (*UpdateContentLibraryVMTemplateParams) WithTimeout

WithTimeout adds the timeout to the update content library Vm template params

func (*UpdateContentLibraryVMTemplateParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL