vsphere

package
v0.0.0-...-192cafe Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 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 API

func (*Client) ListVSphereDatastores

func (a *Client) ListVSphereDatastores(params *ListVSphereDatastoresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereDatastoresOK, error)

ListVSphereDatastores Lists datastores from vsphere datacenter

func (*Client) ListVSphereFolders

func (a *Client) ListVSphereFolders(params *ListVSphereFoldersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereFoldersOK, error)

ListVSphereFolders Lists folders from vsphere datacenter

func (*Client) ListVSphereFoldersNoCredentials

func (a *Client) ListVSphereFoldersNoCredentials(params *ListVSphereFoldersNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereFoldersNoCredentialsOK, error)

ListVSphereFoldersNoCredentials Lists folders from vsphere datacenter

func (*Client) ListVSphereFoldersNoCredentialsV2

func (a *Client) ListVSphereFoldersNoCredentialsV2(params *ListVSphereFoldersNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereFoldersNoCredentialsV2OK, error)

ListVSphereFoldersNoCredentialsV2 Lists folders from vsphere datacenter

func (*Client) ListVSphereNetworks

func (a *Client) ListVSphereNetworks(params *ListVSphereNetworksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereNetworksOK, error)

ListVSphereNetworks Lists networks from vsphere datacenter

func (*Client) ListVSphereNetworksNoCredentials

func (a *Client) ListVSphereNetworksNoCredentials(params *ListVSphereNetworksNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereNetworksNoCredentialsOK, error)

ListVSphereNetworksNoCredentials Lists networks from vsphere datacenter

func (*Client) ListVSphereNetworksNoCredentialsV2

func (a *Client) ListVSphereNetworksNoCredentialsV2(params *ListVSphereNetworksNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereNetworksNoCredentialsV2OK, error)

ListVSphereNetworksNoCredentialsV2 Lists networks from vsphere datacenter

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 {
	ListVSphereDatastores(params *ListVSphereDatastoresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereDatastoresOK, error)

	ListVSphereFolders(params *ListVSphereFoldersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereFoldersOK, error)

	ListVSphereFoldersNoCredentials(params *ListVSphereFoldersNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereFoldersNoCredentialsOK, error)

	ListVSphereFoldersNoCredentialsV2(params *ListVSphereFoldersNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereFoldersNoCredentialsV2OK, error)

	ListVSphereNetworks(params *ListVSphereNetworksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereNetworksOK, error)

	ListVSphereNetworksNoCredentials(params *ListVSphereNetworksNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereNetworksNoCredentialsOK, error)

	ListVSphereNetworksNoCredentialsV2(params *ListVSphereNetworksNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereNetworksNoCredentialsV2OK, 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 API client.

type ListVSphereDatastoresDefault

type ListVSphereDatastoresDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListVSphereDatastoresDefault describes a response with status code -1, with default header values.

errorResponse

func NewListVSphereDatastoresDefault

func NewListVSphereDatastoresDefault(code int) *ListVSphereDatastoresDefault

NewListVSphereDatastoresDefault creates a ListVSphereDatastoresDefault with default headers values

func (*ListVSphereDatastoresDefault) Code

Code gets the status code for the list v sphere datastores default response

func (*ListVSphereDatastoresDefault) Error

func (*ListVSphereDatastoresDefault) GetPayload

type ListVSphereDatastoresOK

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

VSphereDatastoreList

func NewListVSphereDatastoresOK

func NewListVSphereDatastoresOK() *ListVSphereDatastoresOK

NewListVSphereDatastoresOK creates a ListVSphereDatastoresOK with default headers values

func (*ListVSphereDatastoresOK) Error

func (o *ListVSphereDatastoresOK) Error() string

func (*ListVSphereDatastoresOK) GetPayload

type ListVSphereDatastoresParams

type ListVSphereDatastoresParams struct {

	// Credential.
	Credential *string

	// DatacenterName.
	DatacenterName *string

	// Password.
	Password *string

	// Username.
	Username *string

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

ListVSphereDatastoresParams contains all the parameters to send to the API endpoint

for the list v sphere datastores operation.

Typically these are written to a http.Request.

func NewListVSphereDatastoresParams

func NewListVSphereDatastoresParams() *ListVSphereDatastoresParams

NewListVSphereDatastoresParams creates a new ListVSphereDatastoresParams 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 NewListVSphereDatastoresParamsWithContext

func NewListVSphereDatastoresParamsWithContext(ctx context.Context) *ListVSphereDatastoresParams

NewListVSphereDatastoresParamsWithContext creates a new ListVSphereDatastoresParams object with the ability to set a context for a request.

func NewListVSphereDatastoresParamsWithHTTPClient

func NewListVSphereDatastoresParamsWithHTTPClient(client *http.Client) *ListVSphereDatastoresParams

NewListVSphereDatastoresParamsWithHTTPClient creates a new ListVSphereDatastoresParams object with the ability to set a custom HTTPClient for a request.

func NewListVSphereDatastoresParamsWithTimeout

func NewListVSphereDatastoresParamsWithTimeout(timeout time.Duration) *ListVSphereDatastoresParams

NewListVSphereDatastoresParamsWithTimeout creates a new ListVSphereDatastoresParams object with the ability to set a timeout on a request.

func (*ListVSphereDatastoresParams) SetContext

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

SetContext adds the context to the list v sphere datastores params

func (*ListVSphereDatastoresParams) SetCredential

func (o *ListVSphereDatastoresParams) SetCredential(credential *string)

SetCredential adds the credential to the list v sphere datastores params

func (*ListVSphereDatastoresParams) SetDatacenterName

func (o *ListVSphereDatastoresParams) SetDatacenterName(datacenterName *string)

SetDatacenterName adds the datacenterName to the list v sphere datastores params

func (*ListVSphereDatastoresParams) SetDefaults

func (o *ListVSphereDatastoresParams) SetDefaults()

SetDefaults hydrates default values in the list v sphere datastores params (not the query body).

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

func (*ListVSphereDatastoresParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list v sphere datastores params

func (*ListVSphereDatastoresParams) SetPassword

func (o *ListVSphereDatastoresParams) SetPassword(password *string)

SetPassword adds the password to the list v sphere datastores params

func (*ListVSphereDatastoresParams) SetTimeout

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

SetTimeout adds the timeout to the list v sphere datastores params

func (*ListVSphereDatastoresParams) SetUsername

func (o *ListVSphereDatastoresParams) SetUsername(username *string)

SetUsername adds the username to the list v sphere datastores params

func (*ListVSphereDatastoresParams) WithContext

WithContext adds the context to the list v sphere datastores params

func (*ListVSphereDatastoresParams) WithCredential

func (o *ListVSphereDatastoresParams) WithCredential(credential *string) *ListVSphereDatastoresParams

WithCredential adds the credential to the list v sphere datastores params

func (*ListVSphereDatastoresParams) WithDatacenterName

func (o *ListVSphereDatastoresParams) WithDatacenterName(datacenterName *string) *ListVSphereDatastoresParams

WithDatacenterName adds the datacenterName to the list v sphere datastores params

func (*ListVSphereDatastoresParams) WithDefaults

WithDefaults hydrates default values in the list v sphere datastores params (not the query body).

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

func (*ListVSphereDatastoresParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list v sphere datastores params

func (*ListVSphereDatastoresParams) WithPassword

WithPassword adds the password to the list v sphere datastores params

func (*ListVSphereDatastoresParams) WithTimeout

WithTimeout adds the timeout to the list v sphere datastores params

func (*ListVSphereDatastoresParams) WithUsername

WithUsername adds the username to the list v sphere datastores params

func (*ListVSphereDatastoresParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListVSphereDatastoresReader

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

ListVSphereDatastoresReader is a Reader for the ListVSphereDatastores structure.

func (*ListVSphereDatastoresReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListVSphereFoldersDefault

type ListVSphereFoldersDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListVSphereFoldersDefault describes a response with status code -1, with default header values.

errorResponse

func NewListVSphereFoldersDefault

func NewListVSphereFoldersDefault(code int) *ListVSphereFoldersDefault

NewListVSphereFoldersDefault creates a ListVSphereFoldersDefault with default headers values

func (*ListVSphereFoldersDefault) Code

func (o *ListVSphereFoldersDefault) Code() int

Code gets the status code for the list v sphere folders default response

func (*ListVSphereFoldersDefault) Error

func (o *ListVSphereFoldersDefault) Error() string

func (*ListVSphereFoldersDefault) GetPayload

type ListVSphereFoldersNoCredentialsDefault

type ListVSphereFoldersNoCredentialsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListVSphereFoldersNoCredentialsDefault describes a response with status code -1, with default header values.

errorResponse

func NewListVSphereFoldersNoCredentialsDefault

func NewListVSphereFoldersNoCredentialsDefault(code int) *ListVSphereFoldersNoCredentialsDefault

NewListVSphereFoldersNoCredentialsDefault creates a ListVSphereFoldersNoCredentialsDefault with default headers values

func (*ListVSphereFoldersNoCredentialsDefault) Code

Code gets the status code for the list v sphere folders no credentials default response

func (*ListVSphereFoldersNoCredentialsDefault) Error

func (*ListVSphereFoldersNoCredentialsDefault) GetPayload

type ListVSphereFoldersNoCredentialsOK

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

VSphereFolder

func NewListVSphereFoldersNoCredentialsOK

func NewListVSphereFoldersNoCredentialsOK() *ListVSphereFoldersNoCredentialsOK

NewListVSphereFoldersNoCredentialsOK creates a ListVSphereFoldersNoCredentialsOK with default headers values

func (*ListVSphereFoldersNoCredentialsOK) Error

func (*ListVSphereFoldersNoCredentialsOK) GetPayload

type ListVSphereFoldersNoCredentialsParams

type ListVSphereFoldersNoCredentialsParams struct {

	// ClusterID.
	ClusterID string

	// Dc.
	DC string

	// ProjectID.
	ProjectID string

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

ListVSphereFoldersNoCredentialsParams contains all the parameters to send to the API endpoint

for the list v sphere folders no credentials operation.

Typically these are written to a http.Request.

func NewListVSphereFoldersNoCredentialsParams

func NewListVSphereFoldersNoCredentialsParams() *ListVSphereFoldersNoCredentialsParams

NewListVSphereFoldersNoCredentialsParams creates a new ListVSphereFoldersNoCredentialsParams 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 NewListVSphereFoldersNoCredentialsParamsWithContext

func NewListVSphereFoldersNoCredentialsParamsWithContext(ctx context.Context) *ListVSphereFoldersNoCredentialsParams

NewListVSphereFoldersNoCredentialsParamsWithContext creates a new ListVSphereFoldersNoCredentialsParams object with the ability to set a context for a request.

func NewListVSphereFoldersNoCredentialsParamsWithHTTPClient

func NewListVSphereFoldersNoCredentialsParamsWithHTTPClient(client *http.Client) *ListVSphereFoldersNoCredentialsParams

NewListVSphereFoldersNoCredentialsParamsWithHTTPClient creates a new ListVSphereFoldersNoCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewListVSphereFoldersNoCredentialsParamsWithTimeout

func NewListVSphereFoldersNoCredentialsParamsWithTimeout(timeout time.Duration) *ListVSphereFoldersNoCredentialsParams

NewListVSphereFoldersNoCredentialsParamsWithTimeout creates a new ListVSphereFoldersNoCredentialsParams object with the ability to set a timeout on a request.

func (*ListVSphereFoldersNoCredentialsParams) SetClusterID

func (o *ListVSphereFoldersNoCredentialsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) SetContext

SetContext adds the context to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) SetDC

SetDC adds the dc to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) SetDefaults

func (o *ListVSphereFoldersNoCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the list v sphere folders no credentials params (not the query body).

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

func (*ListVSphereFoldersNoCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) SetProjectID

func (o *ListVSphereFoldersNoCredentialsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) SetTimeout

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

SetTimeout adds the timeout to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) WithContext

WithContext adds the context to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) WithDC

WithDC adds the dc to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) WithDefaults

WithDefaults hydrates default values in the list v sphere folders no credentials params (not the query body).

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

func (*ListVSphereFoldersNoCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) WithProjectID

WithProjectID adds the projectID to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListVSphereFoldersNoCredentialsReader

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

ListVSphereFoldersNoCredentialsReader is a Reader for the ListVSphereFoldersNoCredentials structure.

func (*ListVSphereFoldersNoCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListVSphereFoldersNoCredentialsV2Default

type ListVSphereFoldersNoCredentialsV2Default struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListVSphereFoldersNoCredentialsV2Default describes a response with status code -1, with default header values.

errorResponse

func NewListVSphereFoldersNoCredentialsV2Default

func NewListVSphereFoldersNoCredentialsV2Default(code int) *ListVSphereFoldersNoCredentialsV2Default

NewListVSphereFoldersNoCredentialsV2Default creates a ListVSphereFoldersNoCredentialsV2Default with default headers values

func (*ListVSphereFoldersNoCredentialsV2Default) Code

Code gets the status code for the list v sphere folders no credentials v2 default response

func (*ListVSphereFoldersNoCredentialsV2Default) Error

func (*ListVSphereFoldersNoCredentialsV2Default) GetPayload

type ListVSphereFoldersNoCredentialsV2OK

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

VSphereFolder

func NewListVSphereFoldersNoCredentialsV2OK

func NewListVSphereFoldersNoCredentialsV2OK() *ListVSphereFoldersNoCredentialsV2OK

NewListVSphereFoldersNoCredentialsV2OK creates a ListVSphereFoldersNoCredentialsV2OK with default headers values

func (*ListVSphereFoldersNoCredentialsV2OK) Error

func (*ListVSphereFoldersNoCredentialsV2OK) GetPayload

type ListVSphereFoldersNoCredentialsV2Params

type ListVSphereFoldersNoCredentialsV2Params struct {

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

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

ListVSphereFoldersNoCredentialsV2Params contains all the parameters to send to the API endpoint

for the list v sphere folders no credentials v2 operation.

Typically these are written to a http.Request.

func NewListVSphereFoldersNoCredentialsV2Params

func NewListVSphereFoldersNoCredentialsV2Params() *ListVSphereFoldersNoCredentialsV2Params

NewListVSphereFoldersNoCredentialsV2Params creates a new ListVSphereFoldersNoCredentialsV2Params 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 NewListVSphereFoldersNoCredentialsV2ParamsWithContext

func NewListVSphereFoldersNoCredentialsV2ParamsWithContext(ctx context.Context) *ListVSphereFoldersNoCredentialsV2Params

NewListVSphereFoldersNoCredentialsV2ParamsWithContext creates a new ListVSphereFoldersNoCredentialsV2Params object with the ability to set a context for a request.

func NewListVSphereFoldersNoCredentialsV2ParamsWithHTTPClient

func NewListVSphereFoldersNoCredentialsV2ParamsWithHTTPClient(client *http.Client) *ListVSphereFoldersNoCredentialsV2Params

NewListVSphereFoldersNoCredentialsV2ParamsWithHTTPClient creates a new ListVSphereFoldersNoCredentialsV2Params object with the ability to set a custom HTTPClient for a request.

func NewListVSphereFoldersNoCredentialsV2ParamsWithTimeout

func NewListVSphereFoldersNoCredentialsV2ParamsWithTimeout(timeout time.Duration) *ListVSphereFoldersNoCredentialsV2Params

NewListVSphereFoldersNoCredentialsV2ParamsWithTimeout creates a new ListVSphereFoldersNoCredentialsV2Params object with the ability to set a timeout on a request.

func (*ListVSphereFoldersNoCredentialsV2Params) SetClusterID

func (o *ListVSphereFoldersNoCredentialsV2Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) SetContext

SetContext adds the context to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) SetDefaults

func (o *ListVSphereFoldersNoCredentialsV2Params) SetDefaults()

SetDefaults hydrates default values in the list v sphere folders no credentials v2 params (not the query body).

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

func (*ListVSphereFoldersNoCredentialsV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) SetProjectID

func (o *ListVSphereFoldersNoCredentialsV2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) SetTimeout

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

SetTimeout adds the timeout to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) WithClusterID

WithClusterID adds the clusterID to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) WithContext

WithContext adds the context to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) WithDefaults

WithDefaults hydrates default values in the list v sphere folders no credentials v2 params (not the query body).

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

func (*ListVSphereFoldersNoCredentialsV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) WithProjectID

WithProjectID adds the projectID to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) WithTimeout

WithTimeout adds the timeout to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListVSphereFoldersNoCredentialsV2Reader

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

ListVSphereFoldersNoCredentialsV2Reader is a Reader for the ListVSphereFoldersNoCredentialsV2 structure.

func (*ListVSphereFoldersNoCredentialsV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListVSphereFoldersOK

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

VSphereFolder

func NewListVSphereFoldersOK

func NewListVSphereFoldersOK() *ListVSphereFoldersOK

NewListVSphereFoldersOK creates a ListVSphereFoldersOK with default headers values

func (*ListVSphereFoldersOK) Error

func (o *ListVSphereFoldersOK) Error() string

func (*ListVSphereFoldersOK) GetPayload

func (o *ListVSphereFoldersOK) GetPayload() []*models.VSphereFolder

type ListVSphereFoldersParams

type ListVSphereFoldersParams struct {

	// Credential.
	Credential *string

	// DatacenterName.
	DatacenterName *string

	// Password.
	Password *string

	// Username.
	Username *string

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

ListVSphereFoldersParams contains all the parameters to send to the API endpoint

for the list v sphere folders operation.

Typically these are written to a http.Request.

func NewListVSphereFoldersParams

func NewListVSphereFoldersParams() *ListVSphereFoldersParams

NewListVSphereFoldersParams creates a new ListVSphereFoldersParams 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 NewListVSphereFoldersParamsWithContext

func NewListVSphereFoldersParamsWithContext(ctx context.Context) *ListVSphereFoldersParams

NewListVSphereFoldersParamsWithContext creates a new ListVSphereFoldersParams object with the ability to set a context for a request.

func NewListVSphereFoldersParamsWithHTTPClient

func NewListVSphereFoldersParamsWithHTTPClient(client *http.Client) *ListVSphereFoldersParams

NewListVSphereFoldersParamsWithHTTPClient creates a new ListVSphereFoldersParams object with the ability to set a custom HTTPClient for a request.

func NewListVSphereFoldersParamsWithTimeout

func NewListVSphereFoldersParamsWithTimeout(timeout time.Duration) *ListVSphereFoldersParams

NewListVSphereFoldersParamsWithTimeout creates a new ListVSphereFoldersParams object with the ability to set a timeout on a request.

func (*ListVSphereFoldersParams) SetContext

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

SetContext adds the context to the list v sphere folders params

func (*ListVSphereFoldersParams) SetCredential

func (o *ListVSphereFoldersParams) SetCredential(credential *string)

SetCredential adds the credential to the list v sphere folders params

func (*ListVSphereFoldersParams) SetDatacenterName

func (o *ListVSphereFoldersParams) SetDatacenterName(datacenterName *string)

SetDatacenterName adds the datacenterName to the list v sphere folders params

func (*ListVSphereFoldersParams) SetDefaults

func (o *ListVSphereFoldersParams) SetDefaults()

SetDefaults hydrates default values in the list v sphere folders params (not the query body).

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

func (*ListVSphereFoldersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list v sphere folders params

func (*ListVSphereFoldersParams) SetPassword

func (o *ListVSphereFoldersParams) SetPassword(password *string)

SetPassword adds the password to the list v sphere folders params

func (*ListVSphereFoldersParams) SetTimeout

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

SetTimeout adds the timeout to the list v sphere folders params

func (*ListVSphereFoldersParams) SetUsername

func (o *ListVSphereFoldersParams) SetUsername(username *string)

SetUsername adds the username to the list v sphere folders params

func (*ListVSphereFoldersParams) WithContext

WithContext adds the context to the list v sphere folders params

func (*ListVSphereFoldersParams) WithCredential

func (o *ListVSphereFoldersParams) WithCredential(credential *string) *ListVSphereFoldersParams

WithCredential adds the credential to the list v sphere folders params

func (*ListVSphereFoldersParams) WithDatacenterName

func (o *ListVSphereFoldersParams) WithDatacenterName(datacenterName *string) *ListVSphereFoldersParams

WithDatacenterName adds the datacenterName to the list v sphere folders params

func (*ListVSphereFoldersParams) WithDefaults

WithDefaults hydrates default values in the list v sphere folders params (not the query body).

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

func (*ListVSphereFoldersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list v sphere folders params

func (*ListVSphereFoldersParams) WithPassword

func (o *ListVSphereFoldersParams) WithPassword(password *string) *ListVSphereFoldersParams

WithPassword adds the password to the list v sphere folders params

func (*ListVSphereFoldersParams) WithTimeout

WithTimeout adds the timeout to the list v sphere folders params

func (*ListVSphereFoldersParams) WithUsername

func (o *ListVSphereFoldersParams) WithUsername(username *string) *ListVSphereFoldersParams

WithUsername adds the username to the list v sphere folders params

func (*ListVSphereFoldersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListVSphereFoldersReader

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

ListVSphereFoldersReader is a Reader for the ListVSphereFolders structure.

func (*ListVSphereFoldersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListVSphereNetworksDefault

type ListVSphereNetworksDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListVSphereNetworksDefault describes a response with status code -1, with default header values.

errorResponse

func NewListVSphereNetworksDefault

func NewListVSphereNetworksDefault(code int) *ListVSphereNetworksDefault

NewListVSphereNetworksDefault creates a ListVSphereNetworksDefault with default headers values

func (*ListVSphereNetworksDefault) Code

func (o *ListVSphereNetworksDefault) Code() int

Code gets the status code for the list v sphere networks default response

func (*ListVSphereNetworksDefault) Error

func (*ListVSphereNetworksDefault) GetPayload

type ListVSphereNetworksNoCredentialsDefault

type ListVSphereNetworksNoCredentialsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListVSphereNetworksNoCredentialsDefault describes a response with status code -1, with default header values.

errorResponse

func NewListVSphereNetworksNoCredentialsDefault

func NewListVSphereNetworksNoCredentialsDefault(code int) *ListVSphereNetworksNoCredentialsDefault

NewListVSphereNetworksNoCredentialsDefault creates a ListVSphereNetworksNoCredentialsDefault with default headers values

func (*ListVSphereNetworksNoCredentialsDefault) Code

Code gets the status code for the list v sphere networks no credentials default response

func (*ListVSphereNetworksNoCredentialsDefault) Error

func (*ListVSphereNetworksNoCredentialsDefault) GetPayload

type ListVSphereNetworksNoCredentialsOK

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

VSphereNetwork

func NewListVSphereNetworksNoCredentialsOK

func NewListVSphereNetworksNoCredentialsOK() *ListVSphereNetworksNoCredentialsOK

NewListVSphereNetworksNoCredentialsOK creates a ListVSphereNetworksNoCredentialsOK with default headers values

func (*ListVSphereNetworksNoCredentialsOK) Error

func (*ListVSphereNetworksNoCredentialsOK) GetPayload

type ListVSphereNetworksNoCredentialsParams

type ListVSphereNetworksNoCredentialsParams struct {

	// ClusterID.
	ClusterID string

	// Dc.
	DC string

	// ProjectID.
	ProjectID string

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

ListVSphereNetworksNoCredentialsParams contains all the parameters to send to the API endpoint

for the list v sphere networks no credentials operation.

Typically these are written to a http.Request.

func NewListVSphereNetworksNoCredentialsParams

func NewListVSphereNetworksNoCredentialsParams() *ListVSphereNetworksNoCredentialsParams

NewListVSphereNetworksNoCredentialsParams creates a new ListVSphereNetworksNoCredentialsParams 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 NewListVSphereNetworksNoCredentialsParamsWithContext

func NewListVSphereNetworksNoCredentialsParamsWithContext(ctx context.Context) *ListVSphereNetworksNoCredentialsParams

NewListVSphereNetworksNoCredentialsParamsWithContext creates a new ListVSphereNetworksNoCredentialsParams object with the ability to set a context for a request.

func NewListVSphereNetworksNoCredentialsParamsWithHTTPClient

func NewListVSphereNetworksNoCredentialsParamsWithHTTPClient(client *http.Client) *ListVSphereNetworksNoCredentialsParams

NewListVSphereNetworksNoCredentialsParamsWithHTTPClient creates a new ListVSphereNetworksNoCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewListVSphereNetworksNoCredentialsParamsWithTimeout

func NewListVSphereNetworksNoCredentialsParamsWithTimeout(timeout time.Duration) *ListVSphereNetworksNoCredentialsParams

NewListVSphereNetworksNoCredentialsParamsWithTimeout creates a new ListVSphereNetworksNoCredentialsParams object with the ability to set a timeout on a request.

func (*ListVSphereNetworksNoCredentialsParams) SetClusterID

func (o *ListVSphereNetworksNoCredentialsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) SetContext

SetContext adds the context to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) SetDC

SetDC adds the dc to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) SetDefaults

func (o *ListVSphereNetworksNoCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the list v sphere networks no credentials params (not the query body).

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

func (*ListVSphereNetworksNoCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) SetProjectID

func (o *ListVSphereNetworksNoCredentialsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) SetTimeout

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

SetTimeout adds the timeout to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) WithContext

WithContext adds the context to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) WithDC

WithDC adds the dc to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) WithDefaults

WithDefaults hydrates default values in the list v sphere networks no credentials params (not the query body).

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

func (*ListVSphereNetworksNoCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) WithProjectID

WithProjectID adds the projectID to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListVSphereNetworksNoCredentialsReader

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

ListVSphereNetworksNoCredentialsReader is a Reader for the ListVSphereNetworksNoCredentials structure.

func (*ListVSphereNetworksNoCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListVSphereNetworksNoCredentialsV2Default

type ListVSphereNetworksNoCredentialsV2Default struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListVSphereNetworksNoCredentialsV2Default describes a response with status code -1, with default header values.

errorResponse

func NewListVSphereNetworksNoCredentialsV2Default

func NewListVSphereNetworksNoCredentialsV2Default(code int) *ListVSphereNetworksNoCredentialsV2Default

NewListVSphereNetworksNoCredentialsV2Default creates a ListVSphereNetworksNoCredentialsV2Default with default headers values

func (*ListVSphereNetworksNoCredentialsV2Default) Code

Code gets the status code for the list v sphere networks no credentials v2 default response

func (*ListVSphereNetworksNoCredentialsV2Default) Error

func (*ListVSphereNetworksNoCredentialsV2Default) GetPayload

type ListVSphereNetworksNoCredentialsV2OK

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

VSphereNetwork

func NewListVSphereNetworksNoCredentialsV2OK

func NewListVSphereNetworksNoCredentialsV2OK() *ListVSphereNetworksNoCredentialsV2OK

NewListVSphereNetworksNoCredentialsV2OK creates a ListVSphereNetworksNoCredentialsV2OK with default headers values

func (*ListVSphereNetworksNoCredentialsV2OK) Error

func (*ListVSphereNetworksNoCredentialsV2OK) GetPayload

type ListVSphereNetworksNoCredentialsV2Params

type ListVSphereNetworksNoCredentialsV2Params struct {

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

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

ListVSphereNetworksNoCredentialsV2Params contains all the parameters to send to the API endpoint

for the list v sphere networks no credentials v2 operation.

Typically these are written to a http.Request.

func NewListVSphereNetworksNoCredentialsV2Params

func NewListVSphereNetworksNoCredentialsV2Params() *ListVSphereNetworksNoCredentialsV2Params

NewListVSphereNetworksNoCredentialsV2Params creates a new ListVSphereNetworksNoCredentialsV2Params 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 NewListVSphereNetworksNoCredentialsV2ParamsWithContext

func NewListVSphereNetworksNoCredentialsV2ParamsWithContext(ctx context.Context) *ListVSphereNetworksNoCredentialsV2Params

NewListVSphereNetworksNoCredentialsV2ParamsWithContext creates a new ListVSphereNetworksNoCredentialsV2Params object with the ability to set a context for a request.

func NewListVSphereNetworksNoCredentialsV2ParamsWithHTTPClient

func NewListVSphereNetworksNoCredentialsV2ParamsWithHTTPClient(client *http.Client) *ListVSphereNetworksNoCredentialsV2Params

NewListVSphereNetworksNoCredentialsV2ParamsWithHTTPClient creates a new ListVSphereNetworksNoCredentialsV2Params object with the ability to set a custom HTTPClient for a request.

func NewListVSphereNetworksNoCredentialsV2ParamsWithTimeout

func NewListVSphereNetworksNoCredentialsV2ParamsWithTimeout(timeout time.Duration) *ListVSphereNetworksNoCredentialsV2Params

NewListVSphereNetworksNoCredentialsV2ParamsWithTimeout creates a new ListVSphereNetworksNoCredentialsV2Params object with the ability to set a timeout on a request.

func (*ListVSphereNetworksNoCredentialsV2Params) SetClusterID

func (o *ListVSphereNetworksNoCredentialsV2Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) SetContext

SetContext adds the context to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) SetDefaults

SetDefaults hydrates default values in the list v sphere networks no credentials v2 params (not the query body).

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

func (*ListVSphereNetworksNoCredentialsV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) SetProjectID

func (o *ListVSphereNetworksNoCredentialsV2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) SetTimeout

SetTimeout adds the timeout to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) WithClusterID

WithClusterID adds the clusterID to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) WithContext

WithContext adds the context to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) WithDefaults

WithDefaults hydrates default values in the list v sphere networks no credentials v2 params (not the query body).

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

func (*ListVSphereNetworksNoCredentialsV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) WithProjectID

WithProjectID adds the projectID to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) WithTimeout

WithTimeout adds the timeout to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListVSphereNetworksNoCredentialsV2Reader

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

ListVSphereNetworksNoCredentialsV2Reader is a Reader for the ListVSphereNetworksNoCredentialsV2 structure.

func (*ListVSphereNetworksNoCredentialsV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListVSphereNetworksOK

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

VSphereNetwork

func NewListVSphereNetworksOK

func NewListVSphereNetworksOK() *ListVSphereNetworksOK

NewListVSphereNetworksOK creates a ListVSphereNetworksOK with default headers values

func (*ListVSphereNetworksOK) Error

func (o *ListVSphereNetworksOK) Error() string

func (*ListVSphereNetworksOK) GetPayload

func (o *ListVSphereNetworksOK) GetPayload() []*models.VSphereNetwork

type ListVSphereNetworksParams

type ListVSphereNetworksParams struct {

	// Credential.
	Credential *string

	// DatacenterName.
	DatacenterName *string

	// Password.
	Password *string

	// Username.
	Username *string

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

ListVSphereNetworksParams contains all the parameters to send to the API endpoint

for the list v sphere networks operation.

Typically these are written to a http.Request.

func NewListVSphereNetworksParams

func NewListVSphereNetworksParams() *ListVSphereNetworksParams

NewListVSphereNetworksParams creates a new ListVSphereNetworksParams 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 NewListVSphereNetworksParamsWithContext

func NewListVSphereNetworksParamsWithContext(ctx context.Context) *ListVSphereNetworksParams

NewListVSphereNetworksParamsWithContext creates a new ListVSphereNetworksParams object with the ability to set a context for a request.

func NewListVSphereNetworksParamsWithHTTPClient

func NewListVSphereNetworksParamsWithHTTPClient(client *http.Client) *ListVSphereNetworksParams

NewListVSphereNetworksParamsWithHTTPClient creates a new ListVSphereNetworksParams object with the ability to set a custom HTTPClient for a request.

func NewListVSphereNetworksParamsWithTimeout

func NewListVSphereNetworksParamsWithTimeout(timeout time.Duration) *ListVSphereNetworksParams

NewListVSphereNetworksParamsWithTimeout creates a new ListVSphereNetworksParams object with the ability to set a timeout on a request.

func (*ListVSphereNetworksParams) SetContext

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

SetContext adds the context to the list v sphere networks params

func (*ListVSphereNetworksParams) SetCredential

func (o *ListVSphereNetworksParams) SetCredential(credential *string)

SetCredential adds the credential to the list v sphere networks params

func (*ListVSphereNetworksParams) SetDatacenterName

func (o *ListVSphereNetworksParams) SetDatacenterName(datacenterName *string)

SetDatacenterName adds the datacenterName to the list v sphere networks params

func (*ListVSphereNetworksParams) SetDefaults

func (o *ListVSphereNetworksParams) SetDefaults()

SetDefaults hydrates default values in the list v sphere networks params (not the query body).

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

func (*ListVSphereNetworksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list v sphere networks params

func (*ListVSphereNetworksParams) SetPassword

func (o *ListVSphereNetworksParams) SetPassword(password *string)

SetPassword adds the password to the list v sphere networks params

func (*ListVSphereNetworksParams) SetTimeout

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

SetTimeout adds the timeout to the list v sphere networks params

func (*ListVSphereNetworksParams) SetUsername

func (o *ListVSphereNetworksParams) SetUsername(username *string)

SetUsername adds the username to the list v sphere networks params

func (*ListVSphereNetworksParams) WithContext

WithContext adds the context to the list v sphere networks params

func (*ListVSphereNetworksParams) WithCredential

func (o *ListVSphereNetworksParams) WithCredential(credential *string) *ListVSphereNetworksParams

WithCredential adds the credential to the list v sphere networks params

func (*ListVSphereNetworksParams) WithDatacenterName

func (o *ListVSphereNetworksParams) WithDatacenterName(datacenterName *string) *ListVSphereNetworksParams

WithDatacenterName adds the datacenterName to the list v sphere networks params

func (*ListVSphereNetworksParams) WithDefaults

WithDefaults hydrates default values in the list v sphere networks params (not the query body).

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

func (*ListVSphereNetworksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list v sphere networks params

func (*ListVSphereNetworksParams) WithPassword

func (o *ListVSphereNetworksParams) WithPassword(password *string) *ListVSphereNetworksParams

WithPassword adds the password to the list v sphere networks params

func (*ListVSphereNetworksParams) WithTimeout

WithTimeout adds the timeout to the list v sphere networks params

func (*ListVSphereNetworksParams) WithUsername

func (o *ListVSphereNetworksParams) WithUsername(username *string) *ListVSphereNetworksParams

WithUsername adds the username to the list v sphere networks params

func (*ListVSphereNetworksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListVSphereNetworksReader

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

ListVSphereNetworksReader is a Reader for the ListVSphereNetworks structure.

func (*ListVSphereNetworksReader) ReadResponse

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