vm_folder

package
v1.10.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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 *models.ErrorBody
}
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 added in v1.10.0

type CreateVMFolderInternalServerError struct {
	Payload *models.ErrorBody
}
CreateVMFolderInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateVMFolderInternalServerError added in v1.10.0

func NewCreateVMFolderInternalServerError() *CreateVMFolderInternalServerError

NewCreateVMFolderInternalServerError creates a CreateVMFolderInternalServerError with default headers values

func (*CreateVMFolderInternalServerError) Error added in v1.10.0

func (*CreateVMFolderInternalServerError) GetPayload added in v1.10.0

type CreateVMFolderNotFound added in v1.10.0

type CreateVMFolderNotFound struct {
	Payload *models.ErrorBody
}
CreateVMFolderNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateVMFolderNotFound added in v1.10.0

func NewCreateVMFolderNotFound() *CreateVMFolderNotFound

NewCreateVMFolderNotFound creates a CreateVMFolderNotFound with default headers values

func (*CreateVMFolderNotFound) Error added in v1.10.0

func (o *CreateVMFolderNotFound) Error() string

func (*CreateVMFolderNotFound) GetPayload added in v1.10.0

func (o *CreateVMFolderNotFound) GetPayload() *models.ErrorBody

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

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 *models.ErrorBody
}
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 added in v1.10.0

type DeleteVMFolderInternalServerError struct {
	Payload *models.ErrorBody
}
DeleteVMFolderInternalServerError describes a response with status code 500, with default header values.

Server error

func NewDeleteVMFolderInternalServerError added in v1.10.0

func NewDeleteVMFolderInternalServerError() *DeleteVMFolderInternalServerError

NewDeleteVMFolderInternalServerError creates a DeleteVMFolderInternalServerError with default headers values

func (*DeleteVMFolderInternalServerError) Error added in v1.10.0

func (*DeleteVMFolderInternalServerError) GetPayload added in v1.10.0

type DeleteVMFolderNotFound added in v1.10.0

type DeleteVMFolderNotFound struct {
	Payload *models.ErrorBody
}
DeleteVMFolderNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteVMFolderNotFound added in v1.10.0

func NewDeleteVMFolderNotFound() *DeleteVMFolderNotFound

NewDeleteVMFolderNotFound creates a DeleteVMFolderNotFound with default headers values

func (*DeleteVMFolderNotFound) Error added in v1.10.0

func (o *DeleteVMFolderNotFound) Error() string

func (*DeleteVMFolderNotFound) GetPayload added in v1.10.0

func (o *DeleteVMFolderNotFound) GetPayload() *models.ErrorBody

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

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 *models.ErrorBody
}
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

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

type GetVMFoldersConnectionInternalServerError added in v1.10.0

type GetVMFoldersConnectionInternalServerError struct {
	Payload *models.ErrorBody
}
GetVMFoldersConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetVMFoldersConnectionInternalServerError added in v1.10.0

func NewGetVMFoldersConnectionInternalServerError() *GetVMFoldersConnectionInternalServerError

NewGetVMFoldersConnectionInternalServerError creates a GetVMFoldersConnectionInternalServerError with default headers values

func (*GetVMFoldersConnectionInternalServerError) Error added in v1.10.0

func (*GetVMFoldersConnectionInternalServerError) GetPayload added in v1.10.0

type GetVMFoldersConnectionNotFound added in v1.10.0

type GetVMFoldersConnectionNotFound struct {
	Payload *models.ErrorBody
}
GetVMFoldersConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetVMFoldersConnectionNotFound added in v1.10.0

func NewGetVMFoldersConnectionNotFound() *GetVMFoldersConnectionNotFound

NewGetVMFoldersConnectionNotFound creates a GetVMFoldersConnectionNotFound with default headers values

func (*GetVMFoldersConnectionNotFound) Error added in v1.10.0

func (*GetVMFoldersConnectionNotFound) GetPayload added in v1.10.0

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

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

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

WithContext adds the context to the get Vm folders connection params

func (*GetVMFoldersConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get Vm folders connection params

func (*GetVMFoldersConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get Vm folders connection params

func (*GetVMFoldersConnectionParams) WithTimeout

WithTimeout adds the timeout to the get Vm folders connection params

func (*GetVMFoldersConnectionParams) WriteToRequest

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 added in v1.10.0

type GetVMFoldersInternalServerError struct {
	Payload *models.ErrorBody
}
GetVMFoldersInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetVMFoldersInternalServerError added in v1.10.0

func NewGetVMFoldersInternalServerError() *GetVMFoldersInternalServerError

NewGetVMFoldersInternalServerError creates a GetVMFoldersInternalServerError with default headers values

func (*GetVMFoldersInternalServerError) Error added in v1.10.0

func (*GetVMFoldersInternalServerError) GetPayload added in v1.10.0

type GetVMFoldersNotFound added in v1.10.0

type GetVMFoldersNotFound struct {
	Payload *models.ErrorBody
}
GetVMFoldersNotFound describes a response with status code 404, with default header values.

Not found

func NewGetVMFoldersNotFound added in v1.10.0

func NewGetVMFoldersNotFound() *GetVMFoldersNotFound

NewGetVMFoldersNotFound creates a GetVMFoldersNotFound with default headers values

func (*GetVMFoldersNotFound) Error added in v1.10.0

func (o *GetVMFoldersNotFound) Error() string

func (*GetVMFoldersNotFound) GetPayload added in v1.10.0

func (o *GetVMFoldersNotFound) GetPayload() *models.ErrorBody

type GetVMFoldersOK

type GetVMFoldersOK struct {
	Payload []*models.VMFolder
}
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

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 *models.ErrorBody
}
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 added in v1.10.0

type UpdateVMFolderInternalServerError struct {
	Payload *models.ErrorBody
}
UpdateVMFolderInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVMFolderInternalServerError added in v1.10.0

func NewUpdateVMFolderInternalServerError() *UpdateVMFolderInternalServerError

NewUpdateVMFolderInternalServerError creates a UpdateVMFolderInternalServerError with default headers values

func (*UpdateVMFolderInternalServerError) Error added in v1.10.0

func (*UpdateVMFolderInternalServerError) GetPayload added in v1.10.0

type UpdateVMFolderNotFound added in v1.10.0

type UpdateVMFolderNotFound struct {
	Payload *models.ErrorBody
}
UpdateVMFolderNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVMFolderNotFound added in v1.10.0

func NewUpdateVMFolderNotFound() *UpdateVMFolderNotFound

NewUpdateVMFolderNotFound creates a UpdateVMFolderNotFound with default headers values

func (*UpdateVMFolderNotFound) Error added in v1.10.0

func (o *UpdateVMFolderNotFound) Error() string

func (*UpdateVMFolderNotFound) GetPayload added in v1.10.0

func (o *UpdateVMFolderNotFound) GetPayload() *models.ErrorBody

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

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.

Jump to

Keyboard shortcuts

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