Documentation ¶
Index ¶
- type Client
- func (a *Client) GetContentLibraryVMTemplates(params *GetContentLibraryVMTemplatesParams, opts ...ClientOption) (*GetContentLibraryVMTemplatesOK, error)
- func (a *Client) GetContentLibraryVMTemplatesConnection(params *GetContentLibraryVMTemplatesConnectionParams, opts ...ClientOption) (*GetContentLibraryVMTemplatesConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetContentLibraryVMTemplatesBadRequest
- type GetContentLibraryVMTemplatesConnectionBadRequest
- 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 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
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 (o *GetContentLibraryVMTemplatesBadRequest) Error() string
func (*GetContentLibraryVMTemplatesBadRequest) GetPayload ¶
func (o *GetContentLibraryVMTemplatesBadRequest) GetPayload() string
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 (o *GetContentLibraryVMTemplatesConnectionBadRequest) Error() string
func (*GetContentLibraryVMTemplatesConnectionBadRequest) GetPayload ¶
func (o *GetContentLibraryVMTemplatesConnectionBadRequest) GetPayload() string
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 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.