content_library_vm_template

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 10 Imported by: 0

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) 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) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetContentLibraryVMTemplates(params *GetContentLibraryVMTemplatesParams, opts ...ClientOption) (*GetContentLibraryVMTemplatesOK, error)

	GetContentLibraryVMTemplatesConnection(params *GetContentLibraryVMTemplatesConnectionParams, opts ...ClientOption) (*GetContentLibraryVMTemplatesConnectionOK, 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 GetContentLibraryVMTemplatesBadRequest

type GetContentLibraryVMTemplatesBadRequest struct {
	Payload string
}
GetContentLibraryVMTemplatesBadRequest describes a response with status code 400, with default header values.

GetContentLibraryVMTemplatesBadRequest get content library Vm templates 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 string
}
GetContentLibraryVMTemplatesConnectionBadRequest describes a response with status code 400, with default header values.

GetContentLibraryVMTemplatesConnectionBadRequest get content library Vm templates connection bad request

func NewGetContentLibraryVMTemplatesConnectionBadRequest

func NewGetContentLibraryVMTemplatesConnectionBadRequest() *GetContentLibraryVMTemplatesConnectionBadRequest

NewGetContentLibraryVMTemplatesConnectionBadRequest creates a GetContentLibraryVMTemplatesConnectionBadRequest with default headers values

func (*GetContentLibraryVMTemplatesConnectionBadRequest) Error

func (*GetContentLibraryVMTemplatesConnectionBadRequest) 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 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.

Jump to

Keyboard shortcuts

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