virtual_private_cloud_nat_gateway

package
v2.19.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: ISC Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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 (*CreateVirtualPrivateCloudNatGatewayBadRequest) GetPayload

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 (*CreateVirtualPrivateCloudNatGatewayInternalServerError) GetPayload

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 (*CreateVirtualPrivateCloudNatGatewayNotFound) GetPayload

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 (*CreateVirtualPrivateCloudNatGatewayOK) GetPayload

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

SetContext adds the context to the create virtual private cloud nat gateway params

func (*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

SetRequestBody adds the requestBody to the create virtual private cloud nat gateway params

func (*CreateVirtualPrivateCloudNatGatewayParams) SetTimeout

SetTimeout adds the timeout to the create virtual private cloud nat gateway params

func (*CreateVirtualPrivateCloudNatGatewayParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the create virtual private cloud nat gateway params

func (*CreateVirtualPrivateCloudNatGatewayParams) WithContext

WithContext adds the context to the create virtual private cloud nat gateway params

func (*CreateVirtualPrivateCloudNatGatewayParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the create virtual private cloud nat gateway params

func (*CreateVirtualPrivateCloudNatGatewayParams) WithRequestBody

WithRequestBody adds the requestBody to the create virtual private cloud nat gateway params

func (*CreateVirtualPrivateCloudNatGatewayParams) WithTimeout

WithTimeout adds the timeout to the create virtual private cloud nat gateway params

func (*CreateVirtualPrivateCloudNatGatewayParams) WriteToRequest

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 (*DeleteVirtualPrivateCloudNatGatewayBadRequest) GetPayload

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 (*DeleteVirtualPrivateCloudNatGatewayInternalServerError) GetPayload

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 (*DeleteVirtualPrivateCloudNatGatewayNotFound) GetPayload

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 (*DeleteVirtualPrivateCloudNatGatewayOK) GetPayload

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

SetContext adds the context to the delete virtual private cloud nat gateway params

func (*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

SetRequestBody adds the requestBody to the delete virtual private cloud nat gateway params

func (*DeleteVirtualPrivateCloudNatGatewayParams) SetTimeout

SetTimeout adds the timeout to the delete virtual private cloud nat gateway params

func (*DeleteVirtualPrivateCloudNatGatewayParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the delete virtual private cloud nat gateway params

func (*DeleteVirtualPrivateCloudNatGatewayParams) WithContext

WithContext adds the context to the delete virtual private cloud nat gateway params

func (*DeleteVirtualPrivateCloudNatGatewayParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete virtual private cloud nat gateway params

func (*DeleteVirtualPrivateCloudNatGatewayParams) WithRequestBody

WithRequestBody adds the requestBody to the delete virtual private cloud nat gateway params

func (*DeleteVirtualPrivateCloudNatGatewayParams) WithTimeout

WithTimeout adds the timeout to the delete virtual private cloud nat gateway params

func (*DeleteVirtualPrivateCloudNatGatewayParams) WriteToRequest

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 (*GetVirtualPrivateCloudNatGatewaysBadRequest) GetPayload

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 (*GetVirtualPrivateCloudNatGatewaysConnectionBadRequest) GetPayload

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 (*GetVirtualPrivateCloudNatGatewaysConnectionInternalServerError) GetPayload

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 (*GetVirtualPrivateCloudNatGatewaysConnectionNotFound) GetPayload

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 (*GetVirtualPrivateCloudNatGatewaysConnectionOK) GetPayload

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

SetContext adds the context to the get virtual private cloud nat gateways connection params

func (*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

SetHTTPClient adds the HTTPClient to the get virtual private cloud nat gateways connection params

func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get virtual private cloud nat gateways connection params

func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) SetTimeout

SetTimeout adds the timeout to the get virtual private cloud nat gateways connection params

func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the get virtual private cloud nat gateways connection params

func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) WithContext

WithContext adds the context to the get virtual private cloud nat gateways connection params

func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get virtual private cloud nat gateways connection params

func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get virtual private cloud nat gateways connection params

func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) WithTimeout

WithTimeout adds the timeout to the get virtual private cloud nat gateways connection params

func (*GetVirtualPrivateCloudNatGatewaysConnectionParams) WriteToRequest

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 (*GetVirtualPrivateCloudNatGatewaysInternalServerError) GetPayload

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 (*GetVirtualPrivateCloudNatGatewaysNotFound) GetPayload

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 (*GetVirtualPrivateCloudNatGatewaysOK) GetPayload

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

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

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

WithContentLanguage adds the contentLanguage to the get virtual private cloud nat gateways params

func (*GetVirtualPrivateCloudNatGatewaysParams) WithContext

WithContext adds the context to the get virtual private cloud nat gateways params

func (*GetVirtualPrivateCloudNatGatewaysParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get virtual private cloud nat gateways params

func (*GetVirtualPrivateCloudNatGatewaysParams) WithRequestBody

WithRequestBody adds the requestBody to the get virtual private cloud nat gateways params

func (*GetVirtualPrivateCloudNatGatewaysParams) WithTimeout

WithTimeout adds the timeout to the get virtual private cloud nat gateways params

func (*GetVirtualPrivateCloudNatGatewaysParams) WriteToRequest

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 (*UpdateVirtualPrivateCloudNatGatewayBadRequest) GetPayload

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 (*UpdateVirtualPrivateCloudNatGatewayInternalServerError) GetPayload

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 (*UpdateVirtualPrivateCloudNatGatewayNotFound) GetPayload

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 (*UpdateVirtualPrivateCloudNatGatewayOK) GetPayload

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

SetContext adds the context to the update virtual private cloud nat gateway params

func (*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

SetRequestBody adds the requestBody to the update virtual private cloud nat gateway params

func (*UpdateVirtualPrivateCloudNatGatewayParams) SetTimeout

SetTimeout adds the timeout to the update virtual private cloud nat gateway params

func (*UpdateVirtualPrivateCloudNatGatewayParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the update virtual private cloud nat gateway params

func (*UpdateVirtualPrivateCloudNatGatewayParams) WithContext

WithContext adds the context to the update virtual private cloud nat gateway params

func (*UpdateVirtualPrivateCloudNatGatewayParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update virtual private cloud nat gateway params

func (*UpdateVirtualPrivateCloudNatGatewayParams) WithRequestBody

WithRequestBody adds the requestBody to the update virtual private cloud nat gateway params

func (*UpdateVirtualPrivateCloudNatGatewayParams) WithTimeout

WithTimeout adds the timeout to the update virtual private cloud nat gateway params

func (*UpdateVirtualPrivateCloudNatGatewayParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL