Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateVirtualPrivateCloudNatGateway(params *CreateVirtualPrivateCloudNatGatewayParams, opts ...ClientOption) (*CreateVirtualPrivateCloudNatGatewayOK, error)
- func (a *Client) DeleteVirtualPrivateCloudNatGateway(params *DeleteVirtualPrivateCloudNatGatewayParams, opts ...ClientOption) (*DeleteVirtualPrivateCloudNatGatewayOK, error)
- func (a *Client) GetVirtualPrivateCloudNatGateways(params *GetVirtualPrivateCloudNatGatewaysParams, opts ...ClientOption) (*GetVirtualPrivateCloudNatGatewaysOK, error)
- func (a *Client) GetVirtualPrivateCloudNatGatewaysConnection(params *GetVirtualPrivateCloudNatGatewaysConnectionParams, ...) (*GetVirtualPrivateCloudNatGatewaysConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateVirtualPrivateCloudNatGateway(params *UpdateVirtualPrivateCloudNatGatewayParams, opts ...ClientOption) (*UpdateVirtualPrivateCloudNatGatewayOK, error)
- type ClientOption
- type ClientService
- type CreateVirtualPrivateCloudNatGatewayBadRequest
- type CreateVirtualPrivateCloudNatGatewayInternalServerError
- type CreateVirtualPrivateCloudNatGatewayNotFound
- type CreateVirtualPrivateCloudNatGatewayOK
- type CreateVirtualPrivateCloudNatGatewayParams
- func NewCreateVirtualPrivateCloudNatGatewayParams() *CreateVirtualPrivateCloudNatGatewayParams
- func NewCreateVirtualPrivateCloudNatGatewayParamsWithContext(ctx context.Context) *CreateVirtualPrivateCloudNatGatewayParams
- func NewCreateVirtualPrivateCloudNatGatewayParamsWithHTTPClient(client *http.Client) *CreateVirtualPrivateCloudNatGatewayParams
- func NewCreateVirtualPrivateCloudNatGatewayParamsWithTimeout(timeout time.Duration) *CreateVirtualPrivateCloudNatGatewayParams
- func (o *CreateVirtualPrivateCloudNatGatewayParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateVirtualPrivateCloudNatGatewayParams) SetContext(ctx context.Context)
- func (o *CreateVirtualPrivateCloudNatGatewayParams) SetDefaults()
- func (o *CreateVirtualPrivateCloudNatGatewayParams) SetHTTPClient(client *http.Client)
- func (o *CreateVirtualPrivateCloudNatGatewayParams) SetRequestBody(requestBody []*models.VirtualPrivateCloudNatGatewayCreationParams)
- func (o *CreateVirtualPrivateCloudNatGatewayParams) SetTimeout(timeout time.Duration)
- func (o *CreateVirtualPrivateCloudNatGatewayParams) WithContentLanguage(contentLanguage *string) *CreateVirtualPrivateCloudNatGatewayParams
- func (o *CreateVirtualPrivateCloudNatGatewayParams) WithContext(ctx context.Context) *CreateVirtualPrivateCloudNatGatewayParams
- func (o *CreateVirtualPrivateCloudNatGatewayParams) WithDefaults() *CreateVirtualPrivateCloudNatGatewayParams
- func (o *CreateVirtualPrivateCloudNatGatewayParams) WithHTTPClient(client *http.Client) *CreateVirtualPrivateCloudNatGatewayParams
- func (o *CreateVirtualPrivateCloudNatGatewayParams) WithRequestBody(requestBody []*models.VirtualPrivateCloudNatGatewayCreationParams) *CreateVirtualPrivateCloudNatGatewayParams
- func (o *CreateVirtualPrivateCloudNatGatewayParams) WithTimeout(timeout time.Duration) *CreateVirtualPrivateCloudNatGatewayParams
- func (o *CreateVirtualPrivateCloudNatGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVirtualPrivateCloudNatGatewayReader
- type DeleteVirtualPrivateCloudNatGatewayBadRequest
- type DeleteVirtualPrivateCloudNatGatewayInternalServerError
- type DeleteVirtualPrivateCloudNatGatewayNotFound
- type DeleteVirtualPrivateCloudNatGatewayOK
- type DeleteVirtualPrivateCloudNatGatewayParams
- func NewDeleteVirtualPrivateCloudNatGatewayParams() *DeleteVirtualPrivateCloudNatGatewayParams
- func NewDeleteVirtualPrivateCloudNatGatewayParamsWithContext(ctx context.Context) *DeleteVirtualPrivateCloudNatGatewayParams
- func NewDeleteVirtualPrivateCloudNatGatewayParamsWithHTTPClient(client *http.Client) *DeleteVirtualPrivateCloudNatGatewayParams
- func NewDeleteVirtualPrivateCloudNatGatewayParamsWithTimeout(timeout time.Duration) *DeleteVirtualPrivateCloudNatGatewayParams
- func (o *DeleteVirtualPrivateCloudNatGatewayParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteVirtualPrivateCloudNatGatewayParams) SetContext(ctx context.Context)
- func (o *DeleteVirtualPrivateCloudNatGatewayParams) SetDefaults()
- func (o *DeleteVirtualPrivateCloudNatGatewayParams) SetHTTPClient(client *http.Client)
- func (o *DeleteVirtualPrivateCloudNatGatewayParams) SetRequestBody(requestBody *models.VirtualPrivateCloudNatGatewayDeletionParams)
- func (o *DeleteVirtualPrivateCloudNatGatewayParams) SetTimeout(timeout time.Duration)
- func (o *DeleteVirtualPrivateCloudNatGatewayParams) WithContentLanguage(contentLanguage *string) *DeleteVirtualPrivateCloudNatGatewayParams
- func (o *DeleteVirtualPrivateCloudNatGatewayParams) WithContext(ctx context.Context) *DeleteVirtualPrivateCloudNatGatewayParams
- func (o *DeleteVirtualPrivateCloudNatGatewayParams) WithDefaults() *DeleteVirtualPrivateCloudNatGatewayParams
- func (o *DeleteVirtualPrivateCloudNatGatewayParams) WithHTTPClient(client *http.Client) *DeleteVirtualPrivateCloudNatGatewayParams
- func (o *DeleteVirtualPrivateCloudNatGatewayParams) WithRequestBody(requestBody *models.VirtualPrivateCloudNatGatewayDeletionParams) *DeleteVirtualPrivateCloudNatGatewayParams
- func (o *DeleteVirtualPrivateCloudNatGatewayParams) WithTimeout(timeout time.Duration) *DeleteVirtualPrivateCloudNatGatewayParams
- func (o *DeleteVirtualPrivateCloudNatGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteVirtualPrivateCloudNatGatewayReader
- type GetVirtualPrivateCloudNatGatewaysBadRequest
- type GetVirtualPrivateCloudNatGatewaysConnectionBadRequest
- type GetVirtualPrivateCloudNatGatewaysConnectionInternalServerError
- type GetVirtualPrivateCloudNatGatewaysConnectionNotFound
- type GetVirtualPrivateCloudNatGatewaysConnectionOK
- type GetVirtualPrivateCloudNatGatewaysConnectionParams
- func NewGetVirtualPrivateCloudNatGatewaysConnectionParams() *GetVirtualPrivateCloudNatGatewaysConnectionParams
- func NewGetVirtualPrivateCloudNatGatewaysConnectionParamsWithContext(ctx context.Context) *GetVirtualPrivateCloudNatGatewaysConnectionParams
- func NewGetVirtualPrivateCloudNatGatewaysConnectionParamsWithHTTPClient(client *http.Client) *GetVirtualPrivateCloudNatGatewaysConnectionParams
- func NewGetVirtualPrivateCloudNatGatewaysConnectionParamsWithTimeout(timeout time.Duration) *GetVirtualPrivateCloudNatGatewaysConnectionParams
- func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) SetContext(ctx context.Context)
- func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) SetDefaults()
- func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) SetRequestBody(requestBody *models.GetVirtualPrivateCloudNatGatewaysConnectionRequestBody)
- func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) WithContentLanguage(contentLanguage *string) *GetVirtualPrivateCloudNatGatewaysConnectionParams
- func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) WithContext(ctx context.Context) *GetVirtualPrivateCloudNatGatewaysConnectionParams
- func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) WithDefaults() *GetVirtualPrivateCloudNatGatewaysConnectionParams
- func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) WithHTTPClient(client *http.Client) *GetVirtualPrivateCloudNatGatewaysConnectionParams
- func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) WithRequestBody(requestBody *models.GetVirtualPrivateCloudNatGatewaysConnectionRequestBody) *GetVirtualPrivateCloudNatGatewaysConnectionParams
- func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) WithTimeout(timeout time.Duration) *GetVirtualPrivateCloudNatGatewaysConnectionParams
- func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVirtualPrivateCloudNatGatewaysConnectionReader
- type GetVirtualPrivateCloudNatGatewaysInternalServerError
- type GetVirtualPrivateCloudNatGatewaysNotFound
- type GetVirtualPrivateCloudNatGatewaysOK
- type GetVirtualPrivateCloudNatGatewaysParams
- func NewGetVirtualPrivateCloudNatGatewaysParams() *GetVirtualPrivateCloudNatGatewaysParams
- func NewGetVirtualPrivateCloudNatGatewaysParamsWithContext(ctx context.Context) *GetVirtualPrivateCloudNatGatewaysParams
- func NewGetVirtualPrivateCloudNatGatewaysParamsWithHTTPClient(client *http.Client) *GetVirtualPrivateCloudNatGatewaysParams
- func NewGetVirtualPrivateCloudNatGatewaysParamsWithTimeout(timeout time.Duration) *GetVirtualPrivateCloudNatGatewaysParams
- func (o *GetVirtualPrivateCloudNatGatewaysParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVirtualPrivateCloudNatGatewaysParams) SetContext(ctx context.Context)
- func (o *GetVirtualPrivateCloudNatGatewaysParams) SetDefaults()
- func (o *GetVirtualPrivateCloudNatGatewaysParams) SetHTTPClient(client *http.Client)
- func (o *GetVirtualPrivateCloudNatGatewaysParams) SetRequestBody(requestBody *models.GetVirtualPrivateCloudNatGatewaysRequestBody)
- func (o *GetVirtualPrivateCloudNatGatewaysParams) SetTimeout(timeout time.Duration)
- func (o *GetVirtualPrivateCloudNatGatewaysParams) WithContentLanguage(contentLanguage *string) *GetVirtualPrivateCloudNatGatewaysParams
- func (o *GetVirtualPrivateCloudNatGatewaysParams) WithContext(ctx context.Context) *GetVirtualPrivateCloudNatGatewaysParams
- func (o *GetVirtualPrivateCloudNatGatewaysParams) WithDefaults() *GetVirtualPrivateCloudNatGatewaysParams
- func (o *GetVirtualPrivateCloudNatGatewaysParams) WithHTTPClient(client *http.Client) *GetVirtualPrivateCloudNatGatewaysParams
- func (o *GetVirtualPrivateCloudNatGatewaysParams) WithRequestBody(requestBody *models.GetVirtualPrivateCloudNatGatewaysRequestBody) *GetVirtualPrivateCloudNatGatewaysParams
- func (o *GetVirtualPrivateCloudNatGatewaysParams) WithTimeout(timeout time.Duration) *GetVirtualPrivateCloudNatGatewaysParams
- func (o *GetVirtualPrivateCloudNatGatewaysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVirtualPrivateCloudNatGatewaysReader
- type UpdateVirtualPrivateCloudNatGatewayBadRequest
- type UpdateVirtualPrivateCloudNatGatewayInternalServerError
- type UpdateVirtualPrivateCloudNatGatewayNotFound
- type UpdateVirtualPrivateCloudNatGatewayOK
- type UpdateVirtualPrivateCloudNatGatewayParams
- func NewUpdateVirtualPrivateCloudNatGatewayParams() *UpdateVirtualPrivateCloudNatGatewayParams
- func NewUpdateVirtualPrivateCloudNatGatewayParamsWithContext(ctx context.Context) *UpdateVirtualPrivateCloudNatGatewayParams
- func NewUpdateVirtualPrivateCloudNatGatewayParamsWithHTTPClient(client *http.Client) *UpdateVirtualPrivateCloudNatGatewayParams
- func NewUpdateVirtualPrivateCloudNatGatewayParamsWithTimeout(timeout time.Duration) *UpdateVirtualPrivateCloudNatGatewayParams
- func (o *UpdateVirtualPrivateCloudNatGatewayParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateVirtualPrivateCloudNatGatewayParams) SetContext(ctx context.Context)
- func (o *UpdateVirtualPrivateCloudNatGatewayParams) SetDefaults()
- func (o *UpdateVirtualPrivateCloudNatGatewayParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVirtualPrivateCloudNatGatewayParams) SetRequestBody(requestBody *models.VirtualPrivateCloudNatGatewayUpdationParams)
- func (o *UpdateVirtualPrivateCloudNatGatewayParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVirtualPrivateCloudNatGatewayParams) WithContentLanguage(contentLanguage *string) *UpdateVirtualPrivateCloudNatGatewayParams
- func (o *UpdateVirtualPrivateCloudNatGatewayParams) WithContext(ctx context.Context) *UpdateVirtualPrivateCloudNatGatewayParams
- func (o *UpdateVirtualPrivateCloudNatGatewayParams) WithDefaults() *UpdateVirtualPrivateCloudNatGatewayParams
- func (o *UpdateVirtualPrivateCloudNatGatewayParams) WithHTTPClient(client *http.Client) *UpdateVirtualPrivateCloudNatGatewayParams
- func (o *UpdateVirtualPrivateCloudNatGatewayParams) WithRequestBody(requestBody *models.VirtualPrivateCloudNatGatewayUpdationParams) *UpdateVirtualPrivateCloudNatGatewayParams
- func (o *UpdateVirtualPrivateCloudNatGatewayParams) WithTimeout(timeout time.Duration) *UpdateVirtualPrivateCloudNatGatewayParams
- func (o *UpdateVirtualPrivateCloudNatGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVirtualPrivateCloudNatGatewayReader
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 virtual private cloud nat gateway API
func (*Client) CreateVirtualPrivateCloudNatGateway ¶
func (a *Client) CreateVirtualPrivateCloudNatGateway(params *CreateVirtualPrivateCloudNatGatewayParams, opts ...ClientOption) (*CreateVirtualPrivateCloudNatGatewayOK, error)
CreateVirtualPrivateCloudNatGateway create virtual private cloud nat gateway API
func (*Client) DeleteVirtualPrivateCloudNatGateway ¶
func (a *Client) DeleteVirtualPrivateCloudNatGateway(params *DeleteVirtualPrivateCloudNatGatewayParams, opts ...ClientOption) (*DeleteVirtualPrivateCloudNatGatewayOK, error)
DeleteVirtualPrivateCloudNatGateway delete virtual private cloud nat gateway API
func (*Client) GetVirtualPrivateCloudNatGateways ¶
func (a *Client) GetVirtualPrivateCloudNatGateways(params *GetVirtualPrivateCloudNatGatewaysParams, opts ...ClientOption) (*GetVirtualPrivateCloudNatGatewaysOK, error)
GetVirtualPrivateCloudNatGateways get virtual private cloud nat gateways API
func (*Client) GetVirtualPrivateCloudNatGatewaysConnection ¶
func (a *Client) GetVirtualPrivateCloudNatGatewaysConnection(params *GetVirtualPrivateCloudNatGatewaysConnectionParams, opts ...ClientOption) (*GetVirtualPrivateCloudNatGatewaysConnectionOK, error)
GetVirtualPrivateCloudNatGatewaysConnection get virtual private cloud nat gateways connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateVirtualPrivateCloudNatGateway ¶
func (a *Client) UpdateVirtualPrivateCloudNatGateway(params *UpdateVirtualPrivateCloudNatGatewayParams, opts ...ClientOption) (*UpdateVirtualPrivateCloudNatGatewayOK, error)
UpdateVirtualPrivateCloudNatGateway update virtual private cloud nat gateway API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateVirtualPrivateCloudNatGateway(params *CreateVirtualPrivateCloudNatGatewayParams, opts ...ClientOption) (*CreateVirtualPrivateCloudNatGatewayOK, error) DeleteVirtualPrivateCloudNatGateway(params *DeleteVirtualPrivateCloudNatGatewayParams, opts ...ClientOption) (*DeleteVirtualPrivateCloudNatGatewayOK, error) GetVirtualPrivateCloudNatGateways(params *GetVirtualPrivateCloudNatGatewaysParams, opts ...ClientOption) (*GetVirtualPrivateCloudNatGatewaysOK, error) GetVirtualPrivateCloudNatGatewaysConnection(params *GetVirtualPrivateCloudNatGatewaysConnectionParams, opts ...ClientOption) (*GetVirtualPrivateCloudNatGatewaysConnectionOK, error) UpdateVirtualPrivateCloudNatGateway(params *UpdateVirtualPrivateCloudNatGatewayParams, opts ...ClientOption) (*UpdateVirtualPrivateCloudNatGatewayOK, 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 virtual private cloud nat gateway API client.
type CreateVirtualPrivateCloudNatGatewayBadRequest ¶
type CreateVirtualPrivateCloudNatGatewayBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
CreateVirtualPrivateCloudNatGatewayBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateVirtualPrivateCloudNatGatewayBadRequest ¶
func NewCreateVirtualPrivateCloudNatGatewayBadRequest() *CreateVirtualPrivateCloudNatGatewayBadRequest
NewCreateVirtualPrivateCloudNatGatewayBadRequest creates a CreateVirtualPrivateCloudNatGatewayBadRequest with default headers values
func (*CreateVirtualPrivateCloudNatGatewayBadRequest) Error ¶
func (o *CreateVirtualPrivateCloudNatGatewayBadRequest) Error() string
func (*CreateVirtualPrivateCloudNatGatewayBadRequest) GetPayload ¶
func (o *CreateVirtualPrivateCloudNatGatewayBadRequest) GetPayload() *models.ErrorBody
type CreateVirtualPrivateCloudNatGatewayInternalServerError ¶
type CreateVirtualPrivateCloudNatGatewayInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
CreateVirtualPrivateCloudNatGatewayInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateVirtualPrivateCloudNatGatewayInternalServerError ¶
func NewCreateVirtualPrivateCloudNatGatewayInternalServerError() *CreateVirtualPrivateCloudNatGatewayInternalServerError
NewCreateVirtualPrivateCloudNatGatewayInternalServerError creates a CreateVirtualPrivateCloudNatGatewayInternalServerError with default headers values
func (*CreateVirtualPrivateCloudNatGatewayInternalServerError) Error ¶
func (o *CreateVirtualPrivateCloudNatGatewayInternalServerError) Error() string
func (*CreateVirtualPrivateCloudNatGatewayInternalServerError) GetPayload ¶
func (o *CreateVirtualPrivateCloudNatGatewayInternalServerError) GetPayload() *models.ErrorBody
type CreateVirtualPrivateCloudNatGatewayNotFound ¶
type CreateVirtualPrivateCloudNatGatewayNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
CreateVirtualPrivateCloudNatGatewayNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateVirtualPrivateCloudNatGatewayNotFound ¶
func NewCreateVirtualPrivateCloudNatGatewayNotFound() *CreateVirtualPrivateCloudNatGatewayNotFound
NewCreateVirtualPrivateCloudNatGatewayNotFound creates a CreateVirtualPrivateCloudNatGatewayNotFound with default headers values
func (*CreateVirtualPrivateCloudNatGatewayNotFound) Error ¶
func (o *CreateVirtualPrivateCloudNatGatewayNotFound) Error() string
func (*CreateVirtualPrivateCloudNatGatewayNotFound) GetPayload ¶
func (o *CreateVirtualPrivateCloudNatGatewayNotFound) GetPayload() *models.ErrorBody
type CreateVirtualPrivateCloudNatGatewayOK ¶
type CreateVirtualPrivateCloudNatGatewayOK struct { XTowerRequestID string Payload []*models.WithTaskVirtualPrivateCloudNatGateway }
CreateVirtualPrivateCloudNatGatewayOK describes a response with status code 200, with default header values.
CreateVirtualPrivateCloudNatGatewayOK create virtual private cloud nat gateway o k
func NewCreateVirtualPrivateCloudNatGatewayOK ¶
func NewCreateVirtualPrivateCloudNatGatewayOK() *CreateVirtualPrivateCloudNatGatewayOK
NewCreateVirtualPrivateCloudNatGatewayOK creates a CreateVirtualPrivateCloudNatGatewayOK with default headers values
func (*CreateVirtualPrivateCloudNatGatewayOK) Error ¶
func (o *CreateVirtualPrivateCloudNatGatewayOK) Error() string
func (*CreateVirtualPrivateCloudNatGatewayOK) GetPayload ¶
func (o *CreateVirtualPrivateCloudNatGatewayOK) GetPayload() []*models.WithTaskVirtualPrivateCloudNatGateway
type CreateVirtualPrivateCloudNatGatewayParams ¶
type CreateVirtualPrivateCloudNatGatewayParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.VirtualPrivateCloudNatGatewayCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateVirtualPrivateCloudNatGatewayParams contains all the parameters to send to the API endpoint
for the create virtual private cloud nat gateway operation. Typically these are written to a http.Request.
func NewCreateVirtualPrivateCloudNatGatewayParams ¶
func NewCreateVirtualPrivateCloudNatGatewayParams() *CreateVirtualPrivateCloudNatGatewayParams
NewCreateVirtualPrivateCloudNatGatewayParams creates a new CreateVirtualPrivateCloudNatGatewayParams 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 NewCreateVirtualPrivateCloudNatGatewayParamsWithContext ¶
func NewCreateVirtualPrivateCloudNatGatewayParamsWithContext(ctx context.Context) *CreateVirtualPrivateCloudNatGatewayParams
NewCreateVirtualPrivateCloudNatGatewayParamsWithContext creates a new CreateVirtualPrivateCloudNatGatewayParams object with the ability to set a context for a request.
func NewCreateVirtualPrivateCloudNatGatewayParamsWithHTTPClient ¶
func NewCreateVirtualPrivateCloudNatGatewayParamsWithHTTPClient(client *http.Client) *CreateVirtualPrivateCloudNatGatewayParams
NewCreateVirtualPrivateCloudNatGatewayParamsWithHTTPClient creates a new CreateVirtualPrivateCloudNatGatewayParams object with the ability to set a custom HTTPClient for a request.
func NewCreateVirtualPrivateCloudNatGatewayParamsWithTimeout ¶
func NewCreateVirtualPrivateCloudNatGatewayParamsWithTimeout(timeout time.Duration) *CreateVirtualPrivateCloudNatGatewayParams
NewCreateVirtualPrivateCloudNatGatewayParamsWithTimeout creates a new CreateVirtualPrivateCloudNatGatewayParams object with the ability to set a timeout on a request.
func (*CreateVirtualPrivateCloudNatGatewayParams) SetContentLanguage ¶
func (o *CreateVirtualPrivateCloudNatGatewayParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create virtual private cloud nat gateway params
func (*CreateVirtualPrivateCloudNatGatewayParams) SetContext ¶
func (o *CreateVirtualPrivateCloudNatGatewayParams) SetContext(ctx context.Context)
SetContext adds the context to the create virtual private cloud nat gateway params
func (*CreateVirtualPrivateCloudNatGatewayParams) SetDefaults ¶
func (o *CreateVirtualPrivateCloudNatGatewayParams) SetDefaults()
SetDefaults hydrates default values in the create virtual private cloud nat gateway params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVirtualPrivateCloudNatGatewayParams) SetHTTPClient ¶
func (o *CreateVirtualPrivateCloudNatGatewayParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create virtual private cloud nat gateway params
func (*CreateVirtualPrivateCloudNatGatewayParams) SetRequestBody ¶
func (o *CreateVirtualPrivateCloudNatGatewayParams) SetRequestBody(requestBody []*models.VirtualPrivateCloudNatGatewayCreationParams)
SetRequestBody adds the requestBody to the create virtual private cloud nat gateway params
func (*CreateVirtualPrivateCloudNatGatewayParams) SetTimeout ¶
func (o *CreateVirtualPrivateCloudNatGatewayParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create virtual private cloud nat gateway params
func (*CreateVirtualPrivateCloudNatGatewayParams) WithContentLanguage ¶
func (o *CreateVirtualPrivateCloudNatGatewayParams) WithContentLanguage(contentLanguage *string) *CreateVirtualPrivateCloudNatGatewayParams
WithContentLanguage adds the contentLanguage to the create virtual private cloud nat gateway params
func (*CreateVirtualPrivateCloudNatGatewayParams) WithContext ¶
func (o *CreateVirtualPrivateCloudNatGatewayParams) WithContext(ctx context.Context) *CreateVirtualPrivateCloudNatGatewayParams
WithContext adds the context to the create virtual private cloud nat gateway params
func (*CreateVirtualPrivateCloudNatGatewayParams) WithDefaults ¶
func (o *CreateVirtualPrivateCloudNatGatewayParams) WithDefaults() *CreateVirtualPrivateCloudNatGatewayParams
WithDefaults hydrates default values in the create virtual private cloud nat gateway params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVirtualPrivateCloudNatGatewayParams) WithHTTPClient ¶
func (o *CreateVirtualPrivateCloudNatGatewayParams) WithHTTPClient(client *http.Client) *CreateVirtualPrivateCloudNatGatewayParams
WithHTTPClient adds the HTTPClient to the create virtual private cloud nat gateway params
func (*CreateVirtualPrivateCloudNatGatewayParams) WithRequestBody ¶
func (o *CreateVirtualPrivateCloudNatGatewayParams) WithRequestBody(requestBody []*models.VirtualPrivateCloudNatGatewayCreationParams) *CreateVirtualPrivateCloudNatGatewayParams
WithRequestBody adds the requestBody to the create virtual private cloud nat gateway params
func (*CreateVirtualPrivateCloudNatGatewayParams) WithTimeout ¶
func (o *CreateVirtualPrivateCloudNatGatewayParams) WithTimeout(timeout time.Duration) *CreateVirtualPrivateCloudNatGatewayParams
WithTimeout adds the timeout to the create virtual private cloud nat gateway params
func (*CreateVirtualPrivateCloudNatGatewayParams) WriteToRequest ¶
func (o *CreateVirtualPrivateCloudNatGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateVirtualPrivateCloudNatGatewayReader ¶
type CreateVirtualPrivateCloudNatGatewayReader struct {
// contains filtered or unexported fields
}
CreateVirtualPrivateCloudNatGatewayReader is a Reader for the CreateVirtualPrivateCloudNatGateway structure.
func (*CreateVirtualPrivateCloudNatGatewayReader) ReadResponse ¶
func (o *CreateVirtualPrivateCloudNatGatewayReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteVirtualPrivateCloudNatGatewayBadRequest ¶
type DeleteVirtualPrivateCloudNatGatewayBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteVirtualPrivateCloudNatGatewayBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteVirtualPrivateCloudNatGatewayBadRequest ¶
func NewDeleteVirtualPrivateCloudNatGatewayBadRequest() *DeleteVirtualPrivateCloudNatGatewayBadRequest
NewDeleteVirtualPrivateCloudNatGatewayBadRequest creates a DeleteVirtualPrivateCloudNatGatewayBadRequest with default headers values
func (*DeleteVirtualPrivateCloudNatGatewayBadRequest) Error ¶
func (o *DeleteVirtualPrivateCloudNatGatewayBadRequest) Error() string
func (*DeleteVirtualPrivateCloudNatGatewayBadRequest) GetPayload ¶
func (o *DeleteVirtualPrivateCloudNatGatewayBadRequest) GetPayload() *models.ErrorBody
type DeleteVirtualPrivateCloudNatGatewayInternalServerError ¶
type DeleteVirtualPrivateCloudNatGatewayInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteVirtualPrivateCloudNatGatewayInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteVirtualPrivateCloudNatGatewayInternalServerError ¶
func NewDeleteVirtualPrivateCloudNatGatewayInternalServerError() *DeleteVirtualPrivateCloudNatGatewayInternalServerError
NewDeleteVirtualPrivateCloudNatGatewayInternalServerError creates a DeleteVirtualPrivateCloudNatGatewayInternalServerError with default headers values
func (*DeleteVirtualPrivateCloudNatGatewayInternalServerError) Error ¶
func (o *DeleteVirtualPrivateCloudNatGatewayInternalServerError) Error() string
func (*DeleteVirtualPrivateCloudNatGatewayInternalServerError) GetPayload ¶
func (o *DeleteVirtualPrivateCloudNatGatewayInternalServerError) GetPayload() *models.ErrorBody
type DeleteVirtualPrivateCloudNatGatewayNotFound ¶
type DeleteVirtualPrivateCloudNatGatewayNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteVirtualPrivateCloudNatGatewayNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteVirtualPrivateCloudNatGatewayNotFound ¶
func NewDeleteVirtualPrivateCloudNatGatewayNotFound() *DeleteVirtualPrivateCloudNatGatewayNotFound
NewDeleteVirtualPrivateCloudNatGatewayNotFound creates a DeleteVirtualPrivateCloudNatGatewayNotFound with default headers values
func (*DeleteVirtualPrivateCloudNatGatewayNotFound) Error ¶
func (o *DeleteVirtualPrivateCloudNatGatewayNotFound) Error() string
func (*DeleteVirtualPrivateCloudNatGatewayNotFound) GetPayload ¶
func (o *DeleteVirtualPrivateCloudNatGatewayNotFound) GetPayload() *models.ErrorBody
type DeleteVirtualPrivateCloudNatGatewayOK ¶
type DeleteVirtualPrivateCloudNatGatewayOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteVirtualPrivateCloudNatGateway }
DeleteVirtualPrivateCloudNatGatewayOK describes a response with status code 200, with default header values.
DeleteVirtualPrivateCloudNatGatewayOK delete virtual private cloud nat gateway o k
func NewDeleteVirtualPrivateCloudNatGatewayOK ¶
func NewDeleteVirtualPrivateCloudNatGatewayOK() *DeleteVirtualPrivateCloudNatGatewayOK
NewDeleteVirtualPrivateCloudNatGatewayOK creates a DeleteVirtualPrivateCloudNatGatewayOK with default headers values
func (*DeleteVirtualPrivateCloudNatGatewayOK) Error ¶
func (o *DeleteVirtualPrivateCloudNatGatewayOK) Error() string
func (*DeleteVirtualPrivateCloudNatGatewayOK) GetPayload ¶
func (o *DeleteVirtualPrivateCloudNatGatewayOK) GetPayload() []*models.WithTaskDeleteVirtualPrivateCloudNatGateway
type DeleteVirtualPrivateCloudNatGatewayParams ¶
type DeleteVirtualPrivateCloudNatGatewayParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VirtualPrivateCloudNatGatewayDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteVirtualPrivateCloudNatGatewayParams contains all the parameters to send to the API endpoint
for the delete virtual private cloud nat gateway operation. Typically these are written to a http.Request.
func NewDeleteVirtualPrivateCloudNatGatewayParams ¶
func NewDeleteVirtualPrivateCloudNatGatewayParams() *DeleteVirtualPrivateCloudNatGatewayParams
NewDeleteVirtualPrivateCloudNatGatewayParams creates a new DeleteVirtualPrivateCloudNatGatewayParams 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 NewDeleteVirtualPrivateCloudNatGatewayParamsWithContext ¶
func NewDeleteVirtualPrivateCloudNatGatewayParamsWithContext(ctx context.Context) *DeleteVirtualPrivateCloudNatGatewayParams
NewDeleteVirtualPrivateCloudNatGatewayParamsWithContext creates a new DeleteVirtualPrivateCloudNatGatewayParams object with the ability to set a context for a request.
func NewDeleteVirtualPrivateCloudNatGatewayParamsWithHTTPClient ¶
func NewDeleteVirtualPrivateCloudNatGatewayParamsWithHTTPClient(client *http.Client) *DeleteVirtualPrivateCloudNatGatewayParams
NewDeleteVirtualPrivateCloudNatGatewayParamsWithHTTPClient creates a new DeleteVirtualPrivateCloudNatGatewayParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteVirtualPrivateCloudNatGatewayParamsWithTimeout ¶
func NewDeleteVirtualPrivateCloudNatGatewayParamsWithTimeout(timeout time.Duration) *DeleteVirtualPrivateCloudNatGatewayParams
NewDeleteVirtualPrivateCloudNatGatewayParamsWithTimeout creates a new DeleteVirtualPrivateCloudNatGatewayParams object with the ability to set a timeout on a request.
func (*DeleteVirtualPrivateCloudNatGatewayParams) SetContentLanguage ¶
func (o *DeleteVirtualPrivateCloudNatGatewayParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete virtual private cloud nat gateway params
func (*DeleteVirtualPrivateCloudNatGatewayParams) SetContext ¶
func (o *DeleteVirtualPrivateCloudNatGatewayParams) SetContext(ctx context.Context)
SetContext adds the context to the delete virtual private cloud nat gateway params
func (*DeleteVirtualPrivateCloudNatGatewayParams) SetDefaults ¶
func (o *DeleteVirtualPrivateCloudNatGatewayParams) SetDefaults()
SetDefaults hydrates default values in the delete virtual private cloud nat gateway params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVirtualPrivateCloudNatGatewayParams) SetHTTPClient ¶
func (o *DeleteVirtualPrivateCloudNatGatewayParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete virtual private cloud nat gateway params
func (*DeleteVirtualPrivateCloudNatGatewayParams) SetRequestBody ¶
func (o *DeleteVirtualPrivateCloudNatGatewayParams) SetRequestBody(requestBody *models.VirtualPrivateCloudNatGatewayDeletionParams)
SetRequestBody adds the requestBody to the delete virtual private cloud nat gateway params
func (*DeleteVirtualPrivateCloudNatGatewayParams) SetTimeout ¶
func (o *DeleteVirtualPrivateCloudNatGatewayParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete virtual private cloud nat gateway params
func (*DeleteVirtualPrivateCloudNatGatewayParams) WithContentLanguage ¶
func (o *DeleteVirtualPrivateCloudNatGatewayParams) WithContentLanguage(contentLanguage *string) *DeleteVirtualPrivateCloudNatGatewayParams
WithContentLanguage adds the contentLanguage to the delete virtual private cloud nat gateway params
func (*DeleteVirtualPrivateCloudNatGatewayParams) WithContext ¶
func (o *DeleteVirtualPrivateCloudNatGatewayParams) WithContext(ctx context.Context) *DeleteVirtualPrivateCloudNatGatewayParams
WithContext adds the context to the delete virtual private cloud nat gateway params
func (*DeleteVirtualPrivateCloudNatGatewayParams) WithDefaults ¶
func (o *DeleteVirtualPrivateCloudNatGatewayParams) WithDefaults() *DeleteVirtualPrivateCloudNatGatewayParams
WithDefaults hydrates default values in the delete virtual private cloud nat gateway params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVirtualPrivateCloudNatGatewayParams) WithHTTPClient ¶
func (o *DeleteVirtualPrivateCloudNatGatewayParams) WithHTTPClient(client *http.Client) *DeleteVirtualPrivateCloudNatGatewayParams
WithHTTPClient adds the HTTPClient to the delete virtual private cloud nat gateway params
func (*DeleteVirtualPrivateCloudNatGatewayParams) WithRequestBody ¶
func (o *DeleteVirtualPrivateCloudNatGatewayParams) WithRequestBody(requestBody *models.VirtualPrivateCloudNatGatewayDeletionParams) *DeleteVirtualPrivateCloudNatGatewayParams
WithRequestBody adds the requestBody to the delete virtual private cloud nat gateway params
func (*DeleteVirtualPrivateCloudNatGatewayParams) WithTimeout ¶
func (o *DeleteVirtualPrivateCloudNatGatewayParams) WithTimeout(timeout time.Duration) *DeleteVirtualPrivateCloudNatGatewayParams
WithTimeout adds the timeout to the delete virtual private cloud nat gateway params
func (*DeleteVirtualPrivateCloudNatGatewayParams) WriteToRequest ¶
func (o *DeleteVirtualPrivateCloudNatGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteVirtualPrivateCloudNatGatewayReader ¶
type DeleteVirtualPrivateCloudNatGatewayReader struct {
// contains filtered or unexported fields
}
DeleteVirtualPrivateCloudNatGatewayReader is a Reader for the DeleteVirtualPrivateCloudNatGateway structure.
func (*DeleteVirtualPrivateCloudNatGatewayReader) ReadResponse ¶
func (o *DeleteVirtualPrivateCloudNatGatewayReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVirtualPrivateCloudNatGatewaysBadRequest ¶
type GetVirtualPrivateCloudNatGatewaysBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetVirtualPrivateCloudNatGatewaysBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetVirtualPrivateCloudNatGatewaysBadRequest ¶
func NewGetVirtualPrivateCloudNatGatewaysBadRequest() *GetVirtualPrivateCloudNatGatewaysBadRequest
NewGetVirtualPrivateCloudNatGatewaysBadRequest creates a GetVirtualPrivateCloudNatGatewaysBadRequest with default headers values
func (*GetVirtualPrivateCloudNatGatewaysBadRequest) Error ¶
func (o *GetVirtualPrivateCloudNatGatewaysBadRequest) Error() string
func (*GetVirtualPrivateCloudNatGatewaysBadRequest) GetPayload ¶
func (o *GetVirtualPrivateCloudNatGatewaysBadRequest) GetPayload() *models.ErrorBody
type GetVirtualPrivateCloudNatGatewaysConnectionBadRequest ¶
type GetVirtualPrivateCloudNatGatewaysConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetVirtualPrivateCloudNatGatewaysConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetVirtualPrivateCloudNatGatewaysConnectionBadRequest ¶
func NewGetVirtualPrivateCloudNatGatewaysConnectionBadRequest() *GetVirtualPrivateCloudNatGatewaysConnectionBadRequest
NewGetVirtualPrivateCloudNatGatewaysConnectionBadRequest creates a GetVirtualPrivateCloudNatGatewaysConnectionBadRequest with default headers values
func (*GetVirtualPrivateCloudNatGatewaysConnectionBadRequest) Error ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionBadRequest) Error() string
func (*GetVirtualPrivateCloudNatGatewaysConnectionBadRequest) GetPayload ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionBadRequest) GetPayload() *models.ErrorBody
type GetVirtualPrivateCloudNatGatewaysConnectionInternalServerError ¶
type GetVirtualPrivateCloudNatGatewaysConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetVirtualPrivateCloudNatGatewaysConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetVirtualPrivateCloudNatGatewaysConnectionInternalServerError ¶
func NewGetVirtualPrivateCloudNatGatewaysConnectionInternalServerError() *GetVirtualPrivateCloudNatGatewaysConnectionInternalServerError
NewGetVirtualPrivateCloudNatGatewaysConnectionInternalServerError creates a GetVirtualPrivateCloudNatGatewaysConnectionInternalServerError with default headers values
func (*GetVirtualPrivateCloudNatGatewaysConnectionInternalServerError) Error ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionInternalServerError) Error() string
func (*GetVirtualPrivateCloudNatGatewaysConnectionInternalServerError) GetPayload ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetVirtualPrivateCloudNatGatewaysConnectionNotFound ¶
type GetVirtualPrivateCloudNatGatewaysConnectionNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetVirtualPrivateCloudNatGatewaysConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetVirtualPrivateCloudNatGatewaysConnectionNotFound ¶
func NewGetVirtualPrivateCloudNatGatewaysConnectionNotFound() *GetVirtualPrivateCloudNatGatewaysConnectionNotFound
NewGetVirtualPrivateCloudNatGatewaysConnectionNotFound creates a GetVirtualPrivateCloudNatGatewaysConnectionNotFound with default headers values
func (*GetVirtualPrivateCloudNatGatewaysConnectionNotFound) Error ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionNotFound) Error() string
func (*GetVirtualPrivateCloudNatGatewaysConnectionNotFound) GetPayload ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionNotFound) GetPayload() *models.ErrorBody
type GetVirtualPrivateCloudNatGatewaysConnectionOK ¶
type GetVirtualPrivateCloudNatGatewaysConnectionOK struct { XTowerRequestID string Payload *models.VirtualPrivateCloudNatGatewayConnection }
GetVirtualPrivateCloudNatGatewaysConnectionOK describes a response with status code 200, with default header values.
GetVirtualPrivateCloudNatGatewaysConnectionOK get virtual private cloud nat gateways connection o k
func NewGetVirtualPrivateCloudNatGatewaysConnectionOK ¶
func NewGetVirtualPrivateCloudNatGatewaysConnectionOK() *GetVirtualPrivateCloudNatGatewaysConnectionOK
NewGetVirtualPrivateCloudNatGatewaysConnectionOK creates a GetVirtualPrivateCloudNatGatewaysConnectionOK with default headers values
func (*GetVirtualPrivateCloudNatGatewaysConnectionOK) Error ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionOK) Error() string
func (*GetVirtualPrivateCloudNatGatewaysConnectionOK) GetPayload ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionOK) GetPayload() *models.VirtualPrivateCloudNatGatewayConnection
type GetVirtualPrivateCloudNatGatewaysConnectionParams ¶
type GetVirtualPrivateCloudNatGatewaysConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVirtualPrivateCloudNatGatewaysConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVirtualPrivateCloudNatGatewaysConnectionParams contains all the parameters to send to the API endpoint
for the get virtual private cloud nat gateways connection operation. Typically these are written to a http.Request.
func NewGetVirtualPrivateCloudNatGatewaysConnectionParams ¶
func NewGetVirtualPrivateCloudNatGatewaysConnectionParams() *GetVirtualPrivateCloudNatGatewaysConnectionParams
NewGetVirtualPrivateCloudNatGatewaysConnectionParams creates a new GetVirtualPrivateCloudNatGatewaysConnectionParams 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 NewGetVirtualPrivateCloudNatGatewaysConnectionParamsWithContext ¶
func NewGetVirtualPrivateCloudNatGatewaysConnectionParamsWithContext(ctx context.Context) *GetVirtualPrivateCloudNatGatewaysConnectionParams
NewGetVirtualPrivateCloudNatGatewaysConnectionParamsWithContext creates a new GetVirtualPrivateCloudNatGatewaysConnectionParams object with the ability to set a context for a request.
func NewGetVirtualPrivateCloudNatGatewaysConnectionParamsWithHTTPClient ¶
func NewGetVirtualPrivateCloudNatGatewaysConnectionParamsWithHTTPClient(client *http.Client) *GetVirtualPrivateCloudNatGatewaysConnectionParams
NewGetVirtualPrivateCloudNatGatewaysConnectionParamsWithHTTPClient creates a new GetVirtualPrivateCloudNatGatewaysConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetVirtualPrivateCloudNatGatewaysConnectionParamsWithTimeout ¶
func NewGetVirtualPrivateCloudNatGatewaysConnectionParamsWithTimeout(timeout time.Duration) *GetVirtualPrivateCloudNatGatewaysConnectionParams
NewGetVirtualPrivateCloudNatGatewaysConnectionParamsWithTimeout creates a new GetVirtualPrivateCloudNatGatewaysConnectionParams object with the ability to set a timeout on a request.
func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) SetContentLanguage ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get virtual private cloud nat gateways connection params
func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) SetContext ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get virtual private cloud nat gateways connection params
func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) SetDefaults ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get virtual private cloud nat gateways connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) SetHTTPClient ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get virtual private cloud nat gateways connection params
func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) SetRequestBody ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) SetRequestBody(requestBody *models.GetVirtualPrivateCloudNatGatewaysConnectionRequestBody)
SetRequestBody adds the requestBody to the get virtual private cloud nat gateways connection params
func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) SetTimeout ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get virtual private cloud nat gateways connection params
func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) WithContentLanguage ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) WithContentLanguage(contentLanguage *string) *GetVirtualPrivateCloudNatGatewaysConnectionParams
WithContentLanguage adds the contentLanguage to the get virtual private cloud nat gateways connection params
func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) WithContext ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) WithContext(ctx context.Context) *GetVirtualPrivateCloudNatGatewaysConnectionParams
WithContext adds the context to the get virtual private cloud nat gateways connection params
func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) WithDefaults ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) WithDefaults() *GetVirtualPrivateCloudNatGatewaysConnectionParams
WithDefaults hydrates default values in the get virtual private cloud nat gateways connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) WithHTTPClient ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) WithHTTPClient(client *http.Client) *GetVirtualPrivateCloudNatGatewaysConnectionParams
WithHTTPClient adds the HTTPClient to the get virtual private cloud nat gateways connection params
func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) WithRequestBody ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) WithRequestBody(requestBody *models.GetVirtualPrivateCloudNatGatewaysConnectionRequestBody) *GetVirtualPrivateCloudNatGatewaysConnectionParams
WithRequestBody adds the requestBody to the get virtual private cloud nat gateways connection params
func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) WithTimeout ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) WithTimeout(timeout time.Duration) *GetVirtualPrivateCloudNatGatewaysConnectionParams
WithTimeout adds the timeout to the get virtual private cloud nat gateways connection params
func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) WriteToRequest ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVirtualPrivateCloudNatGatewaysConnectionReader ¶
type GetVirtualPrivateCloudNatGatewaysConnectionReader struct {
// contains filtered or unexported fields
}
GetVirtualPrivateCloudNatGatewaysConnectionReader is a Reader for the GetVirtualPrivateCloudNatGatewaysConnection structure.
func (*GetVirtualPrivateCloudNatGatewaysConnectionReader) ReadResponse ¶
func (o *GetVirtualPrivateCloudNatGatewaysConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVirtualPrivateCloudNatGatewaysInternalServerError ¶
type GetVirtualPrivateCloudNatGatewaysInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetVirtualPrivateCloudNatGatewaysInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetVirtualPrivateCloudNatGatewaysInternalServerError ¶
func NewGetVirtualPrivateCloudNatGatewaysInternalServerError() *GetVirtualPrivateCloudNatGatewaysInternalServerError
NewGetVirtualPrivateCloudNatGatewaysInternalServerError creates a GetVirtualPrivateCloudNatGatewaysInternalServerError with default headers values
func (*GetVirtualPrivateCloudNatGatewaysInternalServerError) Error ¶
func (o *GetVirtualPrivateCloudNatGatewaysInternalServerError) Error() string
func (*GetVirtualPrivateCloudNatGatewaysInternalServerError) GetPayload ¶
func (o *GetVirtualPrivateCloudNatGatewaysInternalServerError) GetPayload() *models.ErrorBody
type GetVirtualPrivateCloudNatGatewaysNotFound ¶
type GetVirtualPrivateCloudNatGatewaysNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetVirtualPrivateCloudNatGatewaysNotFound describes a response with status code 404, with default header values.
Not found
func NewGetVirtualPrivateCloudNatGatewaysNotFound ¶
func NewGetVirtualPrivateCloudNatGatewaysNotFound() *GetVirtualPrivateCloudNatGatewaysNotFound
NewGetVirtualPrivateCloudNatGatewaysNotFound creates a GetVirtualPrivateCloudNatGatewaysNotFound with default headers values
func (*GetVirtualPrivateCloudNatGatewaysNotFound) Error ¶
func (o *GetVirtualPrivateCloudNatGatewaysNotFound) Error() string
func (*GetVirtualPrivateCloudNatGatewaysNotFound) GetPayload ¶
func (o *GetVirtualPrivateCloudNatGatewaysNotFound) GetPayload() *models.ErrorBody
type GetVirtualPrivateCloudNatGatewaysOK ¶
type GetVirtualPrivateCloudNatGatewaysOK struct { XTowerRequestID string Payload []*models.VirtualPrivateCloudNatGateway }
GetVirtualPrivateCloudNatGatewaysOK describes a response with status code 200, with default header values.
GetVirtualPrivateCloudNatGatewaysOK get virtual private cloud nat gateways o k
func NewGetVirtualPrivateCloudNatGatewaysOK ¶
func NewGetVirtualPrivateCloudNatGatewaysOK() *GetVirtualPrivateCloudNatGatewaysOK
NewGetVirtualPrivateCloudNatGatewaysOK creates a GetVirtualPrivateCloudNatGatewaysOK with default headers values
func (*GetVirtualPrivateCloudNatGatewaysOK) Error ¶
func (o *GetVirtualPrivateCloudNatGatewaysOK) Error() string
func (*GetVirtualPrivateCloudNatGatewaysOK) GetPayload ¶
func (o *GetVirtualPrivateCloudNatGatewaysOK) GetPayload() []*models.VirtualPrivateCloudNatGateway
type GetVirtualPrivateCloudNatGatewaysParams ¶
type GetVirtualPrivateCloudNatGatewaysParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVirtualPrivateCloudNatGatewaysRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVirtualPrivateCloudNatGatewaysParams contains all the parameters to send to the API endpoint
for the get virtual private cloud nat gateways operation. Typically these are written to a http.Request.
func NewGetVirtualPrivateCloudNatGatewaysParams ¶
func NewGetVirtualPrivateCloudNatGatewaysParams() *GetVirtualPrivateCloudNatGatewaysParams
NewGetVirtualPrivateCloudNatGatewaysParams creates a new GetVirtualPrivateCloudNatGatewaysParams 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 NewGetVirtualPrivateCloudNatGatewaysParamsWithContext ¶
func NewGetVirtualPrivateCloudNatGatewaysParamsWithContext(ctx context.Context) *GetVirtualPrivateCloudNatGatewaysParams
NewGetVirtualPrivateCloudNatGatewaysParamsWithContext creates a new GetVirtualPrivateCloudNatGatewaysParams object with the ability to set a context for a request.
func NewGetVirtualPrivateCloudNatGatewaysParamsWithHTTPClient ¶
func NewGetVirtualPrivateCloudNatGatewaysParamsWithHTTPClient(client *http.Client) *GetVirtualPrivateCloudNatGatewaysParams
NewGetVirtualPrivateCloudNatGatewaysParamsWithHTTPClient creates a new GetVirtualPrivateCloudNatGatewaysParams object with the ability to set a custom HTTPClient for a request.
func NewGetVirtualPrivateCloudNatGatewaysParamsWithTimeout ¶
func NewGetVirtualPrivateCloudNatGatewaysParamsWithTimeout(timeout time.Duration) *GetVirtualPrivateCloudNatGatewaysParams
NewGetVirtualPrivateCloudNatGatewaysParamsWithTimeout creates a new GetVirtualPrivateCloudNatGatewaysParams object with the ability to set a timeout on a request.
func (*GetVirtualPrivateCloudNatGatewaysParams) SetContentLanguage ¶
func (o *GetVirtualPrivateCloudNatGatewaysParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get virtual private cloud nat gateways params
func (*GetVirtualPrivateCloudNatGatewaysParams) SetContext ¶
func (o *GetVirtualPrivateCloudNatGatewaysParams) SetContext(ctx context.Context)
SetContext adds the context to the get virtual private cloud nat gateways params
func (*GetVirtualPrivateCloudNatGatewaysParams) SetDefaults ¶
func (o *GetVirtualPrivateCloudNatGatewaysParams) SetDefaults()
SetDefaults hydrates default values in the get virtual private cloud nat gateways params (not the query body).
All values with no default are reset to their zero value.
func (*GetVirtualPrivateCloudNatGatewaysParams) SetHTTPClient ¶
func (o *GetVirtualPrivateCloudNatGatewaysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get virtual private cloud nat gateways params
func (*GetVirtualPrivateCloudNatGatewaysParams) SetRequestBody ¶
func (o *GetVirtualPrivateCloudNatGatewaysParams) SetRequestBody(requestBody *models.GetVirtualPrivateCloudNatGatewaysRequestBody)
SetRequestBody adds the requestBody to the get virtual private cloud nat gateways params
func (*GetVirtualPrivateCloudNatGatewaysParams) SetTimeout ¶
func (o *GetVirtualPrivateCloudNatGatewaysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get virtual private cloud nat gateways params
func (*GetVirtualPrivateCloudNatGatewaysParams) WithContentLanguage ¶
func (o *GetVirtualPrivateCloudNatGatewaysParams) WithContentLanguage(contentLanguage *string) *GetVirtualPrivateCloudNatGatewaysParams
WithContentLanguage adds the contentLanguage to the get virtual private cloud nat gateways params
func (*GetVirtualPrivateCloudNatGatewaysParams) WithContext ¶
func (o *GetVirtualPrivateCloudNatGatewaysParams) WithContext(ctx context.Context) *GetVirtualPrivateCloudNatGatewaysParams
WithContext adds the context to the get virtual private cloud nat gateways params
func (*GetVirtualPrivateCloudNatGatewaysParams) WithDefaults ¶
func (o *GetVirtualPrivateCloudNatGatewaysParams) WithDefaults() *GetVirtualPrivateCloudNatGatewaysParams
WithDefaults hydrates default values in the get virtual private cloud nat gateways params (not the query body).
All values with no default are reset to their zero value.
func (*GetVirtualPrivateCloudNatGatewaysParams) WithHTTPClient ¶
func (o *GetVirtualPrivateCloudNatGatewaysParams) WithHTTPClient(client *http.Client) *GetVirtualPrivateCloudNatGatewaysParams
WithHTTPClient adds the HTTPClient to the get virtual private cloud nat gateways params
func (*GetVirtualPrivateCloudNatGatewaysParams) WithRequestBody ¶
func (o *GetVirtualPrivateCloudNatGatewaysParams) WithRequestBody(requestBody *models.GetVirtualPrivateCloudNatGatewaysRequestBody) *GetVirtualPrivateCloudNatGatewaysParams
WithRequestBody adds the requestBody to the get virtual private cloud nat gateways params
func (*GetVirtualPrivateCloudNatGatewaysParams) WithTimeout ¶
func (o *GetVirtualPrivateCloudNatGatewaysParams) WithTimeout(timeout time.Duration) *GetVirtualPrivateCloudNatGatewaysParams
WithTimeout adds the timeout to the get virtual private cloud nat gateways params
func (*GetVirtualPrivateCloudNatGatewaysParams) WriteToRequest ¶
func (o *GetVirtualPrivateCloudNatGatewaysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVirtualPrivateCloudNatGatewaysReader ¶
type GetVirtualPrivateCloudNatGatewaysReader struct {
// contains filtered or unexported fields
}
GetVirtualPrivateCloudNatGatewaysReader is a Reader for the GetVirtualPrivateCloudNatGateways structure.
func (*GetVirtualPrivateCloudNatGatewaysReader) ReadResponse ¶
func (o *GetVirtualPrivateCloudNatGatewaysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVirtualPrivateCloudNatGatewayBadRequest ¶
type UpdateVirtualPrivateCloudNatGatewayBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateVirtualPrivateCloudNatGatewayBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateVirtualPrivateCloudNatGatewayBadRequest ¶
func NewUpdateVirtualPrivateCloudNatGatewayBadRequest() *UpdateVirtualPrivateCloudNatGatewayBadRequest
NewUpdateVirtualPrivateCloudNatGatewayBadRequest creates a UpdateVirtualPrivateCloudNatGatewayBadRequest with default headers values
func (*UpdateVirtualPrivateCloudNatGatewayBadRequest) Error ¶
func (o *UpdateVirtualPrivateCloudNatGatewayBadRequest) Error() string
func (*UpdateVirtualPrivateCloudNatGatewayBadRequest) GetPayload ¶
func (o *UpdateVirtualPrivateCloudNatGatewayBadRequest) GetPayload() *models.ErrorBody
type UpdateVirtualPrivateCloudNatGatewayInternalServerError ¶
type UpdateVirtualPrivateCloudNatGatewayInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateVirtualPrivateCloudNatGatewayInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateVirtualPrivateCloudNatGatewayInternalServerError ¶
func NewUpdateVirtualPrivateCloudNatGatewayInternalServerError() *UpdateVirtualPrivateCloudNatGatewayInternalServerError
NewUpdateVirtualPrivateCloudNatGatewayInternalServerError creates a UpdateVirtualPrivateCloudNatGatewayInternalServerError with default headers values
func (*UpdateVirtualPrivateCloudNatGatewayInternalServerError) Error ¶
func (o *UpdateVirtualPrivateCloudNatGatewayInternalServerError) Error() string
func (*UpdateVirtualPrivateCloudNatGatewayInternalServerError) GetPayload ¶
func (o *UpdateVirtualPrivateCloudNatGatewayInternalServerError) GetPayload() *models.ErrorBody
type UpdateVirtualPrivateCloudNatGatewayNotFound ¶
type UpdateVirtualPrivateCloudNatGatewayNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateVirtualPrivateCloudNatGatewayNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateVirtualPrivateCloudNatGatewayNotFound ¶
func NewUpdateVirtualPrivateCloudNatGatewayNotFound() *UpdateVirtualPrivateCloudNatGatewayNotFound
NewUpdateVirtualPrivateCloudNatGatewayNotFound creates a UpdateVirtualPrivateCloudNatGatewayNotFound with default headers values
func (*UpdateVirtualPrivateCloudNatGatewayNotFound) Error ¶
func (o *UpdateVirtualPrivateCloudNatGatewayNotFound) Error() string
func (*UpdateVirtualPrivateCloudNatGatewayNotFound) GetPayload ¶
func (o *UpdateVirtualPrivateCloudNatGatewayNotFound) GetPayload() *models.ErrorBody
type UpdateVirtualPrivateCloudNatGatewayOK ¶
type UpdateVirtualPrivateCloudNatGatewayOK struct { XTowerRequestID string Payload []*models.WithTaskVirtualPrivateCloudNatGateway }
UpdateVirtualPrivateCloudNatGatewayOK describes a response with status code 200, with default header values.
UpdateVirtualPrivateCloudNatGatewayOK update virtual private cloud nat gateway o k
func NewUpdateVirtualPrivateCloudNatGatewayOK ¶
func NewUpdateVirtualPrivateCloudNatGatewayOK() *UpdateVirtualPrivateCloudNatGatewayOK
NewUpdateVirtualPrivateCloudNatGatewayOK creates a UpdateVirtualPrivateCloudNatGatewayOK with default headers values
func (*UpdateVirtualPrivateCloudNatGatewayOK) Error ¶
func (o *UpdateVirtualPrivateCloudNatGatewayOK) Error() string
func (*UpdateVirtualPrivateCloudNatGatewayOK) GetPayload ¶
func (o *UpdateVirtualPrivateCloudNatGatewayOK) GetPayload() []*models.WithTaskVirtualPrivateCloudNatGateway
type UpdateVirtualPrivateCloudNatGatewayParams ¶
type UpdateVirtualPrivateCloudNatGatewayParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VirtualPrivateCloudNatGatewayUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVirtualPrivateCloudNatGatewayParams contains all the parameters to send to the API endpoint
for the update virtual private cloud nat gateway operation. Typically these are written to a http.Request.
func NewUpdateVirtualPrivateCloudNatGatewayParams ¶
func NewUpdateVirtualPrivateCloudNatGatewayParams() *UpdateVirtualPrivateCloudNatGatewayParams
NewUpdateVirtualPrivateCloudNatGatewayParams creates a new UpdateVirtualPrivateCloudNatGatewayParams 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 NewUpdateVirtualPrivateCloudNatGatewayParamsWithContext ¶
func NewUpdateVirtualPrivateCloudNatGatewayParamsWithContext(ctx context.Context) *UpdateVirtualPrivateCloudNatGatewayParams
NewUpdateVirtualPrivateCloudNatGatewayParamsWithContext creates a new UpdateVirtualPrivateCloudNatGatewayParams object with the ability to set a context for a request.
func NewUpdateVirtualPrivateCloudNatGatewayParamsWithHTTPClient ¶
func NewUpdateVirtualPrivateCloudNatGatewayParamsWithHTTPClient(client *http.Client) *UpdateVirtualPrivateCloudNatGatewayParams
NewUpdateVirtualPrivateCloudNatGatewayParamsWithHTTPClient creates a new UpdateVirtualPrivateCloudNatGatewayParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVirtualPrivateCloudNatGatewayParamsWithTimeout ¶
func NewUpdateVirtualPrivateCloudNatGatewayParamsWithTimeout(timeout time.Duration) *UpdateVirtualPrivateCloudNatGatewayParams
NewUpdateVirtualPrivateCloudNatGatewayParamsWithTimeout creates a new UpdateVirtualPrivateCloudNatGatewayParams object with the ability to set a timeout on a request.
func (*UpdateVirtualPrivateCloudNatGatewayParams) SetContentLanguage ¶
func (o *UpdateVirtualPrivateCloudNatGatewayParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update virtual private cloud nat gateway params
func (*UpdateVirtualPrivateCloudNatGatewayParams) SetContext ¶
func (o *UpdateVirtualPrivateCloudNatGatewayParams) SetContext(ctx context.Context)
SetContext adds the context to the update virtual private cloud nat gateway params
func (*UpdateVirtualPrivateCloudNatGatewayParams) SetDefaults ¶
func (o *UpdateVirtualPrivateCloudNatGatewayParams) SetDefaults()
SetDefaults hydrates default values in the update virtual private cloud nat gateway params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVirtualPrivateCloudNatGatewayParams) SetHTTPClient ¶
func (o *UpdateVirtualPrivateCloudNatGatewayParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update virtual private cloud nat gateway params
func (*UpdateVirtualPrivateCloudNatGatewayParams) SetRequestBody ¶
func (o *UpdateVirtualPrivateCloudNatGatewayParams) SetRequestBody(requestBody *models.VirtualPrivateCloudNatGatewayUpdationParams)
SetRequestBody adds the requestBody to the update virtual private cloud nat gateway params
func (*UpdateVirtualPrivateCloudNatGatewayParams) SetTimeout ¶
func (o *UpdateVirtualPrivateCloudNatGatewayParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update virtual private cloud nat gateway params
func (*UpdateVirtualPrivateCloudNatGatewayParams) WithContentLanguage ¶
func (o *UpdateVirtualPrivateCloudNatGatewayParams) WithContentLanguage(contentLanguage *string) *UpdateVirtualPrivateCloudNatGatewayParams
WithContentLanguage adds the contentLanguage to the update virtual private cloud nat gateway params
func (*UpdateVirtualPrivateCloudNatGatewayParams) WithContext ¶
func (o *UpdateVirtualPrivateCloudNatGatewayParams) WithContext(ctx context.Context) *UpdateVirtualPrivateCloudNatGatewayParams
WithContext adds the context to the update virtual private cloud nat gateway params
func (*UpdateVirtualPrivateCloudNatGatewayParams) WithDefaults ¶
func (o *UpdateVirtualPrivateCloudNatGatewayParams) WithDefaults() *UpdateVirtualPrivateCloudNatGatewayParams
WithDefaults hydrates default values in the update virtual private cloud nat gateway params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVirtualPrivateCloudNatGatewayParams) WithHTTPClient ¶
func (o *UpdateVirtualPrivateCloudNatGatewayParams) WithHTTPClient(client *http.Client) *UpdateVirtualPrivateCloudNatGatewayParams
WithHTTPClient adds the HTTPClient to the update virtual private cloud nat gateway params
func (*UpdateVirtualPrivateCloudNatGatewayParams) WithRequestBody ¶
func (o *UpdateVirtualPrivateCloudNatGatewayParams) WithRequestBody(requestBody *models.VirtualPrivateCloudNatGatewayUpdationParams) *UpdateVirtualPrivateCloudNatGatewayParams
WithRequestBody adds the requestBody to the update virtual private cloud nat gateway params
func (*UpdateVirtualPrivateCloudNatGatewayParams) WithTimeout ¶
func (o *UpdateVirtualPrivateCloudNatGatewayParams) WithTimeout(timeout time.Duration) *UpdateVirtualPrivateCloudNatGatewayParams
WithTimeout adds the timeout to the update virtual private cloud nat gateway params
func (*UpdateVirtualPrivateCloudNatGatewayParams) WriteToRequest ¶
func (o *UpdateVirtualPrivateCloudNatGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVirtualPrivateCloudNatGatewayReader ¶
type UpdateVirtualPrivateCloudNatGatewayReader struct {
// contains filtered or unexported fields
}
UpdateVirtualPrivateCloudNatGatewayReader is a Reader for the UpdateVirtualPrivateCloudNatGateway structure.
func (*UpdateVirtualPrivateCloudNatGatewayReader) ReadResponse ¶
func (o *UpdateVirtualPrivateCloudNatGatewayReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_virtual_private_cloud_nat_gateway_parameters.go
- create_virtual_private_cloud_nat_gateway_responses.go
- delete_virtual_private_cloud_nat_gateway_parameters.go
- delete_virtual_private_cloud_nat_gateway_responses.go
- get_virtual_private_cloud_nat_gateways_connection_parameters.go
- get_virtual_private_cloud_nat_gateways_connection_responses.go
- get_virtual_private_cloud_nat_gateways_parameters.go
- get_virtual_private_cloud_nat_gateways_responses.go
- update_virtual_private_cloud_nat_gateway_parameters.go
- update_virtual_private_cloud_nat_gateway_responses.go
- virtual_private_cloud_nat_gateway_client.go