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 CreateVMFolderInternalServerError
- type CreateVMFolderNotFound
- 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 DeleteVMFolderInternalServerError
- type DeleteVMFolderNotFound
- 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 GetVMFoldersConnectionInternalServerError
- type GetVMFoldersConnectionNotFound
- 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 GetVMFoldersInternalServerError
- type GetVMFoldersNotFound
- 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 UpdateVMFolderInternalServerError
- type UpdateVMFolderNotFound
- 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 ¶
CreateVMFolderBadRequest describes a response with status code 400, with default header values.
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() *models.ErrorBody
type CreateVMFolderInternalServerError ¶
CreateVMFolderInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateVMFolderInternalServerError ¶
func NewCreateVMFolderInternalServerError() *CreateVMFolderInternalServerError
NewCreateVMFolderInternalServerError creates a CreateVMFolderInternalServerError with default headers values
func (*CreateVMFolderInternalServerError) Error ¶
func (o *CreateVMFolderInternalServerError) Error() string
func (*CreateVMFolderInternalServerError) GetPayload ¶
func (o *CreateVMFolderInternalServerError) GetPayload() *models.ErrorBody
type CreateVMFolderNotFound ¶
CreateVMFolderNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateVMFolderNotFound ¶
func NewCreateVMFolderNotFound() *CreateVMFolderNotFound
NewCreateVMFolderNotFound creates a CreateVMFolderNotFound with default headers values
func (*CreateVMFolderNotFound) Error ¶
func (o *CreateVMFolderNotFound) Error() string
func (*CreateVMFolderNotFound) GetPayload ¶
func (o *CreateVMFolderNotFound) GetPayload() *models.ErrorBody
type CreateVMFolderOK ¶
type CreateVMFolderOK struct { XTowerRequestID string Payload []*models.WithTaskVMFolder }
CreateVMFolderOK describes a response with status code 200, with default header values.
CreateVMFolderOK create Vm folder o k
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 ¶
DeleteVMFolderBadRequest describes a response with status code 400, with default header values.
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() *models.ErrorBody
type DeleteVMFolderInternalServerError ¶
DeleteVMFolderInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteVMFolderInternalServerError ¶
func NewDeleteVMFolderInternalServerError() *DeleteVMFolderInternalServerError
NewDeleteVMFolderInternalServerError creates a DeleteVMFolderInternalServerError with default headers values
func (*DeleteVMFolderInternalServerError) Error ¶
func (o *DeleteVMFolderInternalServerError) Error() string
func (*DeleteVMFolderInternalServerError) GetPayload ¶
func (o *DeleteVMFolderInternalServerError) GetPayload() *models.ErrorBody
type DeleteVMFolderNotFound ¶
DeleteVMFolderNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteVMFolderNotFound ¶
func NewDeleteVMFolderNotFound() *DeleteVMFolderNotFound
NewDeleteVMFolderNotFound creates a DeleteVMFolderNotFound with default headers values
func (*DeleteVMFolderNotFound) Error ¶
func (o *DeleteVMFolderNotFound) Error() string
func (*DeleteVMFolderNotFound) GetPayload ¶
func (o *DeleteVMFolderNotFound) GetPayload() *models.ErrorBody
type DeleteVMFolderOK ¶
type DeleteVMFolderOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteVMFolder }
DeleteVMFolderOK describes a response with status code 200, with default header values.
DeleteVMFolderOK delete Vm folder o k
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 ¶
GetVMFoldersBadRequest describes a response with status code 400, with default header values.
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() *models.ErrorBody
type GetVMFoldersConnectionBadRequest ¶
GetVMFoldersConnectionBadRequest describes a response with status code 400, with default header values.
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() *models.ErrorBody
type GetVMFoldersConnectionInternalServerError ¶
type GetVMFoldersConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetVMFoldersConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetVMFoldersConnectionInternalServerError ¶
func NewGetVMFoldersConnectionInternalServerError() *GetVMFoldersConnectionInternalServerError
NewGetVMFoldersConnectionInternalServerError creates a GetVMFoldersConnectionInternalServerError with default headers values
func (*GetVMFoldersConnectionInternalServerError) Error ¶
func (o *GetVMFoldersConnectionInternalServerError) Error() string
func (*GetVMFoldersConnectionInternalServerError) GetPayload ¶
func (o *GetVMFoldersConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetVMFoldersConnectionNotFound ¶
GetVMFoldersConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetVMFoldersConnectionNotFound ¶
func NewGetVMFoldersConnectionNotFound() *GetVMFoldersConnectionNotFound
NewGetVMFoldersConnectionNotFound creates a GetVMFoldersConnectionNotFound with default headers values
func (*GetVMFoldersConnectionNotFound) Error ¶
func (o *GetVMFoldersConnectionNotFound) Error() string
func (*GetVMFoldersConnectionNotFound) GetPayload ¶
func (o *GetVMFoldersConnectionNotFound) GetPayload() *models.ErrorBody
type GetVMFoldersConnectionOK ¶
type GetVMFoldersConnectionOK struct { XTowerRequestID string Payload *models.VMFolderConnection }
GetVMFoldersConnectionOK describes a response with status code 200, with default header values.
GetVMFoldersConnectionOK get Vm folders connection o k
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 GetVMFoldersInternalServerError ¶
GetVMFoldersInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetVMFoldersInternalServerError ¶
func NewGetVMFoldersInternalServerError() *GetVMFoldersInternalServerError
NewGetVMFoldersInternalServerError creates a GetVMFoldersInternalServerError with default headers values
func (*GetVMFoldersInternalServerError) Error ¶
func (o *GetVMFoldersInternalServerError) Error() string
func (*GetVMFoldersInternalServerError) GetPayload ¶
func (o *GetVMFoldersInternalServerError) GetPayload() *models.ErrorBody
type GetVMFoldersNotFound ¶
GetVMFoldersNotFound describes a response with status code 404, with default header values.
Not found
func NewGetVMFoldersNotFound ¶
func NewGetVMFoldersNotFound() *GetVMFoldersNotFound
NewGetVMFoldersNotFound creates a GetVMFoldersNotFound with default headers values
func (*GetVMFoldersNotFound) Error ¶
func (o *GetVMFoldersNotFound) Error() string
func (*GetVMFoldersNotFound) GetPayload ¶
func (o *GetVMFoldersNotFound) GetPayload() *models.ErrorBody
type GetVMFoldersOK ¶
GetVMFoldersOK describes a response with status code 200, with default header values.
GetVMFoldersOK get Vm folders o k
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 ¶
UpdateVMFolderBadRequest describes a response with status code 400, with default header values.
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() *models.ErrorBody
type UpdateVMFolderInternalServerError ¶
UpdateVMFolderInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateVMFolderInternalServerError ¶
func NewUpdateVMFolderInternalServerError() *UpdateVMFolderInternalServerError
NewUpdateVMFolderInternalServerError creates a UpdateVMFolderInternalServerError with default headers values
func (*UpdateVMFolderInternalServerError) Error ¶
func (o *UpdateVMFolderInternalServerError) Error() string
func (*UpdateVMFolderInternalServerError) GetPayload ¶
func (o *UpdateVMFolderInternalServerError) GetPayload() *models.ErrorBody
type UpdateVMFolderNotFound ¶
UpdateVMFolderNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateVMFolderNotFound ¶
func NewUpdateVMFolderNotFound() *UpdateVMFolderNotFound
NewUpdateVMFolderNotFound creates a UpdateVMFolderNotFound with default headers values
func (*UpdateVMFolderNotFound) Error ¶
func (o *UpdateVMFolderNotFound) Error() string
func (*UpdateVMFolderNotFound) GetPayload ¶
func (o *UpdateVMFolderNotFound) GetPayload() *models.ErrorBody
type UpdateVMFolderOK ¶
type UpdateVMFolderOK struct { XTowerRequestID string Payload []*models.WithTaskVMFolder }
UpdateVMFolderOK describes a response with status code 200, with default header values.
UpdateVMFolderOK update Vm folder o k
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