virtual_private_cloud_subnet

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 subnet API

func (*Client) CreateVirtualPrivateCloudSubnet

func (a *Client) CreateVirtualPrivateCloudSubnet(params *CreateVirtualPrivateCloudSubnetParams, opts ...ClientOption) (*CreateVirtualPrivateCloudSubnetOK, error)

CreateVirtualPrivateCloudSubnet create virtual private cloud subnet API

func (*Client) DeleteVirtualPrivateCloudSubnet

func (a *Client) DeleteVirtualPrivateCloudSubnet(params *DeleteVirtualPrivateCloudSubnetParams, opts ...ClientOption) (*DeleteVirtualPrivateCloudSubnetOK, error)

DeleteVirtualPrivateCloudSubnet delete virtual private cloud subnet API

func (*Client) GetVirtualPrivateCloudSubnets

func (a *Client) GetVirtualPrivateCloudSubnets(params *GetVirtualPrivateCloudSubnetsParams, opts ...ClientOption) (*GetVirtualPrivateCloudSubnetsOK, error)

GetVirtualPrivateCloudSubnets get virtual private cloud subnets API

func (*Client) GetVirtualPrivateCloudSubnetsConnection

func (a *Client) GetVirtualPrivateCloudSubnetsConnection(params *GetVirtualPrivateCloudSubnetsConnectionParams, opts ...ClientOption) (*GetVirtualPrivateCloudSubnetsConnectionOK, error)

GetVirtualPrivateCloudSubnetsConnection get virtual private cloud subnets connection API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateVirtualPrivateCloudSubnet

func (a *Client) UpdateVirtualPrivateCloudSubnet(params *UpdateVirtualPrivateCloudSubnetParams, opts ...ClientOption) (*UpdateVirtualPrivateCloudSubnetOK, error)

UpdateVirtualPrivateCloudSubnet update virtual private cloud subnet API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateVirtualPrivateCloudSubnet(params *CreateVirtualPrivateCloudSubnetParams, opts ...ClientOption) (*CreateVirtualPrivateCloudSubnetOK, error)

	DeleteVirtualPrivateCloudSubnet(params *DeleteVirtualPrivateCloudSubnetParams, opts ...ClientOption) (*DeleteVirtualPrivateCloudSubnetOK, error)

	GetVirtualPrivateCloudSubnets(params *GetVirtualPrivateCloudSubnetsParams, opts ...ClientOption) (*GetVirtualPrivateCloudSubnetsOK, error)

	GetVirtualPrivateCloudSubnetsConnection(params *GetVirtualPrivateCloudSubnetsConnectionParams, opts ...ClientOption) (*GetVirtualPrivateCloudSubnetsConnectionOK, error)

	UpdateVirtualPrivateCloudSubnet(params *UpdateVirtualPrivateCloudSubnetParams, opts ...ClientOption) (*UpdateVirtualPrivateCloudSubnetOK, 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 subnet API client.

type CreateVirtualPrivateCloudSubnetBadRequest

type CreateVirtualPrivateCloudSubnetBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVirtualPrivateCloudSubnetBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateVirtualPrivateCloudSubnetBadRequest

func NewCreateVirtualPrivateCloudSubnetBadRequest() *CreateVirtualPrivateCloudSubnetBadRequest

NewCreateVirtualPrivateCloudSubnetBadRequest creates a CreateVirtualPrivateCloudSubnetBadRequest with default headers values

func (*CreateVirtualPrivateCloudSubnetBadRequest) Error

func (*CreateVirtualPrivateCloudSubnetBadRequest) GetPayload

type CreateVirtualPrivateCloudSubnetInternalServerError

type CreateVirtualPrivateCloudSubnetInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVirtualPrivateCloudSubnetInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateVirtualPrivateCloudSubnetInternalServerError

func NewCreateVirtualPrivateCloudSubnetInternalServerError() *CreateVirtualPrivateCloudSubnetInternalServerError

NewCreateVirtualPrivateCloudSubnetInternalServerError creates a CreateVirtualPrivateCloudSubnetInternalServerError with default headers values

func (*CreateVirtualPrivateCloudSubnetInternalServerError) Error

func (*CreateVirtualPrivateCloudSubnetInternalServerError) GetPayload

type CreateVirtualPrivateCloudSubnetNotFound

type CreateVirtualPrivateCloudSubnetNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVirtualPrivateCloudSubnetNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateVirtualPrivateCloudSubnetNotFound

func NewCreateVirtualPrivateCloudSubnetNotFound() *CreateVirtualPrivateCloudSubnetNotFound

NewCreateVirtualPrivateCloudSubnetNotFound creates a CreateVirtualPrivateCloudSubnetNotFound with default headers values

func (*CreateVirtualPrivateCloudSubnetNotFound) Error

func (*CreateVirtualPrivateCloudSubnetNotFound) GetPayload

type CreateVirtualPrivateCloudSubnetOK

type CreateVirtualPrivateCloudSubnetOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVirtualPrivateCloudSubnet
}
CreateVirtualPrivateCloudSubnetOK describes a response with status code 200, with default header values.

CreateVirtualPrivateCloudSubnetOK create virtual private cloud subnet o k

func NewCreateVirtualPrivateCloudSubnetOK

func NewCreateVirtualPrivateCloudSubnetOK() *CreateVirtualPrivateCloudSubnetOK

NewCreateVirtualPrivateCloudSubnetOK creates a CreateVirtualPrivateCloudSubnetOK with default headers values

func (*CreateVirtualPrivateCloudSubnetOK) Error

func (*CreateVirtualPrivateCloudSubnetOK) GetPayload

type CreateVirtualPrivateCloudSubnetParams

type CreateVirtualPrivateCloudSubnetParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.VirtualPrivateCloudSubnetCreationParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateVirtualPrivateCloudSubnetParams contains all the parameters to send to the API endpoint

for the create virtual private cloud subnet operation.

Typically these are written to a http.Request.

func NewCreateVirtualPrivateCloudSubnetParams

func NewCreateVirtualPrivateCloudSubnetParams() *CreateVirtualPrivateCloudSubnetParams

NewCreateVirtualPrivateCloudSubnetParams creates a new CreateVirtualPrivateCloudSubnetParams 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 NewCreateVirtualPrivateCloudSubnetParamsWithContext

func NewCreateVirtualPrivateCloudSubnetParamsWithContext(ctx context.Context) *CreateVirtualPrivateCloudSubnetParams

NewCreateVirtualPrivateCloudSubnetParamsWithContext creates a new CreateVirtualPrivateCloudSubnetParams object with the ability to set a context for a request.

func NewCreateVirtualPrivateCloudSubnetParamsWithHTTPClient

func NewCreateVirtualPrivateCloudSubnetParamsWithHTTPClient(client *http.Client) *CreateVirtualPrivateCloudSubnetParams

NewCreateVirtualPrivateCloudSubnetParamsWithHTTPClient creates a new CreateVirtualPrivateCloudSubnetParams object with the ability to set a custom HTTPClient for a request.

func NewCreateVirtualPrivateCloudSubnetParamsWithTimeout

func NewCreateVirtualPrivateCloudSubnetParamsWithTimeout(timeout time.Duration) *CreateVirtualPrivateCloudSubnetParams

NewCreateVirtualPrivateCloudSubnetParamsWithTimeout creates a new CreateVirtualPrivateCloudSubnetParams object with the ability to set a timeout on a request.

func (*CreateVirtualPrivateCloudSubnetParams) SetContentLanguage

func (o *CreateVirtualPrivateCloudSubnetParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create virtual private cloud subnet params

func (*CreateVirtualPrivateCloudSubnetParams) SetContext

SetContext adds the context to the create virtual private cloud subnet params

func (*CreateVirtualPrivateCloudSubnetParams) SetDefaults

func (o *CreateVirtualPrivateCloudSubnetParams) SetDefaults()

SetDefaults hydrates default values in the create virtual private cloud subnet params (not the query body).

All values with no default are reset to their zero value.

func (*CreateVirtualPrivateCloudSubnetParams) SetHTTPClient

func (o *CreateVirtualPrivateCloudSubnetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create virtual private cloud subnet params

func (*CreateVirtualPrivateCloudSubnetParams) SetRequestBody

SetRequestBody adds the requestBody to the create virtual private cloud subnet params

func (*CreateVirtualPrivateCloudSubnetParams) SetTimeout

func (o *CreateVirtualPrivateCloudSubnetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create virtual private cloud subnet params

func (*CreateVirtualPrivateCloudSubnetParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the create virtual private cloud subnet params

func (*CreateVirtualPrivateCloudSubnetParams) WithContext

WithContext adds the context to the create virtual private cloud subnet params

func (*CreateVirtualPrivateCloudSubnetParams) WithDefaults

WithDefaults hydrates default values in the create virtual private cloud subnet params (not the query body).

All values with no default are reset to their zero value.

func (*CreateVirtualPrivateCloudSubnetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create virtual private cloud subnet params

func (*CreateVirtualPrivateCloudSubnetParams) WithRequestBody

WithRequestBody adds the requestBody to the create virtual private cloud subnet params

func (*CreateVirtualPrivateCloudSubnetParams) WithTimeout

WithTimeout adds the timeout to the create virtual private cloud subnet params

func (*CreateVirtualPrivateCloudSubnetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateVirtualPrivateCloudSubnetReader

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

CreateVirtualPrivateCloudSubnetReader is a Reader for the CreateVirtualPrivateCloudSubnet structure.

func (*CreateVirtualPrivateCloudSubnetReader) ReadResponse

func (o *CreateVirtualPrivateCloudSubnetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteVirtualPrivateCloudSubnetBadRequest

type DeleteVirtualPrivateCloudSubnetBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteVirtualPrivateCloudSubnetBadRequest describes a response with status code 400, with default header values.

Bad request

func NewDeleteVirtualPrivateCloudSubnetBadRequest

func NewDeleteVirtualPrivateCloudSubnetBadRequest() *DeleteVirtualPrivateCloudSubnetBadRequest

NewDeleteVirtualPrivateCloudSubnetBadRequest creates a DeleteVirtualPrivateCloudSubnetBadRequest with default headers values

func (*DeleteVirtualPrivateCloudSubnetBadRequest) Error

func (*DeleteVirtualPrivateCloudSubnetBadRequest) GetPayload

type DeleteVirtualPrivateCloudSubnetInternalServerError

type DeleteVirtualPrivateCloudSubnetInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteVirtualPrivateCloudSubnetInternalServerError describes a response with status code 500, with default header values.

Server error

func NewDeleteVirtualPrivateCloudSubnetInternalServerError

func NewDeleteVirtualPrivateCloudSubnetInternalServerError() *DeleteVirtualPrivateCloudSubnetInternalServerError

NewDeleteVirtualPrivateCloudSubnetInternalServerError creates a DeleteVirtualPrivateCloudSubnetInternalServerError with default headers values

func (*DeleteVirtualPrivateCloudSubnetInternalServerError) Error

func (*DeleteVirtualPrivateCloudSubnetInternalServerError) GetPayload

type DeleteVirtualPrivateCloudSubnetNotFound

type DeleteVirtualPrivateCloudSubnetNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteVirtualPrivateCloudSubnetNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteVirtualPrivateCloudSubnetNotFound

func NewDeleteVirtualPrivateCloudSubnetNotFound() *DeleteVirtualPrivateCloudSubnetNotFound

NewDeleteVirtualPrivateCloudSubnetNotFound creates a DeleteVirtualPrivateCloudSubnetNotFound with default headers values

func (*DeleteVirtualPrivateCloudSubnetNotFound) Error

func (*DeleteVirtualPrivateCloudSubnetNotFound) GetPayload

type DeleteVirtualPrivateCloudSubnetOK

type DeleteVirtualPrivateCloudSubnetOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskDeleteVirtualPrivateCloudSubnet
}
DeleteVirtualPrivateCloudSubnetOK describes a response with status code 200, with default header values.

DeleteVirtualPrivateCloudSubnetOK delete virtual private cloud subnet o k

func NewDeleteVirtualPrivateCloudSubnetOK

func NewDeleteVirtualPrivateCloudSubnetOK() *DeleteVirtualPrivateCloudSubnetOK

NewDeleteVirtualPrivateCloudSubnetOK creates a DeleteVirtualPrivateCloudSubnetOK with default headers values

func (*DeleteVirtualPrivateCloudSubnetOK) Error

func (*DeleteVirtualPrivateCloudSubnetOK) GetPayload

type DeleteVirtualPrivateCloudSubnetParams

type DeleteVirtualPrivateCloudSubnetParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VirtualPrivateCloudSubnetDeletionParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteVirtualPrivateCloudSubnetParams contains all the parameters to send to the API endpoint

for the delete virtual private cloud subnet operation.

Typically these are written to a http.Request.

func NewDeleteVirtualPrivateCloudSubnetParams

func NewDeleteVirtualPrivateCloudSubnetParams() *DeleteVirtualPrivateCloudSubnetParams

NewDeleteVirtualPrivateCloudSubnetParams creates a new DeleteVirtualPrivateCloudSubnetParams 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 NewDeleteVirtualPrivateCloudSubnetParamsWithContext

func NewDeleteVirtualPrivateCloudSubnetParamsWithContext(ctx context.Context) *DeleteVirtualPrivateCloudSubnetParams

NewDeleteVirtualPrivateCloudSubnetParamsWithContext creates a new DeleteVirtualPrivateCloudSubnetParams object with the ability to set a context for a request.

func NewDeleteVirtualPrivateCloudSubnetParamsWithHTTPClient

func NewDeleteVirtualPrivateCloudSubnetParamsWithHTTPClient(client *http.Client) *DeleteVirtualPrivateCloudSubnetParams

NewDeleteVirtualPrivateCloudSubnetParamsWithHTTPClient creates a new DeleteVirtualPrivateCloudSubnetParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteVirtualPrivateCloudSubnetParamsWithTimeout

func NewDeleteVirtualPrivateCloudSubnetParamsWithTimeout(timeout time.Duration) *DeleteVirtualPrivateCloudSubnetParams

NewDeleteVirtualPrivateCloudSubnetParamsWithTimeout creates a new DeleteVirtualPrivateCloudSubnetParams object with the ability to set a timeout on a request.

func (*DeleteVirtualPrivateCloudSubnetParams) SetContentLanguage

func (o *DeleteVirtualPrivateCloudSubnetParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the delete virtual private cloud subnet params

func (*DeleteVirtualPrivateCloudSubnetParams) SetContext

SetContext adds the context to the delete virtual private cloud subnet params

func (*DeleteVirtualPrivateCloudSubnetParams) SetDefaults

func (o *DeleteVirtualPrivateCloudSubnetParams) SetDefaults()

SetDefaults hydrates default values in the delete virtual private cloud subnet params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVirtualPrivateCloudSubnetParams) SetHTTPClient

func (o *DeleteVirtualPrivateCloudSubnetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete virtual private cloud subnet params

func (*DeleteVirtualPrivateCloudSubnetParams) SetRequestBody

SetRequestBody adds the requestBody to the delete virtual private cloud subnet params

func (*DeleteVirtualPrivateCloudSubnetParams) SetTimeout

func (o *DeleteVirtualPrivateCloudSubnetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete virtual private cloud subnet params

func (*DeleteVirtualPrivateCloudSubnetParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the delete virtual private cloud subnet params

func (*DeleteVirtualPrivateCloudSubnetParams) WithContext

WithContext adds the context to the delete virtual private cloud subnet params

func (*DeleteVirtualPrivateCloudSubnetParams) WithDefaults

WithDefaults hydrates default values in the delete virtual private cloud subnet params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVirtualPrivateCloudSubnetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete virtual private cloud subnet params

func (*DeleteVirtualPrivateCloudSubnetParams) WithRequestBody

WithRequestBody adds the requestBody to the delete virtual private cloud subnet params

func (*DeleteVirtualPrivateCloudSubnetParams) WithTimeout

WithTimeout adds the timeout to the delete virtual private cloud subnet params

func (*DeleteVirtualPrivateCloudSubnetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteVirtualPrivateCloudSubnetReader

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

DeleteVirtualPrivateCloudSubnetReader is a Reader for the DeleteVirtualPrivateCloudSubnet structure.

func (*DeleteVirtualPrivateCloudSubnetReader) ReadResponse

func (o *DeleteVirtualPrivateCloudSubnetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVirtualPrivateCloudSubnetsBadRequest

type GetVirtualPrivateCloudSubnetsBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVirtualPrivateCloudSubnetsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetVirtualPrivateCloudSubnetsBadRequest

func NewGetVirtualPrivateCloudSubnetsBadRequest() *GetVirtualPrivateCloudSubnetsBadRequest

NewGetVirtualPrivateCloudSubnetsBadRequest creates a GetVirtualPrivateCloudSubnetsBadRequest with default headers values

func (*GetVirtualPrivateCloudSubnetsBadRequest) Error

func (*GetVirtualPrivateCloudSubnetsBadRequest) GetPayload

type GetVirtualPrivateCloudSubnetsConnectionBadRequest

type GetVirtualPrivateCloudSubnetsConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVirtualPrivateCloudSubnetsConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetVirtualPrivateCloudSubnetsConnectionBadRequest

func NewGetVirtualPrivateCloudSubnetsConnectionBadRequest() *GetVirtualPrivateCloudSubnetsConnectionBadRequest

NewGetVirtualPrivateCloudSubnetsConnectionBadRequest creates a GetVirtualPrivateCloudSubnetsConnectionBadRequest with default headers values

func (*GetVirtualPrivateCloudSubnetsConnectionBadRequest) Error

func (*GetVirtualPrivateCloudSubnetsConnectionBadRequest) GetPayload

type GetVirtualPrivateCloudSubnetsConnectionInternalServerError

type GetVirtualPrivateCloudSubnetsConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVirtualPrivateCloudSubnetsConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetVirtualPrivateCloudSubnetsConnectionInternalServerError

func NewGetVirtualPrivateCloudSubnetsConnectionInternalServerError() *GetVirtualPrivateCloudSubnetsConnectionInternalServerError

NewGetVirtualPrivateCloudSubnetsConnectionInternalServerError creates a GetVirtualPrivateCloudSubnetsConnectionInternalServerError with default headers values

func (*GetVirtualPrivateCloudSubnetsConnectionInternalServerError) Error

func (*GetVirtualPrivateCloudSubnetsConnectionInternalServerError) GetPayload

type GetVirtualPrivateCloudSubnetsConnectionNotFound

type GetVirtualPrivateCloudSubnetsConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVirtualPrivateCloudSubnetsConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetVirtualPrivateCloudSubnetsConnectionNotFound

func NewGetVirtualPrivateCloudSubnetsConnectionNotFound() *GetVirtualPrivateCloudSubnetsConnectionNotFound

NewGetVirtualPrivateCloudSubnetsConnectionNotFound creates a GetVirtualPrivateCloudSubnetsConnectionNotFound with default headers values

func (*GetVirtualPrivateCloudSubnetsConnectionNotFound) Error

func (*GetVirtualPrivateCloudSubnetsConnectionNotFound) GetPayload

type GetVirtualPrivateCloudSubnetsConnectionOK

type GetVirtualPrivateCloudSubnetsConnectionOK struct {
	XTowerRequestID string

	Payload *models.VirtualPrivateCloudSubnetConnection
}
GetVirtualPrivateCloudSubnetsConnectionOK describes a response with status code 200, with default header values.

GetVirtualPrivateCloudSubnetsConnectionOK get virtual private cloud subnets connection o k

func NewGetVirtualPrivateCloudSubnetsConnectionOK

func NewGetVirtualPrivateCloudSubnetsConnectionOK() *GetVirtualPrivateCloudSubnetsConnectionOK

NewGetVirtualPrivateCloudSubnetsConnectionOK creates a GetVirtualPrivateCloudSubnetsConnectionOK with default headers values

func (*GetVirtualPrivateCloudSubnetsConnectionOK) Error

func (*GetVirtualPrivateCloudSubnetsConnectionOK) GetPayload

type GetVirtualPrivateCloudSubnetsConnectionParams

type GetVirtualPrivateCloudSubnetsConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetVirtualPrivateCloudSubnetsConnectionRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVirtualPrivateCloudSubnetsConnectionParams contains all the parameters to send to the API endpoint

for the get virtual private cloud subnets connection operation.

Typically these are written to a http.Request.

func NewGetVirtualPrivateCloudSubnetsConnectionParams

func NewGetVirtualPrivateCloudSubnetsConnectionParams() *GetVirtualPrivateCloudSubnetsConnectionParams

NewGetVirtualPrivateCloudSubnetsConnectionParams creates a new GetVirtualPrivateCloudSubnetsConnectionParams 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 NewGetVirtualPrivateCloudSubnetsConnectionParamsWithContext

func NewGetVirtualPrivateCloudSubnetsConnectionParamsWithContext(ctx context.Context) *GetVirtualPrivateCloudSubnetsConnectionParams

NewGetVirtualPrivateCloudSubnetsConnectionParamsWithContext creates a new GetVirtualPrivateCloudSubnetsConnectionParams object with the ability to set a context for a request.

func NewGetVirtualPrivateCloudSubnetsConnectionParamsWithHTTPClient

func NewGetVirtualPrivateCloudSubnetsConnectionParamsWithHTTPClient(client *http.Client) *GetVirtualPrivateCloudSubnetsConnectionParams

NewGetVirtualPrivateCloudSubnetsConnectionParamsWithHTTPClient creates a new GetVirtualPrivateCloudSubnetsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetVirtualPrivateCloudSubnetsConnectionParamsWithTimeout

func NewGetVirtualPrivateCloudSubnetsConnectionParamsWithTimeout(timeout time.Duration) *GetVirtualPrivateCloudSubnetsConnectionParams

NewGetVirtualPrivateCloudSubnetsConnectionParamsWithTimeout creates a new GetVirtualPrivateCloudSubnetsConnectionParams object with the ability to set a timeout on a request.

func (*GetVirtualPrivateCloudSubnetsConnectionParams) SetContentLanguage

func (o *GetVirtualPrivateCloudSubnetsConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get virtual private cloud subnets connection params

func (*GetVirtualPrivateCloudSubnetsConnectionParams) SetContext

SetContext adds the context to the get virtual private cloud subnets connection params

func (*GetVirtualPrivateCloudSubnetsConnectionParams) SetDefaults

SetDefaults hydrates default values in the get virtual private cloud subnets connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetVirtualPrivateCloudSubnetsConnectionParams) SetHTTPClient

func (o *GetVirtualPrivateCloudSubnetsConnectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get virtual private cloud subnets connection params

func (*GetVirtualPrivateCloudSubnetsConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get virtual private cloud subnets connection params

func (*GetVirtualPrivateCloudSubnetsConnectionParams) SetTimeout

SetTimeout adds the timeout to the get virtual private cloud subnets connection params

func (*GetVirtualPrivateCloudSubnetsConnectionParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the get virtual private cloud subnets connection params

func (*GetVirtualPrivateCloudSubnetsConnectionParams) WithContext

WithContext adds the context to the get virtual private cloud subnets connection params

func (*GetVirtualPrivateCloudSubnetsConnectionParams) WithDefaults

WithDefaults hydrates default values in the get virtual private cloud subnets connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetVirtualPrivateCloudSubnetsConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get virtual private cloud subnets connection params

func (*GetVirtualPrivateCloudSubnetsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get virtual private cloud subnets connection params

func (*GetVirtualPrivateCloudSubnetsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get virtual private cloud subnets connection params

func (*GetVirtualPrivateCloudSubnetsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVirtualPrivateCloudSubnetsConnectionReader

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

GetVirtualPrivateCloudSubnetsConnectionReader is a Reader for the GetVirtualPrivateCloudSubnetsConnection structure.

func (*GetVirtualPrivateCloudSubnetsConnectionReader) ReadResponse

func (o *GetVirtualPrivateCloudSubnetsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVirtualPrivateCloudSubnetsInternalServerError

type GetVirtualPrivateCloudSubnetsInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVirtualPrivateCloudSubnetsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetVirtualPrivateCloudSubnetsInternalServerError

func NewGetVirtualPrivateCloudSubnetsInternalServerError() *GetVirtualPrivateCloudSubnetsInternalServerError

NewGetVirtualPrivateCloudSubnetsInternalServerError creates a GetVirtualPrivateCloudSubnetsInternalServerError with default headers values

func (*GetVirtualPrivateCloudSubnetsInternalServerError) Error

func (*GetVirtualPrivateCloudSubnetsInternalServerError) GetPayload

type GetVirtualPrivateCloudSubnetsNotFound

type GetVirtualPrivateCloudSubnetsNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVirtualPrivateCloudSubnetsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetVirtualPrivateCloudSubnetsNotFound

func NewGetVirtualPrivateCloudSubnetsNotFound() *GetVirtualPrivateCloudSubnetsNotFound

NewGetVirtualPrivateCloudSubnetsNotFound creates a GetVirtualPrivateCloudSubnetsNotFound with default headers values

func (*GetVirtualPrivateCloudSubnetsNotFound) Error

func (*GetVirtualPrivateCloudSubnetsNotFound) GetPayload

type GetVirtualPrivateCloudSubnetsOK

type GetVirtualPrivateCloudSubnetsOK struct {
	XTowerRequestID string

	Payload []*models.VirtualPrivateCloudSubnet
}
GetVirtualPrivateCloudSubnetsOK describes a response with status code 200, with default header values.

GetVirtualPrivateCloudSubnetsOK get virtual private cloud subnets o k

func NewGetVirtualPrivateCloudSubnetsOK

func NewGetVirtualPrivateCloudSubnetsOK() *GetVirtualPrivateCloudSubnetsOK

NewGetVirtualPrivateCloudSubnetsOK creates a GetVirtualPrivateCloudSubnetsOK with default headers values

func (*GetVirtualPrivateCloudSubnetsOK) Error

func (*GetVirtualPrivateCloudSubnetsOK) GetPayload

type GetVirtualPrivateCloudSubnetsParams

type GetVirtualPrivateCloudSubnetsParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetVirtualPrivateCloudSubnetsRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVirtualPrivateCloudSubnetsParams contains all the parameters to send to the API endpoint

for the get virtual private cloud subnets operation.

Typically these are written to a http.Request.

func NewGetVirtualPrivateCloudSubnetsParams

func NewGetVirtualPrivateCloudSubnetsParams() *GetVirtualPrivateCloudSubnetsParams

NewGetVirtualPrivateCloudSubnetsParams creates a new GetVirtualPrivateCloudSubnetsParams 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 NewGetVirtualPrivateCloudSubnetsParamsWithContext

func NewGetVirtualPrivateCloudSubnetsParamsWithContext(ctx context.Context) *GetVirtualPrivateCloudSubnetsParams

NewGetVirtualPrivateCloudSubnetsParamsWithContext creates a new GetVirtualPrivateCloudSubnetsParams object with the ability to set a context for a request.

func NewGetVirtualPrivateCloudSubnetsParamsWithHTTPClient

func NewGetVirtualPrivateCloudSubnetsParamsWithHTTPClient(client *http.Client) *GetVirtualPrivateCloudSubnetsParams

NewGetVirtualPrivateCloudSubnetsParamsWithHTTPClient creates a new GetVirtualPrivateCloudSubnetsParams object with the ability to set a custom HTTPClient for a request.

func NewGetVirtualPrivateCloudSubnetsParamsWithTimeout

func NewGetVirtualPrivateCloudSubnetsParamsWithTimeout(timeout time.Duration) *GetVirtualPrivateCloudSubnetsParams

NewGetVirtualPrivateCloudSubnetsParamsWithTimeout creates a new GetVirtualPrivateCloudSubnetsParams object with the ability to set a timeout on a request.

func (*GetVirtualPrivateCloudSubnetsParams) SetContentLanguage

func (o *GetVirtualPrivateCloudSubnetsParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get virtual private cloud subnets params

func (*GetVirtualPrivateCloudSubnetsParams) SetContext

SetContext adds the context to the get virtual private cloud subnets params

func (*GetVirtualPrivateCloudSubnetsParams) SetDefaults

func (o *GetVirtualPrivateCloudSubnetsParams) SetDefaults()

SetDefaults hydrates default values in the get virtual private cloud subnets params (not the query body).

All values with no default are reset to their zero value.

func (*GetVirtualPrivateCloudSubnetsParams) SetHTTPClient

func (o *GetVirtualPrivateCloudSubnetsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get virtual private cloud subnets params

func (*GetVirtualPrivateCloudSubnetsParams) SetRequestBody

SetRequestBody adds the requestBody to the get virtual private cloud subnets params

func (*GetVirtualPrivateCloudSubnetsParams) SetTimeout

func (o *GetVirtualPrivateCloudSubnetsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get virtual private cloud subnets params

func (*GetVirtualPrivateCloudSubnetsParams) WithContentLanguage

func (o *GetVirtualPrivateCloudSubnetsParams) WithContentLanguage(contentLanguage *string) *GetVirtualPrivateCloudSubnetsParams

WithContentLanguage adds the contentLanguage to the get virtual private cloud subnets params

func (*GetVirtualPrivateCloudSubnetsParams) WithContext

WithContext adds the context to the get virtual private cloud subnets params

func (*GetVirtualPrivateCloudSubnetsParams) WithDefaults

WithDefaults hydrates default values in the get virtual private cloud subnets params (not the query body).

All values with no default are reset to their zero value.

func (*GetVirtualPrivateCloudSubnetsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get virtual private cloud subnets params

func (*GetVirtualPrivateCloudSubnetsParams) WithRequestBody

WithRequestBody adds the requestBody to the get virtual private cloud subnets params

func (*GetVirtualPrivateCloudSubnetsParams) WithTimeout

WithTimeout adds the timeout to the get virtual private cloud subnets params

func (*GetVirtualPrivateCloudSubnetsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVirtualPrivateCloudSubnetsReader

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

GetVirtualPrivateCloudSubnetsReader is a Reader for the GetVirtualPrivateCloudSubnets structure.

func (*GetVirtualPrivateCloudSubnetsReader) ReadResponse

func (o *GetVirtualPrivateCloudSubnetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateVirtualPrivateCloudSubnetBadRequest

type UpdateVirtualPrivateCloudSubnetBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVirtualPrivateCloudSubnetBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateVirtualPrivateCloudSubnetBadRequest

func NewUpdateVirtualPrivateCloudSubnetBadRequest() *UpdateVirtualPrivateCloudSubnetBadRequest

NewUpdateVirtualPrivateCloudSubnetBadRequest creates a UpdateVirtualPrivateCloudSubnetBadRequest with default headers values

func (*UpdateVirtualPrivateCloudSubnetBadRequest) Error

func (*UpdateVirtualPrivateCloudSubnetBadRequest) GetPayload

type UpdateVirtualPrivateCloudSubnetInternalServerError

type UpdateVirtualPrivateCloudSubnetInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVirtualPrivateCloudSubnetInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVirtualPrivateCloudSubnetInternalServerError

func NewUpdateVirtualPrivateCloudSubnetInternalServerError() *UpdateVirtualPrivateCloudSubnetInternalServerError

NewUpdateVirtualPrivateCloudSubnetInternalServerError creates a UpdateVirtualPrivateCloudSubnetInternalServerError with default headers values

func (*UpdateVirtualPrivateCloudSubnetInternalServerError) Error

func (*UpdateVirtualPrivateCloudSubnetInternalServerError) GetPayload

type UpdateVirtualPrivateCloudSubnetNotFound

type UpdateVirtualPrivateCloudSubnetNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVirtualPrivateCloudSubnetNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVirtualPrivateCloudSubnetNotFound

func NewUpdateVirtualPrivateCloudSubnetNotFound() *UpdateVirtualPrivateCloudSubnetNotFound

NewUpdateVirtualPrivateCloudSubnetNotFound creates a UpdateVirtualPrivateCloudSubnetNotFound with default headers values

func (*UpdateVirtualPrivateCloudSubnetNotFound) Error

func (*UpdateVirtualPrivateCloudSubnetNotFound) GetPayload

type UpdateVirtualPrivateCloudSubnetOK

type UpdateVirtualPrivateCloudSubnetOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVirtualPrivateCloudSubnet
}
UpdateVirtualPrivateCloudSubnetOK describes a response with status code 200, with default header values.

UpdateVirtualPrivateCloudSubnetOK update virtual private cloud subnet o k

func NewUpdateVirtualPrivateCloudSubnetOK

func NewUpdateVirtualPrivateCloudSubnetOK() *UpdateVirtualPrivateCloudSubnetOK

NewUpdateVirtualPrivateCloudSubnetOK creates a UpdateVirtualPrivateCloudSubnetOK with default headers values

func (*UpdateVirtualPrivateCloudSubnetOK) Error

func (*UpdateVirtualPrivateCloudSubnetOK) GetPayload

type UpdateVirtualPrivateCloudSubnetParams

type UpdateVirtualPrivateCloudSubnetParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VirtualPrivateCloudSubnetUpdationParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateVirtualPrivateCloudSubnetParams contains all the parameters to send to the API endpoint

for the update virtual private cloud subnet operation.

Typically these are written to a http.Request.

func NewUpdateVirtualPrivateCloudSubnetParams

func NewUpdateVirtualPrivateCloudSubnetParams() *UpdateVirtualPrivateCloudSubnetParams

NewUpdateVirtualPrivateCloudSubnetParams creates a new UpdateVirtualPrivateCloudSubnetParams 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 NewUpdateVirtualPrivateCloudSubnetParamsWithContext

func NewUpdateVirtualPrivateCloudSubnetParamsWithContext(ctx context.Context) *UpdateVirtualPrivateCloudSubnetParams

NewUpdateVirtualPrivateCloudSubnetParamsWithContext creates a new UpdateVirtualPrivateCloudSubnetParams object with the ability to set a context for a request.

func NewUpdateVirtualPrivateCloudSubnetParamsWithHTTPClient

func NewUpdateVirtualPrivateCloudSubnetParamsWithHTTPClient(client *http.Client) *UpdateVirtualPrivateCloudSubnetParams

NewUpdateVirtualPrivateCloudSubnetParamsWithHTTPClient creates a new UpdateVirtualPrivateCloudSubnetParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVirtualPrivateCloudSubnetParamsWithTimeout

func NewUpdateVirtualPrivateCloudSubnetParamsWithTimeout(timeout time.Duration) *UpdateVirtualPrivateCloudSubnetParams

NewUpdateVirtualPrivateCloudSubnetParamsWithTimeout creates a new UpdateVirtualPrivateCloudSubnetParams object with the ability to set a timeout on a request.

func (*UpdateVirtualPrivateCloudSubnetParams) SetContentLanguage

func (o *UpdateVirtualPrivateCloudSubnetParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update virtual private cloud subnet params

func (*UpdateVirtualPrivateCloudSubnetParams) SetContext

SetContext adds the context to the update virtual private cloud subnet params

func (*UpdateVirtualPrivateCloudSubnetParams) SetDefaults

func (o *UpdateVirtualPrivateCloudSubnetParams) SetDefaults()

SetDefaults hydrates default values in the update virtual private cloud subnet params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVirtualPrivateCloudSubnetParams) SetHTTPClient

func (o *UpdateVirtualPrivateCloudSubnetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update virtual private cloud subnet params

func (*UpdateVirtualPrivateCloudSubnetParams) SetRequestBody

SetRequestBody adds the requestBody to the update virtual private cloud subnet params

func (*UpdateVirtualPrivateCloudSubnetParams) SetTimeout

func (o *UpdateVirtualPrivateCloudSubnetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update virtual private cloud subnet params

func (*UpdateVirtualPrivateCloudSubnetParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the update virtual private cloud subnet params

func (*UpdateVirtualPrivateCloudSubnetParams) WithContext

WithContext adds the context to the update virtual private cloud subnet params

func (*UpdateVirtualPrivateCloudSubnetParams) WithDefaults

WithDefaults hydrates default values in the update virtual private cloud subnet params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVirtualPrivateCloudSubnetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update virtual private cloud subnet params

func (*UpdateVirtualPrivateCloudSubnetParams) WithRequestBody

WithRequestBody adds the requestBody to the update virtual private cloud subnet params

func (*UpdateVirtualPrivateCloudSubnetParams) WithTimeout

WithTimeout adds the timeout to the update virtual private cloud subnet params

func (*UpdateVirtualPrivateCloudSubnetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateVirtualPrivateCloudSubnetReader

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

UpdateVirtualPrivateCloudSubnetReader is a Reader for the UpdateVirtualPrivateCloudSubnet structure.

func (*UpdateVirtualPrivateCloudSubnetReader) ReadResponse

func (o *UpdateVirtualPrivateCloudSubnetReader) 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