Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateVMFolder(params *CreateVMFolderParams, opts ...ClientOption) (*CreateVMFolderOK, error)
- func (a *Client) DeleteVMFolder(params *DeleteVMFolderParams, opts ...ClientOption) (*DeleteVMFolderOK, error)
- func (a *Client) GetVMFolders(params *GetVMFoldersParams, opts ...ClientOption) (*GetVMFoldersOK, error)
- func (a *Client) GetVMFoldersConnection(params *GetVMFoldersConnectionParams, opts ...ClientOption) (*GetVMFoldersConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateVMFolder(params *UpdateVMFolderParams, opts ...ClientOption) (*UpdateVMFolderOK, error)
- type ClientOption
- type ClientService
- type CreateVMFolderBadRequest
- type CreateVMFolderOK
- type CreateVMFolderParams
- func NewCreateVMFolderParams() *CreateVMFolderParams
- func NewCreateVMFolderParamsWithContext(ctx context.Context) *CreateVMFolderParams
- func NewCreateVMFolderParamsWithHTTPClient(client *http.Client) *CreateVMFolderParams
- func NewCreateVMFolderParamsWithTimeout(timeout time.Duration) *CreateVMFolderParams
- func (o *CreateVMFolderParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateVMFolderParams) SetContext(ctx context.Context)
- func (o *CreateVMFolderParams) SetDefaults()
- func (o *CreateVMFolderParams) SetHTTPClient(client *http.Client)
- func (o *CreateVMFolderParams) SetRequestBody(requestBody []*models.VMFolderCreationParams)
- func (o *CreateVMFolderParams) SetTimeout(timeout time.Duration)
- func (o *CreateVMFolderParams) WithContentLanguage(contentLanguage *string) *CreateVMFolderParams
- func (o *CreateVMFolderParams) WithContext(ctx context.Context) *CreateVMFolderParams
- func (o *CreateVMFolderParams) WithDefaults() *CreateVMFolderParams
- func (o *CreateVMFolderParams) WithHTTPClient(client *http.Client) *CreateVMFolderParams
- func (o *CreateVMFolderParams) WithRequestBody(requestBody []*models.VMFolderCreationParams) *CreateVMFolderParams
- func (o *CreateVMFolderParams) WithTimeout(timeout time.Duration) *CreateVMFolderParams
- func (o *CreateVMFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVMFolderReader
- type DeleteVMFolderBadRequest
- type DeleteVMFolderOK
- type DeleteVMFolderParams
- func NewDeleteVMFolderParams() *DeleteVMFolderParams
- func NewDeleteVMFolderParamsWithContext(ctx context.Context) *DeleteVMFolderParams
- func NewDeleteVMFolderParamsWithHTTPClient(client *http.Client) *DeleteVMFolderParams
- func NewDeleteVMFolderParamsWithTimeout(timeout time.Duration) *DeleteVMFolderParams
- func (o *DeleteVMFolderParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteVMFolderParams) SetContext(ctx context.Context)
- func (o *DeleteVMFolderParams) SetDefaults()
- func (o *DeleteVMFolderParams) SetHTTPClient(client *http.Client)
- func (o *DeleteVMFolderParams) SetRequestBody(requestBody *models.VMFolderDeletionParams)
- func (o *DeleteVMFolderParams) SetTimeout(timeout time.Duration)
- func (o *DeleteVMFolderParams) WithContentLanguage(contentLanguage *string) *DeleteVMFolderParams
- func (o *DeleteVMFolderParams) WithContext(ctx context.Context) *DeleteVMFolderParams
- func (o *DeleteVMFolderParams) WithDefaults() *DeleteVMFolderParams
- func (o *DeleteVMFolderParams) WithHTTPClient(client *http.Client) *DeleteVMFolderParams
- func (o *DeleteVMFolderParams) WithRequestBody(requestBody *models.VMFolderDeletionParams) *DeleteVMFolderParams
- func (o *DeleteVMFolderParams) WithTimeout(timeout time.Duration) *DeleteVMFolderParams
- func (o *DeleteVMFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteVMFolderReader
- type GetVMFoldersBadRequest
- type GetVMFoldersConnectionBadRequest
- type GetVMFoldersConnectionOK
- type GetVMFoldersConnectionParams
- func NewGetVMFoldersConnectionParams() *GetVMFoldersConnectionParams
- func NewGetVMFoldersConnectionParamsWithContext(ctx context.Context) *GetVMFoldersConnectionParams
- func NewGetVMFoldersConnectionParamsWithHTTPClient(client *http.Client) *GetVMFoldersConnectionParams
- func NewGetVMFoldersConnectionParamsWithTimeout(timeout time.Duration) *GetVMFoldersConnectionParams
- func (o *GetVMFoldersConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVMFoldersConnectionParams) SetContext(ctx context.Context)
- func (o *GetVMFoldersConnectionParams) SetDefaults()
- func (o *GetVMFoldersConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetVMFoldersConnectionParams) SetRequestBody(requestBody *models.GetVMFoldersConnectionRequestBody)
- func (o *GetVMFoldersConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetVMFoldersConnectionParams) WithContentLanguage(contentLanguage *string) *GetVMFoldersConnectionParams
- func (o *GetVMFoldersConnectionParams) WithContext(ctx context.Context) *GetVMFoldersConnectionParams
- func (o *GetVMFoldersConnectionParams) WithDefaults() *GetVMFoldersConnectionParams
- func (o *GetVMFoldersConnectionParams) WithHTTPClient(client *http.Client) *GetVMFoldersConnectionParams
- func (o *GetVMFoldersConnectionParams) WithRequestBody(requestBody *models.GetVMFoldersConnectionRequestBody) *GetVMFoldersConnectionParams
- func (o *GetVMFoldersConnectionParams) WithTimeout(timeout time.Duration) *GetVMFoldersConnectionParams
- func (o *GetVMFoldersConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVMFoldersConnectionReader
- type GetVMFoldersOK
- type GetVMFoldersParams
- func (o *GetVMFoldersParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVMFoldersParams) SetContext(ctx context.Context)
- func (o *GetVMFoldersParams) SetDefaults()
- func (o *GetVMFoldersParams) SetHTTPClient(client *http.Client)
- func (o *GetVMFoldersParams) SetRequestBody(requestBody *models.GetVMFoldersRequestBody)
- func (o *GetVMFoldersParams) SetTimeout(timeout time.Duration)
- func (o *GetVMFoldersParams) WithContentLanguage(contentLanguage *string) *GetVMFoldersParams
- func (o *GetVMFoldersParams) WithContext(ctx context.Context) *GetVMFoldersParams
- func (o *GetVMFoldersParams) WithDefaults() *GetVMFoldersParams
- func (o *GetVMFoldersParams) WithHTTPClient(client *http.Client) *GetVMFoldersParams
- func (o *GetVMFoldersParams) WithRequestBody(requestBody *models.GetVMFoldersRequestBody) *GetVMFoldersParams
- func (o *GetVMFoldersParams) WithTimeout(timeout time.Duration) *GetVMFoldersParams
- func (o *GetVMFoldersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVMFoldersReader
- type UpdateVMFolderBadRequest
- type UpdateVMFolderOK
- type UpdateVMFolderParams
- func NewUpdateVMFolderParams() *UpdateVMFolderParams
- func NewUpdateVMFolderParamsWithContext(ctx context.Context) *UpdateVMFolderParams
- func NewUpdateVMFolderParamsWithHTTPClient(client *http.Client) *UpdateVMFolderParams
- func NewUpdateVMFolderParamsWithTimeout(timeout time.Duration) *UpdateVMFolderParams
- func (o *UpdateVMFolderParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateVMFolderParams) SetContext(ctx context.Context)
- func (o *UpdateVMFolderParams) SetDefaults()
- func (o *UpdateVMFolderParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVMFolderParams) SetRequestBody(requestBody *models.VMFolderUpdationParams)
- func (o *UpdateVMFolderParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVMFolderParams) WithContentLanguage(contentLanguage *string) *UpdateVMFolderParams
- func (o *UpdateVMFolderParams) WithContext(ctx context.Context) *UpdateVMFolderParams
- func (o *UpdateVMFolderParams) WithDefaults() *UpdateVMFolderParams
- func (o *UpdateVMFolderParams) WithHTTPClient(client *http.Client) *UpdateVMFolderParams
- func (o *UpdateVMFolderParams) WithRequestBody(requestBody *models.VMFolderUpdationParams) *UpdateVMFolderParams
- func (o *UpdateVMFolderParams) WithTimeout(timeout time.Duration) *UpdateVMFolderParams
- func (o *UpdateVMFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVMFolderReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for vm folder API
func (*Client) CreateVMFolder ¶
func (a *Client) CreateVMFolder(params *CreateVMFolderParams, opts ...ClientOption) (*CreateVMFolderOK, error)
CreateVMFolder create Vm folder API
func (*Client) DeleteVMFolder ¶
func (a *Client) DeleteVMFolder(params *DeleteVMFolderParams, opts ...ClientOption) (*DeleteVMFolderOK, error)
DeleteVMFolder delete Vm folder API
func (*Client) GetVMFolders ¶
func (a *Client) GetVMFolders(params *GetVMFoldersParams, opts ...ClientOption) (*GetVMFoldersOK, error)
GetVMFolders get Vm folders API
func (*Client) GetVMFoldersConnection ¶
func (a *Client) GetVMFoldersConnection(params *GetVMFoldersConnectionParams, opts ...ClientOption) (*GetVMFoldersConnectionOK, error)
GetVMFoldersConnection get Vm folders connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateVMFolder ¶
func (a *Client) UpdateVMFolder(params *UpdateVMFolderParams, opts ...ClientOption) (*UpdateVMFolderOK, error)
UpdateVMFolder update Vm folder API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateVMFolder(params *CreateVMFolderParams, opts ...ClientOption) (*CreateVMFolderOK, error) DeleteVMFolder(params *DeleteVMFolderParams, opts ...ClientOption) (*DeleteVMFolderOK, error) GetVMFolders(params *GetVMFoldersParams, opts ...ClientOption) (*GetVMFoldersOK, error) GetVMFoldersConnection(params *GetVMFoldersConnectionParams, opts ...ClientOption) (*GetVMFoldersConnectionOK, error) UpdateVMFolder(params *UpdateVMFolderParams, opts ...ClientOption) (*UpdateVMFolderOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new vm folder API client.
type CreateVMFolderBadRequest ¶
type CreateVMFolderBadRequest struct {
Payload string
}
CreateVMFolderBadRequest describes a response with status code 400, with default header values.
CreateVMFolderBadRequest create Vm folder bad request
func NewCreateVMFolderBadRequest ¶
func NewCreateVMFolderBadRequest() *CreateVMFolderBadRequest
NewCreateVMFolderBadRequest creates a CreateVMFolderBadRequest with default headers values
func (*CreateVMFolderBadRequest) Error ¶
func (o *CreateVMFolderBadRequest) Error() string
func (*CreateVMFolderBadRequest) GetPayload ¶
func (o *CreateVMFolderBadRequest) GetPayload() string
type CreateVMFolderOK ¶
type CreateVMFolderOK struct {
Payload []*models.WithTaskVMFolder
}
CreateVMFolderOK describes a response with status code 200, with default header values.
Ok
func NewCreateVMFolderOK ¶
func NewCreateVMFolderOK() *CreateVMFolderOK
NewCreateVMFolderOK creates a CreateVMFolderOK with default headers values
func (*CreateVMFolderOK) Error ¶
func (o *CreateVMFolderOK) Error() string
func (*CreateVMFolderOK) GetPayload ¶
func (o *CreateVMFolderOK) GetPayload() []*models.WithTaskVMFolder
type CreateVMFolderParams ¶
type CreateVMFolderParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.VMFolderCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateVMFolderParams contains all the parameters to send to the API endpoint
for the create Vm folder operation. Typically these are written to a http.Request.
func NewCreateVMFolderParams ¶
func NewCreateVMFolderParams() *CreateVMFolderParams
NewCreateVMFolderParams creates a new CreateVMFolderParams 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 NewCreateVMFolderParamsWithContext ¶
func NewCreateVMFolderParamsWithContext(ctx context.Context) *CreateVMFolderParams
NewCreateVMFolderParamsWithContext creates a new CreateVMFolderParams object with the ability to set a context for a request.
func NewCreateVMFolderParamsWithHTTPClient ¶
func NewCreateVMFolderParamsWithHTTPClient(client *http.Client) *CreateVMFolderParams
NewCreateVMFolderParamsWithHTTPClient creates a new CreateVMFolderParams object with the ability to set a custom HTTPClient for a request.
func NewCreateVMFolderParamsWithTimeout ¶
func NewCreateVMFolderParamsWithTimeout(timeout time.Duration) *CreateVMFolderParams
NewCreateVMFolderParamsWithTimeout creates a new CreateVMFolderParams object with the ability to set a timeout on a request.
func (*CreateVMFolderParams) SetContentLanguage ¶
func (o *CreateVMFolderParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create Vm folder params
func (*CreateVMFolderParams) SetContext ¶
func (o *CreateVMFolderParams) SetContext(ctx context.Context)
SetContext adds the context to the create Vm folder params
func (*CreateVMFolderParams) SetDefaults ¶
func (o *CreateVMFolderParams) SetDefaults()
SetDefaults hydrates default values in the create Vm folder params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVMFolderParams) SetHTTPClient ¶
func (o *CreateVMFolderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create Vm folder params
func (*CreateVMFolderParams) SetRequestBody ¶
func (o *CreateVMFolderParams) SetRequestBody(requestBody []*models.VMFolderCreationParams)
SetRequestBody adds the requestBody to the create Vm folder params
func (*CreateVMFolderParams) SetTimeout ¶
func (o *CreateVMFolderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create Vm folder params
func (*CreateVMFolderParams) WithContentLanguage ¶
func (o *CreateVMFolderParams) WithContentLanguage(contentLanguage *string) *CreateVMFolderParams
WithContentLanguage adds the contentLanguage to the create Vm folder params
func (*CreateVMFolderParams) WithContext ¶
func (o *CreateVMFolderParams) WithContext(ctx context.Context) *CreateVMFolderParams
WithContext adds the context to the create Vm folder params
func (*CreateVMFolderParams) WithDefaults ¶
func (o *CreateVMFolderParams) WithDefaults() *CreateVMFolderParams
WithDefaults hydrates default values in the create Vm folder params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVMFolderParams) WithHTTPClient ¶
func (o *CreateVMFolderParams) WithHTTPClient(client *http.Client) *CreateVMFolderParams
WithHTTPClient adds the HTTPClient to the create Vm folder params
func (*CreateVMFolderParams) WithRequestBody ¶
func (o *CreateVMFolderParams) WithRequestBody(requestBody []*models.VMFolderCreationParams) *CreateVMFolderParams
WithRequestBody adds the requestBody to the create Vm folder params
func (*CreateVMFolderParams) WithTimeout ¶
func (o *CreateVMFolderParams) WithTimeout(timeout time.Duration) *CreateVMFolderParams
WithTimeout adds the timeout to the create Vm folder params
func (*CreateVMFolderParams) WriteToRequest ¶
func (o *CreateVMFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateVMFolderReader ¶
type CreateVMFolderReader struct {
// contains filtered or unexported fields
}
CreateVMFolderReader is a Reader for the CreateVMFolder structure.
func (*CreateVMFolderReader) ReadResponse ¶
func (o *CreateVMFolderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteVMFolderBadRequest ¶
type DeleteVMFolderBadRequest struct {
Payload string
}
DeleteVMFolderBadRequest describes a response with status code 400, with default header values.
DeleteVMFolderBadRequest delete Vm folder bad request
func NewDeleteVMFolderBadRequest ¶
func NewDeleteVMFolderBadRequest() *DeleteVMFolderBadRequest
NewDeleteVMFolderBadRequest creates a DeleteVMFolderBadRequest with default headers values
func (*DeleteVMFolderBadRequest) Error ¶
func (o *DeleteVMFolderBadRequest) Error() string
func (*DeleteVMFolderBadRequest) GetPayload ¶
func (o *DeleteVMFolderBadRequest) GetPayload() string
type DeleteVMFolderOK ¶
type DeleteVMFolderOK struct {
Payload []*models.WithTaskDeleteVMFolder
}
DeleteVMFolderOK describes a response with status code 200, with default header values.
Ok
func NewDeleteVMFolderOK ¶
func NewDeleteVMFolderOK() *DeleteVMFolderOK
NewDeleteVMFolderOK creates a DeleteVMFolderOK with default headers values
func (*DeleteVMFolderOK) Error ¶
func (o *DeleteVMFolderOK) Error() string
func (*DeleteVMFolderOK) GetPayload ¶
func (o *DeleteVMFolderOK) GetPayload() []*models.WithTaskDeleteVMFolder
type DeleteVMFolderParams ¶
type DeleteVMFolderParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMFolderDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteVMFolderParams contains all the parameters to send to the API endpoint
for the delete Vm folder operation. Typically these are written to a http.Request.
func NewDeleteVMFolderParams ¶
func NewDeleteVMFolderParams() *DeleteVMFolderParams
NewDeleteVMFolderParams creates a new DeleteVMFolderParams 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 NewDeleteVMFolderParamsWithContext ¶
func NewDeleteVMFolderParamsWithContext(ctx context.Context) *DeleteVMFolderParams
NewDeleteVMFolderParamsWithContext creates a new DeleteVMFolderParams object with the ability to set a context for a request.
func NewDeleteVMFolderParamsWithHTTPClient ¶
func NewDeleteVMFolderParamsWithHTTPClient(client *http.Client) *DeleteVMFolderParams
NewDeleteVMFolderParamsWithHTTPClient creates a new DeleteVMFolderParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteVMFolderParamsWithTimeout ¶
func NewDeleteVMFolderParamsWithTimeout(timeout time.Duration) *DeleteVMFolderParams
NewDeleteVMFolderParamsWithTimeout creates a new DeleteVMFolderParams object with the ability to set a timeout on a request.
func (*DeleteVMFolderParams) SetContentLanguage ¶
func (o *DeleteVMFolderParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete Vm folder params
func (*DeleteVMFolderParams) SetContext ¶
func (o *DeleteVMFolderParams) SetContext(ctx context.Context)
SetContext adds the context to the delete Vm folder params
func (*DeleteVMFolderParams) SetDefaults ¶
func (o *DeleteVMFolderParams) SetDefaults()
SetDefaults hydrates default values in the delete Vm folder params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVMFolderParams) SetHTTPClient ¶
func (o *DeleteVMFolderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete Vm folder params
func (*DeleteVMFolderParams) SetRequestBody ¶
func (o *DeleteVMFolderParams) SetRequestBody(requestBody *models.VMFolderDeletionParams)
SetRequestBody adds the requestBody to the delete Vm folder params
func (*DeleteVMFolderParams) SetTimeout ¶
func (o *DeleteVMFolderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete Vm folder params
func (*DeleteVMFolderParams) WithContentLanguage ¶
func (o *DeleteVMFolderParams) WithContentLanguage(contentLanguage *string) *DeleteVMFolderParams
WithContentLanguage adds the contentLanguage to the delete Vm folder params
func (*DeleteVMFolderParams) WithContext ¶
func (o *DeleteVMFolderParams) WithContext(ctx context.Context) *DeleteVMFolderParams
WithContext adds the context to the delete Vm folder params
func (*DeleteVMFolderParams) WithDefaults ¶
func (o *DeleteVMFolderParams) WithDefaults() *DeleteVMFolderParams
WithDefaults hydrates default values in the delete Vm folder params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVMFolderParams) WithHTTPClient ¶
func (o *DeleteVMFolderParams) WithHTTPClient(client *http.Client) *DeleteVMFolderParams
WithHTTPClient adds the HTTPClient to the delete Vm folder params
func (*DeleteVMFolderParams) WithRequestBody ¶
func (o *DeleteVMFolderParams) WithRequestBody(requestBody *models.VMFolderDeletionParams) *DeleteVMFolderParams
WithRequestBody adds the requestBody to the delete Vm folder params
func (*DeleteVMFolderParams) WithTimeout ¶
func (o *DeleteVMFolderParams) WithTimeout(timeout time.Duration) *DeleteVMFolderParams
WithTimeout adds the timeout to the delete Vm folder params
func (*DeleteVMFolderParams) WriteToRequest ¶
func (o *DeleteVMFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteVMFolderReader ¶
type DeleteVMFolderReader struct {
// contains filtered or unexported fields
}
DeleteVMFolderReader is a Reader for the DeleteVMFolder structure.
func (*DeleteVMFolderReader) ReadResponse ¶
func (o *DeleteVMFolderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVMFoldersBadRequest ¶
type GetVMFoldersBadRequest struct {
Payload string
}
GetVMFoldersBadRequest describes a response with status code 400, with default header values.
GetVMFoldersBadRequest get Vm folders bad request
func NewGetVMFoldersBadRequest ¶
func NewGetVMFoldersBadRequest() *GetVMFoldersBadRequest
NewGetVMFoldersBadRequest creates a GetVMFoldersBadRequest with default headers values
func (*GetVMFoldersBadRequest) Error ¶
func (o *GetVMFoldersBadRequest) Error() string
func (*GetVMFoldersBadRequest) GetPayload ¶
func (o *GetVMFoldersBadRequest) GetPayload() string
type GetVMFoldersConnectionBadRequest ¶
type GetVMFoldersConnectionBadRequest struct {
Payload string
}
GetVMFoldersConnectionBadRequest describes a response with status code 400, with default header values.
GetVMFoldersConnectionBadRequest get Vm folders connection bad request
func NewGetVMFoldersConnectionBadRequest ¶
func NewGetVMFoldersConnectionBadRequest() *GetVMFoldersConnectionBadRequest
NewGetVMFoldersConnectionBadRequest creates a GetVMFoldersConnectionBadRequest with default headers values
func (*GetVMFoldersConnectionBadRequest) Error ¶
func (o *GetVMFoldersConnectionBadRequest) Error() string
func (*GetVMFoldersConnectionBadRequest) GetPayload ¶
func (o *GetVMFoldersConnectionBadRequest) GetPayload() string
type GetVMFoldersConnectionOK ¶
type GetVMFoldersConnectionOK struct {
Payload *models.VMFolderConnection
}
GetVMFoldersConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetVMFoldersConnectionOK ¶
func NewGetVMFoldersConnectionOK() *GetVMFoldersConnectionOK
NewGetVMFoldersConnectionOK creates a GetVMFoldersConnectionOK with default headers values
func (*GetVMFoldersConnectionOK) Error ¶
func (o *GetVMFoldersConnectionOK) Error() string
func (*GetVMFoldersConnectionOK) GetPayload ¶
func (o *GetVMFoldersConnectionOK) GetPayload() *models.VMFolderConnection
type GetVMFoldersConnectionParams ¶
type GetVMFoldersConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVMFoldersConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVMFoldersConnectionParams contains all the parameters to send to the API endpoint
for the get Vm folders connection operation. Typically these are written to a http.Request.
func NewGetVMFoldersConnectionParams ¶
func NewGetVMFoldersConnectionParams() *GetVMFoldersConnectionParams
NewGetVMFoldersConnectionParams creates a new GetVMFoldersConnectionParams 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 NewGetVMFoldersConnectionParamsWithContext ¶
func NewGetVMFoldersConnectionParamsWithContext(ctx context.Context) *GetVMFoldersConnectionParams
NewGetVMFoldersConnectionParamsWithContext creates a new GetVMFoldersConnectionParams object with the ability to set a context for a request.
func NewGetVMFoldersConnectionParamsWithHTTPClient ¶
func NewGetVMFoldersConnectionParamsWithHTTPClient(client *http.Client) *GetVMFoldersConnectionParams
NewGetVMFoldersConnectionParamsWithHTTPClient creates a new GetVMFoldersConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetVMFoldersConnectionParamsWithTimeout ¶
func NewGetVMFoldersConnectionParamsWithTimeout(timeout time.Duration) *GetVMFoldersConnectionParams
NewGetVMFoldersConnectionParamsWithTimeout creates a new GetVMFoldersConnectionParams object with the ability to set a timeout on a request.
func (*GetVMFoldersConnectionParams) SetContentLanguage ¶
func (o *GetVMFoldersConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get Vm folders connection params
func (*GetVMFoldersConnectionParams) SetContext ¶
func (o *GetVMFoldersConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get Vm folders connection params
func (*GetVMFoldersConnectionParams) SetDefaults ¶
func (o *GetVMFoldersConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get Vm folders connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMFoldersConnectionParams) SetHTTPClient ¶
func (o *GetVMFoldersConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Vm folders connection params
func (*GetVMFoldersConnectionParams) SetRequestBody ¶
func (o *GetVMFoldersConnectionParams) SetRequestBody(requestBody *models.GetVMFoldersConnectionRequestBody)
SetRequestBody adds the requestBody to the get Vm folders connection params
func (*GetVMFoldersConnectionParams) SetTimeout ¶
func (o *GetVMFoldersConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Vm folders connection params
func (*GetVMFoldersConnectionParams) WithContentLanguage ¶
func (o *GetVMFoldersConnectionParams) WithContentLanguage(contentLanguage *string) *GetVMFoldersConnectionParams
WithContentLanguage adds the contentLanguage to the get Vm folders connection params
func (*GetVMFoldersConnectionParams) WithContext ¶
func (o *GetVMFoldersConnectionParams) WithContext(ctx context.Context) *GetVMFoldersConnectionParams
WithContext adds the context to the get Vm folders connection params
func (*GetVMFoldersConnectionParams) WithDefaults ¶
func (o *GetVMFoldersConnectionParams) WithDefaults() *GetVMFoldersConnectionParams
WithDefaults hydrates default values in the get Vm folders connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMFoldersConnectionParams) WithHTTPClient ¶
func (o *GetVMFoldersConnectionParams) WithHTTPClient(client *http.Client) *GetVMFoldersConnectionParams
WithHTTPClient adds the HTTPClient to the get Vm folders connection params
func (*GetVMFoldersConnectionParams) WithRequestBody ¶
func (o *GetVMFoldersConnectionParams) WithRequestBody(requestBody *models.GetVMFoldersConnectionRequestBody) *GetVMFoldersConnectionParams
WithRequestBody adds the requestBody to the get Vm folders connection params
func (*GetVMFoldersConnectionParams) WithTimeout ¶
func (o *GetVMFoldersConnectionParams) WithTimeout(timeout time.Duration) *GetVMFoldersConnectionParams
WithTimeout adds the timeout to the get Vm folders connection params
func (*GetVMFoldersConnectionParams) WriteToRequest ¶
func (o *GetVMFoldersConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVMFoldersConnectionReader ¶
type GetVMFoldersConnectionReader struct {
// contains filtered or unexported fields
}
GetVMFoldersConnectionReader is a Reader for the GetVMFoldersConnection structure.
func (*GetVMFoldersConnectionReader) ReadResponse ¶
func (o *GetVMFoldersConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVMFoldersOK ¶
GetVMFoldersOK describes a response with status code 200, with default header values.
Ok
func NewGetVMFoldersOK ¶
func NewGetVMFoldersOK() *GetVMFoldersOK
NewGetVMFoldersOK creates a GetVMFoldersOK with default headers values
func (*GetVMFoldersOK) Error ¶
func (o *GetVMFoldersOK) Error() string
func (*GetVMFoldersOK) GetPayload ¶
func (o *GetVMFoldersOK) GetPayload() []*models.VMFolder
type GetVMFoldersParams ¶
type GetVMFoldersParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVMFoldersRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVMFoldersParams contains all the parameters to send to the API endpoint
for the get Vm folders operation. Typically these are written to a http.Request.
func NewGetVMFoldersParams ¶
func NewGetVMFoldersParams() *GetVMFoldersParams
NewGetVMFoldersParams creates a new GetVMFoldersParams 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 NewGetVMFoldersParamsWithContext ¶
func NewGetVMFoldersParamsWithContext(ctx context.Context) *GetVMFoldersParams
NewGetVMFoldersParamsWithContext creates a new GetVMFoldersParams object with the ability to set a context for a request.
func NewGetVMFoldersParamsWithHTTPClient ¶
func NewGetVMFoldersParamsWithHTTPClient(client *http.Client) *GetVMFoldersParams
NewGetVMFoldersParamsWithHTTPClient creates a new GetVMFoldersParams object with the ability to set a custom HTTPClient for a request.
func NewGetVMFoldersParamsWithTimeout ¶
func NewGetVMFoldersParamsWithTimeout(timeout time.Duration) *GetVMFoldersParams
NewGetVMFoldersParamsWithTimeout creates a new GetVMFoldersParams object with the ability to set a timeout on a request.
func (*GetVMFoldersParams) SetContentLanguage ¶
func (o *GetVMFoldersParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get Vm folders params
func (*GetVMFoldersParams) SetContext ¶
func (o *GetVMFoldersParams) SetContext(ctx context.Context)
SetContext adds the context to the get Vm folders params
func (*GetVMFoldersParams) SetDefaults ¶
func (o *GetVMFoldersParams) SetDefaults()
SetDefaults hydrates default values in the get Vm folders params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMFoldersParams) SetHTTPClient ¶
func (o *GetVMFoldersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Vm folders params
func (*GetVMFoldersParams) SetRequestBody ¶
func (o *GetVMFoldersParams) SetRequestBody(requestBody *models.GetVMFoldersRequestBody)
SetRequestBody adds the requestBody to the get Vm folders params
func (*GetVMFoldersParams) SetTimeout ¶
func (o *GetVMFoldersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Vm folders params
func (*GetVMFoldersParams) WithContentLanguage ¶
func (o *GetVMFoldersParams) WithContentLanguage(contentLanguage *string) *GetVMFoldersParams
WithContentLanguage adds the contentLanguage to the get Vm folders params
func (*GetVMFoldersParams) WithContext ¶
func (o *GetVMFoldersParams) WithContext(ctx context.Context) *GetVMFoldersParams
WithContext adds the context to the get Vm folders params
func (*GetVMFoldersParams) WithDefaults ¶
func (o *GetVMFoldersParams) WithDefaults() *GetVMFoldersParams
WithDefaults hydrates default values in the get Vm folders params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMFoldersParams) WithHTTPClient ¶
func (o *GetVMFoldersParams) WithHTTPClient(client *http.Client) *GetVMFoldersParams
WithHTTPClient adds the HTTPClient to the get Vm folders params
func (*GetVMFoldersParams) WithRequestBody ¶
func (o *GetVMFoldersParams) WithRequestBody(requestBody *models.GetVMFoldersRequestBody) *GetVMFoldersParams
WithRequestBody adds the requestBody to the get Vm folders params
func (*GetVMFoldersParams) WithTimeout ¶
func (o *GetVMFoldersParams) WithTimeout(timeout time.Duration) *GetVMFoldersParams
WithTimeout adds the timeout to the get Vm folders params
func (*GetVMFoldersParams) WriteToRequest ¶
func (o *GetVMFoldersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVMFoldersReader ¶
type GetVMFoldersReader struct {
// contains filtered or unexported fields
}
GetVMFoldersReader is a Reader for the GetVMFolders structure.
func (*GetVMFoldersReader) ReadResponse ¶
func (o *GetVMFoldersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVMFolderBadRequest ¶
type UpdateVMFolderBadRequest struct {
Payload string
}
UpdateVMFolderBadRequest describes a response with status code 400, with default header values.
UpdateVMFolderBadRequest update Vm folder bad request
func NewUpdateVMFolderBadRequest ¶
func NewUpdateVMFolderBadRequest() *UpdateVMFolderBadRequest
NewUpdateVMFolderBadRequest creates a UpdateVMFolderBadRequest with default headers values
func (*UpdateVMFolderBadRequest) Error ¶
func (o *UpdateVMFolderBadRequest) Error() string
func (*UpdateVMFolderBadRequest) GetPayload ¶
func (o *UpdateVMFolderBadRequest) GetPayload() string
type UpdateVMFolderOK ¶
type UpdateVMFolderOK struct {
Payload []*models.WithTaskVMFolder
}
UpdateVMFolderOK describes a response with status code 200, with default header values.
Ok
func NewUpdateVMFolderOK ¶
func NewUpdateVMFolderOK() *UpdateVMFolderOK
NewUpdateVMFolderOK creates a UpdateVMFolderOK with default headers values
func (*UpdateVMFolderOK) Error ¶
func (o *UpdateVMFolderOK) Error() string
func (*UpdateVMFolderOK) GetPayload ¶
func (o *UpdateVMFolderOK) GetPayload() []*models.WithTaskVMFolder
type UpdateVMFolderParams ¶
type UpdateVMFolderParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMFolderUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVMFolderParams contains all the parameters to send to the API endpoint
for the update Vm folder operation. Typically these are written to a http.Request.
func NewUpdateVMFolderParams ¶
func NewUpdateVMFolderParams() *UpdateVMFolderParams
NewUpdateVMFolderParams creates a new UpdateVMFolderParams 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 NewUpdateVMFolderParamsWithContext ¶
func NewUpdateVMFolderParamsWithContext(ctx context.Context) *UpdateVMFolderParams
NewUpdateVMFolderParamsWithContext creates a new UpdateVMFolderParams object with the ability to set a context for a request.
func NewUpdateVMFolderParamsWithHTTPClient ¶
func NewUpdateVMFolderParamsWithHTTPClient(client *http.Client) *UpdateVMFolderParams
NewUpdateVMFolderParamsWithHTTPClient creates a new UpdateVMFolderParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVMFolderParamsWithTimeout ¶
func NewUpdateVMFolderParamsWithTimeout(timeout time.Duration) *UpdateVMFolderParams
NewUpdateVMFolderParamsWithTimeout creates a new UpdateVMFolderParams object with the ability to set a timeout on a request.
func (*UpdateVMFolderParams) SetContentLanguage ¶
func (o *UpdateVMFolderParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update Vm folder params
func (*UpdateVMFolderParams) SetContext ¶
func (o *UpdateVMFolderParams) SetContext(ctx context.Context)
SetContext adds the context to the update Vm folder params
func (*UpdateVMFolderParams) SetDefaults ¶
func (o *UpdateVMFolderParams) SetDefaults()
SetDefaults hydrates default values in the update Vm folder params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMFolderParams) SetHTTPClient ¶
func (o *UpdateVMFolderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update Vm folder params
func (*UpdateVMFolderParams) SetRequestBody ¶
func (o *UpdateVMFolderParams) SetRequestBody(requestBody *models.VMFolderUpdationParams)
SetRequestBody adds the requestBody to the update Vm folder params
func (*UpdateVMFolderParams) SetTimeout ¶
func (o *UpdateVMFolderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update Vm folder params
func (*UpdateVMFolderParams) WithContentLanguage ¶
func (o *UpdateVMFolderParams) WithContentLanguage(contentLanguage *string) *UpdateVMFolderParams
WithContentLanguage adds the contentLanguage to the update Vm folder params
func (*UpdateVMFolderParams) WithContext ¶
func (o *UpdateVMFolderParams) WithContext(ctx context.Context) *UpdateVMFolderParams
WithContext adds the context to the update Vm folder params
func (*UpdateVMFolderParams) WithDefaults ¶
func (o *UpdateVMFolderParams) WithDefaults() *UpdateVMFolderParams
WithDefaults hydrates default values in the update Vm folder params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMFolderParams) WithHTTPClient ¶
func (o *UpdateVMFolderParams) WithHTTPClient(client *http.Client) *UpdateVMFolderParams
WithHTTPClient adds the HTTPClient to the update Vm folder params
func (*UpdateVMFolderParams) WithRequestBody ¶
func (o *UpdateVMFolderParams) WithRequestBody(requestBody *models.VMFolderUpdationParams) *UpdateVMFolderParams
WithRequestBody adds the requestBody to the update Vm folder params
func (*UpdateVMFolderParams) WithTimeout ¶
func (o *UpdateVMFolderParams) WithTimeout(timeout time.Duration) *UpdateVMFolderParams
WithTimeout adds the timeout to the update Vm folder params
func (*UpdateVMFolderParams) WriteToRequest ¶
func (o *UpdateVMFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVMFolderReader ¶
type UpdateVMFolderReader struct {
// contains filtered or unexported fields
}
UpdateVMFolderReader is a Reader for the UpdateVMFolder structure.
func (*UpdateVMFolderReader) ReadResponse ¶
func (o *UpdateVMFolderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_vm_folder_parameters.go
- create_vm_folder_responses.go
- delete_vm_folder_parameters.go
- delete_vm_folder_responses.go
- get_vm_folders_connection_parameters.go
- get_vm_folders_connection_responses.go
- get_vm_folders_parameters.go
- get_vm_folders_responses.go
- update_vm_folder_parameters.go
- update_vm_folder_responses.go
- vm_folder_client.go