vsphere

package
v2.14.7+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 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) ListVSphereFolders

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

ListVSphereFolders Lists folders from vsphere datacenter

func (*Client) ListVSphereFoldersNoCredentials

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

ListVSphereFoldersNoCredentials Lists folders from vsphere datacenter

func (*Client) ListVSphereNetworks

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

ListVSphereNetworks Lists networks from vsphere datacenter

func (*Client) ListVSphereNetworksNoCredentials

ListVSphereNetworksNoCredentials Lists networks from vsphere datacenter

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ListVSphereFolders(params *ListVSphereFoldersParams, authInfo runtime.ClientAuthInfoWriter) (*ListVSphereFoldersOK, error)

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

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

	ListVSphereNetworksNoCredentials(params *ListVSphereNetworksNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListVSphereNetworksNoCredentialsOK, 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 ListVSphereFoldersDefault

type ListVSphereFoldersDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListVSphereFoldersDefault handles this case 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 handles this case 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 handles this case 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 values initialized.

func NewListVSphereFoldersNoCredentialsParamsWithContext

func NewListVSphereFoldersNoCredentialsParamsWithContext(ctx context.Context) *ListVSphereFoldersNoCredentialsParams

NewListVSphereFoldersNoCredentialsParamsWithContext creates a new ListVSphereFoldersNoCredentialsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ListVSphereFoldersOK

type ListVSphereFoldersOK struct {
	Payload []*models.VSphereFolder
}

ListVSphereFoldersOK handles this case 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 values initialized.

func NewListVSphereFoldersParamsWithContext

func NewListVSphereFoldersParamsWithContext(ctx context.Context) *ListVSphereFoldersParams

NewListVSphereFoldersParamsWithContext creates a new ListVSphereFoldersParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 handles this case 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 values initialized.

func NewListVSphereNetworksNoCredentialsParamsWithContext

func NewListVSphereNetworksNoCredentialsParamsWithContext(ctx context.Context) *ListVSphereNetworksNoCredentialsParams

NewListVSphereNetworksNoCredentialsParamsWithContext creates a new ListVSphereNetworksNoCredentialsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ListVSphereNetworksOK

type ListVSphereNetworksOK struct {
	Payload []*models.VSphereNetwork
}

ListVSphereNetworksOK handles this case 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 values initialized.

func NewListVSphereNetworksParamsWithContext

func NewListVSphereNetworksParamsWithContext(ctx context.Context) *ListVSphereNetworksParams

NewListVSphereNetworksParamsWithContext creates a new ListVSphereNetworksParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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