Documentation ¶
Index ¶
- type Client
- func (a *Client) GetNics(params *GetNicsParams, opts ...ClientOption) (*GetNicsOK, error)
- func (a *Client) GetNicsConnection(params *GetNicsConnectionParams, opts ...ClientOption) (*GetNicsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNic(params *UpdateNicParams, opts ...ClientOption) (*UpdateNicOK, error)
- type ClientOption
- type ClientService
- type GetNicsBadRequest
- type GetNicsConnectionBadRequest
- type GetNicsConnectionInternalServerError
- type GetNicsConnectionNotFound
- type GetNicsConnectionOK
- type GetNicsConnectionParams
- func NewGetNicsConnectionParams() *GetNicsConnectionParams
- func NewGetNicsConnectionParamsWithContext(ctx context.Context) *GetNicsConnectionParams
- func NewGetNicsConnectionParamsWithHTTPClient(client *http.Client) *GetNicsConnectionParams
- func NewGetNicsConnectionParamsWithTimeout(timeout time.Duration) *GetNicsConnectionParams
- func (o *GetNicsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetNicsConnectionParams) SetContext(ctx context.Context)
- func (o *GetNicsConnectionParams) SetDefaults()
- func (o *GetNicsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetNicsConnectionParams) SetRequestBody(requestBody *models.GetNicsConnectionRequestBody)
- func (o *GetNicsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetNicsConnectionParams) WithContentLanguage(contentLanguage *string) *GetNicsConnectionParams
- func (o *GetNicsConnectionParams) WithContext(ctx context.Context) *GetNicsConnectionParams
- func (o *GetNicsConnectionParams) WithDefaults() *GetNicsConnectionParams
- func (o *GetNicsConnectionParams) WithHTTPClient(client *http.Client) *GetNicsConnectionParams
- func (o *GetNicsConnectionParams) WithRequestBody(requestBody *models.GetNicsConnectionRequestBody) *GetNicsConnectionParams
- func (o *GetNicsConnectionParams) WithTimeout(timeout time.Duration) *GetNicsConnectionParams
- func (o *GetNicsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNicsConnectionReader
- type GetNicsInternalServerError
- type GetNicsNotFound
- type GetNicsOK
- type GetNicsParams
- func (o *GetNicsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetNicsParams) SetContext(ctx context.Context)
- func (o *GetNicsParams) SetDefaults()
- func (o *GetNicsParams) SetHTTPClient(client *http.Client)
- func (o *GetNicsParams) SetRequestBody(requestBody *models.GetNicsRequestBody)
- func (o *GetNicsParams) SetTimeout(timeout time.Duration)
- func (o *GetNicsParams) WithContentLanguage(contentLanguage *string) *GetNicsParams
- func (o *GetNicsParams) WithContext(ctx context.Context) *GetNicsParams
- func (o *GetNicsParams) WithDefaults() *GetNicsParams
- func (o *GetNicsParams) WithHTTPClient(client *http.Client) *GetNicsParams
- func (o *GetNicsParams) WithRequestBody(requestBody *models.GetNicsRequestBody) *GetNicsParams
- func (o *GetNicsParams) WithTimeout(timeout time.Duration) *GetNicsParams
- func (o *GetNicsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNicsReader
- type UpdateNicBadRequest
- type UpdateNicInternalServerError
- type UpdateNicNotFound
- type UpdateNicOK
- type UpdateNicParams
- func (o *UpdateNicParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateNicParams) SetContext(ctx context.Context)
- func (o *UpdateNicParams) SetDefaults()
- func (o *UpdateNicParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNicParams) SetRequestBody(requestBody *models.NicUpdationParams)
- func (o *UpdateNicParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNicParams) WithContentLanguage(contentLanguage *string) *UpdateNicParams
- func (o *UpdateNicParams) WithContext(ctx context.Context) *UpdateNicParams
- func (o *UpdateNicParams) WithDefaults() *UpdateNicParams
- func (o *UpdateNicParams) WithHTTPClient(client *http.Client) *UpdateNicParams
- func (o *UpdateNicParams) WithRequestBody(requestBody *models.NicUpdationParams) *UpdateNicParams
- func (o *UpdateNicParams) WithTimeout(timeout time.Duration) *UpdateNicParams
- func (o *UpdateNicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNicReader
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 nic API
func (*Client) GetNics ¶
func (a *Client) GetNics(params *GetNicsParams, opts ...ClientOption) (*GetNicsOK, error)
GetNics get nics API
func (*Client) GetNicsConnection ¶
func (a *Client) GetNicsConnection(params *GetNicsConnectionParams, opts ...ClientOption) (*GetNicsConnectionOK, error)
GetNicsConnection get nics connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateNic ¶
func (a *Client) UpdateNic(params *UpdateNicParams, opts ...ClientOption) (*UpdateNicOK, error)
UpdateNic update nic API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetNics(params *GetNicsParams, opts ...ClientOption) (*GetNicsOK, error) GetNicsConnection(params *GetNicsConnectionParams, opts ...ClientOption) (*GetNicsConnectionOK, error) UpdateNic(params *UpdateNicParams, opts ...ClientOption) (*UpdateNicOK, 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 nic API client.
type GetNicsBadRequest ¶
GetNicsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetNicsBadRequest ¶
func NewGetNicsBadRequest() *GetNicsBadRequest
NewGetNicsBadRequest creates a GetNicsBadRequest with default headers values
func (*GetNicsBadRequest) Error ¶
func (o *GetNicsBadRequest) Error() string
func (*GetNicsBadRequest) GetPayload ¶
func (o *GetNicsBadRequest) GetPayload() *models.ErrorBody
type GetNicsConnectionBadRequest ¶
GetNicsConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetNicsConnectionBadRequest ¶
func NewGetNicsConnectionBadRequest() *GetNicsConnectionBadRequest
NewGetNicsConnectionBadRequest creates a GetNicsConnectionBadRequest with default headers values
func (*GetNicsConnectionBadRequest) Error ¶
func (o *GetNicsConnectionBadRequest) Error() string
func (*GetNicsConnectionBadRequest) GetPayload ¶
func (o *GetNicsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetNicsConnectionInternalServerError ¶
type GetNicsConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetNicsConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetNicsConnectionInternalServerError ¶
func NewGetNicsConnectionInternalServerError() *GetNicsConnectionInternalServerError
NewGetNicsConnectionInternalServerError creates a GetNicsConnectionInternalServerError with default headers values
func (*GetNicsConnectionInternalServerError) Error ¶
func (o *GetNicsConnectionInternalServerError) Error() string
func (*GetNicsConnectionInternalServerError) GetPayload ¶
func (o *GetNicsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetNicsConnectionNotFound ¶
GetNicsConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetNicsConnectionNotFound ¶
func NewGetNicsConnectionNotFound() *GetNicsConnectionNotFound
NewGetNicsConnectionNotFound creates a GetNicsConnectionNotFound with default headers values
func (*GetNicsConnectionNotFound) Error ¶
func (o *GetNicsConnectionNotFound) Error() string
func (*GetNicsConnectionNotFound) GetPayload ¶
func (o *GetNicsConnectionNotFound) GetPayload() *models.ErrorBody
type GetNicsConnectionOK ¶
type GetNicsConnectionOK struct { XTowerRequestID string Payload *models.NicConnection }
GetNicsConnectionOK describes a response with status code 200, with default header values.
GetNicsConnectionOK get nics connection o k
func NewGetNicsConnectionOK ¶
func NewGetNicsConnectionOK() *GetNicsConnectionOK
NewGetNicsConnectionOK creates a GetNicsConnectionOK with default headers values
func (*GetNicsConnectionOK) Error ¶
func (o *GetNicsConnectionOK) Error() string
func (*GetNicsConnectionOK) GetPayload ¶
func (o *GetNicsConnectionOK) GetPayload() *models.NicConnection
type GetNicsConnectionParams ¶
type GetNicsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetNicsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNicsConnectionParams contains all the parameters to send to the API endpoint
for the get nics connection operation. Typically these are written to a http.Request.
func NewGetNicsConnectionParams ¶
func NewGetNicsConnectionParams() *GetNicsConnectionParams
NewGetNicsConnectionParams creates a new GetNicsConnectionParams 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 NewGetNicsConnectionParamsWithContext ¶
func NewGetNicsConnectionParamsWithContext(ctx context.Context) *GetNicsConnectionParams
NewGetNicsConnectionParamsWithContext creates a new GetNicsConnectionParams object with the ability to set a context for a request.
func NewGetNicsConnectionParamsWithHTTPClient ¶
func NewGetNicsConnectionParamsWithHTTPClient(client *http.Client) *GetNicsConnectionParams
NewGetNicsConnectionParamsWithHTTPClient creates a new GetNicsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetNicsConnectionParamsWithTimeout ¶
func NewGetNicsConnectionParamsWithTimeout(timeout time.Duration) *GetNicsConnectionParams
NewGetNicsConnectionParamsWithTimeout creates a new GetNicsConnectionParams object with the ability to set a timeout on a request.
func (*GetNicsConnectionParams) SetContentLanguage ¶
func (o *GetNicsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get nics connection params
func (*GetNicsConnectionParams) SetContext ¶
func (o *GetNicsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get nics connection params
func (*GetNicsConnectionParams) SetDefaults ¶
func (o *GetNicsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get nics connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetNicsConnectionParams) SetHTTPClient ¶
func (o *GetNicsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nics connection params
func (*GetNicsConnectionParams) SetRequestBody ¶
func (o *GetNicsConnectionParams) SetRequestBody(requestBody *models.GetNicsConnectionRequestBody)
SetRequestBody adds the requestBody to the get nics connection params
func (*GetNicsConnectionParams) SetTimeout ¶
func (o *GetNicsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nics connection params
func (*GetNicsConnectionParams) WithContentLanguage ¶
func (o *GetNicsConnectionParams) WithContentLanguage(contentLanguage *string) *GetNicsConnectionParams
WithContentLanguage adds the contentLanguage to the get nics connection params
func (*GetNicsConnectionParams) WithContext ¶
func (o *GetNicsConnectionParams) WithContext(ctx context.Context) *GetNicsConnectionParams
WithContext adds the context to the get nics connection params
func (*GetNicsConnectionParams) WithDefaults ¶
func (o *GetNicsConnectionParams) WithDefaults() *GetNicsConnectionParams
WithDefaults hydrates default values in the get nics connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetNicsConnectionParams) WithHTTPClient ¶
func (o *GetNicsConnectionParams) WithHTTPClient(client *http.Client) *GetNicsConnectionParams
WithHTTPClient adds the HTTPClient to the get nics connection params
func (*GetNicsConnectionParams) WithRequestBody ¶
func (o *GetNicsConnectionParams) WithRequestBody(requestBody *models.GetNicsConnectionRequestBody) *GetNicsConnectionParams
WithRequestBody adds the requestBody to the get nics connection params
func (*GetNicsConnectionParams) WithTimeout ¶
func (o *GetNicsConnectionParams) WithTimeout(timeout time.Duration) *GetNicsConnectionParams
WithTimeout adds the timeout to the get nics connection params
func (*GetNicsConnectionParams) WriteToRequest ¶
func (o *GetNicsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNicsConnectionReader ¶
type GetNicsConnectionReader struct {
// contains filtered or unexported fields
}
GetNicsConnectionReader is a Reader for the GetNicsConnection structure.
func (*GetNicsConnectionReader) ReadResponse ¶
func (o *GetNicsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNicsInternalServerError ¶
GetNicsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetNicsInternalServerError ¶
func NewGetNicsInternalServerError() *GetNicsInternalServerError
NewGetNicsInternalServerError creates a GetNicsInternalServerError with default headers values
func (*GetNicsInternalServerError) Error ¶
func (o *GetNicsInternalServerError) Error() string
func (*GetNicsInternalServerError) GetPayload ¶
func (o *GetNicsInternalServerError) GetPayload() *models.ErrorBody
type GetNicsNotFound ¶
GetNicsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetNicsNotFound ¶
func NewGetNicsNotFound() *GetNicsNotFound
NewGetNicsNotFound creates a GetNicsNotFound with default headers values
func (*GetNicsNotFound) Error ¶
func (o *GetNicsNotFound) Error() string
func (*GetNicsNotFound) GetPayload ¶
func (o *GetNicsNotFound) GetPayload() *models.ErrorBody
type GetNicsOK ¶
GetNicsOK describes a response with status code 200, with default header values.
GetNicsOK get nics o k
func NewGetNicsOK ¶
func NewGetNicsOK() *GetNicsOK
NewGetNicsOK creates a GetNicsOK with default headers values
func (*GetNicsOK) GetPayload ¶
type GetNicsParams ¶
type GetNicsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetNicsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNicsParams contains all the parameters to send to the API endpoint
for the get nics operation. Typically these are written to a http.Request.
func NewGetNicsParams ¶
func NewGetNicsParams() *GetNicsParams
NewGetNicsParams creates a new GetNicsParams 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 NewGetNicsParamsWithContext ¶
func NewGetNicsParamsWithContext(ctx context.Context) *GetNicsParams
NewGetNicsParamsWithContext creates a new GetNicsParams object with the ability to set a context for a request.
func NewGetNicsParamsWithHTTPClient ¶
func NewGetNicsParamsWithHTTPClient(client *http.Client) *GetNicsParams
NewGetNicsParamsWithHTTPClient creates a new GetNicsParams object with the ability to set a custom HTTPClient for a request.
func NewGetNicsParamsWithTimeout ¶
func NewGetNicsParamsWithTimeout(timeout time.Duration) *GetNicsParams
NewGetNicsParamsWithTimeout creates a new GetNicsParams object with the ability to set a timeout on a request.
func (*GetNicsParams) SetContentLanguage ¶
func (o *GetNicsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get nics params
func (*GetNicsParams) SetContext ¶
func (o *GetNicsParams) SetContext(ctx context.Context)
SetContext adds the context to the get nics params
func (*GetNicsParams) SetDefaults ¶
func (o *GetNicsParams) SetDefaults()
SetDefaults hydrates default values in the get nics params (not the query body).
All values with no default are reset to their zero value.
func (*GetNicsParams) SetHTTPClient ¶
func (o *GetNicsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nics params
func (*GetNicsParams) SetRequestBody ¶
func (o *GetNicsParams) SetRequestBody(requestBody *models.GetNicsRequestBody)
SetRequestBody adds the requestBody to the get nics params
func (*GetNicsParams) SetTimeout ¶
func (o *GetNicsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nics params
func (*GetNicsParams) WithContentLanguage ¶
func (o *GetNicsParams) WithContentLanguage(contentLanguage *string) *GetNicsParams
WithContentLanguage adds the contentLanguage to the get nics params
func (*GetNicsParams) WithContext ¶
func (o *GetNicsParams) WithContext(ctx context.Context) *GetNicsParams
WithContext adds the context to the get nics params
func (*GetNicsParams) WithDefaults ¶
func (o *GetNicsParams) WithDefaults() *GetNicsParams
WithDefaults hydrates default values in the get nics params (not the query body).
All values with no default are reset to their zero value.
func (*GetNicsParams) WithHTTPClient ¶
func (o *GetNicsParams) WithHTTPClient(client *http.Client) *GetNicsParams
WithHTTPClient adds the HTTPClient to the get nics params
func (*GetNicsParams) WithRequestBody ¶
func (o *GetNicsParams) WithRequestBody(requestBody *models.GetNicsRequestBody) *GetNicsParams
WithRequestBody adds the requestBody to the get nics params
func (*GetNicsParams) WithTimeout ¶
func (o *GetNicsParams) WithTimeout(timeout time.Duration) *GetNicsParams
WithTimeout adds the timeout to the get nics params
func (*GetNicsParams) WriteToRequest ¶
func (o *GetNicsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNicsReader ¶
type GetNicsReader struct {
// contains filtered or unexported fields
}
GetNicsReader is a Reader for the GetNics structure.
func (*GetNicsReader) ReadResponse ¶
func (o *GetNicsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNicBadRequest ¶
UpdateNicBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateNicBadRequest ¶
func NewUpdateNicBadRequest() *UpdateNicBadRequest
NewUpdateNicBadRequest creates a UpdateNicBadRequest with default headers values
func (*UpdateNicBadRequest) Error ¶
func (o *UpdateNicBadRequest) Error() string
func (*UpdateNicBadRequest) GetPayload ¶
func (o *UpdateNicBadRequest) GetPayload() *models.ErrorBody
type UpdateNicInternalServerError ¶
UpdateNicInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateNicInternalServerError ¶
func NewUpdateNicInternalServerError() *UpdateNicInternalServerError
NewUpdateNicInternalServerError creates a UpdateNicInternalServerError with default headers values
func (*UpdateNicInternalServerError) Error ¶
func (o *UpdateNicInternalServerError) Error() string
func (*UpdateNicInternalServerError) GetPayload ¶
func (o *UpdateNicInternalServerError) GetPayload() *models.ErrorBody
type UpdateNicNotFound ¶
UpdateNicNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateNicNotFound ¶
func NewUpdateNicNotFound() *UpdateNicNotFound
NewUpdateNicNotFound creates a UpdateNicNotFound with default headers values
func (*UpdateNicNotFound) Error ¶
func (o *UpdateNicNotFound) Error() string
func (*UpdateNicNotFound) GetPayload ¶
func (o *UpdateNicNotFound) GetPayload() *models.ErrorBody
type UpdateNicOK ¶
type UpdateNicOK struct { XTowerRequestID string Payload []*models.WithTaskNic }
UpdateNicOK describes a response with status code 200, with default header values.
UpdateNicOK update nic o k
func NewUpdateNicOK ¶
func NewUpdateNicOK() *UpdateNicOK
NewUpdateNicOK creates a UpdateNicOK with default headers values
func (*UpdateNicOK) Error ¶
func (o *UpdateNicOK) Error() string
func (*UpdateNicOK) GetPayload ¶
func (o *UpdateNicOK) GetPayload() []*models.WithTaskNic
type UpdateNicParams ¶
type UpdateNicParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.NicUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNicParams contains all the parameters to send to the API endpoint
for the update nic operation. Typically these are written to a http.Request.
func NewUpdateNicParams ¶
func NewUpdateNicParams() *UpdateNicParams
NewUpdateNicParams creates a new UpdateNicParams 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 NewUpdateNicParamsWithContext ¶
func NewUpdateNicParamsWithContext(ctx context.Context) *UpdateNicParams
NewUpdateNicParamsWithContext creates a new UpdateNicParams object with the ability to set a context for a request.
func NewUpdateNicParamsWithHTTPClient ¶
func NewUpdateNicParamsWithHTTPClient(client *http.Client) *UpdateNicParams
NewUpdateNicParamsWithHTTPClient creates a new UpdateNicParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNicParamsWithTimeout ¶
func NewUpdateNicParamsWithTimeout(timeout time.Duration) *UpdateNicParams
NewUpdateNicParamsWithTimeout creates a new UpdateNicParams object with the ability to set a timeout on a request.
func (*UpdateNicParams) SetContentLanguage ¶
func (o *UpdateNicParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update nic params
func (*UpdateNicParams) SetContext ¶
func (o *UpdateNicParams) SetContext(ctx context.Context)
SetContext adds the context to the update nic params
func (*UpdateNicParams) SetDefaults ¶
func (o *UpdateNicParams) SetDefaults()
SetDefaults hydrates default values in the update nic params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNicParams) SetHTTPClient ¶
func (o *UpdateNicParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update nic params
func (*UpdateNicParams) SetRequestBody ¶
func (o *UpdateNicParams) SetRequestBody(requestBody *models.NicUpdationParams)
SetRequestBody adds the requestBody to the update nic params
func (*UpdateNicParams) SetTimeout ¶
func (o *UpdateNicParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update nic params
func (*UpdateNicParams) WithContentLanguage ¶
func (o *UpdateNicParams) WithContentLanguage(contentLanguage *string) *UpdateNicParams
WithContentLanguage adds the contentLanguage to the update nic params
func (*UpdateNicParams) WithContext ¶
func (o *UpdateNicParams) WithContext(ctx context.Context) *UpdateNicParams
WithContext adds the context to the update nic params
func (*UpdateNicParams) WithDefaults ¶
func (o *UpdateNicParams) WithDefaults() *UpdateNicParams
WithDefaults hydrates default values in the update nic params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNicParams) WithHTTPClient ¶
func (o *UpdateNicParams) WithHTTPClient(client *http.Client) *UpdateNicParams
WithHTTPClient adds the HTTPClient to the update nic params
func (*UpdateNicParams) WithRequestBody ¶
func (o *UpdateNicParams) WithRequestBody(requestBody *models.NicUpdationParams) *UpdateNicParams
WithRequestBody adds the requestBody to the update nic params
func (*UpdateNicParams) WithTimeout ¶
func (o *UpdateNicParams) WithTimeout(timeout time.Duration) *UpdateNicParams
WithTimeout adds the timeout to the update nic params
func (*UpdateNicParams) WriteToRequest ¶
func (o *UpdateNicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNicReader ¶
type UpdateNicReader struct {
// contains filtered or unexported fields
}
UpdateNicReader is a Reader for the UpdateNic structure.
func (*UpdateNicReader) ReadResponse ¶
func (o *UpdateNicReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.