vcenter_account

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 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 vcenter account API

func (*Client) CreateVcenterAccount added in v2.1.0

func (a *Client) CreateVcenterAccount(params *CreateVcenterAccountParams, opts ...ClientOption) (*CreateVcenterAccountOK, error)

CreateVcenterAccount create vcenter account API

func (*Client) GetVcenterAccounts

func (a *Client) GetVcenterAccounts(params *GetVcenterAccountsParams, opts ...ClientOption) (*GetVcenterAccountsOK, error)

GetVcenterAccounts get vcenter accounts API

func (*Client) GetVcenterAccountsConnection

func (a *Client) GetVcenterAccountsConnection(params *GetVcenterAccountsConnectionParams, opts ...ClientOption) (*GetVcenterAccountsConnectionOK, error)

GetVcenterAccountsConnection get vcenter accounts connection API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateVcenterAccount added in v2.1.0

func (a *Client) UpdateVcenterAccount(params *UpdateVcenterAccountParams, opts ...ClientOption) (*UpdateVcenterAccountOK, error)

UpdateVcenterAccount update vcenter account API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateVcenterAccount(params *CreateVcenterAccountParams, opts ...ClientOption) (*CreateVcenterAccountOK, error)

	GetVcenterAccounts(params *GetVcenterAccountsParams, opts ...ClientOption) (*GetVcenterAccountsOK, error)

	GetVcenterAccountsConnection(params *GetVcenterAccountsConnectionParams, opts ...ClientOption) (*GetVcenterAccountsConnectionOK, error)

	UpdateVcenterAccount(params *UpdateVcenterAccountParams, opts ...ClientOption) (*UpdateVcenterAccountOK, 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 vcenter account API client.

type CreateVcenterAccountBadRequest added in v2.1.0

type CreateVcenterAccountBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVcenterAccountBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateVcenterAccountBadRequest added in v2.1.0

func NewCreateVcenterAccountBadRequest() *CreateVcenterAccountBadRequest

NewCreateVcenterAccountBadRequest creates a CreateVcenterAccountBadRequest with default headers values

func (*CreateVcenterAccountBadRequest) Error added in v2.1.0

func (*CreateVcenterAccountBadRequest) GetPayload added in v2.1.0

type CreateVcenterAccountInternalServerError added in v2.1.0

type CreateVcenterAccountInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVcenterAccountInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateVcenterAccountInternalServerError added in v2.1.0

func NewCreateVcenterAccountInternalServerError() *CreateVcenterAccountInternalServerError

NewCreateVcenterAccountInternalServerError creates a CreateVcenterAccountInternalServerError with default headers values

func (*CreateVcenterAccountInternalServerError) Error added in v2.1.0

func (*CreateVcenterAccountInternalServerError) GetPayload added in v2.1.0

type CreateVcenterAccountNotFound added in v2.1.0

type CreateVcenterAccountNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVcenterAccountNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateVcenterAccountNotFound added in v2.1.0

func NewCreateVcenterAccountNotFound() *CreateVcenterAccountNotFound

NewCreateVcenterAccountNotFound creates a CreateVcenterAccountNotFound with default headers values

func (*CreateVcenterAccountNotFound) Error added in v2.1.0

func (*CreateVcenterAccountNotFound) GetPayload added in v2.1.0

type CreateVcenterAccountOK added in v2.1.0

type CreateVcenterAccountOK struct {
	XTowerRequestID string

	Payload *models.WithTaskVcenterAccount
}
CreateVcenterAccountOK describes a response with status code 200, with default header values.

CreateVcenterAccountOK create vcenter account o k

func NewCreateVcenterAccountOK added in v2.1.0

func NewCreateVcenterAccountOK() *CreateVcenterAccountOK

NewCreateVcenterAccountOK creates a CreateVcenterAccountOK with default headers values

func (*CreateVcenterAccountOK) Error added in v2.1.0

func (o *CreateVcenterAccountOK) Error() string

func (*CreateVcenterAccountOK) GetPayload added in v2.1.0

type CreateVcenterAccountParams added in v2.1.0

type CreateVcenterAccountParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.CreateVcenterAccountParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateVcenterAccountParams contains all the parameters to send to the API endpoint

for the create vcenter account operation.

Typically these are written to a http.Request.

func NewCreateVcenterAccountParams added in v2.1.0

func NewCreateVcenterAccountParams() *CreateVcenterAccountParams

NewCreateVcenterAccountParams creates a new CreateVcenterAccountParams 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 NewCreateVcenterAccountParamsWithContext added in v2.1.0

func NewCreateVcenterAccountParamsWithContext(ctx context.Context) *CreateVcenterAccountParams

NewCreateVcenterAccountParamsWithContext creates a new CreateVcenterAccountParams object with the ability to set a context for a request.

func NewCreateVcenterAccountParamsWithHTTPClient added in v2.1.0

func NewCreateVcenterAccountParamsWithHTTPClient(client *http.Client) *CreateVcenterAccountParams

NewCreateVcenterAccountParamsWithHTTPClient creates a new CreateVcenterAccountParams object with the ability to set a custom HTTPClient for a request.

func NewCreateVcenterAccountParamsWithTimeout added in v2.1.0

func NewCreateVcenterAccountParamsWithTimeout(timeout time.Duration) *CreateVcenterAccountParams

NewCreateVcenterAccountParamsWithTimeout creates a new CreateVcenterAccountParams object with the ability to set a timeout on a request.

func (*CreateVcenterAccountParams) SetContentLanguage added in v2.1.0

func (o *CreateVcenterAccountParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create vcenter account params

func (*CreateVcenterAccountParams) SetContext added in v2.1.0

func (o *CreateVcenterAccountParams) SetContext(ctx context.Context)

SetContext adds the context to the create vcenter account params

func (*CreateVcenterAccountParams) SetDefaults added in v2.1.0

func (o *CreateVcenterAccountParams) SetDefaults()

SetDefaults hydrates default values in the create vcenter account params (not the query body).

All values with no default are reset to their zero value.

func (*CreateVcenterAccountParams) SetHTTPClient added in v2.1.0

func (o *CreateVcenterAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create vcenter account params

func (*CreateVcenterAccountParams) SetRequestBody added in v2.1.0

func (o *CreateVcenterAccountParams) SetRequestBody(requestBody *models.CreateVcenterAccountParams)

SetRequestBody adds the requestBody to the create vcenter account params

func (*CreateVcenterAccountParams) SetTimeout added in v2.1.0

func (o *CreateVcenterAccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create vcenter account params

func (*CreateVcenterAccountParams) WithContentLanguage added in v2.1.0

func (o *CreateVcenterAccountParams) WithContentLanguage(contentLanguage *string) *CreateVcenterAccountParams

WithContentLanguage adds the contentLanguage to the create vcenter account params

func (*CreateVcenterAccountParams) WithContext added in v2.1.0

WithContext adds the context to the create vcenter account params

func (*CreateVcenterAccountParams) WithDefaults added in v2.1.0

WithDefaults hydrates default values in the create vcenter account params (not the query body).

All values with no default are reset to their zero value.

func (*CreateVcenterAccountParams) WithHTTPClient added in v2.1.0

WithHTTPClient adds the HTTPClient to the create vcenter account params

func (*CreateVcenterAccountParams) WithRequestBody added in v2.1.0

WithRequestBody adds the requestBody to the create vcenter account params

func (*CreateVcenterAccountParams) WithTimeout added in v2.1.0

WithTimeout adds the timeout to the create vcenter account params

func (*CreateVcenterAccountParams) WriteToRequest added in v2.1.0

WriteToRequest writes these params to a swagger request

type CreateVcenterAccountReader added in v2.1.0

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

CreateVcenterAccountReader is a Reader for the CreateVcenterAccount structure.

func (*CreateVcenterAccountReader) ReadResponse added in v2.1.0

func (o *CreateVcenterAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVcenterAccountsBadRequest

type GetVcenterAccountsBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVcenterAccountsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetVcenterAccountsBadRequest

func NewGetVcenterAccountsBadRequest() *GetVcenterAccountsBadRequest

NewGetVcenterAccountsBadRequest creates a GetVcenterAccountsBadRequest with default headers values

func (*GetVcenterAccountsBadRequest) Error

func (*GetVcenterAccountsBadRequest) GetPayload

type GetVcenterAccountsConnectionBadRequest

type GetVcenterAccountsConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVcenterAccountsConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetVcenterAccountsConnectionBadRequest

func NewGetVcenterAccountsConnectionBadRequest() *GetVcenterAccountsConnectionBadRequest

NewGetVcenterAccountsConnectionBadRequest creates a GetVcenterAccountsConnectionBadRequest with default headers values

func (*GetVcenterAccountsConnectionBadRequest) Error

func (*GetVcenterAccountsConnectionBadRequest) GetPayload

type GetVcenterAccountsConnectionInternalServerError

type GetVcenterAccountsConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVcenterAccountsConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetVcenterAccountsConnectionInternalServerError

func NewGetVcenterAccountsConnectionInternalServerError() *GetVcenterAccountsConnectionInternalServerError

NewGetVcenterAccountsConnectionInternalServerError creates a GetVcenterAccountsConnectionInternalServerError with default headers values

func (*GetVcenterAccountsConnectionInternalServerError) Error

func (*GetVcenterAccountsConnectionInternalServerError) GetPayload

type GetVcenterAccountsConnectionNotFound

type GetVcenterAccountsConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVcenterAccountsConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetVcenterAccountsConnectionNotFound

func NewGetVcenterAccountsConnectionNotFound() *GetVcenterAccountsConnectionNotFound

NewGetVcenterAccountsConnectionNotFound creates a GetVcenterAccountsConnectionNotFound with default headers values

func (*GetVcenterAccountsConnectionNotFound) Error

func (*GetVcenterAccountsConnectionNotFound) GetPayload

type GetVcenterAccountsConnectionOK

type GetVcenterAccountsConnectionOK struct {
	XTowerRequestID string

	Payload *models.VcenterAccountConnection
}
GetVcenterAccountsConnectionOK describes a response with status code 200, with default header values.

GetVcenterAccountsConnectionOK get vcenter accounts connection o k

func NewGetVcenterAccountsConnectionOK

func NewGetVcenterAccountsConnectionOK() *GetVcenterAccountsConnectionOK

NewGetVcenterAccountsConnectionOK creates a GetVcenterAccountsConnectionOK with default headers values

func (*GetVcenterAccountsConnectionOK) Error

func (*GetVcenterAccountsConnectionOK) GetPayload

type GetVcenterAccountsConnectionParams

type GetVcenterAccountsConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetVcenterAccountsConnectionRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVcenterAccountsConnectionParams contains all the parameters to send to the API endpoint

for the get vcenter accounts connection operation.

Typically these are written to a http.Request.

func NewGetVcenterAccountsConnectionParams

func NewGetVcenterAccountsConnectionParams() *GetVcenterAccountsConnectionParams

NewGetVcenterAccountsConnectionParams creates a new GetVcenterAccountsConnectionParams 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 NewGetVcenterAccountsConnectionParamsWithContext

func NewGetVcenterAccountsConnectionParamsWithContext(ctx context.Context) *GetVcenterAccountsConnectionParams

NewGetVcenterAccountsConnectionParamsWithContext creates a new GetVcenterAccountsConnectionParams object with the ability to set a context for a request.

func NewGetVcenterAccountsConnectionParamsWithHTTPClient

func NewGetVcenterAccountsConnectionParamsWithHTTPClient(client *http.Client) *GetVcenterAccountsConnectionParams

NewGetVcenterAccountsConnectionParamsWithHTTPClient creates a new GetVcenterAccountsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetVcenterAccountsConnectionParamsWithTimeout

func NewGetVcenterAccountsConnectionParamsWithTimeout(timeout time.Duration) *GetVcenterAccountsConnectionParams

NewGetVcenterAccountsConnectionParamsWithTimeout creates a new GetVcenterAccountsConnectionParams object with the ability to set a timeout on a request.

func (*GetVcenterAccountsConnectionParams) SetContentLanguage

func (o *GetVcenterAccountsConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get vcenter accounts connection params

func (*GetVcenterAccountsConnectionParams) SetContext

SetContext adds the context to the get vcenter accounts connection params

func (*GetVcenterAccountsConnectionParams) SetDefaults

func (o *GetVcenterAccountsConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get vcenter accounts connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetVcenterAccountsConnectionParams) SetHTTPClient

func (o *GetVcenterAccountsConnectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get vcenter accounts connection params

func (*GetVcenterAccountsConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get vcenter accounts connection params

func (*GetVcenterAccountsConnectionParams) SetTimeout

func (o *GetVcenterAccountsConnectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get vcenter accounts connection params

func (*GetVcenterAccountsConnectionParams) WithContentLanguage

func (o *GetVcenterAccountsConnectionParams) WithContentLanguage(contentLanguage *string) *GetVcenterAccountsConnectionParams

WithContentLanguage adds the contentLanguage to the get vcenter accounts connection params

func (*GetVcenterAccountsConnectionParams) WithContext

WithContext adds the context to the get vcenter accounts connection params

func (*GetVcenterAccountsConnectionParams) WithDefaults

WithDefaults hydrates default values in the get vcenter accounts connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetVcenterAccountsConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get vcenter accounts connection params

func (*GetVcenterAccountsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get vcenter accounts connection params

func (*GetVcenterAccountsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get vcenter accounts connection params

func (*GetVcenterAccountsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVcenterAccountsConnectionReader

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

GetVcenterAccountsConnectionReader is a Reader for the GetVcenterAccountsConnection structure.

func (*GetVcenterAccountsConnectionReader) ReadResponse

func (o *GetVcenterAccountsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVcenterAccountsInternalServerError

type GetVcenterAccountsInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVcenterAccountsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetVcenterAccountsInternalServerError

func NewGetVcenterAccountsInternalServerError() *GetVcenterAccountsInternalServerError

NewGetVcenterAccountsInternalServerError creates a GetVcenterAccountsInternalServerError with default headers values

func (*GetVcenterAccountsInternalServerError) Error

func (*GetVcenterAccountsInternalServerError) GetPayload

type GetVcenterAccountsNotFound

type GetVcenterAccountsNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVcenterAccountsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetVcenterAccountsNotFound

func NewGetVcenterAccountsNotFound() *GetVcenterAccountsNotFound

NewGetVcenterAccountsNotFound creates a GetVcenterAccountsNotFound with default headers values

func (*GetVcenterAccountsNotFound) Error

func (*GetVcenterAccountsNotFound) GetPayload

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

type GetVcenterAccountsOK

type GetVcenterAccountsOK struct {
	XTowerRequestID string

	Payload []*models.VcenterAccount
}
GetVcenterAccountsOK describes a response with status code 200, with default header values.

GetVcenterAccountsOK get vcenter accounts o k

func NewGetVcenterAccountsOK

func NewGetVcenterAccountsOK() *GetVcenterAccountsOK

NewGetVcenterAccountsOK creates a GetVcenterAccountsOK with default headers values

func (*GetVcenterAccountsOK) Error

func (o *GetVcenterAccountsOK) Error() string

func (*GetVcenterAccountsOK) GetPayload

func (o *GetVcenterAccountsOK) GetPayload() []*models.VcenterAccount

type GetVcenterAccountsParams

type GetVcenterAccountsParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetVcenterAccountsRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVcenterAccountsParams contains all the parameters to send to the API endpoint

for the get vcenter accounts operation.

Typically these are written to a http.Request.

func NewGetVcenterAccountsParams

func NewGetVcenterAccountsParams() *GetVcenterAccountsParams

NewGetVcenterAccountsParams creates a new GetVcenterAccountsParams 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 NewGetVcenterAccountsParamsWithContext

func NewGetVcenterAccountsParamsWithContext(ctx context.Context) *GetVcenterAccountsParams

NewGetVcenterAccountsParamsWithContext creates a new GetVcenterAccountsParams object with the ability to set a context for a request.

func NewGetVcenterAccountsParamsWithHTTPClient

func NewGetVcenterAccountsParamsWithHTTPClient(client *http.Client) *GetVcenterAccountsParams

NewGetVcenterAccountsParamsWithHTTPClient creates a new GetVcenterAccountsParams object with the ability to set a custom HTTPClient for a request.

func NewGetVcenterAccountsParamsWithTimeout

func NewGetVcenterAccountsParamsWithTimeout(timeout time.Duration) *GetVcenterAccountsParams

NewGetVcenterAccountsParamsWithTimeout creates a new GetVcenterAccountsParams object with the ability to set a timeout on a request.

func (*GetVcenterAccountsParams) SetContentLanguage

func (o *GetVcenterAccountsParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get vcenter accounts params

func (*GetVcenterAccountsParams) SetContext

func (o *GetVcenterAccountsParams) SetContext(ctx context.Context)

SetContext adds the context to the get vcenter accounts params

func (*GetVcenterAccountsParams) SetDefaults

func (o *GetVcenterAccountsParams) SetDefaults()

SetDefaults hydrates default values in the get vcenter accounts params (not the query body).

All values with no default are reset to their zero value.

func (*GetVcenterAccountsParams) SetHTTPClient

func (o *GetVcenterAccountsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get vcenter accounts params

func (*GetVcenterAccountsParams) SetRequestBody

func (o *GetVcenterAccountsParams) SetRequestBody(requestBody *models.GetVcenterAccountsRequestBody)

SetRequestBody adds the requestBody to the get vcenter accounts params

func (*GetVcenterAccountsParams) SetTimeout

func (o *GetVcenterAccountsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get vcenter accounts params

func (*GetVcenterAccountsParams) WithContentLanguage

func (o *GetVcenterAccountsParams) WithContentLanguage(contentLanguage *string) *GetVcenterAccountsParams

WithContentLanguage adds the contentLanguage to the get vcenter accounts params

func (*GetVcenterAccountsParams) WithContext

WithContext adds the context to the get vcenter accounts params

func (*GetVcenterAccountsParams) WithDefaults

WithDefaults hydrates default values in the get vcenter accounts params (not the query body).

All values with no default are reset to their zero value.

func (*GetVcenterAccountsParams) WithHTTPClient

func (o *GetVcenterAccountsParams) WithHTTPClient(client *http.Client) *GetVcenterAccountsParams

WithHTTPClient adds the HTTPClient to the get vcenter accounts params

func (*GetVcenterAccountsParams) WithRequestBody

WithRequestBody adds the requestBody to the get vcenter accounts params

func (*GetVcenterAccountsParams) WithTimeout

WithTimeout adds the timeout to the get vcenter accounts params

func (*GetVcenterAccountsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVcenterAccountsReader

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

GetVcenterAccountsReader is a Reader for the GetVcenterAccounts structure.

func (*GetVcenterAccountsReader) ReadResponse

func (o *GetVcenterAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateVcenterAccountBadRequest added in v2.1.0

type UpdateVcenterAccountBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVcenterAccountBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateVcenterAccountBadRequest added in v2.1.0

func NewUpdateVcenterAccountBadRequest() *UpdateVcenterAccountBadRequest

NewUpdateVcenterAccountBadRequest creates a UpdateVcenterAccountBadRequest with default headers values

func (*UpdateVcenterAccountBadRequest) Error added in v2.1.0

func (*UpdateVcenterAccountBadRequest) GetPayload added in v2.1.0

type UpdateVcenterAccountInternalServerError added in v2.1.0

type UpdateVcenterAccountInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVcenterAccountInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVcenterAccountInternalServerError added in v2.1.0

func NewUpdateVcenterAccountInternalServerError() *UpdateVcenterAccountInternalServerError

NewUpdateVcenterAccountInternalServerError creates a UpdateVcenterAccountInternalServerError with default headers values

func (*UpdateVcenterAccountInternalServerError) Error added in v2.1.0

func (*UpdateVcenterAccountInternalServerError) GetPayload added in v2.1.0

type UpdateVcenterAccountNotFound added in v2.1.0

type UpdateVcenterAccountNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVcenterAccountNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVcenterAccountNotFound added in v2.1.0

func NewUpdateVcenterAccountNotFound() *UpdateVcenterAccountNotFound

NewUpdateVcenterAccountNotFound creates a UpdateVcenterAccountNotFound with default headers values

func (*UpdateVcenterAccountNotFound) Error added in v2.1.0

func (*UpdateVcenterAccountNotFound) GetPayload added in v2.1.0

type UpdateVcenterAccountOK added in v2.1.0

type UpdateVcenterAccountOK struct {
	XTowerRequestID string

	Payload *models.WithTaskVcenterAccount
}
UpdateVcenterAccountOK describes a response with status code 200, with default header values.

UpdateVcenterAccountOK update vcenter account o k

func NewUpdateVcenterAccountOK added in v2.1.0

func NewUpdateVcenterAccountOK() *UpdateVcenterAccountOK

NewUpdateVcenterAccountOK creates a UpdateVcenterAccountOK with default headers values

func (*UpdateVcenterAccountOK) Error added in v2.1.0

func (o *UpdateVcenterAccountOK) Error() string

func (*UpdateVcenterAccountOK) GetPayload added in v2.1.0

type UpdateVcenterAccountParams added in v2.1.0

type UpdateVcenterAccountParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.UpdateVcenterAccountParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateVcenterAccountParams contains all the parameters to send to the API endpoint

for the update vcenter account operation.

Typically these are written to a http.Request.

func NewUpdateVcenterAccountParams added in v2.1.0

func NewUpdateVcenterAccountParams() *UpdateVcenterAccountParams

NewUpdateVcenterAccountParams creates a new UpdateVcenterAccountParams 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 NewUpdateVcenterAccountParamsWithContext added in v2.1.0

func NewUpdateVcenterAccountParamsWithContext(ctx context.Context) *UpdateVcenterAccountParams

NewUpdateVcenterAccountParamsWithContext creates a new UpdateVcenterAccountParams object with the ability to set a context for a request.

func NewUpdateVcenterAccountParamsWithHTTPClient added in v2.1.0

func NewUpdateVcenterAccountParamsWithHTTPClient(client *http.Client) *UpdateVcenterAccountParams

NewUpdateVcenterAccountParamsWithHTTPClient creates a new UpdateVcenterAccountParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVcenterAccountParamsWithTimeout added in v2.1.0

func NewUpdateVcenterAccountParamsWithTimeout(timeout time.Duration) *UpdateVcenterAccountParams

NewUpdateVcenterAccountParamsWithTimeout creates a new UpdateVcenterAccountParams object with the ability to set a timeout on a request.

func (*UpdateVcenterAccountParams) SetContentLanguage added in v2.1.0

func (o *UpdateVcenterAccountParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update vcenter account params

func (*UpdateVcenterAccountParams) SetContext added in v2.1.0

func (o *UpdateVcenterAccountParams) SetContext(ctx context.Context)

SetContext adds the context to the update vcenter account params

func (*UpdateVcenterAccountParams) SetDefaults added in v2.1.0

func (o *UpdateVcenterAccountParams) SetDefaults()

SetDefaults hydrates default values in the update vcenter account params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVcenterAccountParams) SetHTTPClient added in v2.1.0

func (o *UpdateVcenterAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update vcenter account params

func (*UpdateVcenterAccountParams) SetRequestBody added in v2.1.0

func (o *UpdateVcenterAccountParams) SetRequestBody(requestBody *models.UpdateVcenterAccountParams)

SetRequestBody adds the requestBody to the update vcenter account params

func (*UpdateVcenterAccountParams) SetTimeout added in v2.1.0

func (o *UpdateVcenterAccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update vcenter account params

func (*UpdateVcenterAccountParams) WithContentLanguage added in v2.1.0

func (o *UpdateVcenterAccountParams) WithContentLanguage(contentLanguage *string) *UpdateVcenterAccountParams

WithContentLanguage adds the contentLanguage to the update vcenter account params

func (*UpdateVcenterAccountParams) WithContext added in v2.1.0

WithContext adds the context to the update vcenter account params

func (*UpdateVcenterAccountParams) WithDefaults added in v2.1.0

WithDefaults hydrates default values in the update vcenter account params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVcenterAccountParams) WithHTTPClient added in v2.1.0

WithHTTPClient adds the HTTPClient to the update vcenter account params

func (*UpdateVcenterAccountParams) WithRequestBody added in v2.1.0

WithRequestBody adds the requestBody to the update vcenter account params

func (*UpdateVcenterAccountParams) WithTimeout added in v2.1.0

WithTimeout adds the timeout to the update vcenter account params

func (*UpdateVcenterAccountParams) WriteToRequest added in v2.1.0

WriteToRequest writes these params to a swagger request

type UpdateVcenterAccountReader added in v2.1.0

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

UpdateVcenterAccountReader is a Reader for the UpdateVcenterAccount structure.

func (*UpdateVcenterAccountReader) ReadResponse added in v2.1.0

func (o *UpdateVcenterAccountReader) 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