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

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetVcenterAccounts(params *GetVcenterAccountsParams, opts ...ClientOption) (*GetVcenterAccountsOK, error)

	GetVcenterAccountsConnection(params *GetVcenterAccountsConnectionParams, opts ...ClientOption) (*GetVcenterAccountsConnectionOK, 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 GetVcenterAccountsBadRequest

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

GetVcenterAccountsBadRequest get vcenter accounts bad request

func NewGetVcenterAccountsBadRequest

func NewGetVcenterAccountsBadRequest() *GetVcenterAccountsBadRequest

NewGetVcenterAccountsBadRequest creates a GetVcenterAccountsBadRequest with default headers values

func (*GetVcenterAccountsBadRequest) Error

func (*GetVcenterAccountsBadRequest) GetPayload

func (o *GetVcenterAccountsBadRequest) GetPayload() string

type GetVcenterAccountsConnectionBadRequest

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

GetVcenterAccountsConnectionBadRequest get vcenter accounts connection bad request

func NewGetVcenterAccountsConnectionBadRequest

func NewGetVcenterAccountsConnectionBadRequest() *GetVcenterAccountsConnectionBadRequest

NewGetVcenterAccountsConnectionBadRequest creates a GetVcenterAccountsConnectionBadRequest with default headers values

func (*GetVcenterAccountsConnectionBadRequest) Error

func (*GetVcenterAccountsConnectionBadRequest) GetPayload

type GetVcenterAccountsConnectionOK

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

Ok

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 GetVcenterAccountsOK

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

Ok

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.

Jump to

Keyboard shortcuts

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