Documentation ¶
Index ¶
- type Client
- func (a *Client) GetVsphereEsxiAccounts(params *GetVsphereEsxiAccountsParams, opts ...ClientOption) (*GetVsphereEsxiAccountsOK, error)
- func (a *Client) GetVsphereEsxiAccountsConnection(params *GetVsphereEsxiAccountsConnectionParams, opts ...ClientOption) (*GetVsphereEsxiAccountsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateVsphereEsxiAccount(params *UpdateVsphereEsxiAccountParams, opts ...ClientOption) (*UpdateVsphereEsxiAccountOK, error)
- type ClientOption
- type ClientService
- type GetVsphereEsxiAccountsBadRequest
- type GetVsphereEsxiAccountsConnectionBadRequest
- type GetVsphereEsxiAccountsConnectionInternalServerError
- type GetVsphereEsxiAccountsConnectionNotFound
- type GetVsphereEsxiAccountsConnectionOK
- type GetVsphereEsxiAccountsConnectionParams
- func NewGetVsphereEsxiAccountsConnectionParams() *GetVsphereEsxiAccountsConnectionParams
- func NewGetVsphereEsxiAccountsConnectionParamsWithContext(ctx context.Context) *GetVsphereEsxiAccountsConnectionParams
- func NewGetVsphereEsxiAccountsConnectionParamsWithHTTPClient(client *http.Client) *GetVsphereEsxiAccountsConnectionParams
- func NewGetVsphereEsxiAccountsConnectionParamsWithTimeout(timeout time.Duration) *GetVsphereEsxiAccountsConnectionParams
- func (o *GetVsphereEsxiAccountsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVsphereEsxiAccountsConnectionParams) SetContext(ctx context.Context)
- func (o *GetVsphereEsxiAccountsConnectionParams) SetDefaults()
- func (o *GetVsphereEsxiAccountsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetVsphereEsxiAccountsConnectionParams) SetRequestBody(requestBody *models.GetVsphereEsxiAccountsConnectionRequestBody)
- func (o *GetVsphereEsxiAccountsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetVsphereEsxiAccountsConnectionParams) WithContentLanguage(contentLanguage *string) *GetVsphereEsxiAccountsConnectionParams
- func (o *GetVsphereEsxiAccountsConnectionParams) WithContext(ctx context.Context) *GetVsphereEsxiAccountsConnectionParams
- func (o *GetVsphereEsxiAccountsConnectionParams) WithDefaults() *GetVsphereEsxiAccountsConnectionParams
- func (o *GetVsphereEsxiAccountsConnectionParams) WithHTTPClient(client *http.Client) *GetVsphereEsxiAccountsConnectionParams
- func (o *GetVsphereEsxiAccountsConnectionParams) WithRequestBody(requestBody *models.GetVsphereEsxiAccountsConnectionRequestBody) *GetVsphereEsxiAccountsConnectionParams
- func (o *GetVsphereEsxiAccountsConnectionParams) WithTimeout(timeout time.Duration) *GetVsphereEsxiAccountsConnectionParams
- func (o *GetVsphereEsxiAccountsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVsphereEsxiAccountsConnectionReader
- type GetVsphereEsxiAccountsInternalServerError
- type GetVsphereEsxiAccountsNotFound
- type GetVsphereEsxiAccountsOK
- type GetVsphereEsxiAccountsParams
- func NewGetVsphereEsxiAccountsParams() *GetVsphereEsxiAccountsParams
- func NewGetVsphereEsxiAccountsParamsWithContext(ctx context.Context) *GetVsphereEsxiAccountsParams
- func NewGetVsphereEsxiAccountsParamsWithHTTPClient(client *http.Client) *GetVsphereEsxiAccountsParams
- func NewGetVsphereEsxiAccountsParamsWithTimeout(timeout time.Duration) *GetVsphereEsxiAccountsParams
- func (o *GetVsphereEsxiAccountsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVsphereEsxiAccountsParams) SetContext(ctx context.Context)
- func (o *GetVsphereEsxiAccountsParams) SetDefaults()
- func (o *GetVsphereEsxiAccountsParams) SetHTTPClient(client *http.Client)
- func (o *GetVsphereEsxiAccountsParams) SetRequestBody(requestBody *models.GetVsphereEsxiAccountsRequestBody)
- func (o *GetVsphereEsxiAccountsParams) SetTimeout(timeout time.Duration)
- func (o *GetVsphereEsxiAccountsParams) WithContentLanguage(contentLanguage *string) *GetVsphereEsxiAccountsParams
- func (o *GetVsphereEsxiAccountsParams) WithContext(ctx context.Context) *GetVsphereEsxiAccountsParams
- func (o *GetVsphereEsxiAccountsParams) WithDefaults() *GetVsphereEsxiAccountsParams
- func (o *GetVsphereEsxiAccountsParams) WithHTTPClient(client *http.Client) *GetVsphereEsxiAccountsParams
- func (o *GetVsphereEsxiAccountsParams) WithRequestBody(requestBody *models.GetVsphereEsxiAccountsRequestBody) *GetVsphereEsxiAccountsParams
- func (o *GetVsphereEsxiAccountsParams) WithTimeout(timeout time.Duration) *GetVsphereEsxiAccountsParams
- func (o *GetVsphereEsxiAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVsphereEsxiAccountsReader
- type UpdateVsphereEsxiAccountBadRequest
- type UpdateVsphereEsxiAccountInternalServerError
- type UpdateVsphereEsxiAccountNotFound
- type UpdateVsphereEsxiAccountNotModified
- type UpdateVsphereEsxiAccountOK
- type UpdateVsphereEsxiAccountParams
- func NewUpdateVsphereEsxiAccountParams() *UpdateVsphereEsxiAccountParams
- func NewUpdateVsphereEsxiAccountParamsWithContext(ctx context.Context) *UpdateVsphereEsxiAccountParams
- func NewUpdateVsphereEsxiAccountParamsWithHTTPClient(client *http.Client) *UpdateVsphereEsxiAccountParams
- func NewUpdateVsphereEsxiAccountParamsWithTimeout(timeout time.Duration) *UpdateVsphereEsxiAccountParams
- func (o *UpdateVsphereEsxiAccountParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateVsphereEsxiAccountParams) SetContext(ctx context.Context)
- func (o *UpdateVsphereEsxiAccountParams) SetDefaults()
- func (o *UpdateVsphereEsxiAccountParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVsphereEsxiAccountParams) SetRequestBody(requestBody *models.UpdateVsphereEsxiAccountParams)
- func (o *UpdateVsphereEsxiAccountParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVsphereEsxiAccountParams) WithContentLanguage(contentLanguage *string) *UpdateVsphereEsxiAccountParams
- func (o *UpdateVsphereEsxiAccountParams) WithContext(ctx context.Context) *UpdateVsphereEsxiAccountParams
- func (o *UpdateVsphereEsxiAccountParams) WithDefaults() *UpdateVsphereEsxiAccountParams
- func (o *UpdateVsphereEsxiAccountParams) WithHTTPClient(client *http.Client) *UpdateVsphereEsxiAccountParams
- func (o *UpdateVsphereEsxiAccountParams) WithRequestBody(requestBody *models.UpdateVsphereEsxiAccountParams) *UpdateVsphereEsxiAccountParams
- func (o *UpdateVsphereEsxiAccountParams) WithTimeout(timeout time.Duration) *UpdateVsphereEsxiAccountParams
- func (o *UpdateVsphereEsxiAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVsphereEsxiAccountReader
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 vsphere esxi account API
func (*Client) GetVsphereEsxiAccounts ¶
func (a *Client) GetVsphereEsxiAccounts(params *GetVsphereEsxiAccountsParams, opts ...ClientOption) (*GetVsphereEsxiAccountsOK, error)
GetVsphereEsxiAccounts get vsphere esxi accounts API
func (*Client) GetVsphereEsxiAccountsConnection ¶
func (a *Client) GetVsphereEsxiAccountsConnection(params *GetVsphereEsxiAccountsConnectionParams, opts ...ClientOption) (*GetVsphereEsxiAccountsConnectionOK, error)
GetVsphereEsxiAccountsConnection get vsphere esxi accounts connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateVsphereEsxiAccount ¶ added in v2.1.0
func (a *Client) UpdateVsphereEsxiAccount(params *UpdateVsphereEsxiAccountParams, opts ...ClientOption) (*UpdateVsphereEsxiAccountOK, error)
UpdateVsphereEsxiAccount update vsphere esxi account API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetVsphereEsxiAccounts(params *GetVsphereEsxiAccountsParams, opts ...ClientOption) (*GetVsphereEsxiAccountsOK, error) GetVsphereEsxiAccountsConnection(params *GetVsphereEsxiAccountsConnectionParams, opts ...ClientOption) (*GetVsphereEsxiAccountsConnectionOK, error) UpdateVsphereEsxiAccount(params *UpdateVsphereEsxiAccountParams, opts ...ClientOption) (*UpdateVsphereEsxiAccountOK, 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 vsphere esxi account API client.
type GetVsphereEsxiAccountsBadRequest ¶
GetVsphereEsxiAccountsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetVsphereEsxiAccountsBadRequest ¶
func NewGetVsphereEsxiAccountsBadRequest() *GetVsphereEsxiAccountsBadRequest
NewGetVsphereEsxiAccountsBadRequest creates a GetVsphereEsxiAccountsBadRequest with default headers values
func (*GetVsphereEsxiAccountsBadRequest) Error ¶
func (o *GetVsphereEsxiAccountsBadRequest) Error() string
func (*GetVsphereEsxiAccountsBadRequest) GetPayload ¶
func (o *GetVsphereEsxiAccountsBadRequest) GetPayload() *models.ErrorBody
type GetVsphereEsxiAccountsConnectionBadRequest ¶
GetVsphereEsxiAccountsConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetVsphereEsxiAccountsConnectionBadRequest ¶
func NewGetVsphereEsxiAccountsConnectionBadRequest() *GetVsphereEsxiAccountsConnectionBadRequest
NewGetVsphereEsxiAccountsConnectionBadRequest creates a GetVsphereEsxiAccountsConnectionBadRequest with default headers values
func (*GetVsphereEsxiAccountsConnectionBadRequest) Error ¶
func (o *GetVsphereEsxiAccountsConnectionBadRequest) Error() string
func (*GetVsphereEsxiAccountsConnectionBadRequest) GetPayload ¶
func (o *GetVsphereEsxiAccountsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetVsphereEsxiAccountsConnectionInternalServerError ¶
GetVsphereEsxiAccountsConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetVsphereEsxiAccountsConnectionInternalServerError ¶
func NewGetVsphereEsxiAccountsConnectionInternalServerError() *GetVsphereEsxiAccountsConnectionInternalServerError
NewGetVsphereEsxiAccountsConnectionInternalServerError creates a GetVsphereEsxiAccountsConnectionInternalServerError with default headers values
func (*GetVsphereEsxiAccountsConnectionInternalServerError) Error ¶
func (o *GetVsphereEsxiAccountsConnectionInternalServerError) Error() string
func (*GetVsphereEsxiAccountsConnectionInternalServerError) GetPayload ¶
func (o *GetVsphereEsxiAccountsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetVsphereEsxiAccountsConnectionNotFound ¶
GetVsphereEsxiAccountsConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetVsphereEsxiAccountsConnectionNotFound ¶
func NewGetVsphereEsxiAccountsConnectionNotFound() *GetVsphereEsxiAccountsConnectionNotFound
NewGetVsphereEsxiAccountsConnectionNotFound creates a GetVsphereEsxiAccountsConnectionNotFound with default headers values
func (*GetVsphereEsxiAccountsConnectionNotFound) Error ¶
func (o *GetVsphereEsxiAccountsConnectionNotFound) Error() string
func (*GetVsphereEsxiAccountsConnectionNotFound) GetPayload ¶
func (o *GetVsphereEsxiAccountsConnectionNotFound) GetPayload() *models.ErrorBody
type GetVsphereEsxiAccountsConnectionOK ¶
type GetVsphereEsxiAccountsConnectionOK struct {
Payload *models.VsphereEsxiAccountConnection
}
GetVsphereEsxiAccountsConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetVsphereEsxiAccountsConnectionOK ¶
func NewGetVsphereEsxiAccountsConnectionOK() *GetVsphereEsxiAccountsConnectionOK
NewGetVsphereEsxiAccountsConnectionOK creates a GetVsphereEsxiAccountsConnectionOK with default headers values
func (*GetVsphereEsxiAccountsConnectionOK) Error ¶
func (o *GetVsphereEsxiAccountsConnectionOK) Error() string
func (*GetVsphereEsxiAccountsConnectionOK) GetPayload ¶
func (o *GetVsphereEsxiAccountsConnectionOK) GetPayload() *models.VsphereEsxiAccountConnection
type GetVsphereEsxiAccountsConnectionParams ¶
type GetVsphereEsxiAccountsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVsphereEsxiAccountsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVsphereEsxiAccountsConnectionParams contains all the parameters to send to the API endpoint
for the get vsphere esxi accounts connection operation. Typically these are written to a http.Request.
func NewGetVsphereEsxiAccountsConnectionParams ¶
func NewGetVsphereEsxiAccountsConnectionParams() *GetVsphereEsxiAccountsConnectionParams
NewGetVsphereEsxiAccountsConnectionParams creates a new GetVsphereEsxiAccountsConnectionParams 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 NewGetVsphereEsxiAccountsConnectionParamsWithContext ¶
func NewGetVsphereEsxiAccountsConnectionParamsWithContext(ctx context.Context) *GetVsphereEsxiAccountsConnectionParams
NewGetVsphereEsxiAccountsConnectionParamsWithContext creates a new GetVsphereEsxiAccountsConnectionParams object with the ability to set a context for a request.
func NewGetVsphereEsxiAccountsConnectionParamsWithHTTPClient ¶
func NewGetVsphereEsxiAccountsConnectionParamsWithHTTPClient(client *http.Client) *GetVsphereEsxiAccountsConnectionParams
NewGetVsphereEsxiAccountsConnectionParamsWithHTTPClient creates a new GetVsphereEsxiAccountsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetVsphereEsxiAccountsConnectionParamsWithTimeout ¶
func NewGetVsphereEsxiAccountsConnectionParamsWithTimeout(timeout time.Duration) *GetVsphereEsxiAccountsConnectionParams
NewGetVsphereEsxiAccountsConnectionParamsWithTimeout creates a new GetVsphereEsxiAccountsConnectionParams object with the ability to set a timeout on a request.
func (*GetVsphereEsxiAccountsConnectionParams) SetContentLanguage ¶
func (o *GetVsphereEsxiAccountsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get vsphere esxi accounts connection params
func (*GetVsphereEsxiAccountsConnectionParams) SetContext ¶
func (o *GetVsphereEsxiAccountsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get vsphere esxi accounts connection params
func (*GetVsphereEsxiAccountsConnectionParams) SetDefaults ¶
func (o *GetVsphereEsxiAccountsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get vsphere esxi accounts connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVsphereEsxiAccountsConnectionParams) SetHTTPClient ¶
func (o *GetVsphereEsxiAccountsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get vsphere esxi accounts connection params
func (*GetVsphereEsxiAccountsConnectionParams) SetRequestBody ¶
func (o *GetVsphereEsxiAccountsConnectionParams) SetRequestBody(requestBody *models.GetVsphereEsxiAccountsConnectionRequestBody)
SetRequestBody adds the requestBody to the get vsphere esxi accounts connection params
func (*GetVsphereEsxiAccountsConnectionParams) SetTimeout ¶
func (o *GetVsphereEsxiAccountsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get vsphere esxi accounts connection params
func (*GetVsphereEsxiAccountsConnectionParams) WithContentLanguage ¶
func (o *GetVsphereEsxiAccountsConnectionParams) WithContentLanguage(contentLanguage *string) *GetVsphereEsxiAccountsConnectionParams
WithContentLanguage adds the contentLanguage to the get vsphere esxi accounts connection params
func (*GetVsphereEsxiAccountsConnectionParams) WithContext ¶
func (o *GetVsphereEsxiAccountsConnectionParams) WithContext(ctx context.Context) *GetVsphereEsxiAccountsConnectionParams
WithContext adds the context to the get vsphere esxi accounts connection params
func (*GetVsphereEsxiAccountsConnectionParams) WithDefaults ¶
func (o *GetVsphereEsxiAccountsConnectionParams) WithDefaults() *GetVsphereEsxiAccountsConnectionParams
WithDefaults hydrates default values in the get vsphere esxi accounts connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVsphereEsxiAccountsConnectionParams) WithHTTPClient ¶
func (o *GetVsphereEsxiAccountsConnectionParams) WithHTTPClient(client *http.Client) *GetVsphereEsxiAccountsConnectionParams
WithHTTPClient adds the HTTPClient to the get vsphere esxi accounts connection params
func (*GetVsphereEsxiAccountsConnectionParams) WithRequestBody ¶
func (o *GetVsphereEsxiAccountsConnectionParams) WithRequestBody(requestBody *models.GetVsphereEsxiAccountsConnectionRequestBody) *GetVsphereEsxiAccountsConnectionParams
WithRequestBody adds the requestBody to the get vsphere esxi accounts connection params
func (*GetVsphereEsxiAccountsConnectionParams) WithTimeout ¶
func (o *GetVsphereEsxiAccountsConnectionParams) WithTimeout(timeout time.Duration) *GetVsphereEsxiAccountsConnectionParams
WithTimeout adds the timeout to the get vsphere esxi accounts connection params
func (*GetVsphereEsxiAccountsConnectionParams) WriteToRequest ¶
func (o *GetVsphereEsxiAccountsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVsphereEsxiAccountsConnectionReader ¶
type GetVsphereEsxiAccountsConnectionReader struct {
// contains filtered or unexported fields
}
GetVsphereEsxiAccountsConnectionReader is a Reader for the GetVsphereEsxiAccountsConnection structure.
func (*GetVsphereEsxiAccountsConnectionReader) ReadResponse ¶
func (o *GetVsphereEsxiAccountsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVsphereEsxiAccountsInternalServerError ¶
GetVsphereEsxiAccountsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetVsphereEsxiAccountsInternalServerError ¶
func NewGetVsphereEsxiAccountsInternalServerError() *GetVsphereEsxiAccountsInternalServerError
NewGetVsphereEsxiAccountsInternalServerError creates a GetVsphereEsxiAccountsInternalServerError with default headers values
func (*GetVsphereEsxiAccountsInternalServerError) Error ¶
func (o *GetVsphereEsxiAccountsInternalServerError) Error() string
func (*GetVsphereEsxiAccountsInternalServerError) GetPayload ¶
func (o *GetVsphereEsxiAccountsInternalServerError) GetPayload() *models.ErrorBody
type GetVsphereEsxiAccountsNotFound ¶
GetVsphereEsxiAccountsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetVsphereEsxiAccountsNotFound ¶
func NewGetVsphereEsxiAccountsNotFound() *GetVsphereEsxiAccountsNotFound
NewGetVsphereEsxiAccountsNotFound creates a GetVsphereEsxiAccountsNotFound with default headers values
func (*GetVsphereEsxiAccountsNotFound) Error ¶
func (o *GetVsphereEsxiAccountsNotFound) Error() string
func (*GetVsphereEsxiAccountsNotFound) GetPayload ¶
func (o *GetVsphereEsxiAccountsNotFound) GetPayload() *models.ErrorBody
type GetVsphereEsxiAccountsOK ¶
type GetVsphereEsxiAccountsOK struct {
Payload []*models.VsphereEsxiAccount
}
GetVsphereEsxiAccountsOK describes a response with status code 200, with default header values.
Ok
func NewGetVsphereEsxiAccountsOK ¶
func NewGetVsphereEsxiAccountsOK() *GetVsphereEsxiAccountsOK
NewGetVsphereEsxiAccountsOK creates a GetVsphereEsxiAccountsOK with default headers values
func (*GetVsphereEsxiAccountsOK) Error ¶
func (o *GetVsphereEsxiAccountsOK) Error() string
func (*GetVsphereEsxiAccountsOK) GetPayload ¶
func (o *GetVsphereEsxiAccountsOK) GetPayload() []*models.VsphereEsxiAccount
type GetVsphereEsxiAccountsParams ¶
type GetVsphereEsxiAccountsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVsphereEsxiAccountsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVsphereEsxiAccountsParams contains all the parameters to send to the API endpoint
for the get vsphere esxi accounts operation. Typically these are written to a http.Request.
func NewGetVsphereEsxiAccountsParams ¶
func NewGetVsphereEsxiAccountsParams() *GetVsphereEsxiAccountsParams
NewGetVsphereEsxiAccountsParams creates a new GetVsphereEsxiAccountsParams 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 NewGetVsphereEsxiAccountsParamsWithContext ¶
func NewGetVsphereEsxiAccountsParamsWithContext(ctx context.Context) *GetVsphereEsxiAccountsParams
NewGetVsphereEsxiAccountsParamsWithContext creates a new GetVsphereEsxiAccountsParams object with the ability to set a context for a request.
func NewGetVsphereEsxiAccountsParamsWithHTTPClient ¶
func NewGetVsphereEsxiAccountsParamsWithHTTPClient(client *http.Client) *GetVsphereEsxiAccountsParams
NewGetVsphereEsxiAccountsParamsWithHTTPClient creates a new GetVsphereEsxiAccountsParams object with the ability to set a custom HTTPClient for a request.
func NewGetVsphereEsxiAccountsParamsWithTimeout ¶
func NewGetVsphereEsxiAccountsParamsWithTimeout(timeout time.Duration) *GetVsphereEsxiAccountsParams
NewGetVsphereEsxiAccountsParamsWithTimeout creates a new GetVsphereEsxiAccountsParams object with the ability to set a timeout on a request.
func (*GetVsphereEsxiAccountsParams) SetContentLanguage ¶
func (o *GetVsphereEsxiAccountsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get vsphere esxi accounts params
func (*GetVsphereEsxiAccountsParams) SetContext ¶
func (o *GetVsphereEsxiAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the get vsphere esxi accounts params
func (*GetVsphereEsxiAccountsParams) SetDefaults ¶
func (o *GetVsphereEsxiAccountsParams) SetDefaults()
SetDefaults hydrates default values in the get vsphere esxi accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetVsphereEsxiAccountsParams) SetHTTPClient ¶
func (o *GetVsphereEsxiAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get vsphere esxi accounts params
func (*GetVsphereEsxiAccountsParams) SetRequestBody ¶
func (o *GetVsphereEsxiAccountsParams) SetRequestBody(requestBody *models.GetVsphereEsxiAccountsRequestBody)
SetRequestBody adds the requestBody to the get vsphere esxi accounts params
func (*GetVsphereEsxiAccountsParams) SetTimeout ¶
func (o *GetVsphereEsxiAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get vsphere esxi accounts params
func (*GetVsphereEsxiAccountsParams) WithContentLanguage ¶
func (o *GetVsphereEsxiAccountsParams) WithContentLanguage(contentLanguage *string) *GetVsphereEsxiAccountsParams
WithContentLanguage adds the contentLanguage to the get vsphere esxi accounts params
func (*GetVsphereEsxiAccountsParams) WithContext ¶
func (o *GetVsphereEsxiAccountsParams) WithContext(ctx context.Context) *GetVsphereEsxiAccountsParams
WithContext adds the context to the get vsphere esxi accounts params
func (*GetVsphereEsxiAccountsParams) WithDefaults ¶
func (o *GetVsphereEsxiAccountsParams) WithDefaults() *GetVsphereEsxiAccountsParams
WithDefaults hydrates default values in the get vsphere esxi accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetVsphereEsxiAccountsParams) WithHTTPClient ¶
func (o *GetVsphereEsxiAccountsParams) WithHTTPClient(client *http.Client) *GetVsphereEsxiAccountsParams
WithHTTPClient adds the HTTPClient to the get vsphere esxi accounts params
func (*GetVsphereEsxiAccountsParams) WithRequestBody ¶
func (o *GetVsphereEsxiAccountsParams) WithRequestBody(requestBody *models.GetVsphereEsxiAccountsRequestBody) *GetVsphereEsxiAccountsParams
WithRequestBody adds the requestBody to the get vsphere esxi accounts params
func (*GetVsphereEsxiAccountsParams) WithTimeout ¶
func (o *GetVsphereEsxiAccountsParams) WithTimeout(timeout time.Duration) *GetVsphereEsxiAccountsParams
WithTimeout adds the timeout to the get vsphere esxi accounts params
func (*GetVsphereEsxiAccountsParams) WriteToRequest ¶
func (o *GetVsphereEsxiAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVsphereEsxiAccountsReader ¶
type GetVsphereEsxiAccountsReader struct {
// contains filtered or unexported fields
}
GetVsphereEsxiAccountsReader is a Reader for the GetVsphereEsxiAccounts structure.
func (*GetVsphereEsxiAccountsReader) ReadResponse ¶
func (o *GetVsphereEsxiAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVsphereEsxiAccountBadRequest ¶ added in v2.1.0
UpdateVsphereEsxiAccountBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateVsphereEsxiAccountBadRequest ¶ added in v2.1.0
func NewUpdateVsphereEsxiAccountBadRequest() *UpdateVsphereEsxiAccountBadRequest
NewUpdateVsphereEsxiAccountBadRequest creates a UpdateVsphereEsxiAccountBadRequest with default headers values
func (*UpdateVsphereEsxiAccountBadRequest) Error ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountBadRequest) Error() string
func (*UpdateVsphereEsxiAccountBadRequest) GetPayload ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountBadRequest) GetPayload() *models.ErrorBody
type UpdateVsphereEsxiAccountInternalServerError ¶ added in v2.1.0
UpdateVsphereEsxiAccountInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateVsphereEsxiAccountInternalServerError ¶ added in v2.1.0
func NewUpdateVsphereEsxiAccountInternalServerError() *UpdateVsphereEsxiAccountInternalServerError
NewUpdateVsphereEsxiAccountInternalServerError creates a UpdateVsphereEsxiAccountInternalServerError with default headers values
func (*UpdateVsphereEsxiAccountInternalServerError) Error ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountInternalServerError) Error() string
func (*UpdateVsphereEsxiAccountInternalServerError) GetPayload ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountInternalServerError) GetPayload() *models.ErrorBody
type UpdateVsphereEsxiAccountNotFound ¶ added in v2.1.0
UpdateVsphereEsxiAccountNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateVsphereEsxiAccountNotFound ¶ added in v2.1.0
func NewUpdateVsphereEsxiAccountNotFound() *UpdateVsphereEsxiAccountNotFound
NewUpdateVsphereEsxiAccountNotFound creates a UpdateVsphereEsxiAccountNotFound with default headers values
func (*UpdateVsphereEsxiAccountNotFound) Error ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountNotFound) Error() string
func (*UpdateVsphereEsxiAccountNotFound) GetPayload ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountNotFound) GetPayload() *models.ErrorBody
type UpdateVsphereEsxiAccountNotModified ¶ added in v2.1.0
type UpdateVsphereEsxiAccountNotModified struct { }
UpdateVsphereEsxiAccountNotModified describes a response with status code 304, with default header values.
Not modified
func NewUpdateVsphereEsxiAccountNotModified ¶ added in v2.1.0
func NewUpdateVsphereEsxiAccountNotModified() *UpdateVsphereEsxiAccountNotModified
NewUpdateVsphereEsxiAccountNotModified creates a UpdateVsphereEsxiAccountNotModified with default headers values
func (*UpdateVsphereEsxiAccountNotModified) Error ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountNotModified) Error() string
type UpdateVsphereEsxiAccountOK ¶ added in v2.1.0
type UpdateVsphereEsxiAccountOK struct {
Payload []*models.WithTaskVsphereEsxiAccountArray
}
UpdateVsphereEsxiAccountOK describes a response with status code 200, with default header values.
Ok
func NewUpdateVsphereEsxiAccountOK ¶ added in v2.1.0
func NewUpdateVsphereEsxiAccountOK() *UpdateVsphereEsxiAccountOK
NewUpdateVsphereEsxiAccountOK creates a UpdateVsphereEsxiAccountOK with default headers values
func (*UpdateVsphereEsxiAccountOK) Error ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountOK) Error() string
func (*UpdateVsphereEsxiAccountOK) GetPayload ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountOK) GetPayload() []*models.WithTaskVsphereEsxiAccountArray
type UpdateVsphereEsxiAccountParams ¶ added in v2.1.0
type UpdateVsphereEsxiAccountParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.UpdateVsphereEsxiAccountParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVsphereEsxiAccountParams contains all the parameters to send to the API endpoint
for the update vsphere esxi account operation. Typically these are written to a http.Request.
func NewUpdateVsphereEsxiAccountParams ¶ added in v2.1.0
func NewUpdateVsphereEsxiAccountParams() *UpdateVsphereEsxiAccountParams
NewUpdateVsphereEsxiAccountParams creates a new UpdateVsphereEsxiAccountParams 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 NewUpdateVsphereEsxiAccountParamsWithContext ¶ added in v2.1.0
func NewUpdateVsphereEsxiAccountParamsWithContext(ctx context.Context) *UpdateVsphereEsxiAccountParams
NewUpdateVsphereEsxiAccountParamsWithContext creates a new UpdateVsphereEsxiAccountParams object with the ability to set a context for a request.
func NewUpdateVsphereEsxiAccountParamsWithHTTPClient ¶ added in v2.1.0
func NewUpdateVsphereEsxiAccountParamsWithHTTPClient(client *http.Client) *UpdateVsphereEsxiAccountParams
NewUpdateVsphereEsxiAccountParamsWithHTTPClient creates a new UpdateVsphereEsxiAccountParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVsphereEsxiAccountParamsWithTimeout ¶ added in v2.1.0
func NewUpdateVsphereEsxiAccountParamsWithTimeout(timeout time.Duration) *UpdateVsphereEsxiAccountParams
NewUpdateVsphereEsxiAccountParamsWithTimeout creates a new UpdateVsphereEsxiAccountParams object with the ability to set a timeout on a request.
func (*UpdateVsphereEsxiAccountParams) SetContentLanguage ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update vsphere esxi account params
func (*UpdateVsphereEsxiAccountParams) SetContext ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the update vsphere esxi account params
func (*UpdateVsphereEsxiAccountParams) SetDefaults ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountParams) SetDefaults()
SetDefaults hydrates default values in the update vsphere esxi account params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVsphereEsxiAccountParams) SetHTTPClient ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update vsphere esxi account params
func (*UpdateVsphereEsxiAccountParams) SetRequestBody ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountParams) SetRequestBody(requestBody *models.UpdateVsphereEsxiAccountParams)
SetRequestBody adds the requestBody to the update vsphere esxi account params
func (*UpdateVsphereEsxiAccountParams) SetTimeout ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update vsphere esxi account params
func (*UpdateVsphereEsxiAccountParams) WithContentLanguage ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountParams) WithContentLanguage(contentLanguage *string) *UpdateVsphereEsxiAccountParams
WithContentLanguage adds the contentLanguage to the update vsphere esxi account params
func (*UpdateVsphereEsxiAccountParams) WithContext ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountParams) WithContext(ctx context.Context) *UpdateVsphereEsxiAccountParams
WithContext adds the context to the update vsphere esxi account params
func (*UpdateVsphereEsxiAccountParams) WithDefaults ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountParams) WithDefaults() *UpdateVsphereEsxiAccountParams
WithDefaults hydrates default values in the update vsphere esxi account params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVsphereEsxiAccountParams) WithHTTPClient ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountParams) WithHTTPClient(client *http.Client) *UpdateVsphereEsxiAccountParams
WithHTTPClient adds the HTTPClient to the update vsphere esxi account params
func (*UpdateVsphereEsxiAccountParams) WithRequestBody ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountParams) WithRequestBody(requestBody *models.UpdateVsphereEsxiAccountParams) *UpdateVsphereEsxiAccountParams
WithRequestBody adds the requestBody to the update vsphere esxi account params
func (*UpdateVsphereEsxiAccountParams) WithTimeout ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountParams) WithTimeout(timeout time.Duration) *UpdateVsphereEsxiAccountParams
WithTimeout adds the timeout to the update vsphere esxi account params
func (*UpdateVsphereEsxiAccountParams) WriteToRequest ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVsphereEsxiAccountReader ¶ added in v2.1.0
type UpdateVsphereEsxiAccountReader struct {
// contains filtered or unexported fields
}
UpdateVsphereEsxiAccountReader is a Reader for the UpdateVsphereEsxiAccount structure.
func (*UpdateVsphereEsxiAccountReader) ReadResponse ¶ added in v2.1.0
func (o *UpdateVsphereEsxiAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.