vsphere_esxi_account

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT 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 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

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)

	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

type GetVsphereEsxiAccountsBadRequest struct {
	Payload string
}
GetVsphereEsxiAccountsBadRequest describes a response with status code 400, with default header values.

GetVsphereEsxiAccountsBadRequest get vsphere esxi accounts bad request

func NewGetVsphereEsxiAccountsBadRequest

func NewGetVsphereEsxiAccountsBadRequest() *GetVsphereEsxiAccountsBadRequest

NewGetVsphereEsxiAccountsBadRequest creates a GetVsphereEsxiAccountsBadRequest with default headers values

func (*GetVsphereEsxiAccountsBadRequest) Error

func (*GetVsphereEsxiAccountsBadRequest) GetPayload

func (o *GetVsphereEsxiAccountsBadRequest) GetPayload() string

type GetVsphereEsxiAccountsConnectionBadRequest

type GetVsphereEsxiAccountsConnectionBadRequest struct {
	Payload string
}
GetVsphereEsxiAccountsConnectionBadRequest describes a response with status code 400, with default header values.

GetVsphereEsxiAccountsConnectionBadRequest get vsphere esxi accounts connection bad request

func NewGetVsphereEsxiAccountsConnectionBadRequest

func NewGetVsphereEsxiAccountsConnectionBadRequest() *GetVsphereEsxiAccountsConnectionBadRequest

NewGetVsphereEsxiAccountsConnectionBadRequest creates a GetVsphereEsxiAccountsConnectionBadRequest with default headers values

func (*GetVsphereEsxiAccountsConnectionBadRequest) Error

func (*GetVsphereEsxiAccountsConnectionBadRequest) GetPayload

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 (*GetVsphereEsxiAccountsConnectionOK) GetPayload

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

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

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

WithContentLanguage adds the contentLanguage to the get vsphere esxi accounts connection params

func (*GetVsphereEsxiAccountsConnectionParams) WithContext

WithContext adds the context to the get vsphere esxi accounts connection params

func (*GetVsphereEsxiAccountsConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get vsphere esxi accounts connection params

func (*GetVsphereEsxiAccountsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get vsphere esxi accounts connection params

func (*GetVsphereEsxiAccountsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get vsphere esxi accounts connection params

func (*GetVsphereEsxiAccountsConnectionParams) WriteToRequest

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 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

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

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

WithContext adds the context to the get vsphere esxi accounts params

func (*GetVsphereEsxiAccountsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get vsphere esxi accounts params

func (*GetVsphereEsxiAccountsParams) WithRequestBody

WithRequestBody adds the requestBody to the get vsphere esxi accounts params

func (*GetVsphereEsxiAccountsParams) WithTimeout

WithTimeout adds the timeout to the get vsphere esxi accounts params

func (*GetVsphereEsxiAccountsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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