Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetVMNicsBadRequest
- type GetVMNicsConnectionBadRequest
- type GetVMNicsConnectionOK
- type GetVMNicsConnectionParams
- func NewGetVMNicsConnectionParams() *GetVMNicsConnectionParams
- func NewGetVMNicsConnectionParamsWithContext(ctx context.Context) *GetVMNicsConnectionParams
- func NewGetVMNicsConnectionParamsWithHTTPClient(client *http.Client) *GetVMNicsConnectionParams
- func NewGetVMNicsConnectionParamsWithTimeout(timeout time.Duration) *GetVMNicsConnectionParams
- func (o *GetVMNicsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVMNicsConnectionParams) SetContext(ctx context.Context)
- func (o *GetVMNicsConnectionParams) SetDefaults()
- func (o *GetVMNicsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetVMNicsConnectionParams) SetRequestBody(requestBody *models.GetVMNicsConnectionRequestBody)
- func (o *GetVMNicsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetVMNicsConnectionParams) WithContentLanguage(contentLanguage *string) *GetVMNicsConnectionParams
- func (o *GetVMNicsConnectionParams) WithContext(ctx context.Context) *GetVMNicsConnectionParams
- func (o *GetVMNicsConnectionParams) WithDefaults() *GetVMNicsConnectionParams
- func (o *GetVMNicsConnectionParams) WithHTTPClient(client *http.Client) *GetVMNicsConnectionParams
- func (o *GetVMNicsConnectionParams) WithRequestBody(requestBody *models.GetVMNicsConnectionRequestBody) *GetVMNicsConnectionParams
- func (o *GetVMNicsConnectionParams) WithTimeout(timeout time.Duration) *GetVMNicsConnectionParams
- func (o *GetVMNicsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVMNicsConnectionReader
- type GetVMNicsOK
- type GetVMNicsParams
- func (o *GetVMNicsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVMNicsParams) SetContext(ctx context.Context)
- func (o *GetVMNicsParams) SetDefaults()
- func (o *GetVMNicsParams) SetHTTPClient(client *http.Client)
- func (o *GetVMNicsParams) SetRequestBody(requestBody *models.GetVMNicsRequestBody)
- func (o *GetVMNicsParams) SetTimeout(timeout time.Duration)
- func (o *GetVMNicsParams) WithContentLanguage(contentLanguage *string) *GetVMNicsParams
- func (o *GetVMNicsParams) WithContext(ctx context.Context) *GetVMNicsParams
- func (o *GetVMNicsParams) WithDefaults() *GetVMNicsParams
- func (o *GetVMNicsParams) WithHTTPClient(client *http.Client) *GetVMNicsParams
- func (o *GetVMNicsParams) WithRequestBody(requestBody *models.GetVMNicsRequestBody) *GetVMNicsParams
- func (o *GetVMNicsParams) WithTimeout(timeout time.Duration) *GetVMNicsParams
- func (o *GetVMNicsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVMNicsReader
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 vm nic API
func (*Client) GetVMNics ¶
func (a *Client) GetVMNics(params *GetVMNicsParams, opts ...ClientOption) (*GetVMNicsOK, error)
GetVMNics get Vm nics API
func (*Client) GetVMNicsConnection ¶
func (a *Client) GetVMNicsConnection(params *GetVMNicsConnectionParams, opts ...ClientOption) (*GetVMNicsConnectionOK, error)
GetVMNicsConnection get Vm nics 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 { GetVMNics(params *GetVMNicsParams, opts ...ClientOption) (*GetVMNicsOK, error) GetVMNicsConnection(params *GetVMNicsConnectionParams, opts ...ClientOption) (*GetVMNicsConnectionOK, 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 vm nic API client.
type GetVMNicsBadRequest ¶
type GetVMNicsBadRequest struct {
Payload string
}
GetVMNicsBadRequest describes a response with status code 400, with default header values.
GetVMNicsBadRequest get Vm nics bad request
func NewGetVMNicsBadRequest ¶
func NewGetVMNicsBadRequest() *GetVMNicsBadRequest
NewGetVMNicsBadRequest creates a GetVMNicsBadRequest with default headers values
func (*GetVMNicsBadRequest) Error ¶
func (o *GetVMNicsBadRequest) Error() string
func (*GetVMNicsBadRequest) GetPayload ¶
func (o *GetVMNicsBadRequest) GetPayload() string
type GetVMNicsConnectionBadRequest ¶
type GetVMNicsConnectionBadRequest struct {
Payload string
}
GetVMNicsConnectionBadRequest describes a response with status code 400, with default header values.
GetVMNicsConnectionBadRequest get Vm nics connection bad request
func NewGetVMNicsConnectionBadRequest ¶
func NewGetVMNicsConnectionBadRequest() *GetVMNicsConnectionBadRequest
NewGetVMNicsConnectionBadRequest creates a GetVMNicsConnectionBadRequest with default headers values
func (*GetVMNicsConnectionBadRequest) Error ¶
func (o *GetVMNicsConnectionBadRequest) Error() string
func (*GetVMNicsConnectionBadRequest) GetPayload ¶
func (o *GetVMNicsConnectionBadRequest) GetPayload() string
type GetVMNicsConnectionOK ¶
type GetVMNicsConnectionOK struct {
Payload *models.VMNicConnection
}
GetVMNicsConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetVMNicsConnectionOK ¶
func NewGetVMNicsConnectionOK() *GetVMNicsConnectionOK
NewGetVMNicsConnectionOK creates a GetVMNicsConnectionOK with default headers values
func (*GetVMNicsConnectionOK) Error ¶
func (o *GetVMNicsConnectionOK) Error() string
func (*GetVMNicsConnectionOK) GetPayload ¶
func (o *GetVMNicsConnectionOK) GetPayload() *models.VMNicConnection
type GetVMNicsConnectionParams ¶
type GetVMNicsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVMNicsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVMNicsConnectionParams contains all the parameters to send to the API endpoint
for the get Vm nics connection operation. Typically these are written to a http.Request.
func NewGetVMNicsConnectionParams ¶
func NewGetVMNicsConnectionParams() *GetVMNicsConnectionParams
NewGetVMNicsConnectionParams creates a new GetVMNicsConnectionParams 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 NewGetVMNicsConnectionParamsWithContext ¶
func NewGetVMNicsConnectionParamsWithContext(ctx context.Context) *GetVMNicsConnectionParams
NewGetVMNicsConnectionParamsWithContext creates a new GetVMNicsConnectionParams object with the ability to set a context for a request.
func NewGetVMNicsConnectionParamsWithHTTPClient ¶
func NewGetVMNicsConnectionParamsWithHTTPClient(client *http.Client) *GetVMNicsConnectionParams
NewGetVMNicsConnectionParamsWithHTTPClient creates a new GetVMNicsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetVMNicsConnectionParamsWithTimeout ¶
func NewGetVMNicsConnectionParamsWithTimeout(timeout time.Duration) *GetVMNicsConnectionParams
NewGetVMNicsConnectionParamsWithTimeout creates a new GetVMNicsConnectionParams object with the ability to set a timeout on a request.
func (*GetVMNicsConnectionParams) SetContentLanguage ¶
func (o *GetVMNicsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get Vm nics connection params
func (*GetVMNicsConnectionParams) SetContext ¶
func (o *GetVMNicsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get Vm nics connection params
func (*GetVMNicsConnectionParams) SetDefaults ¶
func (o *GetVMNicsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get Vm nics connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMNicsConnectionParams) SetHTTPClient ¶
func (o *GetVMNicsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Vm nics connection params
func (*GetVMNicsConnectionParams) SetRequestBody ¶
func (o *GetVMNicsConnectionParams) SetRequestBody(requestBody *models.GetVMNicsConnectionRequestBody)
SetRequestBody adds the requestBody to the get Vm nics connection params
func (*GetVMNicsConnectionParams) SetTimeout ¶
func (o *GetVMNicsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Vm nics connection params
func (*GetVMNicsConnectionParams) WithContentLanguage ¶
func (o *GetVMNicsConnectionParams) WithContentLanguage(contentLanguage *string) *GetVMNicsConnectionParams
WithContentLanguage adds the contentLanguage to the get Vm nics connection params
func (*GetVMNicsConnectionParams) WithContext ¶
func (o *GetVMNicsConnectionParams) WithContext(ctx context.Context) *GetVMNicsConnectionParams
WithContext adds the context to the get Vm nics connection params
func (*GetVMNicsConnectionParams) WithDefaults ¶
func (o *GetVMNicsConnectionParams) WithDefaults() *GetVMNicsConnectionParams
WithDefaults hydrates default values in the get Vm nics connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMNicsConnectionParams) WithHTTPClient ¶
func (o *GetVMNicsConnectionParams) WithHTTPClient(client *http.Client) *GetVMNicsConnectionParams
WithHTTPClient adds the HTTPClient to the get Vm nics connection params
func (*GetVMNicsConnectionParams) WithRequestBody ¶
func (o *GetVMNicsConnectionParams) WithRequestBody(requestBody *models.GetVMNicsConnectionRequestBody) *GetVMNicsConnectionParams
WithRequestBody adds the requestBody to the get Vm nics connection params
func (*GetVMNicsConnectionParams) WithTimeout ¶
func (o *GetVMNicsConnectionParams) WithTimeout(timeout time.Duration) *GetVMNicsConnectionParams
WithTimeout adds the timeout to the get Vm nics connection params
func (*GetVMNicsConnectionParams) WriteToRequest ¶
func (o *GetVMNicsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVMNicsConnectionReader ¶
type GetVMNicsConnectionReader struct {
// contains filtered or unexported fields
}
GetVMNicsConnectionReader is a Reader for the GetVMNicsConnection structure.
func (*GetVMNicsConnectionReader) ReadResponse ¶
func (o *GetVMNicsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVMNicsOK ¶
GetVMNicsOK describes a response with status code 200, with default header values.
Ok
func NewGetVMNicsOK ¶
func NewGetVMNicsOK() *GetVMNicsOK
NewGetVMNicsOK creates a GetVMNicsOK with default headers values
func (*GetVMNicsOK) Error ¶
func (o *GetVMNicsOK) Error() string
func (*GetVMNicsOK) GetPayload ¶
func (o *GetVMNicsOK) GetPayload() []*models.VMNic
type GetVMNicsParams ¶
type GetVMNicsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVMNicsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVMNicsParams contains all the parameters to send to the API endpoint
for the get Vm nics operation. Typically these are written to a http.Request.
func NewGetVMNicsParams ¶
func NewGetVMNicsParams() *GetVMNicsParams
NewGetVMNicsParams creates a new GetVMNicsParams 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 NewGetVMNicsParamsWithContext ¶
func NewGetVMNicsParamsWithContext(ctx context.Context) *GetVMNicsParams
NewGetVMNicsParamsWithContext creates a new GetVMNicsParams object with the ability to set a context for a request.
func NewGetVMNicsParamsWithHTTPClient ¶
func NewGetVMNicsParamsWithHTTPClient(client *http.Client) *GetVMNicsParams
NewGetVMNicsParamsWithHTTPClient creates a new GetVMNicsParams object with the ability to set a custom HTTPClient for a request.
func NewGetVMNicsParamsWithTimeout ¶
func NewGetVMNicsParamsWithTimeout(timeout time.Duration) *GetVMNicsParams
NewGetVMNicsParamsWithTimeout creates a new GetVMNicsParams object with the ability to set a timeout on a request.
func (*GetVMNicsParams) SetContentLanguage ¶
func (o *GetVMNicsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get Vm nics params
func (*GetVMNicsParams) SetContext ¶
func (o *GetVMNicsParams) SetContext(ctx context.Context)
SetContext adds the context to the get Vm nics params
func (*GetVMNicsParams) SetDefaults ¶
func (o *GetVMNicsParams) SetDefaults()
SetDefaults hydrates default values in the get Vm nics params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMNicsParams) SetHTTPClient ¶
func (o *GetVMNicsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Vm nics params
func (*GetVMNicsParams) SetRequestBody ¶
func (o *GetVMNicsParams) SetRequestBody(requestBody *models.GetVMNicsRequestBody)
SetRequestBody adds the requestBody to the get Vm nics params
func (*GetVMNicsParams) SetTimeout ¶
func (o *GetVMNicsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Vm nics params
func (*GetVMNicsParams) WithContentLanguage ¶
func (o *GetVMNicsParams) WithContentLanguage(contentLanguage *string) *GetVMNicsParams
WithContentLanguage adds the contentLanguage to the get Vm nics params
func (*GetVMNicsParams) WithContext ¶
func (o *GetVMNicsParams) WithContext(ctx context.Context) *GetVMNicsParams
WithContext adds the context to the get Vm nics params
func (*GetVMNicsParams) WithDefaults ¶
func (o *GetVMNicsParams) WithDefaults() *GetVMNicsParams
WithDefaults hydrates default values in the get Vm nics params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMNicsParams) WithHTTPClient ¶
func (o *GetVMNicsParams) WithHTTPClient(client *http.Client) *GetVMNicsParams
WithHTTPClient adds the HTTPClient to the get Vm nics params
func (*GetVMNicsParams) WithRequestBody ¶
func (o *GetVMNicsParams) WithRequestBody(requestBody *models.GetVMNicsRequestBody) *GetVMNicsParams
WithRequestBody adds the requestBody to the get Vm nics params
func (*GetVMNicsParams) WithTimeout ¶
func (o *GetVMNicsParams) WithTimeout(timeout time.Duration) *GetVMNicsParams
WithTimeout adds the timeout to the get Vm nics params
func (*GetVMNicsParams) WriteToRequest ¶
func (o *GetVMNicsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVMNicsReader ¶
type GetVMNicsReader struct {
// contains filtered or unexported fields
}
GetVMNicsReader is a Reader for the GetVMNics structure.
func (*GetVMNicsReader) ReadResponse ¶
func (o *GetVMNicsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.