Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateVcenterAccount(params *CreateVcenterAccountParams, opts ...ClientOption) (*CreateVcenterAccountOK, error)
- func (a *Client) GetVcenterAccounts(params *GetVcenterAccountsParams, opts ...ClientOption) (*GetVcenterAccountsOK, error)
- func (a *Client) GetVcenterAccountsConnection(params *GetVcenterAccountsConnectionParams, opts ...ClientOption) (*GetVcenterAccountsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateVcenterAccount(params *UpdateVcenterAccountParams, opts ...ClientOption) (*UpdateVcenterAccountOK, error)
- type ClientOption
- type ClientService
- type CreateVcenterAccountBadRequest
- type CreateVcenterAccountInternalServerError
- type CreateVcenterAccountNotFound
- type CreateVcenterAccountOK
- type CreateVcenterAccountParams
- func NewCreateVcenterAccountParams() *CreateVcenterAccountParams
- func NewCreateVcenterAccountParamsWithContext(ctx context.Context) *CreateVcenterAccountParams
- func NewCreateVcenterAccountParamsWithHTTPClient(client *http.Client) *CreateVcenterAccountParams
- func NewCreateVcenterAccountParamsWithTimeout(timeout time.Duration) *CreateVcenterAccountParams
- func (o *CreateVcenterAccountParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateVcenterAccountParams) SetContext(ctx context.Context)
- func (o *CreateVcenterAccountParams) SetDefaults()
- func (o *CreateVcenterAccountParams) SetHTTPClient(client *http.Client)
- func (o *CreateVcenterAccountParams) SetRequestBody(requestBody *models.CreateVcenterAccountParams)
- func (o *CreateVcenterAccountParams) SetTimeout(timeout time.Duration)
- func (o *CreateVcenterAccountParams) WithContentLanguage(contentLanguage *string) *CreateVcenterAccountParams
- func (o *CreateVcenterAccountParams) WithContext(ctx context.Context) *CreateVcenterAccountParams
- func (o *CreateVcenterAccountParams) WithDefaults() *CreateVcenterAccountParams
- func (o *CreateVcenterAccountParams) WithHTTPClient(client *http.Client) *CreateVcenterAccountParams
- func (o *CreateVcenterAccountParams) WithRequestBody(requestBody *models.CreateVcenterAccountParams) *CreateVcenterAccountParams
- func (o *CreateVcenterAccountParams) WithTimeout(timeout time.Duration) *CreateVcenterAccountParams
- func (o *CreateVcenterAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVcenterAccountReader
- type GetVcenterAccountsBadRequest
- type GetVcenterAccountsConnectionBadRequest
- type GetVcenterAccountsConnectionInternalServerError
- type GetVcenterAccountsConnectionNotFound
- type GetVcenterAccountsConnectionOK
- type GetVcenterAccountsConnectionParams
- func NewGetVcenterAccountsConnectionParams() *GetVcenterAccountsConnectionParams
- func NewGetVcenterAccountsConnectionParamsWithContext(ctx context.Context) *GetVcenterAccountsConnectionParams
- func NewGetVcenterAccountsConnectionParamsWithHTTPClient(client *http.Client) *GetVcenterAccountsConnectionParams
- func NewGetVcenterAccountsConnectionParamsWithTimeout(timeout time.Duration) *GetVcenterAccountsConnectionParams
- func (o *GetVcenterAccountsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVcenterAccountsConnectionParams) SetContext(ctx context.Context)
- func (o *GetVcenterAccountsConnectionParams) SetDefaults()
- func (o *GetVcenterAccountsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetVcenterAccountsConnectionParams) SetRequestBody(requestBody *models.GetVcenterAccountsConnectionRequestBody)
- func (o *GetVcenterAccountsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetVcenterAccountsConnectionParams) WithContentLanguage(contentLanguage *string) *GetVcenterAccountsConnectionParams
- func (o *GetVcenterAccountsConnectionParams) WithContext(ctx context.Context) *GetVcenterAccountsConnectionParams
- func (o *GetVcenterAccountsConnectionParams) WithDefaults() *GetVcenterAccountsConnectionParams
- func (o *GetVcenterAccountsConnectionParams) WithHTTPClient(client *http.Client) *GetVcenterAccountsConnectionParams
- func (o *GetVcenterAccountsConnectionParams) WithRequestBody(requestBody *models.GetVcenterAccountsConnectionRequestBody) *GetVcenterAccountsConnectionParams
- func (o *GetVcenterAccountsConnectionParams) WithTimeout(timeout time.Duration) *GetVcenterAccountsConnectionParams
- func (o *GetVcenterAccountsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVcenterAccountsConnectionReader
- type GetVcenterAccountsInternalServerError
- type GetVcenterAccountsNotFound
- type GetVcenterAccountsOK
- type GetVcenterAccountsParams
- func NewGetVcenterAccountsParams() *GetVcenterAccountsParams
- func NewGetVcenterAccountsParamsWithContext(ctx context.Context) *GetVcenterAccountsParams
- func NewGetVcenterAccountsParamsWithHTTPClient(client *http.Client) *GetVcenterAccountsParams
- func NewGetVcenterAccountsParamsWithTimeout(timeout time.Duration) *GetVcenterAccountsParams
- func (o *GetVcenterAccountsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVcenterAccountsParams) SetContext(ctx context.Context)
- func (o *GetVcenterAccountsParams) SetDefaults()
- func (o *GetVcenterAccountsParams) SetHTTPClient(client *http.Client)
- func (o *GetVcenterAccountsParams) SetRequestBody(requestBody *models.GetVcenterAccountsRequestBody)
- func (o *GetVcenterAccountsParams) SetTimeout(timeout time.Duration)
- func (o *GetVcenterAccountsParams) WithContentLanguage(contentLanguage *string) *GetVcenterAccountsParams
- func (o *GetVcenterAccountsParams) WithContext(ctx context.Context) *GetVcenterAccountsParams
- func (o *GetVcenterAccountsParams) WithDefaults() *GetVcenterAccountsParams
- func (o *GetVcenterAccountsParams) WithHTTPClient(client *http.Client) *GetVcenterAccountsParams
- func (o *GetVcenterAccountsParams) WithRequestBody(requestBody *models.GetVcenterAccountsRequestBody) *GetVcenterAccountsParams
- func (o *GetVcenterAccountsParams) WithTimeout(timeout time.Duration) *GetVcenterAccountsParams
- func (o *GetVcenterAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVcenterAccountsReader
- type UpdateVcenterAccountBadRequest
- type UpdateVcenterAccountInternalServerError
- type UpdateVcenterAccountNotFound
- type UpdateVcenterAccountOK
- type UpdateVcenterAccountParams
- func NewUpdateVcenterAccountParams() *UpdateVcenterAccountParams
- func NewUpdateVcenterAccountParamsWithContext(ctx context.Context) *UpdateVcenterAccountParams
- func NewUpdateVcenterAccountParamsWithHTTPClient(client *http.Client) *UpdateVcenterAccountParams
- func NewUpdateVcenterAccountParamsWithTimeout(timeout time.Duration) *UpdateVcenterAccountParams
- func (o *UpdateVcenterAccountParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateVcenterAccountParams) SetContext(ctx context.Context)
- func (o *UpdateVcenterAccountParams) SetDefaults()
- func (o *UpdateVcenterAccountParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVcenterAccountParams) SetRequestBody(requestBody *models.UpdateVcenterAccountParams)
- func (o *UpdateVcenterAccountParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVcenterAccountParams) WithContentLanguage(contentLanguage *string) *UpdateVcenterAccountParams
- func (o *UpdateVcenterAccountParams) WithContext(ctx context.Context) *UpdateVcenterAccountParams
- func (o *UpdateVcenterAccountParams) WithDefaults() *UpdateVcenterAccountParams
- func (o *UpdateVcenterAccountParams) WithHTTPClient(client *http.Client) *UpdateVcenterAccountParams
- func (o *UpdateVcenterAccountParams) WithRequestBody(requestBody *models.UpdateVcenterAccountParams) *UpdateVcenterAccountParams
- func (o *UpdateVcenterAccountParams) WithTimeout(timeout time.Duration) *UpdateVcenterAccountParams
- func (o *UpdateVcenterAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVcenterAccountReader
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
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 (o *CreateVcenterAccountBadRequest) Error() string
func (*CreateVcenterAccountBadRequest) GetPayload ¶ added in v2.1.0
func (o *CreateVcenterAccountBadRequest) GetPayload() *models.ErrorBody
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 (o *CreateVcenterAccountInternalServerError) Error() string
func (*CreateVcenterAccountInternalServerError) GetPayload ¶ added in v2.1.0
func (o *CreateVcenterAccountInternalServerError) GetPayload() *models.ErrorBody
type CreateVcenterAccountNotFound ¶ added in v2.1.0
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 (o *CreateVcenterAccountNotFound) Error() string
func (*CreateVcenterAccountNotFound) GetPayload ¶ added in v2.1.0
func (o *CreateVcenterAccountNotFound) GetPayload() *models.ErrorBody
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
func (o *CreateVcenterAccountOK) GetPayload() *models.WithTaskVcenterAccount
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
func (o *CreateVcenterAccountParams) WithContext(ctx context.Context) *CreateVcenterAccountParams
WithContext adds the context to the create vcenter account params
func (*CreateVcenterAccountParams) WithDefaults ¶ added in v2.1.0
func (o *CreateVcenterAccountParams) WithDefaults() *CreateVcenterAccountParams
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
func (o *CreateVcenterAccountParams) WithHTTPClient(client *http.Client) *CreateVcenterAccountParams
WithHTTPClient adds the HTTPClient to the create vcenter account params
func (*CreateVcenterAccountParams) WithRequestBody ¶ added in v2.1.0
func (o *CreateVcenterAccountParams) WithRequestBody(requestBody *models.CreateVcenterAccountParams) *CreateVcenterAccountParams
WithRequestBody adds the requestBody to the create vcenter account params
func (*CreateVcenterAccountParams) WithTimeout ¶ added in v2.1.0
func (o *CreateVcenterAccountParams) WithTimeout(timeout time.Duration) *CreateVcenterAccountParams
WithTimeout adds the timeout to the create vcenter account params
func (*CreateVcenterAccountParams) WriteToRequest ¶ added in v2.1.0
func (o *CreateVcenterAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetVcenterAccountsBadRequest) Error() string
func (*GetVcenterAccountsBadRequest) GetPayload ¶
func (o *GetVcenterAccountsBadRequest) GetPayload() *models.ErrorBody
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 (o *GetVcenterAccountsConnectionBadRequest) Error() string
func (*GetVcenterAccountsConnectionBadRequest) GetPayload ¶
func (o *GetVcenterAccountsConnectionBadRequest) GetPayload() *models.ErrorBody
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 (o *GetVcenterAccountsConnectionInternalServerError) Error() string
func (*GetVcenterAccountsConnectionInternalServerError) GetPayload ¶
func (o *GetVcenterAccountsConnectionInternalServerError) GetPayload() *models.ErrorBody
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 (o *GetVcenterAccountsConnectionNotFound) Error() string
func (*GetVcenterAccountsConnectionNotFound) GetPayload ¶
func (o *GetVcenterAccountsConnectionNotFound) GetPayload() *models.ErrorBody
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 (o *GetVcenterAccountsConnectionOK) Error() string
func (*GetVcenterAccountsConnectionOK) GetPayload ¶
func (o *GetVcenterAccountsConnectionOK) GetPayload() *models.VcenterAccountConnection
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 ¶
func (o *GetVcenterAccountsConnectionParams) SetContext(ctx context.Context)
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 ¶
func (o *GetVcenterAccountsConnectionParams) SetRequestBody(requestBody *models.GetVcenterAccountsConnectionRequestBody)
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 ¶
func (o *GetVcenterAccountsConnectionParams) WithContext(ctx context.Context) *GetVcenterAccountsConnectionParams
WithContext adds the context to the get vcenter accounts connection params
func (*GetVcenterAccountsConnectionParams) WithDefaults ¶
func (o *GetVcenterAccountsConnectionParams) WithDefaults() *GetVcenterAccountsConnectionParams
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 ¶
func (o *GetVcenterAccountsConnectionParams) WithHTTPClient(client *http.Client) *GetVcenterAccountsConnectionParams
WithHTTPClient adds the HTTPClient to the get vcenter accounts connection params
func (*GetVcenterAccountsConnectionParams) WithRequestBody ¶
func (o *GetVcenterAccountsConnectionParams) WithRequestBody(requestBody *models.GetVcenterAccountsConnectionRequestBody) *GetVcenterAccountsConnectionParams
WithRequestBody adds the requestBody to the get vcenter accounts connection params
func (*GetVcenterAccountsConnectionParams) WithTimeout ¶
func (o *GetVcenterAccountsConnectionParams) WithTimeout(timeout time.Duration) *GetVcenterAccountsConnectionParams
WithTimeout adds the timeout to the get vcenter accounts connection params
func (*GetVcenterAccountsConnectionParams) WriteToRequest ¶
func (o *GetVcenterAccountsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetVcenterAccountsInternalServerError) Error() string
func (*GetVcenterAccountsInternalServerError) GetPayload ¶
func (o *GetVcenterAccountsInternalServerError) GetPayload() *models.ErrorBody
type GetVcenterAccountsNotFound ¶
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 (o *GetVcenterAccountsNotFound) Error() string
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 ¶
func (o *GetVcenterAccountsParams) WithContext(ctx context.Context) *GetVcenterAccountsParams
WithContext adds the context to the get vcenter accounts params
func (*GetVcenterAccountsParams) WithDefaults ¶
func (o *GetVcenterAccountsParams) WithDefaults() *GetVcenterAccountsParams
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 ¶
func (o *GetVcenterAccountsParams) WithRequestBody(requestBody *models.GetVcenterAccountsRequestBody) *GetVcenterAccountsParams
WithRequestBody adds the requestBody to the get vcenter accounts params
func (*GetVcenterAccountsParams) WithTimeout ¶
func (o *GetVcenterAccountsParams) WithTimeout(timeout time.Duration) *GetVcenterAccountsParams
WithTimeout adds the timeout to the get vcenter accounts params
func (*GetVcenterAccountsParams) WriteToRequest ¶
func (o *GetVcenterAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 (o *UpdateVcenterAccountBadRequest) Error() string
func (*UpdateVcenterAccountBadRequest) GetPayload ¶ added in v2.1.0
func (o *UpdateVcenterAccountBadRequest) GetPayload() *models.ErrorBody
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 (o *UpdateVcenterAccountInternalServerError) Error() string
func (*UpdateVcenterAccountInternalServerError) GetPayload ¶ added in v2.1.0
func (o *UpdateVcenterAccountInternalServerError) GetPayload() *models.ErrorBody
type UpdateVcenterAccountNotFound ¶ added in v2.1.0
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 (o *UpdateVcenterAccountNotFound) Error() string
func (*UpdateVcenterAccountNotFound) GetPayload ¶ added in v2.1.0
func (o *UpdateVcenterAccountNotFound) GetPayload() *models.ErrorBody
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
func (o *UpdateVcenterAccountOK) GetPayload() *models.WithTaskVcenterAccount
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
func (o *UpdateVcenterAccountParams) WithContext(ctx context.Context) *UpdateVcenterAccountParams
WithContext adds the context to the update vcenter account params
func (*UpdateVcenterAccountParams) WithDefaults ¶ added in v2.1.0
func (o *UpdateVcenterAccountParams) WithDefaults() *UpdateVcenterAccountParams
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
func (o *UpdateVcenterAccountParams) WithHTTPClient(client *http.Client) *UpdateVcenterAccountParams
WithHTTPClient adds the HTTPClient to the update vcenter account params
func (*UpdateVcenterAccountParams) WithRequestBody ¶ added in v2.1.0
func (o *UpdateVcenterAccountParams) WithRequestBody(requestBody *models.UpdateVcenterAccountParams) *UpdateVcenterAccountParams
WithRequestBody adds the requestBody to the update vcenter account params
func (*UpdateVcenterAccountParams) WithTimeout ¶ added in v2.1.0
func (o *UpdateVcenterAccountParams) WithTimeout(timeout time.Duration) *UpdateVcenterAccountParams
WithTimeout adds the timeout to the update vcenter account params
func (*UpdateVcenterAccountParams) WriteToRequest ¶ added in v2.1.0
func (o *UpdateVcenterAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_vcenter_account_parameters.go
- create_vcenter_account_responses.go
- get_vcenter_accounts_connection_parameters.go
- get_vcenter_accounts_connection_responses.go
- get_vcenter_accounts_parameters.go
- get_vcenter_accounts_responses.go
- update_vcenter_account_parameters.go
- update_vcenter_account_responses.go
- vcenter_account_client.go