network_pools

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddIPPoolToNetworkOfNetworkPoolBadRequest

type AddIPPoolToNetworkOfNetworkPoolBadRequest struct {
	Payload *models.Error
}

AddIPPoolToNetworkOfNetworkPoolBadRequest describes a response with status code 400, with default header values.

IP range validation failed error

func NewAddIPPoolToNetworkOfNetworkPoolBadRequest

func NewAddIPPoolToNetworkOfNetworkPoolBadRequest() *AddIPPoolToNetworkOfNetworkPoolBadRequest

NewAddIPPoolToNetworkOfNetworkPoolBadRequest creates a AddIPPoolToNetworkOfNetworkPoolBadRequest with default headers values

func (*AddIPPoolToNetworkOfNetworkPoolBadRequest) Error

func (*AddIPPoolToNetworkOfNetworkPoolBadRequest) GetPayload

func (*AddIPPoolToNetworkOfNetworkPoolBadRequest) IsClientError

IsClientError returns true when this add Ip pool to network of network pool bad request response has a 4xx status code

func (*AddIPPoolToNetworkOfNetworkPoolBadRequest) IsCode

IsCode returns true when this add Ip pool to network of network pool bad request response a status code equal to that given

func (*AddIPPoolToNetworkOfNetworkPoolBadRequest) IsRedirect

IsRedirect returns true when this add Ip pool to network of network pool bad request response has a 3xx status code

func (*AddIPPoolToNetworkOfNetworkPoolBadRequest) IsServerError

IsServerError returns true when this add Ip pool to network of network pool bad request response has a 5xx status code

func (*AddIPPoolToNetworkOfNetworkPoolBadRequest) IsSuccess

IsSuccess returns true when this add Ip pool to network of network pool bad request response has a 2xx status code

func (*AddIPPoolToNetworkOfNetworkPoolBadRequest) String

type AddIPPoolToNetworkOfNetworkPoolInternalServerError

type AddIPPoolToNetworkOfNetworkPoolInternalServerError struct {
	Payload *models.Error
}

AddIPPoolToNetworkOfNetworkPoolInternalServerError describes a response with status code 500, with default header values.

Unexpected error

func NewAddIPPoolToNetworkOfNetworkPoolInternalServerError

func NewAddIPPoolToNetworkOfNetworkPoolInternalServerError() *AddIPPoolToNetworkOfNetworkPoolInternalServerError

NewAddIPPoolToNetworkOfNetworkPoolInternalServerError creates a AddIPPoolToNetworkOfNetworkPoolInternalServerError with default headers values

func (*AddIPPoolToNetworkOfNetworkPoolInternalServerError) Error

func (*AddIPPoolToNetworkOfNetworkPoolInternalServerError) GetPayload

func (*AddIPPoolToNetworkOfNetworkPoolInternalServerError) IsClientError

IsClientError returns true when this add Ip pool to network of network pool internal server error response has a 4xx status code

func (*AddIPPoolToNetworkOfNetworkPoolInternalServerError) IsCode

IsCode returns true when this add Ip pool to network of network pool internal server error response a status code equal to that given

func (*AddIPPoolToNetworkOfNetworkPoolInternalServerError) IsRedirect

IsRedirect returns true when this add Ip pool to network of network pool internal server error response has a 3xx status code

func (*AddIPPoolToNetworkOfNetworkPoolInternalServerError) IsServerError

IsServerError returns true when this add Ip pool to network of network pool internal server error response has a 5xx status code

func (*AddIPPoolToNetworkOfNetworkPoolInternalServerError) IsSuccess

IsSuccess returns true when this add Ip pool to network of network pool internal server error response has a 2xx status code

func (*AddIPPoolToNetworkOfNetworkPoolInternalServerError) String

type AddIPPoolToNetworkOfNetworkPoolNotFound

type AddIPPoolToNetworkOfNetworkPoolNotFound struct {
	Payload *models.Error
}

AddIPPoolToNetworkOfNetworkPoolNotFound describes a response with status code 404, with default header values.

Either Network Pool ID or Network ID not found

func NewAddIPPoolToNetworkOfNetworkPoolNotFound

func NewAddIPPoolToNetworkOfNetworkPoolNotFound() *AddIPPoolToNetworkOfNetworkPoolNotFound

NewAddIPPoolToNetworkOfNetworkPoolNotFound creates a AddIPPoolToNetworkOfNetworkPoolNotFound with default headers values

func (*AddIPPoolToNetworkOfNetworkPoolNotFound) Error

func (*AddIPPoolToNetworkOfNetworkPoolNotFound) GetPayload

func (*AddIPPoolToNetworkOfNetworkPoolNotFound) IsClientError

func (o *AddIPPoolToNetworkOfNetworkPoolNotFound) IsClientError() bool

IsClientError returns true when this add Ip pool to network of network pool not found response has a 4xx status code

func (*AddIPPoolToNetworkOfNetworkPoolNotFound) IsCode

IsCode returns true when this add Ip pool to network of network pool not found response a status code equal to that given

func (*AddIPPoolToNetworkOfNetworkPoolNotFound) IsRedirect

IsRedirect returns true when this add Ip pool to network of network pool not found response has a 3xx status code

func (*AddIPPoolToNetworkOfNetworkPoolNotFound) IsServerError

func (o *AddIPPoolToNetworkOfNetworkPoolNotFound) IsServerError() bool

IsServerError returns true when this add Ip pool to network of network pool not found response has a 5xx status code

func (*AddIPPoolToNetworkOfNetworkPoolNotFound) IsSuccess

IsSuccess returns true when this add Ip pool to network of network pool not found response has a 2xx status code

func (*AddIPPoolToNetworkOfNetworkPoolNotFound) String

type AddIPPoolToNetworkOfNetworkPoolOK

type AddIPPoolToNetworkOfNetworkPoolOK struct {
	Payload *models.Network
}

AddIPPoolToNetworkOfNetworkPoolOK describes a response with status code 200, with default header values.

Add the IP Pool associated with a Network of a Network Pool

func NewAddIPPoolToNetworkOfNetworkPoolOK

func NewAddIPPoolToNetworkOfNetworkPoolOK() *AddIPPoolToNetworkOfNetworkPoolOK

NewAddIPPoolToNetworkOfNetworkPoolOK creates a AddIPPoolToNetworkOfNetworkPoolOK with default headers values

func (*AddIPPoolToNetworkOfNetworkPoolOK) Error

func (*AddIPPoolToNetworkOfNetworkPoolOK) GetPayload

func (*AddIPPoolToNetworkOfNetworkPoolOK) IsClientError

func (o *AddIPPoolToNetworkOfNetworkPoolOK) IsClientError() bool

IsClientError returns true when this add Ip pool to network of network pool o k response has a 4xx status code

func (*AddIPPoolToNetworkOfNetworkPoolOK) IsCode

func (o *AddIPPoolToNetworkOfNetworkPoolOK) IsCode(code int) bool

IsCode returns true when this add Ip pool to network of network pool o k response a status code equal to that given

func (*AddIPPoolToNetworkOfNetworkPoolOK) IsRedirect

func (o *AddIPPoolToNetworkOfNetworkPoolOK) IsRedirect() bool

IsRedirect returns true when this add Ip pool to network of network pool o k response has a 3xx status code

func (*AddIPPoolToNetworkOfNetworkPoolOK) IsServerError

func (o *AddIPPoolToNetworkOfNetworkPoolOK) IsServerError() bool

IsServerError returns true when this add Ip pool to network of network pool o k response has a 5xx status code

func (*AddIPPoolToNetworkOfNetworkPoolOK) IsSuccess

func (o *AddIPPoolToNetworkOfNetworkPoolOK) IsSuccess() bool

IsSuccess returns true when this add Ip pool to network of network pool o k response has a 2xx status code

func (*AddIPPoolToNetworkOfNetworkPoolOK) String

type AddIPPoolToNetworkOfNetworkPoolParams

type AddIPPoolToNetworkOfNetworkPoolParams struct {

	/* ID.

	   Id of the networkpoolk
	*/
	ID string

	/* IPPool.

	   ipPool
	*/
	IPPool *models.IPPool

	/* NetworkID.

	   Id of the network
	*/
	NetworkID string

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

AddIPPoolToNetworkOfNetworkPoolParams contains all the parameters to send to the API endpoint

for the add Ip pool to network of network pool operation.

Typically these are written to a http.Request.

func NewAddIPPoolToNetworkOfNetworkPoolParams

func NewAddIPPoolToNetworkOfNetworkPoolParams() *AddIPPoolToNetworkOfNetworkPoolParams

NewAddIPPoolToNetworkOfNetworkPoolParams creates a new AddIPPoolToNetworkOfNetworkPoolParams 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 NewAddIPPoolToNetworkOfNetworkPoolParamsWithContext

func NewAddIPPoolToNetworkOfNetworkPoolParamsWithContext(ctx context.Context) *AddIPPoolToNetworkOfNetworkPoolParams

NewAddIPPoolToNetworkOfNetworkPoolParamsWithContext creates a new AddIPPoolToNetworkOfNetworkPoolParams object with the ability to set a context for a request.

func NewAddIPPoolToNetworkOfNetworkPoolParamsWithHTTPClient

func NewAddIPPoolToNetworkOfNetworkPoolParamsWithHTTPClient(client *http.Client) *AddIPPoolToNetworkOfNetworkPoolParams

NewAddIPPoolToNetworkOfNetworkPoolParamsWithHTTPClient creates a new AddIPPoolToNetworkOfNetworkPoolParams object with the ability to set a custom HTTPClient for a request.

func NewAddIPPoolToNetworkOfNetworkPoolParamsWithTimeout

func NewAddIPPoolToNetworkOfNetworkPoolParamsWithTimeout(timeout time.Duration) *AddIPPoolToNetworkOfNetworkPoolParams

NewAddIPPoolToNetworkOfNetworkPoolParamsWithTimeout creates a new AddIPPoolToNetworkOfNetworkPoolParams object with the ability to set a timeout on a request.

func (*AddIPPoolToNetworkOfNetworkPoolParams) SetContext

SetContext adds the context to the add Ip pool to network of network pool params

func (*AddIPPoolToNetworkOfNetworkPoolParams) SetDefaults

func (o *AddIPPoolToNetworkOfNetworkPoolParams) SetDefaults()

SetDefaults hydrates default values in the add Ip pool to network of network pool params (not the query body).

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

func (*AddIPPoolToNetworkOfNetworkPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add Ip pool to network of network pool params

func (*AddIPPoolToNetworkOfNetworkPoolParams) SetID

SetID adds the id to the add Ip pool to network of network pool params

func (*AddIPPoolToNetworkOfNetworkPoolParams) SetIPPool

func (o *AddIPPoolToNetworkOfNetworkPoolParams) SetIPPool(iPPool *models.IPPool)

SetIPPool adds the ipPool to the add Ip pool to network of network pool params

func (*AddIPPoolToNetworkOfNetworkPoolParams) SetNetworkID

func (o *AddIPPoolToNetworkOfNetworkPoolParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the add Ip pool to network of network pool params

func (*AddIPPoolToNetworkOfNetworkPoolParams) SetTimeout

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

SetTimeout adds the timeout to the add Ip pool to network of network pool params

func (*AddIPPoolToNetworkOfNetworkPoolParams) WithContext

WithContext adds the context to the add Ip pool to network of network pool params

func (*AddIPPoolToNetworkOfNetworkPoolParams) WithDefaults

WithDefaults hydrates default values in the add Ip pool to network of network pool params (not the query body).

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

func (*AddIPPoolToNetworkOfNetworkPoolParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add Ip pool to network of network pool params

func (*AddIPPoolToNetworkOfNetworkPoolParams) WithID

WithID adds the id to the add Ip pool to network of network pool params

func (*AddIPPoolToNetworkOfNetworkPoolParams) WithIPPool

WithIPPool adds the iPPool to the add Ip pool to network of network pool params

func (*AddIPPoolToNetworkOfNetworkPoolParams) WithNetworkID

WithNetworkID adds the networkID to the add Ip pool to network of network pool params

func (*AddIPPoolToNetworkOfNetworkPoolParams) WithTimeout

WithTimeout adds the timeout to the add Ip pool to network of network pool params

func (*AddIPPoolToNetworkOfNetworkPoolParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddIPPoolToNetworkOfNetworkPoolReader

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

AddIPPoolToNetworkOfNetworkPoolReader is a Reader for the AddIPPoolToNetworkOfNetworkPool structure.

func (*AddIPPoolToNetworkOfNetworkPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for network pools API

func (*Client) AddIPPoolToNetworkOfNetworkPool

func (a *Client) AddIPPoolToNetworkOfNetworkPool(params *AddIPPoolToNetworkOfNetworkPoolParams, opts ...ClientOption) (*AddIPPoolToNetworkOfNetworkPoolOK, error)

AddIPPoolToNetworkOfNetworkPool adds an IP pool to a network of a network pool

Add an IP Pool to a Network of a Network Pool

func (*Client) CreateNetworkPool

CreateNetworkPool creates a network pool

Create a Network Pool

func (*Client) DeleteIPPoolFromNetworkOfNetworkPool

func (a *Client) DeleteIPPoolFromNetworkOfNetworkPool(params *DeleteIPPoolFromNetworkOfNetworkPoolParams, opts ...ClientOption) (*DeleteIPPoolFromNetworkOfNetworkPoolNoContent, error)

DeleteIPPoolFromNetworkOfNetworkPool deletes an IP pool from a network of a network pool

Delete an IP Pool from a Network of a Network Pool

func (*Client) DeleteNetworkPool

func (a *Client) DeleteNetworkPool(params *DeleteNetworkPoolParams, opts ...ClientOption) (*DeleteNetworkPoolNoContent, error)

DeleteNetworkPool deletes a network pool

Delete the Network Pool by the ID, if it exists and is unused

func (*Client) GetNetworkOfNetworkPool added in v0.1.1

func (a *Client) GetNetworkOfNetworkPool(params *GetNetworkOfNetworkPoolParams, opts ...ClientOption) (*GetNetworkOfNetworkPoolOK, error)

GetNetworkOfNetworkPool gets a network of a network pool

Get a Network that is part of a Network Pool

func (*Client) GetNetworkPool added in v0.1.1

func (a *Client) GetNetworkPool(params *GetNetworkPoolParams, opts ...ClientOption) (*GetNetworkPoolOK, error)

GetNetworkPool gets a network pool

Get a Network Pool by ID, if it exists

func (*Client) GetNetworkPools added in v0.1.1

func (a *Client) GetNetworkPools(params *GetNetworkPoolsParams, opts ...ClientOption) (*GetNetworkPoolsOK, error)

GetNetworkPools gets the network pools

Get the Network Pools

func (*Client) GetNetworksOfNetworkPool added in v0.1.1

func (a *Client) GetNetworksOfNetworkPool(params *GetNetworksOfNetworkPoolParams, opts ...ClientOption) (*GetNetworksOfNetworkPoolOK, error)

GetNetworksOfNetworkPool gets the networks of a network pool

Get the Networks that are part of a Network Pool

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNetworkPool

func (a *Client) UpdateNetworkPool(params *UpdateNetworkPoolParams, opts ...ClientOption) (*UpdateNetworkPoolOK, error)

UpdateNetworkPool updates network pool

Update a Network Pool by ID, if it exists

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddIPPoolToNetworkOfNetworkPool(params *AddIPPoolToNetworkOfNetworkPoolParams, opts ...ClientOption) (*AddIPPoolToNetworkOfNetworkPoolOK, error)

	CreateNetworkPool(params *CreateNetworkPoolParams, opts ...ClientOption) (*CreateNetworkPoolOK, *CreateNetworkPoolCreated, error)

	DeleteIPPoolFromNetworkOfNetworkPool(params *DeleteIPPoolFromNetworkOfNetworkPoolParams, opts ...ClientOption) (*DeleteIPPoolFromNetworkOfNetworkPoolNoContent, error)

	DeleteNetworkPool(params *DeleteNetworkPoolParams, opts ...ClientOption) (*DeleteNetworkPoolNoContent, error)

	GetNetworkOfNetworkPool(params *GetNetworkOfNetworkPoolParams, opts ...ClientOption) (*GetNetworkOfNetworkPoolOK, error)

	GetNetworkPool(params *GetNetworkPoolParams, opts ...ClientOption) (*GetNetworkPoolOK, error)

	GetNetworkPools(params *GetNetworkPoolsParams, opts ...ClientOption) (*GetNetworkPoolsOK, error)

	GetNetworksOfNetworkPool(params *GetNetworksOfNetworkPoolParams, opts ...ClientOption) (*GetNetworksOfNetworkPoolOK, error)

	UpdateNetworkPool(params *UpdateNetworkPoolParams, opts ...ClientOption) (*UpdateNetworkPoolOK, 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 network pools API client.

type CreateNetworkPoolBadRequest

type CreateNetworkPoolBadRequest struct {
	Payload *models.Error
}

CreateNetworkPoolBadRequest describes a response with status code 400, with default header values.

Errors due to network pool validations failures

func NewCreateNetworkPoolBadRequest

func NewCreateNetworkPoolBadRequest() *CreateNetworkPoolBadRequest

NewCreateNetworkPoolBadRequest creates a CreateNetworkPoolBadRequest with default headers values

func (*CreateNetworkPoolBadRequest) Error

func (*CreateNetworkPoolBadRequest) GetPayload

func (o *CreateNetworkPoolBadRequest) GetPayload() *models.Error

func (*CreateNetworkPoolBadRequest) IsClientError

func (o *CreateNetworkPoolBadRequest) IsClientError() bool

IsClientError returns true when this create network pool bad request response has a 4xx status code

func (*CreateNetworkPoolBadRequest) IsCode

func (o *CreateNetworkPoolBadRequest) IsCode(code int) bool

IsCode returns true when this create network pool bad request response a status code equal to that given

func (*CreateNetworkPoolBadRequest) IsRedirect

func (o *CreateNetworkPoolBadRequest) IsRedirect() bool

IsRedirect returns true when this create network pool bad request response has a 3xx status code

func (*CreateNetworkPoolBadRequest) IsServerError

func (o *CreateNetworkPoolBadRequest) IsServerError() bool

IsServerError returns true when this create network pool bad request response has a 5xx status code

func (*CreateNetworkPoolBadRequest) IsSuccess

func (o *CreateNetworkPoolBadRequest) IsSuccess() bool

IsSuccess returns true when this create network pool bad request response has a 2xx status code

func (*CreateNetworkPoolBadRequest) String

func (o *CreateNetworkPoolBadRequest) String() string

type CreateNetworkPoolCreated

type CreateNetworkPoolCreated struct {
	Payload *models.NetworkPool
}

CreateNetworkPoolCreated describes a response with status code 201, with default header values.

The newly created network pool

func NewCreateNetworkPoolCreated

func NewCreateNetworkPoolCreated() *CreateNetworkPoolCreated

NewCreateNetworkPoolCreated creates a CreateNetworkPoolCreated with default headers values

func (*CreateNetworkPoolCreated) Error

func (o *CreateNetworkPoolCreated) Error() string

func (*CreateNetworkPoolCreated) GetPayload

func (o *CreateNetworkPoolCreated) GetPayload() *models.NetworkPool

func (*CreateNetworkPoolCreated) IsClientError

func (o *CreateNetworkPoolCreated) IsClientError() bool

IsClientError returns true when this create network pool created response has a 4xx status code

func (*CreateNetworkPoolCreated) IsCode

func (o *CreateNetworkPoolCreated) IsCode(code int) bool

IsCode returns true when this create network pool created response a status code equal to that given

func (*CreateNetworkPoolCreated) IsRedirect

func (o *CreateNetworkPoolCreated) IsRedirect() bool

IsRedirect returns true when this create network pool created response has a 3xx status code

func (*CreateNetworkPoolCreated) IsServerError

func (o *CreateNetworkPoolCreated) IsServerError() bool

IsServerError returns true when this create network pool created response has a 5xx status code

func (*CreateNetworkPoolCreated) IsSuccess

func (o *CreateNetworkPoolCreated) IsSuccess() bool

IsSuccess returns true when this create network pool created response has a 2xx status code

func (*CreateNetworkPoolCreated) String

func (o *CreateNetworkPoolCreated) String() string

type CreateNetworkPoolInternalServerError

type CreateNetworkPoolInternalServerError struct {
	Payload *models.Error
}

CreateNetworkPoolInternalServerError describes a response with status code 500, with default header values.

Unexpected error

func NewCreateNetworkPoolInternalServerError

func NewCreateNetworkPoolInternalServerError() *CreateNetworkPoolInternalServerError

NewCreateNetworkPoolInternalServerError creates a CreateNetworkPoolInternalServerError with default headers values

func (*CreateNetworkPoolInternalServerError) Error

func (*CreateNetworkPoolInternalServerError) GetPayload

func (*CreateNetworkPoolInternalServerError) IsClientError

func (o *CreateNetworkPoolInternalServerError) IsClientError() bool

IsClientError returns true when this create network pool internal server error response has a 4xx status code

func (*CreateNetworkPoolInternalServerError) IsCode

IsCode returns true when this create network pool internal server error response a status code equal to that given

func (*CreateNetworkPoolInternalServerError) IsRedirect

IsRedirect returns true when this create network pool internal server error response has a 3xx status code

func (*CreateNetworkPoolInternalServerError) IsServerError

func (o *CreateNetworkPoolInternalServerError) IsServerError() bool

IsServerError returns true when this create network pool internal server error response has a 5xx status code

func (*CreateNetworkPoolInternalServerError) IsSuccess

IsSuccess returns true when this create network pool internal server error response has a 2xx status code

func (*CreateNetworkPoolInternalServerError) String

type CreateNetworkPoolOK

type CreateNetworkPoolOK struct {
	Payload *models.NetworkPool
}

CreateNetworkPoolOK describes a response with status code 200, with default header values.

OK

func NewCreateNetworkPoolOK

func NewCreateNetworkPoolOK() *CreateNetworkPoolOK

NewCreateNetworkPoolOK creates a CreateNetworkPoolOK with default headers values

func (*CreateNetworkPoolOK) Error

func (o *CreateNetworkPoolOK) Error() string

func (*CreateNetworkPoolOK) GetPayload

func (o *CreateNetworkPoolOK) GetPayload() *models.NetworkPool

func (*CreateNetworkPoolOK) IsClientError

func (o *CreateNetworkPoolOK) IsClientError() bool

IsClientError returns true when this create network pool o k response has a 4xx status code

func (*CreateNetworkPoolOK) IsCode

func (o *CreateNetworkPoolOK) IsCode(code int) bool

IsCode returns true when this create network pool o k response a status code equal to that given

func (*CreateNetworkPoolOK) IsRedirect

func (o *CreateNetworkPoolOK) IsRedirect() bool

IsRedirect returns true when this create network pool o k response has a 3xx status code

func (*CreateNetworkPoolOK) IsServerError

func (o *CreateNetworkPoolOK) IsServerError() bool

IsServerError returns true when this create network pool o k response has a 5xx status code

func (*CreateNetworkPoolOK) IsSuccess

func (o *CreateNetworkPoolOK) IsSuccess() bool

IsSuccess returns true when this create network pool o k response has a 2xx status code

func (*CreateNetworkPoolOK) String

func (o *CreateNetworkPoolOK) String() string

type CreateNetworkPoolParams

type CreateNetworkPoolParams struct {

	/* NetworkPool.

	   Specification of the Network pool to create
	*/
	NetworkPool *models.NetworkPool

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

CreateNetworkPoolParams contains all the parameters to send to the API endpoint

for the create network pool operation.

Typically these are written to a http.Request.

func NewCreateNetworkPoolParams

func NewCreateNetworkPoolParams() *CreateNetworkPoolParams

NewCreateNetworkPoolParams creates a new CreateNetworkPoolParams 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 NewCreateNetworkPoolParamsWithContext

func NewCreateNetworkPoolParamsWithContext(ctx context.Context) *CreateNetworkPoolParams

NewCreateNetworkPoolParamsWithContext creates a new CreateNetworkPoolParams object with the ability to set a context for a request.

func NewCreateNetworkPoolParamsWithHTTPClient

func NewCreateNetworkPoolParamsWithHTTPClient(client *http.Client) *CreateNetworkPoolParams

NewCreateNetworkPoolParamsWithHTTPClient creates a new CreateNetworkPoolParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNetworkPoolParamsWithTimeout

func NewCreateNetworkPoolParamsWithTimeout(timeout time.Duration) *CreateNetworkPoolParams

NewCreateNetworkPoolParamsWithTimeout creates a new CreateNetworkPoolParams object with the ability to set a timeout on a request.

func (*CreateNetworkPoolParams) SetContext

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

SetContext adds the context to the create network pool params

func (*CreateNetworkPoolParams) SetDefaults

func (o *CreateNetworkPoolParams) SetDefaults()

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

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

func (*CreateNetworkPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create network pool params

func (*CreateNetworkPoolParams) SetNetworkPool

func (o *CreateNetworkPoolParams) SetNetworkPool(networkPool *models.NetworkPool)

SetNetworkPool adds the networkPool to the create network pool params

func (*CreateNetworkPoolParams) SetTimeout

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

SetTimeout adds the timeout to the create network pool params

func (*CreateNetworkPoolParams) WithContext

WithContext adds the context to the create network pool params

func (*CreateNetworkPoolParams) WithDefaults

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

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

func (*CreateNetworkPoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create network pool params

func (*CreateNetworkPoolParams) WithNetworkPool

func (o *CreateNetworkPoolParams) WithNetworkPool(networkPool *models.NetworkPool) *CreateNetworkPoolParams

WithNetworkPool adds the networkPool to the create network pool params

func (*CreateNetworkPoolParams) WithTimeout

WithTimeout adds the timeout to the create network pool params

func (*CreateNetworkPoolParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNetworkPoolReader

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

CreateNetworkPoolReader is a Reader for the CreateNetworkPool structure.

func (*CreateNetworkPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteIPPoolFromNetworkOfNetworkPoolBadRequest

type DeleteIPPoolFromNetworkOfNetworkPoolBadRequest struct {
	Payload *models.Error
}

DeleteIPPoolFromNetworkOfNetworkPoolBadRequest describes a response with status code 400, with default header values.

Errors due to network/networkpool validations failures

func NewDeleteIPPoolFromNetworkOfNetworkPoolBadRequest

func NewDeleteIPPoolFromNetworkOfNetworkPoolBadRequest() *DeleteIPPoolFromNetworkOfNetworkPoolBadRequest

NewDeleteIPPoolFromNetworkOfNetworkPoolBadRequest creates a DeleteIPPoolFromNetworkOfNetworkPoolBadRequest with default headers values

func (*DeleteIPPoolFromNetworkOfNetworkPoolBadRequest) Error

func (*DeleteIPPoolFromNetworkOfNetworkPoolBadRequest) GetPayload

func (*DeleteIPPoolFromNetworkOfNetworkPoolBadRequest) IsClientError

IsClientError returns true when this delete Ip pool from network of network pool bad request response has a 4xx status code

func (*DeleteIPPoolFromNetworkOfNetworkPoolBadRequest) IsCode

IsCode returns true when this delete Ip pool from network of network pool bad request response a status code equal to that given

func (*DeleteIPPoolFromNetworkOfNetworkPoolBadRequest) IsRedirect

IsRedirect returns true when this delete Ip pool from network of network pool bad request response has a 3xx status code

func (*DeleteIPPoolFromNetworkOfNetworkPoolBadRequest) IsServerError

IsServerError returns true when this delete Ip pool from network of network pool bad request response has a 5xx status code

func (*DeleteIPPoolFromNetworkOfNetworkPoolBadRequest) IsSuccess

IsSuccess returns true when this delete Ip pool from network of network pool bad request response has a 2xx status code

func (*DeleteIPPoolFromNetworkOfNetworkPoolBadRequest) String

type DeleteIPPoolFromNetworkOfNetworkPoolInternalServerError

type DeleteIPPoolFromNetworkOfNetworkPoolInternalServerError struct {
	Payload *models.Error
}

DeleteIPPoolFromNetworkOfNetworkPoolInternalServerError describes a response with status code 500, with default header values.

Unexpected error

func NewDeleteIPPoolFromNetworkOfNetworkPoolInternalServerError

func NewDeleteIPPoolFromNetworkOfNetworkPoolInternalServerError() *DeleteIPPoolFromNetworkOfNetworkPoolInternalServerError

NewDeleteIPPoolFromNetworkOfNetworkPoolInternalServerError creates a DeleteIPPoolFromNetworkOfNetworkPoolInternalServerError with default headers values

func (*DeleteIPPoolFromNetworkOfNetworkPoolInternalServerError) Error

func (*DeleteIPPoolFromNetworkOfNetworkPoolInternalServerError) GetPayload

func (*DeleteIPPoolFromNetworkOfNetworkPoolInternalServerError) IsClientError

IsClientError returns true when this delete Ip pool from network of network pool internal server error response has a 4xx status code

func (*DeleteIPPoolFromNetworkOfNetworkPoolInternalServerError) IsCode

IsCode returns true when this delete Ip pool from network of network pool internal server error response a status code equal to that given

func (*DeleteIPPoolFromNetworkOfNetworkPoolInternalServerError) IsRedirect

IsRedirect returns true when this delete Ip pool from network of network pool internal server error response has a 3xx status code

func (*DeleteIPPoolFromNetworkOfNetworkPoolInternalServerError) IsServerError

IsServerError returns true when this delete Ip pool from network of network pool internal server error response has a 5xx status code

func (*DeleteIPPoolFromNetworkOfNetworkPoolInternalServerError) IsSuccess

IsSuccess returns true when this delete Ip pool from network of network pool internal server error response has a 2xx status code

func (*DeleteIPPoolFromNetworkOfNetworkPoolInternalServerError) String

type DeleteIPPoolFromNetworkOfNetworkPoolNoContent

type DeleteIPPoolFromNetworkOfNetworkPoolNoContent struct {
}

DeleteIPPoolFromNetworkOfNetworkPoolNoContent describes a response with status code 204, with default header values.

No Content

func NewDeleteIPPoolFromNetworkOfNetworkPoolNoContent

func NewDeleteIPPoolFromNetworkOfNetworkPoolNoContent() *DeleteIPPoolFromNetworkOfNetworkPoolNoContent

NewDeleteIPPoolFromNetworkOfNetworkPoolNoContent creates a DeleteIPPoolFromNetworkOfNetworkPoolNoContent with default headers values

func (*DeleteIPPoolFromNetworkOfNetworkPoolNoContent) Error

func (*DeleteIPPoolFromNetworkOfNetworkPoolNoContent) IsClientError

IsClientError returns true when this delete Ip pool from network of network pool no content response has a 4xx status code

func (*DeleteIPPoolFromNetworkOfNetworkPoolNoContent) IsCode

IsCode returns true when this delete Ip pool from network of network pool no content response a status code equal to that given

func (*DeleteIPPoolFromNetworkOfNetworkPoolNoContent) IsRedirect

IsRedirect returns true when this delete Ip pool from network of network pool no content response has a 3xx status code

func (*DeleteIPPoolFromNetworkOfNetworkPoolNoContent) IsServerError

IsServerError returns true when this delete Ip pool from network of network pool no content response has a 5xx status code

func (*DeleteIPPoolFromNetworkOfNetworkPoolNoContent) IsSuccess

IsSuccess returns true when this delete Ip pool from network of network pool no content response has a 2xx status code

func (*DeleteIPPoolFromNetworkOfNetworkPoolNoContent) String

type DeleteIPPoolFromNetworkOfNetworkPoolNotFound

type DeleteIPPoolFromNetworkOfNetworkPoolNotFound struct {
	Payload *models.Error
}

DeleteIPPoolFromNetworkOfNetworkPoolNotFound describes a response with status code 404, with default header values.

Either network or Network pool not found

func NewDeleteIPPoolFromNetworkOfNetworkPoolNotFound

func NewDeleteIPPoolFromNetworkOfNetworkPoolNotFound() *DeleteIPPoolFromNetworkOfNetworkPoolNotFound

NewDeleteIPPoolFromNetworkOfNetworkPoolNotFound creates a DeleteIPPoolFromNetworkOfNetworkPoolNotFound with default headers values

func (*DeleteIPPoolFromNetworkOfNetworkPoolNotFound) Error

func (*DeleteIPPoolFromNetworkOfNetworkPoolNotFound) GetPayload

func (*DeleteIPPoolFromNetworkOfNetworkPoolNotFound) IsClientError

IsClientError returns true when this delete Ip pool from network of network pool not found response has a 4xx status code

func (*DeleteIPPoolFromNetworkOfNetworkPoolNotFound) IsCode

IsCode returns true when this delete Ip pool from network of network pool not found response a status code equal to that given

func (*DeleteIPPoolFromNetworkOfNetworkPoolNotFound) IsRedirect

IsRedirect returns true when this delete Ip pool from network of network pool not found response has a 3xx status code

func (*DeleteIPPoolFromNetworkOfNetworkPoolNotFound) IsServerError

IsServerError returns true when this delete Ip pool from network of network pool not found response has a 5xx status code

func (*DeleteIPPoolFromNetworkOfNetworkPoolNotFound) IsSuccess

IsSuccess returns true when this delete Ip pool from network of network pool not found response has a 2xx status code

func (*DeleteIPPoolFromNetworkOfNetworkPoolNotFound) String

type DeleteIPPoolFromNetworkOfNetworkPoolParams

type DeleteIPPoolFromNetworkOfNetworkPoolParams struct {

	/* ID.

	   ID of the networkpool
	*/
	ID string

	/* IPPool.

	   ipPool
	*/
	IPPool *models.IPPool

	/* NetworkID.

	   ID of the network
	*/
	NetworkID string

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

DeleteIPPoolFromNetworkOfNetworkPoolParams contains all the parameters to send to the API endpoint

for the delete Ip pool from network of network pool operation.

Typically these are written to a http.Request.

func NewDeleteIPPoolFromNetworkOfNetworkPoolParams

func NewDeleteIPPoolFromNetworkOfNetworkPoolParams() *DeleteIPPoolFromNetworkOfNetworkPoolParams

NewDeleteIPPoolFromNetworkOfNetworkPoolParams creates a new DeleteIPPoolFromNetworkOfNetworkPoolParams 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 NewDeleteIPPoolFromNetworkOfNetworkPoolParamsWithContext

func NewDeleteIPPoolFromNetworkOfNetworkPoolParamsWithContext(ctx context.Context) *DeleteIPPoolFromNetworkOfNetworkPoolParams

NewDeleteIPPoolFromNetworkOfNetworkPoolParamsWithContext creates a new DeleteIPPoolFromNetworkOfNetworkPoolParams object with the ability to set a context for a request.

func NewDeleteIPPoolFromNetworkOfNetworkPoolParamsWithHTTPClient

func NewDeleteIPPoolFromNetworkOfNetworkPoolParamsWithHTTPClient(client *http.Client) *DeleteIPPoolFromNetworkOfNetworkPoolParams

NewDeleteIPPoolFromNetworkOfNetworkPoolParamsWithHTTPClient creates a new DeleteIPPoolFromNetworkOfNetworkPoolParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteIPPoolFromNetworkOfNetworkPoolParamsWithTimeout

func NewDeleteIPPoolFromNetworkOfNetworkPoolParamsWithTimeout(timeout time.Duration) *DeleteIPPoolFromNetworkOfNetworkPoolParams

NewDeleteIPPoolFromNetworkOfNetworkPoolParamsWithTimeout creates a new DeleteIPPoolFromNetworkOfNetworkPoolParams object with the ability to set a timeout on a request.

func (*DeleteIPPoolFromNetworkOfNetworkPoolParams) SetContext

SetContext adds the context to the delete Ip pool from network of network pool params

func (*DeleteIPPoolFromNetworkOfNetworkPoolParams) SetDefaults

SetDefaults hydrates default values in the delete Ip pool from network of network pool params (not the query body).

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

func (*DeleteIPPoolFromNetworkOfNetworkPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete Ip pool from network of network pool params

func (*DeleteIPPoolFromNetworkOfNetworkPoolParams) SetID

SetID adds the id to the delete Ip pool from network of network pool params

func (*DeleteIPPoolFromNetworkOfNetworkPoolParams) SetIPPool

SetIPPool adds the ipPool to the delete Ip pool from network of network pool params

func (*DeleteIPPoolFromNetworkOfNetworkPoolParams) SetNetworkID

func (o *DeleteIPPoolFromNetworkOfNetworkPoolParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the delete Ip pool from network of network pool params

func (*DeleteIPPoolFromNetworkOfNetworkPoolParams) SetTimeout

SetTimeout adds the timeout to the delete Ip pool from network of network pool params

func (*DeleteIPPoolFromNetworkOfNetworkPoolParams) WithContext

WithContext adds the context to the delete Ip pool from network of network pool params

func (*DeleteIPPoolFromNetworkOfNetworkPoolParams) WithDefaults

WithDefaults hydrates default values in the delete Ip pool from network of network pool params (not the query body).

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

func (*DeleteIPPoolFromNetworkOfNetworkPoolParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete Ip pool from network of network pool params

func (*DeleteIPPoolFromNetworkOfNetworkPoolParams) WithID

WithID adds the id to the delete Ip pool from network of network pool params

func (*DeleteIPPoolFromNetworkOfNetworkPoolParams) WithIPPool

WithIPPool adds the iPPool to the delete Ip pool from network of network pool params

func (*DeleteIPPoolFromNetworkOfNetworkPoolParams) WithNetworkID

WithNetworkID adds the networkID to the delete Ip pool from network of network pool params

func (*DeleteIPPoolFromNetworkOfNetworkPoolParams) WithTimeout

WithTimeout adds the timeout to the delete Ip pool from network of network pool params

func (*DeleteIPPoolFromNetworkOfNetworkPoolParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteIPPoolFromNetworkOfNetworkPoolReader

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

DeleteIPPoolFromNetworkOfNetworkPoolReader is a Reader for the DeleteIPPoolFromNetworkOfNetworkPool structure.

func (*DeleteIPPoolFromNetworkOfNetworkPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNetworkPoolBadRequest

type DeleteNetworkPoolBadRequest struct {
	Payload *models.Error
}

DeleteNetworkPoolBadRequest describes a response with status code 400, with default header values.

Hosts are still associated with NetworkPool

func NewDeleteNetworkPoolBadRequest

func NewDeleteNetworkPoolBadRequest() *DeleteNetworkPoolBadRequest

NewDeleteNetworkPoolBadRequest creates a DeleteNetworkPoolBadRequest with default headers values

func (*DeleteNetworkPoolBadRequest) Error

func (*DeleteNetworkPoolBadRequest) GetPayload

func (o *DeleteNetworkPoolBadRequest) GetPayload() *models.Error

func (*DeleteNetworkPoolBadRequest) IsClientError

func (o *DeleteNetworkPoolBadRequest) IsClientError() bool

IsClientError returns true when this delete network pool bad request response has a 4xx status code

func (*DeleteNetworkPoolBadRequest) IsCode

func (o *DeleteNetworkPoolBadRequest) IsCode(code int) bool

IsCode returns true when this delete network pool bad request response a status code equal to that given

func (*DeleteNetworkPoolBadRequest) IsRedirect

func (o *DeleteNetworkPoolBadRequest) IsRedirect() bool

IsRedirect returns true when this delete network pool bad request response has a 3xx status code

func (*DeleteNetworkPoolBadRequest) IsServerError

func (o *DeleteNetworkPoolBadRequest) IsServerError() bool

IsServerError returns true when this delete network pool bad request response has a 5xx status code

func (*DeleteNetworkPoolBadRequest) IsSuccess

func (o *DeleteNetworkPoolBadRequest) IsSuccess() bool

IsSuccess returns true when this delete network pool bad request response has a 2xx status code

func (*DeleteNetworkPoolBadRequest) String

func (o *DeleteNetworkPoolBadRequest) String() string

type DeleteNetworkPoolInternalServerError

type DeleteNetworkPoolInternalServerError struct {
	Payload *models.Error
}

DeleteNetworkPoolInternalServerError describes a response with status code 500, with default header values.

Unexpected error

func NewDeleteNetworkPoolInternalServerError

func NewDeleteNetworkPoolInternalServerError() *DeleteNetworkPoolInternalServerError

NewDeleteNetworkPoolInternalServerError creates a DeleteNetworkPoolInternalServerError with default headers values

func (*DeleteNetworkPoolInternalServerError) Error

func (*DeleteNetworkPoolInternalServerError) GetPayload

func (*DeleteNetworkPoolInternalServerError) IsClientError

func (o *DeleteNetworkPoolInternalServerError) IsClientError() bool

IsClientError returns true when this delete network pool internal server error response has a 4xx status code

func (*DeleteNetworkPoolInternalServerError) IsCode

IsCode returns true when this delete network pool internal server error response a status code equal to that given

func (*DeleteNetworkPoolInternalServerError) IsRedirect

IsRedirect returns true when this delete network pool internal server error response has a 3xx status code

func (*DeleteNetworkPoolInternalServerError) IsServerError

func (o *DeleteNetworkPoolInternalServerError) IsServerError() bool

IsServerError returns true when this delete network pool internal server error response has a 5xx status code

func (*DeleteNetworkPoolInternalServerError) IsSuccess

IsSuccess returns true when this delete network pool internal server error response has a 2xx status code

func (*DeleteNetworkPoolInternalServerError) String

type DeleteNetworkPoolNoContent

type DeleteNetworkPoolNoContent struct {
}

DeleteNetworkPoolNoContent describes a response with status code 204, with default header values.

The specification of the deleted network pool

func NewDeleteNetworkPoolNoContent

func NewDeleteNetworkPoolNoContent() *DeleteNetworkPoolNoContent

NewDeleteNetworkPoolNoContent creates a DeleteNetworkPoolNoContent with default headers values

func (*DeleteNetworkPoolNoContent) Error

func (*DeleteNetworkPoolNoContent) IsClientError

func (o *DeleteNetworkPoolNoContent) IsClientError() bool

IsClientError returns true when this delete network pool no content response has a 4xx status code

func (*DeleteNetworkPoolNoContent) IsCode

func (o *DeleteNetworkPoolNoContent) IsCode(code int) bool

IsCode returns true when this delete network pool no content response a status code equal to that given

func (*DeleteNetworkPoolNoContent) IsRedirect

func (o *DeleteNetworkPoolNoContent) IsRedirect() bool

IsRedirect returns true when this delete network pool no content response has a 3xx status code

func (*DeleteNetworkPoolNoContent) IsServerError

func (o *DeleteNetworkPoolNoContent) IsServerError() bool

IsServerError returns true when this delete network pool no content response has a 5xx status code

func (*DeleteNetworkPoolNoContent) IsSuccess

func (o *DeleteNetworkPoolNoContent) IsSuccess() bool

IsSuccess returns true when this delete network pool no content response has a 2xx status code

func (*DeleteNetworkPoolNoContent) String

func (o *DeleteNetworkPoolNoContent) String() string

type DeleteNetworkPoolNotFound

type DeleteNetworkPoolNotFound struct {
	Payload *models.Error
}

DeleteNetworkPoolNotFound describes a response with status code 404, with default header values.

Referenced network pool not found

func NewDeleteNetworkPoolNotFound

func NewDeleteNetworkPoolNotFound() *DeleteNetworkPoolNotFound

NewDeleteNetworkPoolNotFound creates a DeleteNetworkPoolNotFound with default headers values

func (*DeleteNetworkPoolNotFound) Error

func (o *DeleteNetworkPoolNotFound) Error() string

func (*DeleteNetworkPoolNotFound) GetPayload

func (o *DeleteNetworkPoolNotFound) GetPayload() *models.Error

func (*DeleteNetworkPoolNotFound) IsClientError

func (o *DeleteNetworkPoolNotFound) IsClientError() bool

IsClientError returns true when this delete network pool not found response has a 4xx status code

func (*DeleteNetworkPoolNotFound) IsCode

func (o *DeleteNetworkPoolNotFound) IsCode(code int) bool

IsCode returns true when this delete network pool not found response a status code equal to that given

func (*DeleteNetworkPoolNotFound) IsRedirect

func (o *DeleteNetworkPoolNotFound) IsRedirect() bool

IsRedirect returns true when this delete network pool not found response has a 3xx status code

func (*DeleteNetworkPoolNotFound) IsServerError

func (o *DeleteNetworkPoolNotFound) IsServerError() bool

IsServerError returns true when this delete network pool not found response has a 5xx status code

func (*DeleteNetworkPoolNotFound) IsSuccess

func (o *DeleteNetworkPoolNotFound) IsSuccess() bool

IsSuccess returns true when this delete network pool not found response has a 2xx status code

func (*DeleteNetworkPoolNotFound) String

func (o *DeleteNetworkPoolNotFound) String() string

type DeleteNetworkPoolParams

type DeleteNetworkPoolParams struct {

	/* ID.

	   ID of the network pool
	*/
	ID string

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

DeleteNetworkPoolParams contains all the parameters to send to the API endpoint

for the delete network pool operation.

Typically these are written to a http.Request.

func NewDeleteNetworkPoolParams

func NewDeleteNetworkPoolParams() *DeleteNetworkPoolParams

NewDeleteNetworkPoolParams creates a new DeleteNetworkPoolParams 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 NewDeleteNetworkPoolParamsWithContext

func NewDeleteNetworkPoolParamsWithContext(ctx context.Context) *DeleteNetworkPoolParams

NewDeleteNetworkPoolParamsWithContext creates a new DeleteNetworkPoolParams object with the ability to set a context for a request.

func NewDeleteNetworkPoolParamsWithHTTPClient

func NewDeleteNetworkPoolParamsWithHTTPClient(client *http.Client) *DeleteNetworkPoolParams

NewDeleteNetworkPoolParamsWithHTTPClient creates a new DeleteNetworkPoolParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNetworkPoolParamsWithTimeout

func NewDeleteNetworkPoolParamsWithTimeout(timeout time.Duration) *DeleteNetworkPoolParams

NewDeleteNetworkPoolParamsWithTimeout creates a new DeleteNetworkPoolParams object with the ability to set a timeout on a request.

func (*DeleteNetworkPoolParams) SetContext

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

SetContext adds the context to the delete network pool params

func (*DeleteNetworkPoolParams) SetDefaults

func (o *DeleteNetworkPoolParams) SetDefaults()

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

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

func (*DeleteNetworkPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete network pool params

func (*DeleteNetworkPoolParams) SetID

func (o *DeleteNetworkPoolParams) SetID(id string)

SetID adds the id to the delete network pool params

func (*DeleteNetworkPoolParams) SetTimeout

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

SetTimeout adds the timeout to the delete network pool params

func (*DeleteNetworkPoolParams) WithContext

WithContext adds the context to the delete network pool params

func (*DeleteNetworkPoolParams) WithDefaults

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

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

func (*DeleteNetworkPoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete network pool params

func (*DeleteNetworkPoolParams) WithID

WithID adds the id to the delete network pool params

func (*DeleteNetworkPoolParams) WithTimeout

WithTimeout adds the timeout to the delete network pool params

func (*DeleteNetworkPoolParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNetworkPoolReader

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

DeleteNetworkPoolReader is a Reader for the DeleteNetworkPool structure.

func (*DeleteNetworkPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworkOfNetworkPoolInternalServerError added in v0.1.1

type GetNetworkOfNetworkPoolInternalServerError struct {
	Payload *models.Error
}

GetNetworkOfNetworkPoolInternalServerError describes a response with status code 500, with default header values.

Unexpected error

func NewGetNetworkOfNetworkPoolInternalServerError added in v0.1.1

func NewGetNetworkOfNetworkPoolInternalServerError() *GetNetworkOfNetworkPoolInternalServerError

NewGetNetworkOfNetworkPoolInternalServerError creates a GetNetworkOfNetworkPoolInternalServerError with default headers values

func (*GetNetworkOfNetworkPoolInternalServerError) Error added in v0.1.1

func (*GetNetworkOfNetworkPoolInternalServerError) GetPayload added in v0.1.1

func (*GetNetworkOfNetworkPoolInternalServerError) IsClientError added in v0.1.1

IsClientError returns true when this get network of network pool internal server error response has a 4xx status code

func (*GetNetworkOfNetworkPoolInternalServerError) IsCode added in v0.1.1

IsCode returns true when this get network of network pool internal server error response a status code equal to that given

func (*GetNetworkOfNetworkPoolInternalServerError) IsRedirect added in v0.1.1

IsRedirect returns true when this get network of network pool internal server error response has a 3xx status code

func (*GetNetworkOfNetworkPoolInternalServerError) IsServerError added in v0.1.1

IsServerError returns true when this get network of network pool internal server error response has a 5xx status code

func (*GetNetworkOfNetworkPoolInternalServerError) IsSuccess added in v0.1.1

IsSuccess returns true when this get network of network pool internal server error response has a 2xx status code

func (*GetNetworkOfNetworkPoolInternalServerError) String added in v0.1.1

type GetNetworkOfNetworkPoolNotFound added in v0.1.1

type GetNetworkOfNetworkPoolNotFound struct {
	Payload *models.Error
}

GetNetworkOfNetworkPoolNotFound describes a response with status code 404, with default header values.

Networkpool not found

func NewGetNetworkOfNetworkPoolNotFound added in v0.1.1

func NewGetNetworkOfNetworkPoolNotFound() *GetNetworkOfNetworkPoolNotFound

NewGetNetworkOfNetworkPoolNotFound creates a GetNetworkOfNetworkPoolNotFound with default headers values

func (*GetNetworkOfNetworkPoolNotFound) Error added in v0.1.1

func (*GetNetworkOfNetworkPoolNotFound) GetPayload added in v0.1.1

func (o *GetNetworkOfNetworkPoolNotFound) GetPayload() *models.Error

func (*GetNetworkOfNetworkPoolNotFound) IsClientError added in v0.1.1

func (o *GetNetworkOfNetworkPoolNotFound) IsClientError() bool

IsClientError returns true when this get network of network pool not found response has a 4xx status code

func (*GetNetworkOfNetworkPoolNotFound) IsCode added in v0.1.1

func (o *GetNetworkOfNetworkPoolNotFound) IsCode(code int) bool

IsCode returns true when this get network of network pool not found response a status code equal to that given

func (*GetNetworkOfNetworkPoolNotFound) IsRedirect added in v0.1.1

func (o *GetNetworkOfNetworkPoolNotFound) IsRedirect() bool

IsRedirect returns true when this get network of network pool not found response has a 3xx status code

func (*GetNetworkOfNetworkPoolNotFound) IsServerError added in v0.1.1

func (o *GetNetworkOfNetworkPoolNotFound) IsServerError() bool

IsServerError returns true when this get network of network pool not found response has a 5xx status code

func (*GetNetworkOfNetworkPoolNotFound) IsSuccess added in v0.1.1

func (o *GetNetworkOfNetworkPoolNotFound) IsSuccess() bool

IsSuccess returns true when this get network of network pool not found response has a 2xx status code

func (*GetNetworkOfNetworkPoolNotFound) String added in v0.1.1

type GetNetworkOfNetworkPoolOK added in v0.1.1

type GetNetworkOfNetworkPoolOK struct {
	Payload *models.Network
}

GetNetworkOfNetworkPoolOK describes a response with status code 200, with default header values.

Network for referenced network pool

func NewGetNetworkOfNetworkPoolOK added in v0.1.1

func NewGetNetworkOfNetworkPoolOK() *GetNetworkOfNetworkPoolOK

NewGetNetworkOfNetworkPoolOK creates a GetNetworkOfNetworkPoolOK with default headers values

func (*GetNetworkOfNetworkPoolOK) Error added in v0.1.1

func (o *GetNetworkOfNetworkPoolOK) Error() string

func (*GetNetworkOfNetworkPoolOK) GetPayload added in v0.1.1

func (o *GetNetworkOfNetworkPoolOK) GetPayload() *models.Network

func (*GetNetworkOfNetworkPoolOK) IsClientError added in v0.1.1

func (o *GetNetworkOfNetworkPoolOK) IsClientError() bool

IsClientError returns true when this get network of network pool o k response has a 4xx status code

func (*GetNetworkOfNetworkPoolOK) IsCode added in v0.1.1

func (o *GetNetworkOfNetworkPoolOK) IsCode(code int) bool

IsCode returns true when this get network of network pool o k response a status code equal to that given

func (*GetNetworkOfNetworkPoolOK) IsRedirect added in v0.1.1

func (o *GetNetworkOfNetworkPoolOK) IsRedirect() bool

IsRedirect returns true when this get network of network pool o k response has a 3xx status code

func (*GetNetworkOfNetworkPoolOK) IsServerError added in v0.1.1

func (o *GetNetworkOfNetworkPoolOK) IsServerError() bool

IsServerError returns true when this get network of network pool o k response has a 5xx status code

func (*GetNetworkOfNetworkPoolOK) IsSuccess added in v0.1.1

func (o *GetNetworkOfNetworkPoolOK) IsSuccess() bool

IsSuccess returns true when this get network of network pool o k response has a 2xx status code

func (*GetNetworkOfNetworkPoolOK) String added in v0.1.1

func (o *GetNetworkOfNetworkPoolOK) String() string

type GetNetworkOfNetworkPoolParams added in v0.1.1

type GetNetworkOfNetworkPoolParams struct {

	/* ID.

	   Id of the Network pool
	*/
	ID string

	/* NetworkID.

	   Id of the Network
	*/
	NetworkID string

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

GetNetworkOfNetworkPoolParams contains all the parameters to send to the API endpoint

for the get network of network pool operation.

Typically these are written to a http.Request.

func NewGetNetworkOfNetworkPoolParams added in v0.1.1

func NewGetNetworkOfNetworkPoolParams() *GetNetworkOfNetworkPoolParams

NewGetNetworkOfNetworkPoolParams creates a new GetNetworkOfNetworkPoolParams 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 NewGetNetworkOfNetworkPoolParamsWithContext added in v0.1.1

func NewGetNetworkOfNetworkPoolParamsWithContext(ctx context.Context) *GetNetworkOfNetworkPoolParams

NewGetNetworkOfNetworkPoolParamsWithContext creates a new GetNetworkOfNetworkPoolParams object with the ability to set a context for a request.

func NewGetNetworkOfNetworkPoolParamsWithHTTPClient added in v0.1.1

func NewGetNetworkOfNetworkPoolParamsWithHTTPClient(client *http.Client) *GetNetworkOfNetworkPoolParams

NewGetNetworkOfNetworkPoolParamsWithHTTPClient creates a new GetNetworkOfNetworkPoolParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkOfNetworkPoolParamsWithTimeout added in v0.1.1

func NewGetNetworkOfNetworkPoolParamsWithTimeout(timeout time.Duration) *GetNetworkOfNetworkPoolParams

NewGetNetworkOfNetworkPoolParamsWithTimeout creates a new GetNetworkOfNetworkPoolParams object with the ability to set a timeout on a request.

func (*GetNetworkOfNetworkPoolParams) SetContext added in v0.1.1

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

SetContext adds the context to the get network of network pool params

func (*GetNetworkOfNetworkPoolParams) SetDefaults added in v0.1.1

func (o *GetNetworkOfNetworkPoolParams) SetDefaults()

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

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

func (*GetNetworkOfNetworkPoolParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get network of network pool params

func (*GetNetworkOfNetworkPoolParams) SetID added in v0.1.1

SetID adds the id to the get network of network pool params

func (*GetNetworkOfNetworkPoolParams) SetNetworkID added in v0.1.1

func (o *GetNetworkOfNetworkPoolParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network of network pool params

func (*GetNetworkOfNetworkPoolParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get network of network pool params

func (*GetNetworkOfNetworkPoolParams) WithContext added in v0.1.1

WithContext adds the context to the get network of network pool params

func (*GetNetworkOfNetworkPoolParams) WithDefaults added in v0.1.1

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

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

func (*GetNetworkOfNetworkPoolParams) WithHTTPClient added in v0.1.1

WithHTTPClient adds the HTTPClient to the get network of network pool params

func (*GetNetworkOfNetworkPoolParams) WithID added in v0.1.1

WithID adds the id to the get network of network pool params

func (*GetNetworkOfNetworkPoolParams) WithNetworkID added in v0.1.1

WithNetworkID adds the networkID to the get network of network pool params

func (*GetNetworkOfNetworkPoolParams) WithTimeout added in v0.1.1

WithTimeout adds the timeout to the get network of network pool params

func (*GetNetworkOfNetworkPoolParams) WriteToRequest added in v0.1.1

WriteToRequest writes these params to a swagger request

type GetNetworkOfNetworkPoolReader added in v0.1.1

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

GetNetworkOfNetworkPoolReader is a Reader for the GetNetworkOfNetworkPool structure.

func (*GetNetworkOfNetworkPoolReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type GetNetworkPoolInternalServerError added in v0.1.1

type GetNetworkPoolInternalServerError struct {
	Payload *models.Error
}

GetNetworkPoolInternalServerError describes a response with status code 500, with default header values.

Unexpected error

func NewGetNetworkPoolInternalServerError added in v0.1.1

func NewGetNetworkPoolInternalServerError() *GetNetworkPoolInternalServerError

NewGetNetworkPoolInternalServerError creates a GetNetworkPoolInternalServerError with default headers values

func (*GetNetworkPoolInternalServerError) Error added in v0.1.1

func (*GetNetworkPoolInternalServerError) GetPayload added in v0.1.1

func (*GetNetworkPoolInternalServerError) IsClientError added in v0.1.1

func (o *GetNetworkPoolInternalServerError) IsClientError() bool

IsClientError returns true when this get network pool internal server error response has a 4xx status code

func (*GetNetworkPoolInternalServerError) IsCode added in v0.1.1

func (o *GetNetworkPoolInternalServerError) IsCode(code int) bool

IsCode returns true when this get network pool internal server error response a status code equal to that given

func (*GetNetworkPoolInternalServerError) IsRedirect added in v0.1.1

func (o *GetNetworkPoolInternalServerError) IsRedirect() bool

IsRedirect returns true when this get network pool internal server error response has a 3xx status code

func (*GetNetworkPoolInternalServerError) IsServerError added in v0.1.1

func (o *GetNetworkPoolInternalServerError) IsServerError() bool

IsServerError returns true when this get network pool internal server error response has a 5xx status code

func (*GetNetworkPoolInternalServerError) IsSuccess added in v0.1.1

func (o *GetNetworkPoolInternalServerError) IsSuccess() bool

IsSuccess returns true when this get network pool internal server error response has a 2xx status code

func (*GetNetworkPoolInternalServerError) String added in v0.1.1

type GetNetworkPoolNotFound added in v0.1.1

type GetNetworkPoolNotFound struct {
	Payload *models.Error
}

GetNetworkPoolNotFound describes a response with status code 404, with default header values.

Referenced network pool not found

func NewGetNetworkPoolNotFound added in v0.1.1

func NewGetNetworkPoolNotFound() *GetNetworkPoolNotFound

NewGetNetworkPoolNotFound creates a GetNetworkPoolNotFound with default headers values

func (*GetNetworkPoolNotFound) Error added in v0.1.1

func (o *GetNetworkPoolNotFound) Error() string

func (*GetNetworkPoolNotFound) GetPayload added in v0.1.1

func (o *GetNetworkPoolNotFound) GetPayload() *models.Error

func (*GetNetworkPoolNotFound) IsClientError added in v0.1.1

func (o *GetNetworkPoolNotFound) IsClientError() bool

IsClientError returns true when this get network pool not found response has a 4xx status code

func (*GetNetworkPoolNotFound) IsCode added in v0.1.1

func (o *GetNetworkPoolNotFound) IsCode(code int) bool

IsCode returns true when this get network pool not found response a status code equal to that given

func (*GetNetworkPoolNotFound) IsRedirect added in v0.1.1

func (o *GetNetworkPoolNotFound) IsRedirect() bool

IsRedirect returns true when this get network pool not found response has a 3xx status code

func (*GetNetworkPoolNotFound) IsServerError added in v0.1.1

func (o *GetNetworkPoolNotFound) IsServerError() bool

IsServerError returns true when this get network pool not found response has a 5xx status code

func (*GetNetworkPoolNotFound) IsSuccess added in v0.1.1

func (o *GetNetworkPoolNotFound) IsSuccess() bool

IsSuccess returns true when this get network pool not found response has a 2xx status code

func (*GetNetworkPoolNotFound) String added in v0.1.1

func (o *GetNetworkPoolNotFound) String() string

type GetNetworkPoolOK added in v0.1.1

type GetNetworkPoolOK struct {
	Payload *models.NetworkPool
}

GetNetworkPoolOK describes a response with status code 200, with default header values.

Referenced network pool

func NewGetNetworkPoolOK added in v0.1.1

func NewGetNetworkPoolOK() *GetNetworkPoolOK

NewGetNetworkPoolOK creates a GetNetworkPoolOK with default headers values

func (*GetNetworkPoolOK) Error added in v0.1.1

func (o *GetNetworkPoolOK) Error() string

func (*GetNetworkPoolOK) GetPayload added in v0.1.1

func (o *GetNetworkPoolOK) GetPayload() *models.NetworkPool

func (*GetNetworkPoolOK) IsClientError added in v0.1.1

func (o *GetNetworkPoolOK) IsClientError() bool

IsClientError returns true when this get network pool o k response has a 4xx status code

func (*GetNetworkPoolOK) IsCode added in v0.1.1

func (o *GetNetworkPoolOK) IsCode(code int) bool

IsCode returns true when this get network pool o k response a status code equal to that given

func (*GetNetworkPoolOK) IsRedirect added in v0.1.1

func (o *GetNetworkPoolOK) IsRedirect() bool

IsRedirect returns true when this get network pool o k response has a 3xx status code

func (*GetNetworkPoolOK) IsServerError added in v0.1.1

func (o *GetNetworkPoolOK) IsServerError() bool

IsServerError returns true when this get network pool o k response has a 5xx status code

func (*GetNetworkPoolOK) IsSuccess added in v0.1.1

func (o *GetNetworkPoolOK) IsSuccess() bool

IsSuccess returns true when this get network pool o k response has a 2xx status code

func (*GetNetworkPoolOK) String added in v0.1.1

func (o *GetNetworkPoolOK) String() string

type GetNetworkPoolParams added in v0.1.1

type GetNetworkPoolParams struct {

	/* ID.

	   ID of the network pool to fetch
	*/
	ID string

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

GetNetworkPoolParams contains all the parameters to send to the API endpoint

for the get network pool operation.

Typically these are written to a http.Request.

func NewGetNetworkPoolParams added in v0.1.1

func NewGetNetworkPoolParams() *GetNetworkPoolParams

NewGetNetworkPoolParams creates a new GetNetworkPoolParams 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 NewGetNetworkPoolParamsWithContext added in v0.1.1

func NewGetNetworkPoolParamsWithContext(ctx context.Context) *GetNetworkPoolParams

NewGetNetworkPoolParamsWithContext creates a new GetNetworkPoolParams object with the ability to set a context for a request.

func NewGetNetworkPoolParamsWithHTTPClient added in v0.1.1

func NewGetNetworkPoolParamsWithHTTPClient(client *http.Client) *GetNetworkPoolParams

NewGetNetworkPoolParamsWithHTTPClient creates a new GetNetworkPoolParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkPoolParamsWithTimeout added in v0.1.1

func NewGetNetworkPoolParamsWithTimeout(timeout time.Duration) *GetNetworkPoolParams

NewGetNetworkPoolParamsWithTimeout creates a new GetNetworkPoolParams object with the ability to set a timeout on a request.

func (*GetNetworkPoolParams) SetContext added in v0.1.1

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

SetContext adds the context to the get network pool params

func (*GetNetworkPoolParams) SetDefaults added in v0.1.1

func (o *GetNetworkPoolParams) SetDefaults()

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

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

func (*GetNetworkPoolParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get network pool params

func (*GetNetworkPoolParams) SetID added in v0.1.1

func (o *GetNetworkPoolParams) SetID(id string)

SetID adds the id to the get network pool params

func (*GetNetworkPoolParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get network pool params

func (*GetNetworkPoolParams) WithContext added in v0.1.1

WithContext adds the context to the get network pool params

func (*GetNetworkPoolParams) WithDefaults added in v0.1.1

func (o *GetNetworkPoolParams) WithDefaults() *GetNetworkPoolParams

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

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

func (*GetNetworkPoolParams) WithHTTPClient added in v0.1.1

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

WithHTTPClient adds the HTTPClient to the get network pool params

func (*GetNetworkPoolParams) WithID added in v0.1.1

WithID adds the id to the get network pool params

func (*GetNetworkPoolParams) WithTimeout added in v0.1.1

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

WithTimeout adds the timeout to the get network pool params

func (*GetNetworkPoolParams) WriteToRequest added in v0.1.1

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

WriteToRequest writes these params to a swagger request

type GetNetworkPoolReader added in v0.1.1

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

GetNetworkPoolReader is a Reader for the GetNetworkPool structure.

func (*GetNetworkPoolReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type GetNetworkPoolsInternalServerError added in v0.1.1

type GetNetworkPoolsInternalServerError struct {
	Payload *models.Error
}

GetNetworkPoolsInternalServerError describes a response with status code 500, with default header values.

Unexpected error

func NewGetNetworkPoolsInternalServerError added in v0.1.1

func NewGetNetworkPoolsInternalServerError() *GetNetworkPoolsInternalServerError

NewGetNetworkPoolsInternalServerError creates a GetNetworkPoolsInternalServerError with default headers values

func (*GetNetworkPoolsInternalServerError) Error added in v0.1.1

func (*GetNetworkPoolsInternalServerError) GetPayload added in v0.1.1

func (*GetNetworkPoolsInternalServerError) IsClientError added in v0.1.1

func (o *GetNetworkPoolsInternalServerError) IsClientError() bool

IsClientError returns true when this get network pools internal server error response has a 4xx status code

func (*GetNetworkPoolsInternalServerError) IsCode added in v0.1.1

IsCode returns true when this get network pools internal server error response a status code equal to that given

func (*GetNetworkPoolsInternalServerError) IsRedirect added in v0.1.1

func (o *GetNetworkPoolsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get network pools internal server error response has a 3xx status code

func (*GetNetworkPoolsInternalServerError) IsServerError added in v0.1.1

func (o *GetNetworkPoolsInternalServerError) IsServerError() bool

IsServerError returns true when this get network pools internal server error response has a 5xx status code

func (*GetNetworkPoolsInternalServerError) IsSuccess added in v0.1.1

IsSuccess returns true when this get network pools internal server error response has a 2xx status code

func (*GetNetworkPoolsInternalServerError) String added in v0.1.1

type GetNetworkPoolsNotFound added in v0.1.1

type GetNetworkPoolsNotFound struct {
	Payload *models.Error
}

GetNetworkPoolsNotFound describes a response with status code 404, with default header values.

Referenced network pool not found

func NewGetNetworkPoolsNotFound added in v0.1.1

func NewGetNetworkPoolsNotFound() *GetNetworkPoolsNotFound

NewGetNetworkPoolsNotFound creates a GetNetworkPoolsNotFound with default headers values

func (*GetNetworkPoolsNotFound) Error added in v0.1.1

func (o *GetNetworkPoolsNotFound) Error() string

func (*GetNetworkPoolsNotFound) GetPayload added in v0.1.1

func (o *GetNetworkPoolsNotFound) GetPayload() *models.Error

func (*GetNetworkPoolsNotFound) IsClientError added in v0.1.1

func (o *GetNetworkPoolsNotFound) IsClientError() bool

IsClientError returns true when this get network pools not found response has a 4xx status code

func (*GetNetworkPoolsNotFound) IsCode added in v0.1.1

func (o *GetNetworkPoolsNotFound) IsCode(code int) bool

IsCode returns true when this get network pools not found response a status code equal to that given

func (*GetNetworkPoolsNotFound) IsRedirect added in v0.1.1

func (o *GetNetworkPoolsNotFound) IsRedirect() bool

IsRedirect returns true when this get network pools not found response has a 3xx status code

func (*GetNetworkPoolsNotFound) IsServerError added in v0.1.1

func (o *GetNetworkPoolsNotFound) IsServerError() bool

IsServerError returns true when this get network pools not found response has a 5xx status code

func (*GetNetworkPoolsNotFound) IsSuccess added in v0.1.1

func (o *GetNetworkPoolsNotFound) IsSuccess() bool

IsSuccess returns true when this get network pools not found response has a 2xx status code

func (*GetNetworkPoolsNotFound) String added in v0.1.1

func (o *GetNetworkPoolsNotFound) String() string

type GetNetworkPoolsOK added in v0.1.1

type GetNetworkPoolsOK struct {
	Payload *models.PageOfNetworkPool
}

GetNetworkPoolsOK describes a response with status code 200, with default header values.

Referenced network pool

func NewGetNetworkPoolsOK added in v0.1.1

func NewGetNetworkPoolsOK() *GetNetworkPoolsOK

NewGetNetworkPoolsOK creates a GetNetworkPoolsOK with default headers values

func (*GetNetworkPoolsOK) Error added in v0.1.1

func (o *GetNetworkPoolsOK) Error() string

func (*GetNetworkPoolsOK) GetPayload added in v0.1.1

func (o *GetNetworkPoolsOK) GetPayload() *models.PageOfNetworkPool

func (*GetNetworkPoolsOK) IsClientError added in v0.1.1

func (o *GetNetworkPoolsOK) IsClientError() bool

IsClientError returns true when this get network pools o k response has a 4xx status code

func (*GetNetworkPoolsOK) IsCode added in v0.1.1

func (o *GetNetworkPoolsOK) IsCode(code int) bool

IsCode returns true when this get network pools o k response a status code equal to that given

func (*GetNetworkPoolsOK) IsRedirect added in v0.1.1

func (o *GetNetworkPoolsOK) IsRedirect() bool

IsRedirect returns true when this get network pools o k response has a 3xx status code

func (*GetNetworkPoolsOK) IsServerError added in v0.1.1

func (o *GetNetworkPoolsOK) IsServerError() bool

IsServerError returns true when this get network pools o k response has a 5xx status code

func (*GetNetworkPoolsOK) IsSuccess added in v0.1.1

func (o *GetNetworkPoolsOK) IsSuccess() bool

IsSuccess returns true when this get network pools o k response has a 2xx status code

func (*GetNetworkPoolsOK) String added in v0.1.1

func (o *GetNetworkPoolsOK) String() string

type GetNetworkPoolsParams added in v0.1.1

type GetNetworkPoolsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkPoolsParams contains all the parameters to send to the API endpoint

for the get network pools operation.

Typically these are written to a http.Request.

func NewGetNetworkPoolsParams added in v0.1.1

func NewGetNetworkPoolsParams() *GetNetworkPoolsParams

NewGetNetworkPoolsParams creates a new GetNetworkPoolsParams 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 NewGetNetworkPoolsParamsWithContext added in v0.1.1

func NewGetNetworkPoolsParamsWithContext(ctx context.Context) *GetNetworkPoolsParams

NewGetNetworkPoolsParamsWithContext creates a new GetNetworkPoolsParams object with the ability to set a context for a request.

func NewGetNetworkPoolsParamsWithHTTPClient added in v0.1.1

func NewGetNetworkPoolsParamsWithHTTPClient(client *http.Client) *GetNetworkPoolsParams

NewGetNetworkPoolsParamsWithHTTPClient creates a new GetNetworkPoolsParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkPoolsParamsWithTimeout added in v0.1.1

func NewGetNetworkPoolsParamsWithTimeout(timeout time.Duration) *GetNetworkPoolsParams

NewGetNetworkPoolsParamsWithTimeout creates a new GetNetworkPoolsParams object with the ability to set a timeout on a request.

func (*GetNetworkPoolsParams) SetContext added in v0.1.1

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

SetContext adds the context to the get network pools params

func (*GetNetworkPoolsParams) SetDefaults added in v0.1.1

func (o *GetNetworkPoolsParams) SetDefaults()

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

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

func (*GetNetworkPoolsParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get network pools params

func (*GetNetworkPoolsParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get network pools params

func (*GetNetworkPoolsParams) WithContext added in v0.1.1

WithContext adds the context to the get network pools params

func (*GetNetworkPoolsParams) WithDefaults added in v0.1.1

func (o *GetNetworkPoolsParams) WithDefaults() *GetNetworkPoolsParams

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

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

func (*GetNetworkPoolsParams) WithHTTPClient added in v0.1.1

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

WithHTTPClient adds the HTTPClient to the get network pools params

func (*GetNetworkPoolsParams) WithTimeout added in v0.1.1

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

WithTimeout adds the timeout to the get network pools params

func (*GetNetworkPoolsParams) WriteToRequest added in v0.1.1

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

WriteToRequest writes these params to a swagger request

type GetNetworkPoolsReader added in v0.1.1

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

GetNetworkPoolsReader is a Reader for the GetNetworkPools structure.

func (*GetNetworkPoolsReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type GetNetworksOfNetworkPoolInternalServerError added in v0.1.1

type GetNetworksOfNetworkPoolInternalServerError struct {
	Payload *models.Error
}

GetNetworksOfNetworkPoolInternalServerError describes a response with status code 500, with default header values.

Unexpected error

func NewGetNetworksOfNetworkPoolInternalServerError added in v0.1.1

func NewGetNetworksOfNetworkPoolInternalServerError() *GetNetworksOfNetworkPoolInternalServerError

NewGetNetworksOfNetworkPoolInternalServerError creates a GetNetworksOfNetworkPoolInternalServerError with default headers values

func (*GetNetworksOfNetworkPoolInternalServerError) Error added in v0.1.1

func (*GetNetworksOfNetworkPoolInternalServerError) GetPayload added in v0.1.1

func (*GetNetworksOfNetworkPoolInternalServerError) IsClientError added in v0.1.1

IsClientError returns true when this get networks of network pool internal server error response has a 4xx status code

func (*GetNetworksOfNetworkPoolInternalServerError) IsCode added in v0.1.1

IsCode returns true when this get networks of network pool internal server error response a status code equal to that given

func (*GetNetworksOfNetworkPoolInternalServerError) IsRedirect added in v0.1.1

IsRedirect returns true when this get networks of network pool internal server error response has a 3xx status code

func (*GetNetworksOfNetworkPoolInternalServerError) IsServerError added in v0.1.1

IsServerError returns true when this get networks of network pool internal server error response has a 5xx status code

func (*GetNetworksOfNetworkPoolInternalServerError) IsSuccess added in v0.1.1

IsSuccess returns true when this get networks of network pool internal server error response has a 2xx status code

func (*GetNetworksOfNetworkPoolInternalServerError) String added in v0.1.1

type GetNetworksOfNetworkPoolNotFound added in v0.1.1

type GetNetworksOfNetworkPoolNotFound struct {
	Payload *models.Error
}

GetNetworksOfNetworkPoolNotFound describes a response with status code 404, with default header values.

Network pool not found

func NewGetNetworksOfNetworkPoolNotFound added in v0.1.1

func NewGetNetworksOfNetworkPoolNotFound() *GetNetworksOfNetworkPoolNotFound

NewGetNetworksOfNetworkPoolNotFound creates a GetNetworksOfNetworkPoolNotFound with default headers values

func (*GetNetworksOfNetworkPoolNotFound) Error added in v0.1.1

func (*GetNetworksOfNetworkPoolNotFound) GetPayload added in v0.1.1

func (*GetNetworksOfNetworkPoolNotFound) IsClientError added in v0.1.1

func (o *GetNetworksOfNetworkPoolNotFound) IsClientError() bool

IsClientError returns true when this get networks of network pool not found response has a 4xx status code

func (*GetNetworksOfNetworkPoolNotFound) IsCode added in v0.1.1

func (o *GetNetworksOfNetworkPoolNotFound) IsCode(code int) bool

IsCode returns true when this get networks of network pool not found response a status code equal to that given

func (*GetNetworksOfNetworkPoolNotFound) IsRedirect added in v0.1.1

func (o *GetNetworksOfNetworkPoolNotFound) IsRedirect() bool

IsRedirect returns true when this get networks of network pool not found response has a 3xx status code

func (*GetNetworksOfNetworkPoolNotFound) IsServerError added in v0.1.1

func (o *GetNetworksOfNetworkPoolNotFound) IsServerError() bool

IsServerError returns true when this get networks of network pool not found response has a 5xx status code

func (*GetNetworksOfNetworkPoolNotFound) IsSuccess added in v0.1.1

func (o *GetNetworksOfNetworkPoolNotFound) IsSuccess() bool

IsSuccess returns true when this get networks of network pool not found response has a 2xx status code

func (*GetNetworksOfNetworkPoolNotFound) String added in v0.1.1

type GetNetworksOfNetworkPoolOK added in v0.1.1

type GetNetworksOfNetworkPoolOK struct {
	Payload *models.PageOfNetwork
}

GetNetworksOfNetworkPoolOK describes a response with status code 200, with default header values.

Networks for referenced network pool

func NewGetNetworksOfNetworkPoolOK added in v0.1.1

func NewGetNetworksOfNetworkPoolOK() *GetNetworksOfNetworkPoolOK

NewGetNetworksOfNetworkPoolOK creates a GetNetworksOfNetworkPoolOK with default headers values

func (*GetNetworksOfNetworkPoolOK) Error added in v0.1.1

func (*GetNetworksOfNetworkPoolOK) GetPayload added in v0.1.1

func (*GetNetworksOfNetworkPoolOK) IsClientError added in v0.1.1

func (o *GetNetworksOfNetworkPoolOK) IsClientError() bool

IsClientError returns true when this get networks of network pool o k response has a 4xx status code

func (*GetNetworksOfNetworkPoolOK) IsCode added in v0.1.1

func (o *GetNetworksOfNetworkPoolOK) IsCode(code int) bool

IsCode returns true when this get networks of network pool o k response a status code equal to that given

func (*GetNetworksOfNetworkPoolOK) IsRedirect added in v0.1.1

func (o *GetNetworksOfNetworkPoolOK) IsRedirect() bool

IsRedirect returns true when this get networks of network pool o k response has a 3xx status code

func (*GetNetworksOfNetworkPoolOK) IsServerError added in v0.1.1

func (o *GetNetworksOfNetworkPoolOK) IsServerError() bool

IsServerError returns true when this get networks of network pool o k response has a 5xx status code

func (*GetNetworksOfNetworkPoolOK) IsSuccess added in v0.1.1

func (o *GetNetworksOfNetworkPoolOK) IsSuccess() bool

IsSuccess returns true when this get networks of network pool o k response has a 2xx status code

func (*GetNetworksOfNetworkPoolOK) String added in v0.1.1

func (o *GetNetworksOfNetworkPoolOK) String() string

type GetNetworksOfNetworkPoolParams added in v0.1.1

type GetNetworksOfNetworkPoolParams struct {

	/* ID.

	   ID for Networkpool to get the networks from
	*/
	ID string

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

GetNetworksOfNetworkPoolParams contains all the parameters to send to the API endpoint

for the get networks of network pool operation.

Typically these are written to a http.Request.

func NewGetNetworksOfNetworkPoolParams added in v0.1.1

func NewGetNetworksOfNetworkPoolParams() *GetNetworksOfNetworkPoolParams

NewGetNetworksOfNetworkPoolParams creates a new GetNetworksOfNetworkPoolParams 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 NewGetNetworksOfNetworkPoolParamsWithContext added in v0.1.1

func NewGetNetworksOfNetworkPoolParamsWithContext(ctx context.Context) *GetNetworksOfNetworkPoolParams

NewGetNetworksOfNetworkPoolParamsWithContext creates a new GetNetworksOfNetworkPoolParams object with the ability to set a context for a request.

func NewGetNetworksOfNetworkPoolParamsWithHTTPClient added in v0.1.1

func NewGetNetworksOfNetworkPoolParamsWithHTTPClient(client *http.Client) *GetNetworksOfNetworkPoolParams

NewGetNetworksOfNetworkPoolParamsWithHTTPClient creates a new GetNetworksOfNetworkPoolParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworksOfNetworkPoolParamsWithTimeout added in v0.1.1

func NewGetNetworksOfNetworkPoolParamsWithTimeout(timeout time.Duration) *GetNetworksOfNetworkPoolParams

NewGetNetworksOfNetworkPoolParamsWithTimeout creates a new GetNetworksOfNetworkPoolParams object with the ability to set a timeout on a request.

func (*GetNetworksOfNetworkPoolParams) SetContext added in v0.1.1

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

SetContext adds the context to the get networks of network pool params

func (*GetNetworksOfNetworkPoolParams) SetDefaults added in v0.1.1

func (o *GetNetworksOfNetworkPoolParams) SetDefaults()

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

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

func (*GetNetworksOfNetworkPoolParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get networks of network pool params

func (*GetNetworksOfNetworkPoolParams) SetID added in v0.1.1

SetID adds the id to the get networks of network pool params

func (*GetNetworksOfNetworkPoolParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get networks of network pool params

func (*GetNetworksOfNetworkPoolParams) WithContext added in v0.1.1

WithContext adds the context to the get networks of network pool params

func (*GetNetworksOfNetworkPoolParams) WithDefaults added in v0.1.1

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

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

func (*GetNetworksOfNetworkPoolParams) WithHTTPClient added in v0.1.1

WithHTTPClient adds the HTTPClient to the get networks of network pool params

func (*GetNetworksOfNetworkPoolParams) WithID added in v0.1.1

WithID adds the id to the get networks of network pool params

func (*GetNetworksOfNetworkPoolParams) WithTimeout added in v0.1.1

WithTimeout adds the timeout to the get networks of network pool params

func (*GetNetworksOfNetworkPoolParams) WriteToRequest added in v0.1.1

WriteToRequest writes these params to a swagger request

type GetNetworksOfNetworkPoolReader added in v0.1.1

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

GetNetworksOfNetworkPoolReader is a Reader for the GetNetworksOfNetworkPool structure.

func (*GetNetworksOfNetworkPoolReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type UpdateNetworkPoolInternalServerError

type UpdateNetworkPoolInternalServerError struct {
	Payload *models.Error
}

UpdateNetworkPoolInternalServerError describes a response with status code 500, with default header values.

Unexpected error

func NewUpdateNetworkPoolInternalServerError

func NewUpdateNetworkPoolInternalServerError() *UpdateNetworkPoolInternalServerError

NewUpdateNetworkPoolInternalServerError creates a UpdateNetworkPoolInternalServerError with default headers values

func (*UpdateNetworkPoolInternalServerError) Error

func (*UpdateNetworkPoolInternalServerError) GetPayload

func (*UpdateNetworkPoolInternalServerError) IsClientError

func (o *UpdateNetworkPoolInternalServerError) IsClientError() bool

IsClientError returns true when this update network pool internal server error response has a 4xx status code

func (*UpdateNetworkPoolInternalServerError) IsCode

IsCode returns true when this update network pool internal server error response a status code equal to that given

func (*UpdateNetworkPoolInternalServerError) IsRedirect

IsRedirect returns true when this update network pool internal server error response has a 3xx status code

func (*UpdateNetworkPoolInternalServerError) IsServerError

func (o *UpdateNetworkPoolInternalServerError) IsServerError() bool

IsServerError returns true when this update network pool internal server error response has a 5xx status code

func (*UpdateNetworkPoolInternalServerError) IsSuccess

IsSuccess returns true when this update network pool internal server error response has a 2xx status code

func (*UpdateNetworkPoolInternalServerError) String

type UpdateNetworkPoolNotFound

type UpdateNetworkPoolNotFound struct {
	Payload *models.Error
}

UpdateNetworkPoolNotFound describes a response with status code 404, with default header values.

Network Pool not found

func NewUpdateNetworkPoolNotFound

func NewUpdateNetworkPoolNotFound() *UpdateNetworkPoolNotFound

NewUpdateNetworkPoolNotFound creates a UpdateNetworkPoolNotFound with default headers values

func (*UpdateNetworkPoolNotFound) Error

func (o *UpdateNetworkPoolNotFound) Error() string

func (*UpdateNetworkPoolNotFound) GetPayload

func (o *UpdateNetworkPoolNotFound) GetPayload() *models.Error

func (*UpdateNetworkPoolNotFound) IsClientError

func (o *UpdateNetworkPoolNotFound) IsClientError() bool

IsClientError returns true when this update network pool not found response has a 4xx status code

func (*UpdateNetworkPoolNotFound) IsCode

func (o *UpdateNetworkPoolNotFound) IsCode(code int) bool

IsCode returns true when this update network pool not found response a status code equal to that given

func (*UpdateNetworkPoolNotFound) IsRedirect

func (o *UpdateNetworkPoolNotFound) IsRedirect() bool

IsRedirect returns true when this update network pool not found response has a 3xx status code

func (*UpdateNetworkPoolNotFound) IsServerError

func (o *UpdateNetworkPoolNotFound) IsServerError() bool

IsServerError returns true when this update network pool not found response has a 5xx status code

func (*UpdateNetworkPoolNotFound) IsSuccess

func (o *UpdateNetworkPoolNotFound) IsSuccess() bool

IsSuccess returns true when this update network pool not found response has a 2xx status code

func (*UpdateNetworkPoolNotFound) String

func (o *UpdateNetworkPoolNotFound) String() string

type UpdateNetworkPoolOK

type UpdateNetworkPoolOK struct {
	Payload *models.NetworkPool
}

UpdateNetworkPoolOK describes a response with status code 200, with default header values.

Network Pool update completed

func NewUpdateNetworkPoolOK

func NewUpdateNetworkPoolOK() *UpdateNetworkPoolOK

NewUpdateNetworkPoolOK creates a UpdateNetworkPoolOK with default headers values

func (*UpdateNetworkPoolOK) Error

func (o *UpdateNetworkPoolOK) Error() string

func (*UpdateNetworkPoolOK) GetPayload

func (o *UpdateNetworkPoolOK) GetPayload() *models.NetworkPool

func (*UpdateNetworkPoolOK) IsClientError

func (o *UpdateNetworkPoolOK) IsClientError() bool

IsClientError returns true when this update network pool o k response has a 4xx status code

func (*UpdateNetworkPoolOK) IsCode

func (o *UpdateNetworkPoolOK) IsCode(code int) bool

IsCode returns true when this update network pool o k response a status code equal to that given

func (*UpdateNetworkPoolOK) IsRedirect

func (o *UpdateNetworkPoolOK) IsRedirect() bool

IsRedirect returns true when this update network pool o k response has a 3xx status code

func (*UpdateNetworkPoolOK) IsServerError

func (o *UpdateNetworkPoolOK) IsServerError() bool

IsServerError returns true when this update network pool o k response has a 5xx status code

func (*UpdateNetworkPoolOK) IsSuccess

func (o *UpdateNetworkPoolOK) IsSuccess() bool

IsSuccess returns true when this update network pool o k response has a 2xx status code

func (*UpdateNetworkPoolOK) String

func (o *UpdateNetworkPoolOK) String() string

type UpdateNetworkPoolParams

type UpdateNetworkPoolParams struct {

	/* ID.

	   Network Pool ID
	*/
	ID string

	/* NetworkPoolUpdateSpec.

	   Network Pool update data
	*/
	NetworkPoolUpdateSpec *models.NetworkPoolUpdateSpec

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

UpdateNetworkPoolParams contains all the parameters to send to the API endpoint

for the update network pool operation.

Typically these are written to a http.Request.

func NewUpdateNetworkPoolParams

func NewUpdateNetworkPoolParams() *UpdateNetworkPoolParams

NewUpdateNetworkPoolParams creates a new UpdateNetworkPoolParams 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 NewUpdateNetworkPoolParamsWithContext

func NewUpdateNetworkPoolParamsWithContext(ctx context.Context) *UpdateNetworkPoolParams

NewUpdateNetworkPoolParamsWithContext creates a new UpdateNetworkPoolParams object with the ability to set a context for a request.

func NewUpdateNetworkPoolParamsWithHTTPClient

func NewUpdateNetworkPoolParamsWithHTTPClient(client *http.Client) *UpdateNetworkPoolParams

NewUpdateNetworkPoolParamsWithHTTPClient creates a new UpdateNetworkPoolParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkPoolParamsWithTimeout

func NewUpdateNetworkPoolParamsWithTimeout(timeout time.Duration) *UpdateNetworkPoolParams

NewUpdateNetworkPoolParamsWithTimeout creates a new UpdateNetworkPoolParams object with the ability to set a timeout on a request.

func (*UpdateNetworkPoolParams) SetContext

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

SetContext adds the context to the update network pool params

func (*UpdateNetworkPoolParams) SetDefaults

func (o *UpdateNetworkPoolParams) SetDefaults()

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

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

func (*UpdateNetworkPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update network pool params

func (*UpdateNetworkPoolParams) SetID

func (o *UpdateNetworkPoolParams) SetID(id string)

SetID adds the id to the update network pool params

func (*UpdateNetworkPoolParams) SetNetworkPoolUpdateSpec

func (o *UpdateNetworkPoolParams) SetNetworkPoolUpdateSpec(networkPoolUpdateSpec *models.NetworkPoolUpdateSpec)

SetNetworkPoolUpdateSpec adds the networkPoolUpdateSpec to the update network pool params

func (*UpdateNetworkPoolParams) SetTimeout

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

SetTimeout adds the timeout to the update network pool params

func (*UpdateNetworkPoolParams) WithContext

WithContext adds the context to the update network pool params

func (*UpdateNetworkPoolParams) WithDefaults

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

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

func (*UpdateNetworkPoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update network pool params

func (*UpdateNetworkPoolParams) WithID

WithID adds the id to the update network pool params

func (*UpdateNetworkPoolParams) WithNetworkPoolUpdateSpec

func (o *UpdateNetworkPoolParams) WithNetworkPoolUpdateSpec(networkPoolUpdateSpec *models.NetworkPoolUpdateSpec) *UpdateNetworkPoolParams

WithNetworkPoolUpdateSpec adds the networkPoolUpdateSpec to the update network pool params

func (*UpdateNetworkPoolParams) WithTimeout

WithTimeout adds the timeout to the update network pool params

func (*UpdateNetworkPoolParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkPoolReader

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

UpdateNetworkPoolReader is a Reader for the UpdateNetworkPool structure.

func (*UpdateNetworkPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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