virtual_private_cloud

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: MPL-2.0 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 API

func (*Client) CreateNetwork

func (a *Client) CreateNetwork(params *CreateNetworkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkOK, error)

CreateNetwork creates a v p c network

func (*Client) CreateNetworkSubnet added in v1.5.0

func (a *Client) CreateNetworkSubnet(params *CreateNetworkSubnetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSubnetOK, error)

CreateNetworkSubnet create network subnet API

func (*Client) CreateRoute

func (a *Client) CreateRoute(params *CreateRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRouteOK, error)
CreateRoute creates a network route

[block:callout]
{
  "type": "danger",
  "body": "This is an alpha API call and should be considered very unstable. Please do not execute this in a production environment. See our [versioning guidelines](doc:versioning) for more information."
}

[/block]

func (*Client) DeleteNetwork

func (a *Client) DeleteNetwork(params *DeleteNetworkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkNoContent, error)

DeleteNetwork deletes a v p c network

func (*Client) DeleteNetworkSubnet added in v1.5.0

func (a *Client) DeleteNetworkSubnet(params *DeleteNetworkSubnetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSubnetNoContent, error)

DeleteNetworkSubnet delete network subnet API

func (*Client) DeleteRoute

func (a *Client) DeleteRoute(params *DeleteRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRouteNoContent, error)
DeleteRoute deletes a network route

[block:callout]
{
  "type": "danger",
  "body": "This is an alpha API call and should be considered very unstable. Please do not execute this in a production environment. See our [versioning guidelines](doc:versioning) for more information."
}

[/block]

func (*Client) GetNetwork

func (a *Client) GetNetwork(params *GetNetworkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkOK, error)

GetNetwork gets a v p c network

func (*Client) GetNetworkSubnet added in v1.5.0

func (a *Client) GetNetworkSubnet(params *GetNetworkSubnetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSubnetOK, error)

GetNetworkSubnet get network subnet API

func (*Client) GetNetworkSubnets added in v1.5.0

func (a *Client) GetNetworkSubnets(params *GetNetworkSubnetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSubnetsOK, error)

GetNetworkSubnets get network subnets API

func (*Client) GetNetworks

func (a *Client) GetNetworks(params *GetNetworksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworksOK, error)

GetNetworks gets all v p c networks

func (*Client) GetRoute

func (a *Client) GetRoute(params *GetRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRouteOK, error)
GetRoute gets a network route

[block:callout]
{
  "type": "danger",
  "body": "This is an alpha API call and should be considered very unstable. Please do not execute this in a production environment. See our [versioning guidelines](doc:versioning) for more information."
}

[/block]

func (*Client) GetRoutes

func (a *Client) GetRoutes(params *GetRoutesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRoutesOK, error)
GetRoutes gets all network routes

[block:callout]
{
  "type": "danger",
  "body": "This is an alpha API call and should be considered very unstable. Please do not execute this in a production environment. See our [versioning guidelines](doc:versioning) for more information."
}

[/block]

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNetwork

func (a *Client) UpdateNetwork(params *UpdateNetworkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkOK, error)

UpdateNetwork updates a v p c network

Only a network's name may be updated

func (*Client) UpdateNetworkSubnet added in v1.5.0

func (a *Client) UpdateNetworkSubnet(params *UpdateNetworkSubnetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSubnetOK, error)

UpdateNetworkSubnet update network subnet API

func (*Client) UpdateRoute

func (a *Client) UpdateRoute(params *UpdateRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateRouteOK, error)
UpdateRoute updates a network route

[block:callout]
{
  "type": "danger",
  "body": "This is an alpha API call and should be considered very unstable. Please do not execute this in a production environment. See our [versioning guidelines](doc:versioning) for more information."
}

[/block]

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateNetwork(params *CreateNetworkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkOK, error)

	CreateNetworkSubnet(params *CreateNetworkSubnetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSubnetOK, error)

	CreateRoute(params *CreateRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRouteOK, error)

	DeleteNetwork(params *DeleteNetworkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkNoContent, error)

	DeleteNetworkSubnet(params *DeleteNetworkSubnetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSubnetNoContent, error)

	DeleteRoute(params *DeleteRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRouteNoContent, error)

	GetNetwork(params *GetNetworkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkOK, error)

	GetNetworkSubnet(params *GetNetworkSubnetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSubnetOK, error)

	GetNetworkSubnets(params *GetNetworkSubnetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSubnetsOK, error)

	GetNetworks(params *GetNetworksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworksOK, error)

	GetRoute(params *GetRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRouteOK, error)

	GetRoutes(params *GetRoutesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRoutesOK, error)

	UpdateNetwork(params *UpdateNetworkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkOK, error)

	UpdateNetworkSubnet(params *UpdateNetworkSubnetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSubnetOK, error)

	UpdateRoute(params *UpdateRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateRouteOK, 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 API client.

type CreateNetworkDefault

type CreateNetworkDefault struct {
	Payload *ipam_models.APIStatus
	// contains filtered or unexported fields
}
CreateNetworkDefault describes a response with status code -1, with default header values.

Default error structure.

func NewCreateNetworkDefault

func NewCreateNetworkDefault(code int) *CreateNetworkDefault

NewCreateNetworkDefault creates a CreateNetworkDefault with default headers values

func (*CreateNetworkDefault) Code

func (o *CreateNetworkDefault) Code() int

Code gets the status code for the create network default response

func (*CreateNetworkDefault) Error

func (o *CreateNetworkDefault) Error() string

func (*CreateNetworkDefault) GetPayload

func (o *CreateNetworkDefault) GetPayload() *ipam_models.APIStatus

type CreateNetworkInternalServerError

type CreateNetworkInternalServerError struct {
	Payload *ipam_models.APIStatus
}
CreateNetworkInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewCreateNetworkInternalServerError

func NewCreateNetworkInternalServerError() *CreateNetworkInternalServerError

NewCreateNetworkInternalServerError creates a CreateNetworkInternalServerError with default headers values

func (*CreateNetworkInternalServerError) Error

func (*CreateNetworkInternalServerError) GetPayload

type CreateNetworkOK

type CreateNetworkOK struct {
	Payload *ipam_models.NetworkCreateNetworkResponse
}
CreateNetworkOK describes a response with status code 200, with default header values.

CreateNetworkOK create network o k

func NewCreateNetworkOK

func NewCreateNetworkOK() *CreateNetworkOK

NewCreateNetworkOK creates a CreateNetworkOK with default headers values

func (*CreateNetworkOK) Error

func (o *CreateNetworkOK) Error() string

func (*CreateNetworkOK) GetPayload

type CreateNetworkParams

type CreateNetworkParams struct {

	// Body.
	Body *ipam_models.NetworkCreateNetworkRequest

	/* StackID.

	   A stack ID or slug
	*/
	StackID string

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

CreateNetworkParams contains all the parameters to send to the API endpoint

for the create network operation.

Typically these are written to a http.Request.

func NewCreateNetworkParams

func NewCreateNetworkParams() *CreateNetworkParams

NewCreateNetworkParams creates a new CreateNetworkParams 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 NewCreateNetworkParamsWithContext

func NewCreateNetworkParamsWithContext(ctx context.Context) *CreateNetworkParams

NewCreateNetworkParamsWithContext creates a new CreateNetworkParams object with the ability to set a context for a request.

func NewCreateNetworkParamsWithHTTPClient

func NewCreateNetworkParamsWithHTTPClient(client *http.Client) *CreateNetworkParams

NewCreateNetworkParamsWithHTTPClient creates a new CreateNetworkParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNetworkParamsWithTimeout

func NewCreateNetworkParamsWithTimeout(timeout time.Duration) *CreateNetworkParams

NewCreateNetworkParamsWithTimeout creates a new CreateNetworkParams object with the ability to set a timeout on a request.

func (*CreateNetworkParams) SetBody

SetBody adds the body to the create network params

func (*CreateNetworkParams) SetContext

func (o *CreateNetworkParams) SetContext(ctx context.Context)

SetContext adds the context to the create network params

func (*CreateNetworkParams) SetDefaults

func (o *CreateNetworkParams) SetDefaults()

SetDefaults hydrates default values in the create network params (not the query body).

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

func (*CreateNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create network params

func (*CreateNetworkParams) SetStackID

func (o *CreateNetworkParams) SetStackID(stackID string)

SetStackID adds the stackId to the create network params

func (*CreateNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the create network params

func (*CreateNetworkParams) WithBody

WithBody adds the body to the create network params

func (*CreateNetworkParams) WithContext

WithContext adds the context to the create network params

func (*CreateNetworkParams) WithDefaults

func (o *CreateNetworkParams) WithDefaults() *CreateNetworkParams

WithDefaults hydrates default values in the create network params (not the query body).

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

func (*CreateNetworkParams) WithHTTPClient

func (o *CreateNetworkParams) WithHTTPClient(client *http.Client) *CreateNetworkParams

WithHTTPClient adds the HTTPClient to the create network params

func (*CreateNetworkParams) WithStackID

func (o *CreateNetworkParams) WithStackID(stackID string) *CreateNetworkParams

WithStackID adds the stackID to the create network params

func (*CreateNetworkParams) WithTimeout

func (o *CreateNetworkParams) WithTimeout(timeout time.Duration) *CreateNetworkParams

WithTimeout adds the timeout to the create network params

func (*CreateNetworkParams) WriteToRequest

func (o *CreateNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateNetworkReader

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

CreateNetworkReader is a Reader for the CreateNetwork structure.

func (*CreateNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateNetworkSubnetDefault added in v1.5.0

type CreateNetworkSubnetDefault struct {
	Payload *ipam_models.APIStatus
	// contains filtered or unexported fields
}
CreateNetworkSubnetDefault describes a response with status code -1, with default header values.

Default error structure.

func NewCreateNetworkSubnetDefault added in v1.5.0

func NewCreateNetworkSubnetDefault(code int) *CreateNetworkSubnetDefault

NewCreateNetworkSubnetDefault creates a CreateNetworkSubnetDefault with default headers values

func (*CreateNetworkSubnetDefault) Code added in v1.5.0

func (o *CreateNetworkSubnetDefault) Code() int

Code gets the status code for the create network subnet default response

func (*CreateNetworkSubnetDefault) Error added in v1.5.0

func (*CreateNetworkSubnetDefault) GetPayload added in v1.5.0

type CreateNetworkSubnetInternalServerError added in v1.5.0

type CreateNetworkSubnetInternalServerError struct {
	Payload *ipam_models.APIStatus
}
CreateNetworkSubnetInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewCreateNetworkSubnetInternalServerError added in v1.5.0

func NewCreateNetworkSubnetInternalServerError() *CreateNetworkSubnetInternalServerError

NewCreateNetworkSubnetInternalServerError creates a CreateNetworkSubnetInternalServerError with default headers values

func (*CreateNetworkSubnetInternalServerError) Error added in v1.5.0

func (*CreateNetworkSubnetInternalServerError) GetPayload added in v1.5.0

type CreateNetworkSubnetOK added in v1.5.0

type CreateNetworkSubnetOK struct {
	Payload *ipam_models.NetworkCreateNetworkSubnetResponse
}
CreateNetworkSubnetOK describes a response with status code 200, with default header values.

CreateNetworkSubnetOK create network subnet o k

func NewCreateNetworkSubnetOK added in v1.5.0

func NewCreateNetworkSubnetOK() *CreateNetworkSubnetOK

NewCreateNetworkSubnetOK creates a CreateNetworkSubnetOK with default headers values

func (*CreateNetworkSubnetOK) Error added in v1.5.0

func (o *CreateNetworkSubnetOK) Error() string

func (*CreateNetworkSubnetOK) GetPayload added in v1.5.0

type CreateNetworkSubnetParams added in v1.5.0

type CreateNetworkSubnetParams struct {

	// Body.
	Body *ipam_models.NetworkCreateNetworkSubnetRequest

	// NetworkID.
	NetworkID string

	// StackID.
	StackID string

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

CreateNetworkSubnetParams contains all the parameters to send to the API endpoint

for the create network subnet operation.

Typically these are written to a http.Request.

func NewCreateNetworkSubnetParams added in v1.5.0

func NewCreateNetworkSubnetParams() *CreateNetworkSubnetParams

NewCreateNetworkSubnetParams creates a new CreateNetworkSubnetParams 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 NewCreateNetworkSubnetParamsWithContext added in v1.5.0

func NewCreateNetworkSubnetParamsWithContext(ctx context.Context) *CreateNetworkSubnetParams

NewCreateNetworkSubnetParamsWithContext creates a new CreateNetworkSubnetParams object with the ability to set a context for a request.

func NewCreateNetworkSubnetParamsWithHTTPClient added in v1.5.0

func NewCreateNetworkSubnetParamsWithHTTPClient(client *http.Client) *CreateNetworkSubnetParams

NewCreateNetworkSubnetParamsWithHTTPClient creates a new CreateNetworkSubnetParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNetworkSubnetParamsWithTimeout added in v1.5.0

func NewCreateNetworkSubnetParamsWithTimeout(timeout time.Duration) *CreateNetworkSubnetParams

NewCreateNetworkSubnetParamsWithTimeout creates a new CreateNetworkSubnetParams object with the ability to set a timeout on a request.

func (*CreateNetworkSubnetParams) SetBody added in v1.5.0

SetBody adds the body to the create network subnet params

func (*CreateNetworkSubnetParams) SetContext added in v1.5.0

func (o *CreateNetworkSubnetParams) SetContext(ctx context.Context)

SetContext adds the context to the create network subnet params

func (*CreateNetworkSubnetParams) SetDefaults added in v1.5.0

func (o *CreateNetworkSubnetParams) SetDefaults()

SetDefaults hydrates default values in the create network subnet params (not the query body).

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

func (*CreateNetworkSubnetParams) SetHTTPClient added in v1.5.0

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

SetHTTPClient adds the HTTPClient to the create network subnet params

func (*CreateNetworkSubnetParams) SetNetworkID added in v1.5.0

func (o *CreateNetworkSubnetParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the create network subnet params

func (*CreateNetworkSubnetParams) SetStackID added in v1.5.0

func (o *CreateNetworkSubnetParams) SetStackID(stackID string)

SetStackID adds the stackId to the create network subnet params

func (*CreateNetworkSubnetParams) SetTimeout added in v1.5.0

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

SetTimeout adds the timeout to the create network subnet params

func (*CreateNetworkSubnetParams) WithBody added in v1.5.0

WithBody adds the body to the create network subnet params

func (*CreateNetworkSubnetParams) WithContext added in v1.5.0

WithContext adds the context to the create network subnet params

func (*CreateNetworkSubnetParams) WithDefaults added in v1.5.0

WithDefaults hydrates default values in the create network subnet params (not the query body).

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

func (*CreateNetworkSubnetParams) WithHTTPClient added in v1.5.0

func (o *CreateNetworkSubnetParams) WithHTTPClient(client *http.Client) *CreateNetworkSubnetParams

WithHTTPClient adds the HTTPClient to the create network subnet params

func (*CreateNetworkSubnetParams) WithNetworkID added in v1.5.0

func (o *CreateNetworkSubnetParams) WithNetworkID(networkID string) *CreateNetworkSubnetParams

WithNetworkID adds the networkID to the create network subnet params

func (*CreateNetworkSubnetParams) WithStackID added in v1.5.0

WithStackID adds the stackID to the create network subnet params

func (*CreateNetworkSubnetParams) WithTimeout added in v1.5.0

WithTimeout adds the timeout to the create network subnet params

func (*CreateNetworkSubnetParams) WriteToRequest added in v1.5.0

WriteToRequest writes these params to a swagger request

type CreateNetworkSubnetReader added in v1.5.0

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

CreateNetworkSubnetReader is a Reader for the CreateNetworkSubnet structure.

func (*CreateNetworkSubnetReader) ReadResponse added in v1.5.0

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

ReadResponse reads a server response into the received o.

type CreateNetworkSubnetUnauthorized added in v1.5.0

type CreateNetworkSubnetUnauthorized struct {
	Payload *ipam_models.APIStatus
}
CreateNetworkSubnetUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewCreateNetworkSubnetUnauthorized added in v1.5.0

func NewCreateNetworkSubnetUnauthorized() *CreateNetworkSubnetUnauthorized

NewCreateNetworkSubnetUnauthorized creates a CreateNetworkSubnetUnauthorized with default headers values

func (*CreateNetworkSubnetUnauthorized) Error added in v1.5.0

func (*CreateNetworkSubnetUnauthorized) GetPayload added in v1.5.0

type CreateNetworkUnauthorized

type CreateNetworkUnauthorized struct {
	Payload *ipam_models.APIStatus
}
CreateNetworkUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewCreateNetworkUnauthorized

func NewCreateNetworkUnauthorized() *CreateNetworkUnauthorized

NewCreateNetworkUnauthorized creates a CreateNetworkUnauthorized with default headers values

func (*CreateNetworkUnauthorized) Error

func (o *CreateNetworkUnauthorized) Error() string

func (*CreateNetworkUnauthorized) GetPayload

type CreateRouteDefault

type CreateRouteDefault struct {
	Payload *ipam_models.APIStatus
	// contains filtered or unexported fields
}
CreateRouteDefault describes a response with status code -1, with default header values.

Default error structure.

func NewCreateRouteDefault

func NewCreateRouteDefault(code int) *CreateRouteDefault

NewCreateRouteDefault creates a CreateRouteDefault with default headers values

func (*CreateRouteDefault) Code

func (o *CreateRouteDefault) Code() int

Code gets the status code for the create route default response

func (*CreateRouteDefault) Error

func (o *CreateRouteDefault) Error() string

func (*CreateRouteDefault) GetPayload

func (o *CreateRouteDefault) GetPayload() *ipam_models.APIStatus

type CreateRouteInternalServerError

type CreateRouteInternalServerError struct {
	Payload *ipam_models.APIStatus
}
CreateRouteInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewCreateRouteInternalServerError

func NewCreateRouteInternalServerError() *CreateRouteInternalServerError

NewCreateRouteInternalServerError creates a CreateRouteInternalServerError with default headers values

func (*CreateRouteInternalServerError) Error

func (*CreateRouteInternalServerError) GetPayload

type CreateRouteOK

type CreateRouteOK struct {
	Payload *ipam_models.NetworkCreateRouteResponse
}
CreateRouteOK describes a response with status code 200, with default header values.

CreateRouteOK create route o k

func NewCreateRouteOK

func NewCreateRouteOK() *CreateRouteOK

NewCreateRouteOK creates a CreateRouteOK with default headers values

func (*CreateRouteOK) Error

func (o *CreateRouteOK) Error() string

func (*CreateRouteOK) GetPayload

type CreateRouteParams

type CreateRouteParams struct {

	// Body.
	Body *ipam_models.NetworkCreateRouteRequest

	/* NetworkID.

	   A VPC network ID or slug
	*/
	NetworkID string

	/* StackID.

	   A stack ID or slug
	*/
	StackID string

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

CreateRouteParams contains all the parameters to send to the API endpoint

for the create route operation.

Typically these are written to a http.Request.

func NewCreateRouteParams

func NewCreateRouteParams() *CreateRouteParams

NewCreateRouteParams creates a new CreateRouteParams 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 NewCreateRouteParamsWithContext

func NewCreateRouteParamsWithContext(ctx context.Context) *CreateRouteParams

NewCreateRouteParamsWithContext creates a new CreateRouteParams object with the ability to set a context for a request.

func NewCreateRouteParamsWithHTTPClient

func NewCreateRouteParamsWithHTTPClient(client *http.Client) *CreateRouteParams

NewCreateRouteParamsWithHTTPClient creates a new CreateRouteParams object with the ability to set a custom HTTPClient for a request.

func NewCreateRouteParamsWithTimeout

func NewCreateRouteParamsWithTimeout(timeout time.Duration) *CreateRouteParams

NewCreateRouteParamsWithTimeout creates a new CreateRouteParams object with the ability to set a timeout on a request.

func (*CreateRouteParams) SetBody

SetBody adds the body to the create route params

func (*CreateRouteParams) SetContext

func (o *CreateRouteParams) SetContext(ctx context.Context)

SetContext adds the context to the create route params

func (*CreateRouteParams) SetDefaults

func (o *CreateRouteParams) SetDefaults()

SetDefaults hydrates default values in the create route params (not the query body).

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

func (*CreateRouteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create route params

func (*CreateRouteParams) SetNetworkID

func (o *CreateRouteParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the create route params

func (*CreateRouteParams) SetStackID

func (o *CreateRouteParams) SetStackID(stackID string)

SetStackID adds the stackId to the create route params

func (*CreateRouteParams) SetTimeout

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

SetTimeout adds the timeout to the create route params

func (*CreateRouteParams) WithBody

WithBody adds the body to the create route params

func (*CreateRouteParams) WithContext

func (o *CreateRouteParams) WithContext(ctx context.Context) *CreateRouteParams

WithContext adds the context to the create route params

func (*CreateRouteParams) WithDefaults

func (o *CreateRouteParams) WithDefaults() *CreateRouteParams

WithDefaults hydrates default values in the create route params (not the query body).

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

func (*CreateRouteParams) WithHTTPClient

func (o *CreateRouteParams) WithHTTPClient(client *http.Client) *CreateRouteParams

WithHTTPClient adds the HTTPClient to the create route params

func (*CreateRouteParams) WithNetworkID

func (o *CreateRouteParams) WithNetworkID(networkID string) *CreateRouteParams

WithNetworkID adds the networkID to the create route params

func (*CreateRouteParams) WithStackID

func (o *CreateRouteParams) WithStackID(stackID string) *CreateRouteParams

WithStackID adds the stackID to the create route params

func (*CreateRouteParams) WithTimeout

func (o *CreateRouteParams) WithTimeout(timeout time.Duration) *CreateRouteParams

WithTimeout adds the timeout to the create route params

func (*CreateRouteParams) WriteToRequest

func (o *CreateRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateRouteReader

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

CreateRouteReader is a Reader for the CreateRoute structure.

func (*CreateRouteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateRouteUnauthorized

type CreateRouteUnauthorized struct {
	Payload *ipam_models.APIStatus
}
CreateRouteUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewCreateRouteUnauthorized

func NewCreateRouteUnauthorized() *CreateRouteUnauthorized

NewCreateRouteUnauthorized creates a CreateRouteUnauthorized with default headers values

func (*CreateRouteUnauthorized) Error

func (o *CreateRouteUnauthorized) Error() string

func (*CreateRouteUnauthorized) GetPayload

type DeleteNetworkDefault

type DeleteNetworkDefault struct {
	Payload *ipam_models.APIStatus
	// contains filtered or unexported fields
}
DeleteNetworkDefault describes a response with status code -1, with default header values.

Default error structure.

func NewDeleteNetworkDefault

func NewDeleteNetworkDefault(code int) *DeleteNetworkDefault

NewDeleteNetworkDefault creates a DeleteNetworkDefault with default headers values

func (*DeleteNetworkDefault) Code

func (o *DeleteNetworkDefault) Code() int

Code gets the status code for the delete network default response

func (*DeleteNetworkDefault) Error

func (o *DeleteNetworkDefault) Error() string

func (*DeleteNetworkDefault) GetPayload

func (o *DeleteNetworkDefault) GetPayload() *ipam_models.APIStatus

type DeleteNetworkInternalServerError

type DeleteNetworkInternalServerError struct {
	Payload *ipam_models.APIStatus
}
DeleteNetworkInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewDeleteNetworkInternalServerError

func NewDeleteNetworkInternalServerError() *DeleteNetworkInternalServerError

NewDeleteNetworkInternalServerError creates a DeleteNetworkInternalServerError with default headers values

func (*DeleteNetworkInternalServerError) Error

func (*DeleteNetworkInternalServerError) GetPayload

type DeleteNetworkNoContent

type DeleteNetworkNoContent struct {
}
DeleteNetworkNoContent describes a response with status code 204, with default header values.

No content

func NewDeleteNetworkNoContent

func NewDeleteNetworkNoContent() *DeleteNetworkNoContent

NewDeleteNetworkNoContent creates a DeleteNetworkNoContent with default headers values

func (*DeleteNetworkNoContent) Error

func (o *DeleteNetworkNoContent) Error() string

type DeleteNetworkParams

type DeleteNetworkParams struct {

	/* NetworkID.

	   A VPC network ID or slug
	*/
	NetworkID string

	/* StackID.

	   A stack ID or slug
	*/
	StackID string

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

DeleteNetworkParams contains all the parameters to send to the API endpoint

for the delete network operation.

Typically these are written to a http.Request.

func NewDeleteNetworkParams

func NewDeleteNetworkParams() *DeleteNetworkParams

NewDeleteNetworkParams creates a new DeleteNetworkParams 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 NewDeleteNetworkParamsWithContext

func NewDeleteNetworkParamsWithContext(ctx context.Context) *DeleteNetworkParams

NewDeleteNetworkParamsWithContext creates a new DeleteNetworkParams object with the ability to set a context for a request.

func NewDeleteNetworkParamsWithHTTPClient

func NewDeleteNetworkParamsWithHTTPClient(client *http.Client) *DeleteNetworkParams

NewDeleteNetworkParamsWithHTTPClient creates a new DeleteNetworkParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNetworkParamsWithTimeout

func NewDeleteNetworkParamsWithTimeout(timeout time.Duration) *DeleteNetworkParams

NewDeleteNetworkParamsWithTimeout creates a new DeleteNetworkParams object with the ability to set a timeout on a request.

func (*DeleteNetworkParams) SetContext

func (o *DeleteNetworkParams) SetContext(ctx context.Context)

SetContext adds the context to the delete network params

func (*DeleteNetworkParams) SetDefaults

func (o *DeleteNetworkParams) SetDefaults()

SetDefaults hydrates default values in the delete network params (not the query body).

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

func (*DeleteNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete network params

func (*DeleteNetworkParams) SetNetworkID

func (o *DeleteNetworkParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the delete network params

func (*DeleteNetworkParams) SetStackID

func (o *DeleteNetworkParams) SetStackID(stackID string)

SetStackID adds the stackId to the delete network params

func (*DeleteNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the delete network params

func (*DeleteNetworkParams) WithContext

WithContext adds the context to the delete network params

func (*DeleteNetworkParams) WithDefaults

func (o *DeleteNetworkParams) WithDefaults() *DeleteNetworkParams

WithDefaults hydrates default values in the delete network params (not the query body).

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

func (*DeleteNetworkParams) WithHTTPClient

func (o *DeleteNetworkParams) WithHTTPClient(client *http.Client) *DeleteNetworkParams

WithHTTPClient adds the HTTPClient to the delete network params

func (*DeleteNetworkParams) WithNetworkID

func (o *DeleteNetworkParams) WithNetworkID(networkID string) *DeleteNetworkParams

WithNetworkID adds the networkID to the delete network params

func (*DeleteNetworkParams) WithStackID

func (o *DeleteNetworkParams) WithStackID(stackID string) *DeleteNetworkParams

WithStackID adds the stackID to the delete network params

func (*DeleteNetworkParams) WithTimeout

func (o *DeleteNetworkParams) WithTimeout(timeout time.Duration) *DeleteNetworkParams

WithTimeout adds the timeout to the delete network params

func (*DeleteNetworkParams) WriteToRequest

func (o *DeleteNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteNetworkReader

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

DeleteNetworkReader is a Reader for the DeleteNetwork structure.

func (*DeleteNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNetworkSubnetDefault added in v1.5.0

type DeleteNetworkSubnetDefault struct {
	Payload *ipam_models.APIStatus
	// contains filtered or unexported fields
}
DeleteNetworkSubnetDefault describes a response with status code -1, with default header values.

Default error structure.

func NewDeleteNetworkSubnetDefault added in v1.5.0

func NewDeleteNetworkSubnetDefault(code int) *DeleteNetworkSubnetDefault

NewDeleteNetworkSubnetDefault creates a DeleteNetworkSubnetDefault with default headers values

func (*DeleteNetworkSubnetDefault) Code added in v1.5.0

func (o *DeleteNetworkSubnetDefault) Code() int

Code gets the status code for the delete network subnet default response

func (*DeleteNetworkSubnetDefault) Error added in v1.5.0

func (*DeleteNetworkSubnetDefault) GetPayload added in v1.5.0

type DeleteNetworkSubnetInternalServerError added in v1.5.0

type DeleteNetworkSubnetInternalServerError struct {
	Payload *ipam_models.APIStatus
}
DeleteNetworkSubnetInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewDeleteNetworkSubnetInternalServerError added in v1.5.0

func NewDeleteNetworkSubnetInternalServerError() *DeleteNetworkSubnetInternalServerError

NewDeleteNetworkSubnetInternalServerError creates a DeleteNetworkSubnetInternalServerError with default headers values

func (*DeleteNetworkSubnetInternalServerError) Error added in v1.5.0

func (*DeleteNetworkSubnetInternalServerError) GetPayload added in v1.5.0

type DeleteNetworkSubnetNoContent added in v1.5.0

type DeleteNetworkSubnetNoContent struct {
}
DeleteNetworkSubnetNoContent describes a response with status code 204, with default header values.

No content

func NewDeleteNetworkSubnetNoContent added in v1.5.0

func NewDeleteNetworkSubnetNoContent() *DeleteNetworkSubnetNoContent

NewDeleteNetworkSubnetNoContent creates a DeleteNetworkSubnetNoContent with default headers values

func (*DeleteNetworkSubnetNoContent) Error added in v1.5.0

type DeleteNetworkSubnetParams added in v1.5.0

type DeleteNetworkSubnetParams struct {

	// NetworkID.
	NetworkID string

	// StackID.
	StackID string

	// SubnetID.
	SubnetID string

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

DeleteNetworkSubnetParams contains all the parameters to send to the API endpoint

for the delete network subnet operation.

Typically these are written to a http.Request.

func NewDeleteNetworkSubnetParams added in v1.5.0

func NewDeleteNetworkSubnetParams() *DeleteNetworkSubnetParams

NewDeleteNetworkSubnetParams creates a new DeleteNetworkSubnetParams 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 NewDeleteNetworkSubnetParamsWithContext added in v1.5.0

func NewDeleteNetworkSubnetParamsWithContext(ctx context.Context) *DeleteNetworkSubnetParams

NewDeleteNetworkSubnetParamsWithContext creates a new DeleteNetworkSubnetParams object with the ability to set a context for a request.

func NewDeleteNetworkSubnetParamsWithHTTPClient added in v1.5.0

func NewDeleteNetworkSubnetParamsWithHTTPClient(client *http.Client) *DeleteNetworkSubnetParams

NewDeleteNetworkSubnetParamsWithHTTPClient creates a new DeleteNetworkSubnetParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNetworkSubnetParamsWithTimeout added in v1.5.0

func NewDeleteNetworkSubnetParamsWithTimeout(timeout time.Duration) *DeleteNetworkSubnetParams

NewDeleteNetworkSubnetParamsWithTimeout creates a new DeleteNetworkSubnetParams object with the ability to set a timeout on a request.

func (*DeleteNetworkSubnetParams) SetContext added in v1.5.0

func (o *DeleteNetworkSubnetParams) SetContext(ctx context.Context)

SetContext adds the context to the delete network subnet params

func (*DeleteNetworkSubnetParams) SetDefaults added in v1.5.0

func (o *DeleteNetworkSubnetParams) SetDefaults()

SetDefaults hydrates default values in the delete network subnet params (not the query body).

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

func (*DeleteNetworkSubnetParams) SetHTTPClient added in v1.5.0

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

SetHTTPClient adds the HTTPClient to the delete network subnet params

func (*DeleteNetworkSubnetParams) SetNetworkID added in v1.5.0

func (o *DeleteNetworkSubnetParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the delete network subnet params

func (*DeleteNetworkSubnetParams) SetStackID added in v1.5.0

func (o *DeleteNetworkSubnetParams) SetStackID(stackID string)

SetStackID adds the stackId to the delete network subnet params

func (*DeleteNetworkSubnetParams) SetSubnetID added in v1.5.0

func (o *DeleteNetworkSubnetParams) SetSubnetID(subnetID string)

SetSubnetID adds the subnetId to the delete network subnet params

func (*DeleteNetworkSubnetParams) SetTimeout added in v1.5.0

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

SetTimeout adds the timeout to the delete network subnet params

func (*DeleteNetworkSubnetParams) WithContext added in v1.5.0

WithContext adds the context to the delete network subnet params

func (*DeleteNetworkSubnetParams) WithDefaults added in v1.5.0

WithDefaults hydrates default values in the delete network subnet params (not the query body).

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

func (*DeleteNetworkSubnetParams) WithHTTPClient added in v1.5.0

func (o *DeleteNetworkSubnetParams) WithHTTPClient(client *http.Client) *DeleteNetworkSubnetParams

WithHTTPClient adds the HTTPClient to the delete network subnet params

func (*DeleteNetworkSubnetParams) WithNetworkID added in v1.5.0

func (o *DeleteNetworkSubnetParams) WithNetworkID(networkID string) *DeleteNetworkSubnetParams

WithNetworkID adds the networkID to the delete network subnet params

func (*DeleteNetworkSubnetParams) WithStackID added in v1.5.0

WithStackID adds the stackID to the delete network subnet params

func (*DeleteNetworkSubnetParams) WithSubnetID added in v1.5.0

func (o *DeleteNetworkSubnetParams) WithSubnetID(subnetID string) *DeleteNetworkSubnetParams

WithSubnetID adds the subnetID to the delete network subnet params

func (*DeleteNetworkSubnetParams) WithTimeout added in v1.5.0

WithTimeout adds the timeout to the delete network subnet params

func (*DeleteNetworkSubnetParams) WriteToRequest added in v1.5.0

WriteToRequest writes these params to a swagger request

type DeleteNetworkSubnetReader added in v1.5.0

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

DeleteNetworkSubnetReader is a Reader for the DeleteNetworkSubnet structure.

func (*DeleteNetworkSubnetReader) ReadResponse added in v1.5.0

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

ReadResponse reads a server response into the received o.

type DeleteNetworkSubnetUnauthorized added in v1.5.0

type DeleteNetworkSubnetUnauthorized struct {
	Payload *ipam_models.APIStatus
}
DeleteNetworkSubnetUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewDeleteNetworkSubnetUnauthorized added in v1.5.0

func NewDeleteNetworkSubnetUnauthorized() *DeleteNetworkSubnetUnauthorized

NewDeleteNetworkSubnetUnauthorized creates a DeleteNetworkSubnetUnauthorized with default headers values

func (*DeleteNetworkSubnetUnauthorized) Error added in v1.5.0

func (*DeleteNetworkSubnetUnauthorized) GetPayload added in v1.5.0

type DeleteNetworkUnauthorized

type DeleteNetworkUnauthorized struct {
	Payload *ipam_models.APIStatus
}
DeleteNetworkUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewDeleteNetworkUnauthorized

func NewDeleteNetworkUnauthorized() *DeleteNetworkUnauthorized

NewDeleteNetworkUnauthorized creates a DeleteNetworkUnauthorized with default headers values

func (*DeleteNetworkUnauthorized) Error

func (o *DeleteNetworkUnauthorized) Error() string

func (*DeleteNetworkUnauthorized) GetPayload

type DeleteRouteDefault

type DeleteRouteDefault struct {
	Payload *ipam_models.APIStatus
	// contains filtered or unexported fields
}
DeleteRouteDefault describes a response with status code -1, with default header values.

Default error structure.

func NewDeleteRouteDefault

func NewDeleteRouteDefault(code int) *DeleteRouteDefault

NewDeleteRouteDefault creates a DeleteRouteDefault with default headers values

func (*DeleteRouteDefault) Code

func (o *DeleteRouteDefault) Code() int

Code gets the status code for the delete route default response

func (*DeleteRouteDefault) Error

func (o *DeleteRouteDefault) Error() string

func (*DeleteRouteDefault) GetPayload

func (o *DeleteRouteDefault) GetPayload() *ipam_models.APIStatus

type DeleteRouteInternalServerError

type DeleteRouteInternalServerError struct {
	Payload *ipam_models.APIStatus
}
DeleteRouteInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewDeleteRouteInternalServerError

func NewDeleteRouteInternalServerError() *DeleteRouteInternalServerError

NewDeleteRouteInternalServerError creates a DeleteRouteInternalServerError with default headers values

func (*DeleteRouteInternalServerError) Error

func (*DeleteRouteInternalServerError) GetPayload

type DeleteRouteNoContent

type DeleteRouteNoContent struct {
}
DeleteRouteNoContent describes a response with status code 204, with default header values.

No content

func NewDeleteRouteNoContent

func NewDeleteRouteNoContent() *DeleteRouteNoContent

NewDeleteRouteNoContent creates a DeleteRouteNoContent with default headers values

func (*DeleteRouteNoContent) Error

func (o *DeleteRouteNoContent) Error() string

type DeleteRouteParams

type DeleteRouteParams struct {

	/* NetworkID.

	   A VPC network ID or slug
	*/
	NetworkID string

	/* RouteID.

	   A VPC route ID
	*/
	RouteID string

	/* StackID.

	   A stack ID or slug
	*/
	StackID string

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

DeleteRouteParams contains all the parameters to send to the API endpoint

for the delete route operation.

Typically these are written to a http.Request.

func NewDeleteRouteParams

func NewDeleteRouteParams() *DeleteRouteParams

NewDeleteRouteParams creates a new DeleteRouteParams 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 NewDeleteRouteParamsWithContext

func NewDeleteRouteParamsWithContext(ctx context.Context) *DeleteRouteParams

NewDeleteRouteParamsWithContext creates a new DeleteRouteParams object with the ability to set a context for a request.

func NewDeleteRouteParamsWithHTTPClient

func NewDeleteRouteParamsWithHTTPClient(client *http.Client) *DeleteRouteParams

NewDeleteRouteParamsWithHTTPClient creates a new DeleteRouteParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteRouteParamsWithTimeout

func NewDeleteRouteParamsWithTimeout(timeout time.Duration) *DeleteRouteParams

NewDeleteRouteParamsWithTimeout creates a new DeleteRouteParams object with the ability to set a timeout on a request.

func (*DeleteRouteParams) SetContext

func (o *DeleteRouteParams) SetContext(ctx context.Context)

SetContext adds the context to the delete route params

func (*DeleteRouteParams) SetDefaults

func (o *DeleteRouteParams) SetDefaults()

SetDefaults hydrates default values in the delete route params (not the query body).

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

func (*DeleteRouteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete route params

func (*DeleteRouteParams) SetNetworkID

func (o *DeleteRouteParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the delete route params

func (*DeleteRouteParams) SetRouteID

func (o *DeleteRouteParams) SetRouteID(routeID string)

SetRouteID adds the routeId to the delete route params

func (*DeleteRouteParams) SetStackID

func (o *DeleteRouteParams) SetStackID(stackID string)

SetStackID adds the stackId to the delete route params

func (*DeleteRouteParams) SetTimeout

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

SetTimeout adds the timeout to the delete route params

func (*DeleteRouteParams) WithContext

func (o *DeleteRouteParams) WithContext(ctx context.Context) *DeleteRouteParams

WithContext adds the context to the delete route params

func (*DeleteRouteParams) WithDefaults

func (o *DeleteRouteParams) WithDefaults() *DeleteRouteParams

WithDefaults hydrates default values in the delete route params (not the query body).

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

func (*DeleteRouteParams) WithHTTPClient

func (o *DeleteRouteParams) WithHTTPClient(client *http.Client) *DeleteRouteParams

WithHTTPClient adds the HTTPClient to the delete route params

func (*DeleteRouteParams) WithNetworkID

func (o *DeleteRouteParams) WithNetworkID(networkID string) *DeleteRouteParams

WithNetworkID adds the networkID to the delete route params

func (*DeleteRouteParams) WithRouteID

func (o *DeleteRouteParams) WithRouteID(routeID string) *DeleteRouteParams

WithRouteID adds the routeID to the delete route params

func (*DeleteRouteParams) WithStackID

func (o *DeleteRouteParams) WithStackID(stackID string) *DeleteRouteParams

WithStackID adds the stackID to the delete route params

func (*DeleteRouteParams) WithTimeout

func (o *DeleteRouteParams) WithTimeout(timeout time.Duration) *DeleteRouteParams

WithTimeout adds the timeout to the delete route params

func (*DeleteRouteParams) WriteToRequest

func (o *DeleteRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteRouteReader

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

DeleteRouteReader is a Reader for the DeleteRoute structure.

func (*DeleteRouteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRouteUnauthorized

type DeleteRouteUnauthorized struct {
	Payload *ipam_models.APIStatus
}
DeleteRouteUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewDeleteRouteUnauthorized

func NewDeleteRouteUnauthorized() *DeleteRouteUnauthorized

NewDeleteRouteUnauthorized creates a DeleteRouteUnauthorized with default headers values

func (*DeleteRouteUnauthorized) Error

func (o *DeleteRouteUnauthorized) Error() string

func (*DeleteRouteUnauthorized) GetPayload

type GetNetworkDefault

type GetNetworkDefault struct {
	Payload *ipam_models.APIStatus
	// contains filtered or unexported fields
}
GetNetworkDefault describes a response with status code -1, with default header values.

Default error structure.

func NewGetNetworkDefault

func NewGetNetworkDefault(code int) *GetNetworkDefault

NewGetNetworkDefault creates a GetNetworkDefault with default headers values

func (*GetNetworkDefault) Code

func (o *GetNetworkDefault) Code() int

Code gets the status code for the get network default response

func (*GetNetworkDefault) Error

func (o *GetNetworkDefault) Error() string

func (*GetNetworkDefault) GetPayload

func (o *GetNetworkDefault) GetPayload() *ipam_models.APIStatus

type GetNetworkInternalServerError

type GetNetworkInternalServerError struct {
	Payload *ipam_models.APIStatus
}
GetNetworkInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewGetNetworkInternalServerError

func NewGetNetworkInternalServerError() *GetNetworkInternalServerError

NewGetNetworkInternalServerError creates a GetNetworkInternalServerError with default headers values

func (*GetNetworkInternalServerError) Error

func (*GetNetworkInternalServerError) GetPayload

type GetNetworkOK

type GetNetworkOK struct {
	Payload *ipam_models.NetworkGetNetworkResponse
}
GetNetworkOK describes a response with status code 200, with default header values.

GetNetworkOK get network o k

func NewGetNetworkOK

func NewGetNetworkOK() *GetNetworkOK

NewGetNetworkOK creates a GetNetworkOK with default headers values

func (*GetNetworkOK) Error

func (o *GetNetworkOK) Error() string

func (*GetNetworkOK) GetPayload

type GetNetworkParams

type GetNetworkParams struct {

	/* NetworkID.

	   A VPC network ID or slug
	*/
	NetworkID string

	/* StackID.

	   A stack ID or slug
	*/
	StackID string

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

GetNetworkParams contains all the parameters to send to the API endpoint

for the get network operation.

Typically these are written to a http.Request.

func NewGetNetworkParams

func NewGetNetworkParams() *GetNetworkParams

NewGetNetworkParams creates a new GetNetworkParams 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 NewGetNetworkParamsWithContext

func NewGetNetworkParamsWithContext(ctx context.Context) *GetNetworkParams

NewGetNetworkParamsWithContext creates a new GetNetworkParams object with the ability to set a context for a request.

func NewGetNetworkParamsWithHTTPClient

func NewGetNetworkParamsWithHTTPClient(client *http.Client) *GetNetworkParams

NewGetNetworkParamsWithHTTPClient creates a new GetNetworkParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkParamsWithTimeout

func NewGetNetworkParamsWithTimeout(timeout time.Duration) *GetNetworkParams

NewGetNetworkParamsWithTimeout creates a new GetNetworkParams object with the ability to set a timeout on a request.

func (*GetNetworkParams) SetContext

func (o *GetNetworkParams) SetContext(ctx context.Context)

SetContext adds the context to the get network params

func (*GetNetworkParams) SetDefaults

func (o *GetNetworkParams) SetDefaults()

SetDefaults hydrates default values in the get network params (not the query body).

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

func (*GetNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network params

func (*GetNetworkParams) SetNetworkID

func (o *GetNetworkParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network params

func (*GetNetworkParams) SetStackID

func (o *GetNetworkParams) SetStackID(stackID string)

SetStackID adds the stackId to the get network params

func (*GetNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the get network params

func (*GetNetworkParams) WithContext

func (o *GetNetworkParams) WithContext(ctx context.Context) *GetNetworkParams

WithContext adds the context to the get network params

func (*GetNetworkParams) WithDefaults

func (o *GetNetworkParams) WithDefaults() *GetNetworkParams

WithDefaults hydrates default values in the get network params (not the query body).

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

func (*GetNetworkParams) WithHTTPClient

func (o *GetNetworkParams) WithHTTPClient(client *http.Client) *GetNetworkParams

WithHTTPClient adds the HTTPClient to the get network params

func (*GetNetworkParams) WithNetworkID

func (o *GetNetworkParams) WithNetworkID(networkID string) *GetNetworkParams

WithNetworkID adds the networkID to the get network params

func (*GetNetworkParams) WithStackID

func (o *GetNetworkParams) WithStackID(stackID string) *GetNetworkParams

WithStackID adds the stackID to the get network params

func (*GetNetworkParams) WithTimeout

func (o *GetNetworkParams) WithTimeout(timeout time.Duration) *GetNetworkParams

WithTimeout adds the timeout to the get network params

func (*GetNetworkParams) WriteToRequest

func (o *GetNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetNetworkReader

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

GetNetworkReader is a Reader for the GetNetwork structure.

func (*GetNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworkSubnetDefault added in v1.5.0

type GetNetworkSubnetDefault struct {
	Payload *ipam_models.APIStatus
	// contains filtered or unexported fields
}
GetNetworkSubnetDefault describes a response with status code -1, with default header values.

Default error structure.

func NewGetNetworkSubnetDefault added in v1.5.0

func NewGetNetworkSubnetDefault(code int) *GetNetworkSubnetDefault

NewGetNetworkSubnetDefault creates a GetNetworkSubnetDefault with default headers values

func (*GetNetworkSubnetDefault) Code added in v1.5.0

func (o *GetNetworkSubnetDefault) Code() int

Code gets the status code for the get network subnet default response

func (*GetNetworkSubnetDefault) Error added in v1.5.0

func (o *GetNetworkSubnetDefault) Error() string

func (*GetNetworkSubnetDefault) GetPayload added in v1.5.0

type GetNetworkSubnetInternalServerError added in v1.5.0

type GetNetworkSubnetInternalServerError struct {
	Payload *ipam_models.APIStatus
}
GetNetworkSubnetInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewGetNetworkSubnetInternalServerError added in v1.5.0

func NewGetNetworkSubnetInternalServerError() *GetNetworkSubnetInternalServerError

NewGetNetworkSubnetInternalServerError creates a GetNetworkSubnetInternalServerError with default headers values

func (*GetNetworkSubnetInternalServerError) Error added in v1.5.0

func (*GetNetworkSubnetInternalServerError) GetPayload added in v1.5.0

type GetNetworkSubnetOK added in v1.5.0

type GetNetworkSubnetOK struct {
	Payload *ipam_models.NetworkGetNetworkSubnetResponse
}
GetNetworkSubnetOK describes a response with status code 200, with default header values.

GetNetworkSubnetOK get network subnet o k

func NewGetNetworkSubnetOK added in v1.5.0

func NewGetNetworkSubnetOK() *GetNetworkSubnetOK

NewGetNetworkSubnetOK creates a GetNetworkSubnetOK with default headers values

func (*GetNetworkSubnetOK) Error added in v1.5.0

func (o *GetNetworkSubnetOK) Error() string

func (*GetNetworkSubnetOK) GetPayload added in v1.5.0

type GetNetworkSubnetParams added in v1.5.0

type GetNetworkSubnetParams struct {

	// NetworkID.
	NetworkID string

	// StackID.
	StackID string

	// SubnetID.
	SubnetID string

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

GetNetworkSubnetParams contains all the parameters to send to the API endpoint

for the get network subnet operation.

Typically these are written to a http.Request.

func NewGetNetworkSubnetParams added in v1.5.0

func NewGetNetworkSubnetParams() *GetNetworkSubnetParams

NewGetNetworkSubnetParams creates a new GetNetworkSubnetParams 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 NewGetNetworkSubnetParamsWithContext added in v1.5.0

func NewGetNetworkSubnetParamsWithContext(ctx context.Context) *GetNetworkSubnetParams

NewGetNetworkSubnetParamsWithContext creates a new GetNetworkSubnetParams object with the ability to set a context for a request.

func NewGetNetworkSubnetParamsWithHTTPClient added in v1.5.0

func NewGetNetworkSubnetParamsWithHTTPClient(client *http.Client) *GetNetworkSubnetParams

NewGetNetworkSubnetParamsWithHTTPClient creates a new GetNetworkSubnetParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSubnetParamsWithTimeout added in v1.5.0

func NewGetNetworkSubnetParamsWithTimeout(timeout time.Duration) *GetNetworkSubnetParams

NewGetNetworkSubnetParamsWithTimeout creates a new GetNetworkSubnetParams object with the ability to set a timeout on a request.

func (*GetNetworkSubnetParams) SetContext added in v1.5.0

func (o *GetNetworkSubnetParams) SetContext(ctx context.Context)

SetContext adds the context to the get network subnet params

func (*GetNetworkSubnetParams) SetDefaults added in v1.5.0

func (o *GetNetworkSubnetParams) SetDefaults()

SetDefaults hydrates default values in the get network subnet params (not the query body).

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

func (*GetNetworkSubnetParams) SetHTTPClient added in v1.5.0

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

SetHTTPClient adds the HTTPClient to the get network subnet params

func (*GetNetworkSubnetParams) SetNetworkID added in v1.5.0

func (o *GetNetworkSubnetParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network subnet params

func (*GetNetworkSubnetParams) SetStackID added in v1.5.0

func (o *GetNetworkSubnetParams) SetStackID(stackID string)

SetStackID adds the stackId to the get network subnet params

func (*GetNetworkSubnetParams) SetSubnetID added in v1.5.0

func (o *GetNetworkSubnetParams) SetSubnetID(subnetID string)

SetSubnetID adds the subnetId to the get network subnet params

func (*GetNetworkSubnetParams) SetTimeout added in v1.5.0

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

SetTimeout adds the timeout to the get network subnet params

func (*GetNetworkSubnetParams) WithContext added in v1.5.0

WithContext adds the context to the get network subnet params

func (*GetNetworkSubnetParams) WithDefaults added in v1.5.0

WithDefaults hydrates default values in the get network subnet params (not the query body).

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

func (*GetNetworkSubnetParams) WithHTTPClient added in v1.5.0

func (o *GetNetworkSubnetParams) WithHTTPClient(client *http.Client) *GetNetworkSubnetParams

WithHTTPClient adds the HTTPClient to the get network subnet params

func (*GetNetworkSubnetParams) WithNetworkID added in v1.5.0

func (o *GetNetworkSubnetParams) WithNetworkID(networkID string) *GetNetworkSubnetParams

WithNetworkID adds the networkID to the get network subnet params

func (*GetNetworkSubnetParams) WithStackID added in v1.5.0

func (o *GetNetworkSubnetParams) WithStackID(stackID string) *GetNetworkSubnetParams

WithStackID adds the stackID to the get network subnet params

func (*GetNetworkSubnetParams) WithSubnetID added in v1.5.0

func (o *GetNetworkSubnetParams) WithSubnetID(subnetID string) *GetNetworkSubnetParams

WithSubnetID adds the subnetID to the get network subnet params

func (*GetNetworkSubnetParams) WithTimeout added in v1.5.0

WithTimeout adds the timeout to the get network subnet params

func (*GetNetworkSubnetParams) WriteToRequest added in v1.5.0

WriteToRequest writes these params to a swagger request

type GetNetworkSubnetReader added in v1.5.0

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

GetNetworkSubnetReader is a Reader for the GetNetworkSubnet structure.

func (*GetNetworkSubnetReader) ReadResponse added in v1.5.0

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

ReadResponse reads a server response into the received o.

type GetNetworkSubnetUnauthorized added in v1.5.0

type GetNetworkSubnetUnauthorized struct {
	Payload *ipam_models.APIStatus
}
GetNetworkSubnetUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewGetNetworkSubnetUnauthorized added in v1.5.0

func NewGetNetworkSubnetUnauthorized() *GetNetworkSubnetUnauthorized

NewGetNetworkSubnetUnauthorized creates a GetNetworkSubnetUnauthorized with default headers values

func (*GetNetworkSubnetUnauthorized) Error added in v1.5.0

func (*GetNetworkSubnetUnauthorized) GetPayload added in v1.5.0

type GetNetworkSubnetsDefault added in v1.5.0

type GetNetworkSubnetsDefault struct {
	Payload *ipam_models.APIStatus
	// contains filtered or unexported fields
}
GetNetworkSubnetsDefault describes a response with status code -1, with default header values.

Default error structure.

func NewGetNetworkSubnetsDefault added in v1.5.0

func NewGetNetworkSubnetsDefault(code int) *GetNetworkSubnetsDefault

NewGetNetworkSubnetsDefault creates a GetNetworkSubnetsDefault with default headers values

func (*GetNetworkSubnetsDefault) Code added in v1.5.0

func (o *GetNetworkSubnetsDefault) Code() int

Code gets the status code for the get network subnets default response

func (*GetNetworkSubnetsDefault) Error added in v1.5.0

func (o *GetNetworkSubnetsDefault) Error() string

func (*GetNetworkSubnetsDefault) GetPayload added in v1.5.0

type GetNetworkSubnetsInternalServerError added in v1.5.0

type GetNetworkSubnetsInternalServerError struct {
	Payload *ipam_models.APIStatus
}
GetNetworkSubnetsInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewGetNetworkSubnetsInternalServerError added in v1.5.0

func NewGetNetworkSubnetsInternalServerError() *GetNetworkSubnetsInternalServerError

NewGetNetworkSubnetsInternalServerError creates a GetNetworkSubnetsInternalServerError with default headers values

func (*GetNetworkSubnetsInternalServerError) Error added in v1.5.0

func (*GetNetworkSubnetsInternalServerError) GetPayload added in v1.5.0

type GetNetworkSubnetsOK added in v1.5.0

type GetNetworkSubnetsOK struct {
	Payload *ipam_models.NetworkGetNetworkSubnetsResponse
}
GetNetworkSubnetsOK describes a response with status code 200, with default header values.

GetNetworkSubnetsOK get network subnets o k

func NewGetNetworkSubnetsOK added in v1.5.0

func NewGetNetworkSubnetsOK() *GetNetworkSubnetsOK

NewGetNetworkSubnetsOK creates a GetNetworkSubnetsOK with default headers values

func (*GetNetworkSubnetsOK) Error added in v1.5.0

func (o *GetNetworkSubnetsOK) Error() string

func (*GetNetworkSubnetsOK) GetPayload added in v1.5.0

type GetNetworkSubnetsParams added in v1.5.0

type GetNetworkSubnetsParams struct {

	// NetworkID.
	NetworkID string

	// PageRequestAfter.
	PageRequestAfter *string

	// PageRequestFilter.
	PageRequestFilter *string

	// PageRequestFirst.
	PageRequestFirst *string

	// PageRequestSortBy.
	PageRequestSortBy *string

	// StackID.
	StackID string

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

GetNetworkSubnetsParams contains all the parameters to send to the API endpoint

for the get network subnets operation.

Typically these are written to a http.Request.

func NewGetNetworkSubnetsParams added in v1.5.0

func NewGetNetworkSubnetsParams() *GetNetworkSubnetsParams

NewGetNetworkSubnetsParams creates a new GetNetworkSubnetsParams 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 NewGetNetworkSubnetsParamsWithContext added in v1.5.0

func NewGetNetworkSubnetsParamsWithContext(ctx context.Context) *GetNetworkSubnetsParams

NewGetNetworkSubnetsParamsWithContext creates a new GetNetworkSubnetsParams object with the ability to set a context for a request.

func NewGetNetworkSubnetsParamsWithHTTPClient added in v1.5.0

func NewGetNetworkSubnetsParamsWithHTTPClient(client *http.Client) *GetNetworkSubnetsParams

NewGetNetworkSubnetsParamsWithHTTPClient creates a new GetNetworkSubnetsParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSubnetsParamsWithTimeout added in v1.5.0

func NewGetNetworkSubnetsParamsWithTimeout(timeout time.Duration) *GetNetworkSubnetsParams

NewGetNetworkSubnetsParamsWithTimeout creates a new GetNetworkSubnetsParams object with the ability to set a timeout on a request.

func (*GetNetworkSubnetsParams) SetContext added in v1.5.0

func (o *GetNetworkSubnetsParams) SetContext(ctx context.Context)

SetContext adds the context to the get network subnets params

func (*GetNetworkSubnetsParams) SetDefaults added in v1.5.0

func (o *GetNetworkSubnetsParams) SetDefaults()

SetDefaults hydrates default values in the get network subnets params (not the query body).

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

func (*GetNetworkSubnetsParams) SetHTTPClient added in v1.5.0

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

SetHTTPClient adds the HTTPClient to the get network subnets params

func (*GetNetworkSubnetsParams) SetNetworkID added in v1.5.0

func (o *GetNetworkSubnetsParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network subnets params

func (*GetNetworkSubnetsParams) SetPageRequestAfter added in v1.5.0

func (o *GetNetworkSubnetsParams) SetPageRequestAfter(pageRequestAfter *string)

SetPageRequestAfter adds the pageRequestAfter to the get network subnets params

func (*GetNetworkSubnetsParams) SetPageRequestFilter added in v1.5.0

func (o *GetNetworkSubnetsParams) SetPageRequestFilter(pageRequestFilter *string)

SetPageRequestFilter adds the pageRequestFilter to the get network subnets params

func (*GetNetworkSubnetsParams) SetPageRequestFirst added in v1.5.0

func (o *GetNetworkSubnetsParams) SetPageRequestFirst(pageRequestFirst *string)

SetPageRequestFirst adds the pageRequestFirst to the get network subnets params

func (*GetNetworkSubnetsParams) SetPageRequestSortBy added in v1.5.0

func (o *GetNetworkSubnetsParams) SetPageRequestSortBy(pageRequestSortBy *string)

SetPageRequestSortBy adds the pageRequestSortBy to the get network subnets params

func (*GetNetworkSubnetsParams) SetStackID added in v1.5.0

func (o *GetNetworkSubnetsParams) SetStackID(stackID string)

SetStackID adds the stackId to the get network subnets params

func (*GetNetworkSubnetsParams) SetTimeout added in v1.5.0

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

SetTimeout adds the timeout to the get network subnets params

func (*GetNetworkSubnetsParams) WithContext added in v1.5.0

WithContext adds the context to the get network subnets params

func (*GetNetworkSubnetsParams) WithDefaults added in v1.5.0

WithDefaults hydrates default values in the get network subnets params (not the query body).

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

func (*GetNetworkSubnetsParams) WithHTTPClient added in v1.5.0

func (o *GetNetworkSubnetsParams) WithHTTPClient(client *http.Client) *GetNetworkSubnetsParams

WithHTTPClient adds the HTTPClient to the get network subnets params

func (*GetNetworkSubnetsParams) WithNetworkID added in v1.5.0

func (o *GetNetworkSubnetsParams) WithNetworkID(networkID string) *GetNetworkSubnetsParams

WithNetworkID adds the networkID to the get network subnets params

func (*GetNetworkSubnetsParams) WithPageRequestAfter added in v1.5.0

func (o *GetNetworkSubnetsParams) WithPageRequestAfter(pageRequestAfter *string) *GetNetworkSubnetsParams

WithPageRequestAfter adds the pageRequestAfter to the get network subnets params

func (*GetNetworkSubnetsParams) WithPageRequestFilter added in v1.5.0

func (o *GetNetworkSubnetsParams) WithPageRequestFilter(pageRequestFilter *string) *GetNetworkSubnetsParams

WithPageRequestFilter adds the pageRequestFilter to the get network subnets params

func (*GetNetworkSubnetsParams) WithPageRequestFirst added in v1.5.0

func (o *GetNetworkSubnetsParams) WithPageRequestFirst(pageRequestFirst *string) *GetNetworkSubnetsParams

WithPageRequestFirst adds the pageRequestFirst to the get network subnets params

func (*GetNetworkSubnetsParams) WithPageRequestSortBy added in v1.5.0

func (o *GetNetworkSubnetsParams) WithPageRequestSortBy(pageRequestSortBy *string) *GetNetworkSubnetsParams

WithPageRequestSortBy adds the pageRequestSortBy to the get network subnets params

func (*GetNetworkSubnetsParams) WithStackID added in v1.5.0

func (o *GetNetworkSubnetsParams) WithStackID(stackID string) *GetNetworkSubnetsParams

WithStackID adds the stackID to the get network subnets params

func (*GetNetworkSubnetsParams) WithTimeout added in v1.5.0

WithTimeout adds the timeout to the get network subnets params

func (*GetNetworkSubnetsParams) WriteToRequest added in v1.5.0

WriteToRequest writes these params to a swagger request

type GetNetworkSubnetsReader added in v1.5.0

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

GetNetworkSubnetsReader is a Reader for the GetNetworkSubnets structure.

func (*GetNetworkSubnetsReader) ReadResponse added in v1.5.0

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

ReadResponse reads a server response into the received o.

type GetNetworkSubnetsUnauthorized added in v1.5.0

type GetNetworkSubnetsUnauthorized struct {
	Payload *ipam_models.APIStatus
}
GetNetworkSubnetsUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewGetNetworkSubnetsUnauthorized added in v1.5.0

func NewGetNetworkSubnetsUnauthorized() *GetNetworkSubnetsUnauthorized

NewGetNetworkSubnetsUnauthorized creates a GetNetworkSubnetsUnauthorized with default headers values

func (*GetNetworkSubnetsUnauthorized) Error added in v1.5.0

func (*GetNetworkSubnetsUnauthorized) GetPayload added in v1.5.0

type GetNetworkUnauthorized

type GetNetworkUnauthorized struct {
	Payload *ipam_models.APIStatus
}
GetNetworkUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewGetNetworkUnauthorized

func NewGetNetworkUnauthorized() *GetNetworkUnauthorized

NewGetNetworkUnauthorized creates a GetNetworkUnauthorized with default headers values

func (*GetNetworkUnauthorized) Error

func (o *GetNetworkUnauthorized) Error() string

func (*GetNetworkUnauthorized) GetPayload

func (o *GetNetworkUnauthorized) GetPayload() *ipam_models.APIStatus

type GetNetworksDefault

type GetNetworksDefault struct {
	Payload *ipam_models.APIStatus
	// contains filtered or unexported fields
}
GetNetworksDefault describes a response with status code -1, with default header values.

Default error structure.

func NewGetNetworksDefault

func NewGetNetworksDefault(code int) *GetNetworksDefault

NewGetNetworksDefault creates a GetNetworksDefault with default headers values

func (*GetNetworksDefault) Code

func (o *GetNetworksDefault) Code() int

Code gets the status code for the get networks default response

func (*GetNetworksDefault) Error

func (o *GetNetworksDefault) Error() string

func (*GetNetworksDefault) GetPayload

func (o *GetNetworksDefault) GetPayload() *ipam_models.APIStatus

type GetNetworksInternalServerError

type GetNetworksInternalServerError struct {
	Payload *ipam_models.APIStatus
}
GetNetworksInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewGetNetworksInternalServerError

func NewGetNetworksInternalServerError() *GetNetworksInternalServerError

NewGetNetworksInternalServerError creates a GetNetworksInternalServerError with default headers values

func (*GetNetworksInternalServerError) Error

func (*GetNetworksInternalServerError) GetPayload

type GetNetworksOK

type GetNetworksOK struct {
	Payload *ipam_models.NetworkGetNetworksResponse
}
GetNetworksOK describes a response with status code 200, with default header values.

GetNetworksOK get networks o k

func NewGetNetworksOK

func NewGetNetworksOK() *GetNetworksOK

NewGetNetworksOK creates a GetNetworksOK with default headers values

func (*GetNetworksOK) Error

func (o *GetNetworksOK) Error() string

func (*GetNetworksOK) GetPayload

type GetNetworksParams

type GetNetworksParams struct {

	/* PageRequestAfter.

	   The cursor value after which data will be returned.
	*/
	PageRequestAfter *string

	/* PageRequestFilter.

	   SQL-style constraint filters.
	*/
	PageRequestFilter *string

	/* PageRequestFirst.

	   The number of items desired.
	*/
	PageRequestFirst *string

	/* PageRequestSortBy.

	   Sort the response by the given field.
	*/
	PageRequestSortBy *string

	/* StackID.

	   A stack ID or slug
	*/
	StackID string

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

GetNetworksParams contains all the parameters to send to the API endpoint

for the get networks operation.

Typically these are written to a http.Request.

func NewGetNetworksParams

func NewGetNetworksParams() *GetNetworksParams

NewGetNetworksParams creates a new GetNetworksParams 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 NewGetNetworksParamsWithContext

func NewGetNetworksParamsWithContext(ctx context.Context) *GetNetworksParams

NewGetNetworksParamsWithContext creates a new GetNetworksParams object with the ability to set a context for a request.

func NewGetNetworksParamsWithHTTPClient

func NewGetNetworksParamsWithHTTPClient(client *http.Client) *GetNetworksParams

NewGetNetworksParamsWithHTTPClient creates a new GetNetworksParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworksParamsWithTimeout

func NewGetNetworksParamsWithTimeout(timeout time.Duration) *GetNetworksParams

NewGetNetworksParamsWithTimeout creates a new GetNetworksParams object with the ability to set a timeout on a request.

func (*GetNetworksParams) SetContext

func (o *GetNetworksParams) SetContext(ctx context.Context)

SetContext adds the context to the get networks params

func (*GetNetworksParams) SetDefaults

func (o *GetNetworksParams) SetDefaults()

SetDefaults hydrates default values in the get networks params (not the query body).

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

func (*GetNetworksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get networks params

func (*GetNetworksParams) SetPageRequestAfter

func (o *GetNetworksParams) SetPageRequestAfter(pageRequestAfter *string)

SetPageRequestAfter adds the pageRequestAfter to the get networks params

func (*GetNetworksParams) SetPageRequestFilter

func (o *GetNetworksParams) SetPageRequestFilter(pageRequestFilter *string)

SetPageRequestFilter adds the pageRequestFilter to the get networks params

func (*GetNetworksParams) SetPageRequestFirst

func (o *GetNetworksParams) SetPageRequestFirst(pageRequestFirst *string)

SetPageRequestFirst adds the pageRequestFirst to the get networks params

func (*GetNetworksParams) SetPageRequestSortBy

func (o *GetNetworksParams) SetPageRequestSortBy(pageRequestSortBy *string)

SetPageRequestSortBy adds the pageRequestSortBy to the get networks params

func (*GetNetworksParams) SetStackID

func (o *GetNetworksParams) SetStackID(stackID string)

SetStackID adds the stackId to the get networks params

func (*GetNetworksParams) SetTimeout

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

SetTimeout adds the timeout to the get networks params

func (*GetNetworksParams) WithContext

func (o *GetNetworksParams) WithContext(ctx context.Context) *GetNetworksParams

WithContext adds the context to the get networks params

func (*GetNetworksParams) WithDefaults

func (o *GetNetworksParams) WithDefaults() *GetNetworksParams

WithDefaults hydrates default values in the get networks params (not the query body).

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

func (*GetNetworksParams) WithHTTPClient

func (o *GetNetworksParams) WithHTTPClient(client *http.Client) *GetNetworksParams

WithHTTPClient adds the HTTPClient to the get networks params

func (*GetNetworksParams) WithPageRequestAfter

func (o *GetNetworksParams) WithPageRequestAfter(pageRequestAfter *string) *GetNetworksParams

WithPageRequestAfter adds the pageRequestAfter to the get networks params

func (*GetNetworksParams) WithPageRequestFilter

func (o *GetNetworksParams) WithPageRequestFilter(pageRequestFilter *string) *GetNetworksParams

WithPageRequestFilter adds the pageRequestFilter to the get networks params

func (*GetNetworksParams) WithPageRequestFirst

func (o *GetNetworksParams) WithPageRequestFirst(pageRequestFirst *string) *GetNetworksParams

WithPageRequestFirst adds the pageRequestFirst to the get networks params

func (*GetNetworksParams) WithPageRequestSortBy

func (o *GetNetworksParams) WithPageRequestSortBy(pageRequestSortBy *string) *GetNetworksParams

WithPageRequestSortBy adds the pageRequestSortBy to the get networks params

func (*GetNetworksParams) WithStackID

func (o *GetNetworksParams) WithStackID(stackID string) *GetNetworksParams

WithStackID adds the stackID to the get networks params

func (*GetNetworksParams) WithTimeout

func (o *GetNetworksParams) WithTimeout(timeout time.Duration) *GetNetworksParams

WithTimeout adds the timeout to the get networks params

func (*GetNetworksParams) WriteToRequest

func (o *GetNetworksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetNetworksReader

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

GetNetworksReader is a Reader for the GetNetworks structure.

func (*GetNetworksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworksUnauthorized

type GetNetworksUnauthorized struct {
	Payload *ipam_models.APIStatus
}
GetNetworksUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewGetNetworksUnauthorized

func NewGetNetworksUnauthorized() *GetNetworksUnauthorized

NewGetNetworksUnauthorized creates a GetNetworksUnauthorized with default headers values

func (*GetNetworksUnauthorized) Error

func (o *GetNetworksUnauthorized) Error() string

func (*GetNetworksUnauthorized) GetPayload

type GetRouteDefault

type GetRouteDefault struct {
	Payload *ipam_models.APIStatus
	// contains filtered or unexported fields
}
GetRouteDefault describes a response with status code -1, with default header values.

Default error structure.

func NewGetRouteDefault

func NewGetRouteDefault(code int) *GetRouteDefault

NewGetRouteDefault creates a GetRouteDefault with default headers values

func (*GetRouteDefault) Code

func (o *GetRouteDefault) Code() int

Code gets the status code for the get route default response

func (*GetRouteDefault) Error

func (o *GetRouteDefault) Error() string

func (*GetRouteDefault) GetPayload

func (o *GetRouteDefault) GetPayload() *ipam_models.APIStatus

type GetRouteInternalServerError

type GetRouteInternalServerError struct {
	Payload *ipam_models.APIStatus
}
GetRouteInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewGetRouteInternalServerError

func NewGetRouteInternalServerError() *GetRouteInternalServerError

NewGetRouteInternalServerError creates a GetRouteInternalServerError with default headers values

func (*GetRouteInternalServerError) Error

func (*GetRouteInternalServerError) GetPayload

type GetRouteOK

type GetRouteOK struct {
	Payload *ipam_models.NetworkGetRouteResponse
}
GetRouteOK describes a response with status code 200, with default header values.

GetRouteOK get route o k

func NewGetRouteOK

func NewGetRouteOK() *GetRouteOK

NewGetRouteOK creates a GetRouteOK with default headers values

func (*GetRouteOK) Error

func (o *GetRouteOK) Error() string

func (*GetRouteOK) GetPayload

type GetRouteParams

type GetRouteParams struct {

	/* NetworkID.

	   A VPC network ID or slug
	*/
	NetworkID string

	/* RouteID.

	   A VPC route ID
	*/
	RouteID string

	/* StackID.

	   A stack ID or slug
	*/
	StackID string

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

GetRouteParams contains all the parameters to send to the API endpoint

for the get route operation.

Typically these are written to a http.Request.

func NewGetRouteParams

func NewGetRouteParams() *GetRouteParams

NewGetRouteParams creates a new GetRouteParams 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 NewGetRouteParamsWithContext

func NewGetRouteParamsWithContext(ctx context.Context) *GetRouteParams

NewGetRouteParamsWithContext creates a new GetRouteParams object with the ability to set a context for a request.

func NewGetRouteParamsWithHTTPClient

func NewGetRouteParamsWithHTTPClient(client *http.Client) *GetRouteParams

NewGetRouteParamsWithHTTPClient creates a new GetRouteParams object with the ability to set a custom HTTPClient for a request.

func NewGetRouteParamsWithTimeout

func NewGetRouteParamsWithTimeout(timeout time.Duration) *GetRouteParams

NewGetRouteParamsWithTimeout creates a new GetRouteParams object with the ability to set a timeout on a request.

func (*GetRouteParams) SetContext

func (o *GetRouteParams) SetContext(ctx context.Context)

SetContext adds the context to the get route params

func (*GetRouteParams) SetDefaults

func (o *GetRouteParams) SetDefaults()

SetDefaults hydrates default values in the get route params (not the query body).

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

func (*GetRouteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get route params

func (*GetRouteParams) SetNetworkID

func (o *GetRouteParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get route params

func (*GetRouteParams) SetRouteID

func (o *GetRouteParams) SetRouteID(routeID string)

SetRouteID adds the routeId to the get route params

func (*GetRouteParams) SetStackID

func (o *GetRouteParams) SetStackID(stackID string)

SetStackID adds the stackId to the get route params

func (*GetRouteParams) SetTimeout

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

SetTimeout adds the timeout to the get route params

func (*GetRouteParams) WithContext

func (o *GetRouteParams) WithContext(ctx context.Context) *GetRouteParams

WithContext adds the context to the get route params

func (*GetRouteParams) WithDefaults

func (o *GetRouteParams) WithDefaults() *GetRouteParams

WithDefaults hydrates default values in the get route params (not the query body).

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

func (*GetRouteParams) WithHTTPClient

func (o *GetRouteParams) WithHTTPClient(client *http.Client) *GetRouteParams

WithHTTPClient adds the HTTPClient to the get route params

func (*GetRouteParams) WithNetworkID

func (o *GetRouteParams) WithNetworkID(networkID string) *GetRouteParams

WithNetworkID adds the networkID to the get route params

func (*GetRouteParams) WithRouteID

func (o *GetRouteParams) WithRouteID(routeID string) *GetRouteParams

WithRouteID adds the routeID to the get route params

func (*GetRouteParams) WithStackID

func (o *GetRouteParams) WithStackID(stackID string) *GetRouteParams

WithStackID adds the stackID to the get route params

func (*GetRouteParams) WithTimeout

func (o *GetRouteParams) WithTimeout(timeout time.Duration) *GetRouteParams

WithTimeout adds the timeout to the get route params

func (*GetRouteParams) WriteToRequest

func (o *GetRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetRouteReader

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

GetRouteReader is a Reader for the GetRoute structure.

func (*GetRouteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRouteUnauthorized

type GetRouteUnauthorized struct {
	Payload *ipam_models.APIStatus
}
GetRouteUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewGetRouteUnauthorized

func NewGetRouteUnauthorized() *GetRouteUnauthorized

NewGetRouteUnauthorized creates a GetRouteUnauthorized with default headers values

func (*GetRouteUnauthorized) Error

func (o *GetRouteUnauthorized) Error() string

func (*GetRouteUnauthorized) GetPayload

func (o *GetRouteUnauthorized) GetPayload() *ipam_models.APIStatus

type GetRoutesDefault

type GetRoutesDefault struct {
	Payload *ipam_models.APIStatus
	// contains filtered or unexported fields
}
GetRoutesDefault describes a response with status code -1, with default header values.

Default error structure.

func NewGetRoutesDefault

func NewGetRoutesDefault(code int) *GetRoutesDefault

NewGetRoutesDefault creates a GetRoutesDefault with default headers values

func (*GetRoutesDefault) Code

func (o *GetRoutesDefault) Code() int

Code gets the status code for the get routes default response

func (*GetRoutesDefault) Error

func (o *GetRoutesDefault) Error() string

func (*GetRoutesDefault) GetPayload

func (o *GetRoutesDefault) GetPayload() *ipam_models.APIStatus

type GetRoutesInternalServerError

type GetRoutesInternalServerError struct {
	Payload *ipam_models.APIStatus
}
GetRoutesInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewGetRoutesInternalServerError

func NewGetRoutesInternalServerError() *GetRoutesInternalServerError

NewGetRoutesInternalServerError creates a GetRoutesInternalServerError with default headers values

func (*GetRoutesInternalServerError) Error

func (*GetRoutesInternalServerError) GetPayload

type GetRoutesOK

type GetRoutesOK struct {
	Payload *ipam_models.NetworkGetRoutesResponse
}
GetRoutesOK describes a response with status code 200, with default header values.

GetRoutesOK get routes o k

func NewGetRoutesOK

func NewGetRoutesOK() *GetRoutesOK

NewGetRoutesOK creates a GetRoutesOK with default headers values

func (*GetRoutesOK) Error

func (o *GetRoutesOK) Error() string

func (*GetRoutesOK) GetPayload

type GetRoutesParams

type GetRoutesParams struct {

	/* NetworkID.

	   A VPC network ID or slug
	*/
	NetworkID string

	/* PageRequestAfter.

	   The cursor value after which data will be returned.
	*/
	PageRequestAfter *string

	/* PageRequestFilter.

	   SQL-style constraint filters.
	*/
	PageRequestFilter *string

	/* PageRequestFirst.

	   The number of items desired.
	*/
	PageRequestFirst *string

	/* PageRequestSortBy.

	   Sort the response by the given field.
	*/
	PageRequestSortBy *string

	/* StackID.

	   A stack ID or slug
	*/
	StackID string

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

GetRoutesParams contains all the parameters to send to the API endpoint

for the get routes operation.

Typically these are written to a http.Request.

func NewGetRoutesParams

func NewGetRoutesParams() *GetRoutesParams

NewGetRoutesParams creates a new GetRoutesParams 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 NewGetRoutesParamsWithContext

func NewGetRoutesParamsWithContext(ctx context.Context) *GetRoutesParams

NewGetRoutesParamsWithContext creates a new GetRoutesParams object with the ability to set a context for a request.

func NewGetRoutesParamsWithHTTPClient

func NewGetRoutesParamsWithHTTPClient(client *http.Client) *GetRoutesParams

NewGetRoutesParamsWithHTTPClient creates a new GetRoutesParams object with the ability to set a custom HTTPClient for a request.

func NewGetRoutesParamsWithTimeout

func NewGetRoutesParamsWithTimeout(timeout time.Duration) *GetRoutesParams

NewGetRoutesParamsWithTimeout creates a new GetRoutesParams object with the ability to set a timeout on a request.

func (*GetRoutesParams) SetContext

func (o *GetRoutesParams) SetContext(ctx context.Context)

SetContext adds the context to the get routes params

func (*GetRoutesParams) SetDefaults

func (o *GetRoutesParams) SetDefaults()

SetDefaults hydrates default values in the get routes params (not the query body).

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

func (*GetRoutesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get routes params

func (*GetRoutesParams) SetNetworkID

func (o *GetRoutesParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get routes params

func (*GetRoutesParams) SetPageRequestAfter

func (o *GetRoutesParams) SetPageRequestAfter(pageRequestAfter *string)

SetPageRequestAfter adds the pageRequestAfter to the get routes params

func (*GetRoutesParams) SetPageRequestFilter

func (o *GetRoutesParams) SetPageRequestFilter(pageRequestFilter *string)

SetPageRequestFilter adds the pageRequestFilter to the get routes params

func (*GetRoutesParams) SetPageRequestFirst

func (o *GetRoutesParams) SetPageRequestFirst(pageRequestFirst *string)

SetPageRequestFirst adds the pageRequestFirst to the get routes params

func (*GetRoutesParams) SetPageRequestSortBy

func (o *GetRoutesParams) SetPageRequestSortBy(pageRequestSortBy *string)

SetPageRequestSortBy adds the pageRequestSortBy to the get routes params

func (*GetRoutesParams) SetStackID

func (o *GetRoutesParams) SetStackID(stackID string)

SetStackID adds the stackId to the get routes params

func (*GetRoutesParams) SetTimeout

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

SetTimeout adds the timeout to the get routes params

func (*GetRoutesParams) WithContext

func (o *GetRoutesParams) WithContext(ctx context.Context) *GetRoutesParams

WithContext adds the context to the get routes params

func (*GetRoutesParams) WithDefaults

func (o *GetRoutesParams) WithDefaults() *GetRoutesParams

WithDefaults hydrates default values in the get routes params (not the query body).

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

func (*GetRoutesParams) WithHTTPClient

func (o *GetRoutesParams) WithHTTPClient(client *http.Client) *GetRoutesParams

WithHTTPClient adds the HTTPClient to the get routes params

func (*GetRoutesParams) WithNetworkID

func (o *GetRoutesParams) WithNetworkID(networkID string) *GetRoutesParams

WithNetworkID adds the networkID to the get routes params

func (*GetRoutesParams) WithPageRequestAfter

func (o *GetRoutesParams) WithPageRequestAfter(pageRequestAfter *string) *GetRoutesParams

WithPageRequestAfter adds the pageRequestAfter to the get routes params

func (*GetRoutesParams) WithPageRequestFilter

func (o *GetRoutesParams) WithPageRequestFilter(pageRequestFilter *string) *GetRoutesParams

WithPageRequestFilter adds the pageRequestFilter to the get routes params

func (*GetRoutesParams) WithPageRequestFirst

func (o *GetRoutesParams) WithPageRequestFirst(pageRequestFirst *string) *GetRoutesParams

WithPageRequestFirst adds the pageRequestFirst to the get routes params

func (*GetRoutesParams) WithPageRequestSortBy

func (o *GetRoutesParams) WithPageRequestSortBy(pageRequestSortBy *string) *GetRoutesParams

WithPageRequestSortBy adds the pageRequestSortBy to the get routes params

func (*GetRoutesParams) WithStackID

func (o *GetRoutesParams) WithStackID(stackID string) *GetRoutesParams

WithStackID adds the stackID to the get routes params

func (*GetRoutesParams) WithTimeout

func (o *GetRoutesParams) WithTimeout(timeout time.Duration) *GetRoutesParams

WithTimeout adds the timeout to the get routes params

func (*GetRoutesParams) WriteToRequest

func (o *GetRoutesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetRoutesReader

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

GetRoutesReader is a Reader for the GetRoutes structure.

func (*GetRoutesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRoutesUnauthorized

type GetRoutesUnauthorized struct {
	Payload *ipam_models.APIStatus
}
GetRoutesUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewGetRoutesUnauthorized

func NewGetRoutesUnauthorized() *GetRoutesUnauthorized

NewGetRoutesUnauthorized creates a GetRoutesUnauthorized with default headers values

func (*GetRoutesUnauthorized) Error

func (o *GetRoutesUnauthorized) Error() string

func (*GetRoutesUnauthorized) GetPayload

func (o *GetRoutesUnauthorized) GetPayload() *ipam_models.APIStatus

type UpdateNetworkDefault

type UpdateNetworkDefault struct {
	Payload *ipam_models.APIStatus
	// contains filtered or unexported fields
}
UpdateNetworkDefault describes a response with status code -1, with default header values.

Default error structure.

func NewUpdateNetworkDefault

func NewUpdateNetworkDefault(code int) *UpdateNetworkDefault

NewUpdateNetworkDefault creates a UpdateNetworkDefault with default headers values

func (*UpdateNetworkDefault) Code

func (o *UpdateNetworkDefault) Code() int

Code gets the status code for the update network default response

func (*UpdateNetworkDefault) Error

func (o *UpdateNetworkDefault) Error() string

func (*UpdateNetworkDefault) GetPayload

func (o *UpdateNetworkDefault) GetPayload() *ipam_models.APIStatus

type UpdateNetworkInternalServerError

type UpdateNetworkInternalServerError struct {
	Payload *ipam_models.APIStatus
}
UpdateNetworkInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewUpdateNetworkInternalServerError

func NewUpdateNetworkInternalServerError() *UpdateNetworkInternalServerError

NewUpdateNetworkInternalServerError creates a UpdateNetworkInternalServerError with default headers values

func (*UpdateNetworkInternalServerError) Error

func (*UpdateNetworkInternalServerError) GetPayload

type UpdateNetworkOK

type UpdateNetworkOK struct {
	Payload *ipam_models.NetworkUpdateNetworkResponse
}
UpdateNetworkOK describes a response with status code 200, with default header values.

UpdateNetworkOK update network o k

func NewUpdateNetworkOK

func NewUpdateNetworkOK() *UpdateNetworkOK

NewUpdateNetworkOK creates a UpdateNetworkOK with default headers values

func (*UpdateNetworkOK) Error

func (o *UpdateNetworkOK) Error() string

func (*UpdateNetworkOK) GetPayload

type UpdateNetworkParams

type UpdateNetworkParams struct {

	// Body.
	Body *ipam_models.NetworkUpdateNetworkRequest

	/* NetworkID.

	   A VPC network ID or slug
	*/
	NetworkID string

	/* StackID.

	   A stack ID or slug
	*/
	StackID string

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

UpdateNetworkParams contains all the parameters to send to the API endpoint

for the update network operation.

Typically these are written to a http.Request.

func NewUpdateNetworkParams

func NewUpdateNetworkParams() *UpdateNetworkParams

NewUpdateNetworkParams creates a new UpdateNetworkParams 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 NewUpdateNetworkParamsWithContext

func NewUpdateNetworkParamsWithContext(ctx context.Context) *UpdateNetworkParams

NewUpdateNetworkParamsWithContext creates a new UpdateNetworkParams object with the ability to set a context for a request.

func NewUpdateNetworkParamsWithHTTPClient

func NewUpdateNetworkParamsWithHTTPClient(client *http.Client) *UpdateNetworkParams

NewUpdateNetworkParamsWithHTTPClient creates a new UpdateNetworkParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkParamsWithTimeout

func NewUpdateNetworkParamsWithTimeout(timeout time.Duration) *UpdateNetworkParams

NewUpdateNetworkParamsWithTimeout creates a new UpdateNetworkParams object with the ability to set a timeout on a request.

func (*UpdateNetworkParams) SetBody

SetBody adds the body to the update network params

func (*UpdateNetworkParams) SetContext

func (o *UpdateNetworkParams) SetContext(ctx context.Context)

SetContext adds the context to the update network params

func (*UpdateNetworkParams) SetDefaults

func (o *UpdateNetworkParams) SetDefaults()

SetDefaults hydrates default values in the update network params (not the query body).

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

func (*UpdateNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update network params

func (*UpdateNetworkParams) SetNetworkID

func (o *UpdateNetworkParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network params

func (*UpdateNetworkParams) SetStackID

func (o *UpdateNetworkParams) SetStackID(stackID string)

SetStackID adds the stackId to the update network params

func (*UpdateNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the update network params

func (*UpdateNetworkParams) WithBody

WithBody adds the body to the update network params

func (*UpdateNetworkParams) WithContext

WithContext adds the context to the update network params

func (*UpdateNetworkParams) WithDefaults

func (o *UpdateNetworkParams) WithDefaults() *UpdateNetworkParams

WithDefaults hydrates default values in the update network params (not the query body).

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

func (*UpdateNetworkParams) WithHTTPClient

func (o *UpdateNetworkParams) WithHTTPClient(client *http.Client) *UpdateNetworkParams

WithHTTPClient adds the HTTPClient to the update network params

func (*UpdateNetworkParams) WithNetworkID

func (o *UpdateNetworkParams) WithNetworkID(networkID string) *UpdateNetworkParams

WithNetworkID adds the networkID to the update network params

func (*UpdateNetworkParams) WithStackID

func (o *UpdateNetworkParams) WithStackID(stackID string) *UpdateNetworkParams

WithStackID adds the stackID to the update network params

func (*UpdateNetworkParams) WithTimeout

func (o *UpdateNetworkParams) WithTimeout(timeout time.Duration) *UpdateNetworkParams

WithTimeout adds the timeout to the update network params

func (*UpdateNetworkParams) WriteToRequest

func (o *UpdateNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateNetworkReader

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

UpdateNetworkReader is a Reader for the UpdateNetwork structure.

func (*UpdateNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNetworkSubnetDefault added in v1.5.0

type UpdateNetworkSubnetDefault struct {
	Payload *ipam_models.APIStatus
	// contains filtered or unexported fields
}
UpdateNetworkSubnetDefault describes a response with status code -1, with default header values.

Default error structure.

func NewUpdateNetworkSubnetDefault added in v1.5.0

func NewUpdateNetworkSubnetDefault(code int) *UpdateNetworkSubnetDefault

NewUpdateNetworkSubnetDefault creates a UpdateNetworkSubnetDefault with default headers values

func (*UpdateNetworkSubnetDefault) Code added in v1.5.0

func (o *UpdateNetworkSubnetDefault) Code() int

Code gets the status code for the update network subnet default response

func (*UpdateNetworkSubnetDefault) Error added in v1.5.0

func (*UpdateNetworkSubnetDefault) GetPayload added in v1.5.0

type UpdateNetworkSubnetInternalServerError added in v1.5.0

type UpdateNetworkSubnetInternalServerError struct {
	Payload *ipam_models.APIStatus
}
UpdateNetworkSubnetInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewUpdateNetworkSubnetInternalServerError added in v1.5.0

func NewUpdateNetworkSubnetInternalServerError() *UpdateNetworkSubnetInternalServerError

NewUpdateNetworkSubnetInternalServerError creates a UpdateNetworkSubnetInternalServerError with default headers values

func (*UpdateNetworkSubnetInternalServerError) Error added in v1.5.0

func (*UpdateNetworkSubnetInternalServerError) GetPayload added in v1.5.0

type UpdateNetworkSubnetOK added in v1.5.0

type UpdateNetworkSubnetOK struct {
	Payload *ipam_models.NetworkUpdateNetworkSubnetResponse
}
UpdateNetworkSubnetOK describes a response with status code 200, with default header values.

UpdateNetworkSubnetOK update network subnet o k

func NewUpdateNetworkSubnetOK added in v1.5.0

func NewUpdateNetworkSubnetOK() *UpdateNetworkSubnetOK

NewUpdateNetworkSubnetOK creates a UpdateNetworkSubnetOK with default headers values

func (*UpdateNetworkSubnetOK) Error added in v1.5.0

func (o *UpdateNetworkSubnetOK) Error() string

func (*UpdateNetworkSubnetOK) GetPayload added in v1.5.0

type UpdateNetworkSubnetParams added in v1.5.0

type UpdateNetworkSubnetParams struct {

	// Body.
	Body *ipam_models.NetworkUpdateNetworkSubnetRequest

	// NetworkID.
	NetworkID string

	// StackID.
	StackID string

	// SubnetID.
	SubnetID string

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

UpdateNetworkSubnetParams contains all the parameters to send to the API endpoint

for the update network subnet operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSubnetParams added in v1.5.0

func NewUpdateNetworkSubnetParams() *UpdateNetworkSubnetParams

NewUpdateNetworkSubnetParams creates a new UpdateNetworkSubnetParams 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 NewUpdateNetworkSubnetParamsWithContext added in v1.5.0

func NewUpdateNetworkSubnetParamsWithContext(ctx context.Context) *UpdateNetworkSubnetParams

NewUpdateNetworkSubnetParamsWithContext creates a new UpdateNetworkSubnetParams object with the ability to set a context for a request.

func NewUpdateNetworkSubnetParamsWithHTTPClient added in v1.5.0

func NewUpdateNetworkSubnetParamsWithHTTPClient(client *http.Client) *UpdateNetworkSubnetParams

NewUpdateNetworkSubnetParamsWithHTTPClient creates a new UpdateNetworkSubnetParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSubnetParamsWithTimeout added in v1.5.0

func NewUpdateNetworkSubnetParamsWithTimeout(timeout time.Duration) *UpdateNetworkSubnetParams

NewUpdateNetworkSubnetParamsWithTimeout creates a new UpdateNetworkSubnetParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSubnetParams) SetBody added in v1.5.0

SetBody adds the body to the update network subnet params

func (*UpdateNetworkSubnetParams) SetContext added in v1.5.0

func (o *UpdateNetworkSubnetParams) SetContext(ctx context.Context)

SetContext adds the context to the update network subnet params

func (*UpdateNetworkSubnetParams) SetDefaults added in v1.5.0

func (o *UpdateNetworkSubnetParams) SetDefaults()

SetDefaults hydrates default values in the update network subnet params (not the query body).

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

func (*UpdateNetworkSubnetParams) SetHTTPClient added in v1.5.0

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

SetHTTPClient adds the HTTPClient to the update network subnet params

func (*UpdateNetworkSubnetParams) SetNetworkID added in v1.5.0

func (o *UpdateNetworkSubnetParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network subnet params

func (*UpdateNetworkSubnetParams) SetStackID added in v1.5.0

func (o *UpdateNetworkSubnetParams) SetStackID(stackID string)

SetStackID adds the stackId to the update network subnet params

func (*UpdateNetworkSubnetParams) SetSubnetID added in v1.5.0

func (o *UpdateNetworkSubnetParams) SetSubnetID(subnetID string)

SetSubnetID adds the subnetId to the update network subnet params

func (*UpdateNetworkSubnetParams) SetTimeout added in v1.5.0

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

SetTimeout adds the timeout to the update network subnet params

func (*UpdateNetworkSubnetParams) WithBody added in v1.5.0

WithBody adds the body to the update network subnet params

func (*UpdateNetworkSubnetParams) WithContext added in v1.5.0

WithContext adds the context to the update network subnet params

func (*UpdateNetworkSubnetParams) WithDefaults added in v1.5.0

WithDefaults hydrates default values in the update network subnet params (not the query body).

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

func (*UpdateNetworkSubnetParams) WithHTTPClient added in v1.5.0

func (o *UpdateNetworkSubnetParams) WithHTTPClient(client *http.Client) *UpdateNetworkSubnetParams

WithHTTPClient adds the HTTPClient to the update network subnet params

func (*UpdateNetworkSubnetParams) WithNetworkID added in v1.5.0

func (o *UpdateNetworkSubnetParams) WithNetworkID(networkID string) *UpdateNetworkSubnetParams

WithNetworkID adds the networkID to the update network subnet params

func (*UpdateNetworkSubnetParams) WithStackID added in v1.5.0

WithStackID adds the stackID to the update network subnet params

func (*UpdateNetworkSubnetParams) WithSubnetID added in v1.5.0

func (o *UpdateNetworkSubnetParams) WithSubnetID(subnetID string) *UpdateNetworkSubnetParams

WithSubnetID adds the subnetID to the update network subnet params

func (*UpdateNetworkSubnetParams) WithTimeout added in v1.5.0

WithTimeout adds the timeout to the update network subnet params

func (*UpdateNetworkSubnetParams) WriteToRequest added in v1.5.0

WriteToRequest writes these params to a swagger request

type UpdateNetworkSubnetReader added in v1.5.0

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

UpdateNetworkSubnetReader is a Reader for the UpdateNetworkSubnet structure.

func (*UpdateNetworkSubnetReader) ReadResponse added in v1.5.0

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

ReadResponse reads a server response into the received o.

type UpdateNetworkSubnetUnauthorized added in v1.5.0

type UpdateNetworkSubnetUnauthorized struct {
	Payload *ipam_models.APIStatus
}
UpdateNetworkSubnetUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewUpdateNetworkSubnetUnauthorized added in v1.5.0

func NewUpdateNetworkSubnetUnauthorized() *UpdateNetworkSubnetUnauthorized

NewUpdateNetworkSubnetUnauthorized creates a UpdateNetworkSubnetUnauthorized with default headers values

func (*UpdateNetworkSubnetUnauthorized) Error added in v1.5.0

func (*UpdateNetworkSubnetUnauthorized) GetPayload added in v1.5.0

type UpdateNetworkUnauthorized

type UpdateNetworkUnauthorized struct {
	Payload *ipam_models.APIStatus
}
UpdateNetworkUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewUpdateNetworkUnauthorized

func NewUpdateNetworkUnauthorized() *UpdateNetworkUnauthorized

NewUpdateNetworkUnauthorized creates a UpdateNetworkUnauthorized with default headers values

func (*UpdateNetworkUnauthorized) Error

func (o *UpdateNetworkUnauthorized) Error() string

func (*UpdateNetworkUnauthorized) GetPayload

type UpdateRouteDefault

type UpdateRouteDefault struct {
	Payload *ipam_models.APIStatus
	// contains filtered or unexported fields
}
UpdateRouteDefault describes a response with status code -1, with default header values.

Default error structure.

func NewUpdateRouteDefault

func NewUpdateRouteDefault(code int) *UpdateRouteDefault

NewUpdateRouteDefault creates a UpdateRouteDefault with default headers values

func (*UpdateRouteDefault) Code

func (o *UpdateRouteDefault) Code() int

Code gets the status code for the update route default response

func (*UpdateRouteDefault) Error

func (o *UpdateRouteDefault) Error() string

func (*UpdateRouteDefault) GetPayload

func (o *UpdateRouteDefault) GetPayload() *ipam_models.APIStatus

type UpdateRouteInternalServerError

type UpdateRouteInternalServerError struct {
	Payload *ipam_models.APIStatus
}
UpdateRouteInternalServerError describes a response with status code 500, with default header values.

Internal server error.

func NewUpdateRouteInternalServerError

func NewUpdateRouteInternalServerError() *UpdateRouteInternalServerError

NewUpdateRouteInternalServerError creates a UpdateRouteInternalServerError with default headers values

func (*UpdateRouteInternalServerError) Error

func (*UpdateRouteInternalServerError) GetPayload

type UpdateRouteOK

type UpdateRouteOK struct {
	Payload *ipam_models.NetworkUpdateRouteResponse
}
UpdateRouteOK describes a response with status code 200, with default header values.

UpdateRouteOK update route o k

func NewUpdateRouteOK

func NewUpdateRouteOK() *UpdateRouteOK

NewUpdateRouteOK creates a UpdateRouteOK with default headers values

func (*UpdateRouteOK) Error

func (o *UpdateRouteOK) Error() string

func (*UpdateRouteOK) GetPayload

type UpdateRouteParams

type UpdateRouteParams struct {

	// Body.
	Body *ipam_models.NetworkUpdateRouteRequest

	/* NetworkID.

	   A VPC network ID or slug
	*/
	NetworkID string

	/* RouteID.

	   A VPC route ID
	*/
	RouteID string

	/* StackID.

	   A stack ID or slug
	*/
	StackID string

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

UpdateRouteParams contains all the parameters to send to the API endpoint

for the update route operation.

Typically these are written to a http.Request.

func NewUpdateRouteParams

func NewUpdateRouteParams() *UpdateRouteParams

NewUpdateRouteParams creates a new UpdateRouteParams 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 NewUpdateRouteParamsWithContext

func NewUpdateRouteParamsWithContext(ctx context.Context) *UpdateRouteParams

NewUpdateRouteParamsWithContext creates a new UpdateRouteParams object with the ability to set a context for a request.

func NewUpdateRouteParamsWithHTTPClient

func NewUpdateRouteParamsWithHTTPClient(client *http.Client) *UpdateRouteParams

NewUpdateRouteParamsWithHTTPClient creates a new UpdateRouteParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateRouteParamsWithTimeout

func NewUpdateRouteParamsWithTimeout(timeout time.Duration) *UpdateRouteParams

NewUpdateRouteParamsWithTimeout creates a new UpdateRouteParams object with the ability to set a timeout on a request.

func (*UpdateRouteParams) SetBody

SetBody adds the body to the update route params

func (*UpdateRouteParams) SetContext

func (o *UpdateRouteParams) SetContext(ctx context.Context)

SetContext adds the context to the update route params

func (*UpdateRouteParams) SetDefaults

func (o *UpdateRouteParams) SetDefaults()

SetDefaults hydrates default values in the update route params (not the query body).

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

func (*UpdateRouteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update route params

func (*UpdateRouteParams) SetNetworkID

func (o *UpdateRouteParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update route params

func (*UpdateRouteParams) SetRouteID

func (o *UpdateRouteParams) SetRouteID(routeID string)

SetRouteID adds the routeId to the update route params

func (*UpdateRouteParams) SetStackID

func (o *UpdateRouteParams) SetStackID(stackID string)

SetStackID adds the stackId to the update route params

func (*UpdateRouteParams) SetTimeout

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

SetTimeout adds the timeout to the update route params

func (*UpdateRouteParams) WithBody

WithBody adds the body to the update route params

func (*UpdateRouteParams) WithContext

func (o *UpdateRouteParams) WithContext(ctx context.Context) *UpdateRouteParams

WithContext adds the context to the update route params

func (*UpdateRouteParams) WithDefaults

func (o *UpdateRouteParams) WithDefaults() *UpdateRouteParams

WithDefaults hydrates default values in the update route params (not the query body).

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

func (*UpdateRouteParams) WithHTTPClient

func (o *UpdateRouteParams) WithHTTPClient(client *http.Client) *UpdateRouteParams

WithHTTPClient adds the HTTPClient to the update route params

func (*UpdateRouteParams) WithNetworkID

func (o *UpdateRouteParams) WithNetworkID(networkID string) *UpdateRouteParams

WithNetworkID adds the networkID to the update route params

func (*UpdateRouteParams) WithRouteID

func (o *UpdateRouteParams) WithRouteID(routeID string) *UpdateRouteParams

WithRouteID adds the routeID to the update route params

func (*UpdateRouteParams) WithStackID

func (o *UpdateRouteParams) WithStackID(stackID string) *UpdateRouteParams

WithStackID adds the stackID to the update route params

func (*UpdateRouteParams) WithTimeout

func (o *UpdateRouteParams) WithTimeout(timeout time.Duration) *UpdateRouteParams

WithTimeout adds the timeout to the update route params

func (*UpdateRouteParams) WriteToRequest

func (o *UpdateRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateRouteReader

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

UpdateRouteReader is a Reader for the UpdateRoute structure.

func (*UpdateRouteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateRouteUnauthorized

type UpdateRouteUnauthorized struct {
	Payload *ipam_models.APIStatus
}
UpdateRouteUnauthorized describes a response with status code 401, with default header values.

Returned when an unauthorized request is attempted.

func NewUpdateRouteUnauthorized

func NewUpdateRouteUnauthorized() *UpdateRouteUnauthorized

NewUpdateRouteUnauthorized creates a UpdateRouteUnauthorized with default headers values

func (*UpdateRouteUnauthorized) Error

func (o *UpdateRouteUnauthorized) Error() string

func (*UpdateRouteUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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