network

package
v0.35.2 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: MIT Imports: 13 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContentTypeApplicationJSON added in v0.32.0

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeStarStar added in v0.32.0

func WithContentTypeStarStar(r *runtime.ClientOperation)

WithContentTypeStarStar sets the Content-Type header to "*/*".

Types

type AllocateNetworkConflict

type AllocateNetworkConflict struct {
	Payload *httperrors.HTTPErrorResponse
}

AllocateNetworkConflict describes a response with status code 409, with default header values.

Conflict

func NewAllocateNetworkConflict

func NewAllocateNetworkConflict() *AllocateNetworkConflict

NewAllocateNetworkConflict creates a AllocateNetworkConflict with default headers values

func (*AllocateNetworkConflict) Code added in v0.22.1

func (o *AllocateNetworkConflict) Code() int

Code gets the status code for the allocate network conflict response

func (*AllocateNetworkConflict) Error

func (o *AllocateNetworkConflict) Error() string

func (*AllocateNetworkConflict) GetPayload added in v0.11.0

func (*AllocateNetworkConflict) IsClientError added in v0.19.3

func (o *AllocateNetworkConflict) IsClientError() bool

IsClientError returns true when this allocate network conflict response has a 4xx status code

func (*AllocateNetworkConflict) IsCode added in v0.19.3

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

IsCode returns true when this allocate network conflict response a status code equal to that given

func (*AllocateNetworkConflict) IsRedirect added in v0.19.3

func (o *AllocateNetworkConflict) IsRedirect() bool

IsRedirect returns true when this allocate network conflict response has a 3xx status code

func (*AllocateNetworkConflict) IsServerError added in v0.19.3

func (o *AllocateNetworkConflict) IsServerError() bool

IsServerError returns true when this allocate network conflict response has a 5xx status code

func (*AllocateNetworkConflict) IsSuccess added in v0.19.3

func (o *AllocateNetworkConflict) IsSuccess() bool

IsSuccess returns true when this allocate network conflict response has a 2xx status code

func (*AllocateNetworkConflict) String added in v0.19.3

func (o *AllocateNetworkConflict) String() string

type AllocateNetworkCreated

type AllocateNetworkCreated struct {
	Payload *models.V1NetworkResponse
}

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

Created

func NewAllocateNetworkCreated

func NewAllocateNetworkCreated() *AllocateNetworkCreated

NewAllocateNetworkCreated creates a AllocateNetworkCreated with default headers values

func (*AllocateNetworkCreated) Code added in v0.22.1

func (o *AllocateNetworkCreated) Code() int

Code gets the status code for the allocate network created response

func (*AllocateNetworkCreated) Error

func (o *AllocateNetworkCreated) Error() string

func (*AllocateNetworkCreated) GetPayload added in v0.11.0

func (*AllocateNetworkCreated) IsClientError added in v0.19.3

func (o *AllocateNetworkCreated) IsClientError() bool

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

func (*AllocateNetworkCreated) IsCode added in v0.19.3

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

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

func (*AllocateNetworkCreated) IsRedirect added in v0.19.3

func (o *AllocateNetworkCreated) IsRedirect() bool

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

func (*AllocateNetworkCreated) IsServerError added in v0.19.3

func (o *AllocateNetworkCreated) IsServerError() bool

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

func (*AllocateNetworkCreated) IsSuccess added in v0.19.3

func (o *AllocateNetworkCreated) IsSuccess() bool

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

func (*AllocateNetworkCreated) String added in v0.19.3

func (o *AllocateNetworkCreated) String() string

type AllocateNetworkDefault

type AllocateNetworkDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

AllocateNetworkDefault describes a response with status code -1, with default header values.

Error

func NewAllocateNetworkDefault

func NewAllocateNetworkDefault(code int) *AllocateNetworkDefault

NewAllocateNetworkDefault creates a AllocateNetworkDefault with default headers values

func (*AllocateNetworkDefault) Code

func (o *AllocateNetworkDefault) Code() int

Code gets the status code for the allocate network default response

func (*AllocateNetworkDefault) Error

func (o *AllocateNetworkDefault) Error() string

func (*AllocateNetworkDefault) GetPayload added in v0.11.0

func (*AllocateNetworkDefault) IsClientError added in v0.19.3

func (o *AllocateNetworkDefault) IsClientError() bool

IsClientError returns true when this allocate network default response has a 4xx status code

func (*AllocateNetworkDefault) IsCode added in v0.19.3

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

IsCode returns true when this allocate network default response a status code equal to that given

func (*AllocateNetworkDefault) IsRedirect added in v0.19.3

func (o *AllocateNetworkDefault) IsRedirect() bool

IsRedirect returns true when this allocate network default response has a 3xx status code

func (*AllocateNetworkDefault) IsServerError added in v0.19.3

func (o *AllocateNetworkDefault) IsServerError() bool

IsServerError returns true when this allocate network default response has a 5xx status code

func (*AllocateNetworkDefault) IsSuccess added in v0.19.3

func (o *AllocateNetworkDefault) IsSuccess() bool

IsSuccess returns true when this allocate network default response has a 2xx status code

func (*AllocateNetworkDefault) String added in v0.19.3

func (o *AllocateNetworkDefault) String() string

type AllocateNetworkParams

type AllocateNetworkParams struct {

	// Body.
	Body *models.V1NetworkAllocateRequest

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

AllocateNetworkParams contains all the parameters to send to the API endpoint

for the allocate network operation.

Typically these are written to a http.Request.

func NewAllocateNetworkParams

func NewAllocateNetworkParams() *AllocateNetworkParams

NewAllocateNetworkParams creates a new AllocateNetworkParams 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 NewAllocateNetworkParamsWithContext

func NewAllocateNetworkParamsWithContext(ctx context.Context) *AllocateNetworkParams

NewAllocateNetworkParamsWithContext creates a new AllocateNetworkParams object with the ability to set a context for a request.

func NewAllocateNetworkParamsWithHTTPClient

func NewAllocateNetworkParamsWithHTTPClient(client *http.Client) *AllocateNetworkParams

NewAllocateNetworkParamsWithHTTPClient creates a new AllocateNetworkParams object with the ability to set a custom HTTPClient for a request.

func NewAllocateNetworkParamsWithTimeout

func NewAllocateNetworkParamsWithTimeout(timeout time.Duration) *AllocateNetworkParams

NewAllocateNetworkParamsWithTimeout creates a new AllocateNetworkParams object with the ability to set a timeout on a request.

func (*AllocateNetworkParams) SetBody

SetBody adds the body to the allocate network params

func (*AllocateNetworkParams) SetContext

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

SetContext adds the context to the allocate network params

func (*AllocateNetworkParams) SetDefaults added in v0.12.1

func (o *AllocateNetworkParams) SetDefaults()

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

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

func (*AllocateNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the allocate network params

func (*AllocateNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the allocate network params

func (*AllocateNetworkParams) WithBody

WithBody adds the body to the allocate network params

func (*AllocateNetworkParams) WithContext

WithContext adds the context to the allocate network params

func (*AllocateNetworkParams) WithDefaults added in v0.12.1

func (o *AllocateNetworkParams) WithDefaults() *AllocateNetworkParams

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

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

func (*AllocateNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the allocate network params

func (*AllocateNetworkParams) WithTimeout

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

WithTimeout adds the timeout to the allocate network params

func (*AllocateNetworkParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AllocateNetworkReader

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

AllocateNetworkReader is a Reader for the AllocateNetwork structure.

func (*AllocateNetworkReader) ReadResponse

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

func (*Client) AllocateNetwork

func (a *Client) AllocateNetwork(params *AllocateNetworkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AllocateNetworkCreated, error)

AllocateNetwork allocates a child network from a partition s private super network

func (*Client) CreateNetwork

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

CreateNetwork creates a network if the given ID already exists a conflict is returned

func (*Client) DeleteNetwork

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

DeleteNetwork deletes a network and returns the deleted entity

func (*Client) FindNetwork

func (a *Client) FindNetwork(params *FindNetworkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindNetworkOK, error)

FindNetwork gets network by id

func (*Client) FindNetworks

func (a *Client) FindNetworks(params *FindNetworksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindNetworksOK, error)

FindNetworks gets all networks that match given properties

func (*Client) FreeNetwork

func (a *Client) FreeNetwork(params *FreeNetworkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FreeNetworkOK, error)

FreeNetwork frees a network

func (*Client) FreeNetworkDeprecated added in v0.16.5

func (a *Client) FreeNetworkDeprecated(params *FreeNetworkDeprecatedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FreeNetworkDeprecatedOK, error)

FreeNetworkDeprecated frees a network

func (*Client) ListNetworks

func (a *Client) ListNetworks(params *ListNetworksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNetworksOK, error)

ListNetworks gets all networks

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNetwork

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

UpdateNetwork updates a network if the network was changed since this one was read a conflict is returned

type ClientOption added in v0.13.1

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithContentType added in v0.32.0

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService added in v0.11.0

type ClientService interface {
	AllocateNetwork(params *AllocateNetworkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AllocateNetworkCreated, error)

	CreateNetwork(params *CreateNetworkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkCreated, error)

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

	FindNetwork(params *FindNetworkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindNetworkOK, error)

	FindNetworks(params *FindNetworksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindNetworksOK, error)

	FreeNetwork(params *FreeNetworkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FreeNetworkOK, error)

	FreeNetworkDeprecated(params *FreeNetworkDeprecatedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FreeNetworkDeprecatedOK, error)

	ListNetworks(params *ListNetworksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNetworksOK, error)

	UpdateNetwork(params *UpdateNetworkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkOK, 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 API client.

func NewClientWithBasicAuth added in v0.32.0

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new network API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken added in v0.32.0

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new network API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type CreateNetworkConflict

type CreateNetworkConflict struct {
	Payload *httperrors.HTTPErrorResponse
}

CreateNetworkConflict describes a response with status code 409, with default header values.

Conflict

func NewCreateNetworkConflict

func NewCreateNetworkConflict() *CreateNetworkConflict

NewCreateNetworkConflict creates a CreateNetworkConflict with default headers values

func (*CreateNetworkConflict) Code added in v0.22.1

func (o *CreateNetworkConflict) Code() int

Code gets the status code for the create network conflict response

func (*CreateNetworkConflict) Error

func (o *CreateNetworkConflict) Error() string

func (*CreateNetworkConflict) GetPayload added in v0.11.0

func (*CreateNetworkConflict) IsClientError added in v0.19.3

func (o *CreateNetworkConflict) IsClientError() bool

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

func (*CreateNetworkConflict) IsCode added in v0.19.3

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

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

func (*CreateNetworkConflict) IsRedirect added in v0.19.3

func (o *CreateNetworkConflict) IsRedirect() bool

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

func (*CreateNetworkConflict) IsServerError added in v0.19.3

func (o *CreateNetworkConflict) IsServerError() bool

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

func (*CreateNetworkConflict) IsSuccess added in v0.19.3

func (o *CreateNetworkConflict) IsSuccess() bool

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

func (*CreateNetworkConflict) String added in v0.19.3

func (o *CreateNetworkConflict) String() string

type CreateNetworkCreated

type CreateNetworkCreated struct {
	Payload *models.V1NetworkResponse
}

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

Created

func NewCreateNetworkCreated

func NewCreateNetworkCreated() *CreateNetworkCreated

NewCreateNetworkCreated creates a CreateNetworkCreated with default headers values

func (*CreateNetworkCreated) Code added in v0.22.1

func (o *CreateNetworkCreated) Code() int

Code gets the status code for the create network created response

func (*CreateNetworkCreated) Error

func (o *CreateNetworkCreated) Error() string

func (*CreateNetworkCreated) GetPayload added in v0.11.0

func (*CreateNetworkCreated) IsClientError added in v0.19.3

func (o *CreateNetworkCreated) IsClientError() bool

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

func (*CreateNetworkCreated) IsCode added in v0.19.3

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

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

func (*CreateNetworkCreated) IsRedirect added in v0.19.3

func (o *CreateNetworkCreated) IsRedirect() bool

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

func (*CreateNetworkCreated) IsServerError added in v0.19.3

func (o *CreateNetworkCreated) IsServerError() bool

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

func (*CreateNetworkCreated) IsSuccess added in v0.19.3

func (o *CreateNetworkCreated) IsSuccess() bool

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

func (*CreateNetworkCreated) String added in v0.19.3

func (o *CreateNetworkCreated) String() string

type CreateNetworkDefault

type CreateNetworkDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

CreateNetworkDefault describes a response with status code -1, with default header values.

Error

func NewCreateNetworkDefault

func NewCreateNetworkDefault(code int) *CreateNetworkDefault

NewCreateNetworkDefault creates a CreateNetworkDefault with default headers values

func (*CreateNetworkDefault) Code

func (o *CreateNetworkDefault) Code() int

Code gets the status code for the create network default response

func (*CreateNetworkDefault) Error

func (o *CreateNetworkDefault) Error() string

func (*CreateNetworkDefault) GetPayload added in v0.11.0

func (*CreateNetworkDefault) IsClientError added in v0.19.3

func (o *CreateNetworkDefault) IsClientError() bool

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

func (*CreateNetworkDefault) IsCode added in v0.19.3

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

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

func (*CreateNetworkDefault) IsRedirect added in v0.19.3

func (o *CreateNetworkDefault) IsRedirect() bool

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

func (*CreateNetworkDefault) IsServerError added in v0.19.3

func (o *CreateNetworkDefault) IsServerError() bool

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

func (*CreateNetworkDefault) IsSuccess added in v0.19.3

func (o *CreateNetworkDefault) IsSuccess() bool

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

func (*CreateNetworkDefault) String added in v0.19.3

func (o *CreateNetworkDefault) String() string

type CreateNetworkParams

type CreateNetworkParams struct {

	// Body.
	Body *models.V1NetworkCreateRequest

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

CreateNetworkParams contains all the parameters to send to the API endpoint

for the create network operation.

Typically these are written to a http.Request.

func NewCreateNetworkParams

func NewCreateNetworkParams() *CreateNetworkParams

NewCreateNetworkParams creates a new CreateNetworkParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateNetworkParamsWithContext

func NewCreateNetworkParamsWithContext(ctx context.Context) *CreateNetworkParams

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

func NewCreateNetworkParamsWithHTTPClient

func NewCreateNetworkParamsWithHTTPClient(client *http.Client) *CreateNetworkParams

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

func NewCreateNetworkParamsWithTimeout

func NewCreateNetworkParamsWithTimeout(timeout time.Duration) *CreateNetworkParams

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

func (*CreateNetworkParams) SetBody

SetBody adds the body to the create network params

func (*CreateNetworkParams) SetContext

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

SetContext adds the context to the create network params

func (*CreateNetworkParams) SetDefaults added in v0.12.1

func (o *CreateNetworkParams) SetDefaults()

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

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

func (*CreateNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create network params

func (*CreateNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the create network params

func (*CreateNetworkParams) WithBody

WithBody adds the body to the create network params

func (*CreateNetworkParams) WithContext

WithContext adds the context to the create network params

func (*CreateNetworkParams) WithDefaults added in v0.12.1

func (o *CreateNetworkParams) WithDefaults() *CreateNetworkParams

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

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

func (*CreateNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create network params

func (*CreateNetworkParams) WithTimeout

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

WithTimeout adds the timeout to the create network params

func (*CreateNetworkParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateNetworkReader

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

CreateNetworkReader is a Reader for the CreateNetwork structure.

func (*CreateNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNetworkDefault

type DeleteNetworkDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

DeleteNetworkDefault describes a response with status code -1, with default header values.

Error

func NewDeleteNetworkDefault

func NewDeleteNetworkDefault(code int) *DeleteNetworkDefault

NewDeleteNetworkDefault creates a DeleteNetworkDefault with default headers values

func (*DeleteNetworkDefault) Code

func (o *DeleteNetworkDefault) Code() int

Code gets the status code for the delete network default response

func (*DeleteNetworkDefault) Error

func (o *DeleteNetworkDefault) Error() string

func (*DeleteNetworkDefault) GetPayload added in v0.11.0

func (*DeleteNetworkDefault) IsClientError added in v0.19.3

func (o *DeleteNetworkDefault) IsClientError() bool

IsClientError returns true when this delete network default response has a 4xx status code

func (*DeleteNetworkDefault) IsCode added in v0.19.3

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

IsCode returns true when this delete network default response a status code equal to that given

func (*DeleteNetworkDefault) IsRedirect added in v0.19.3

func (o *DeleteNetworkDefault) IsRedirect() bool

IsRedirect returns true when this delete network default response has a 3xx status code

func (*DeleteNetworkDefault) IsServerError added in v0.19.3

func (o *DeleteNetworkDefault) IsServerError() bool

IsServerError returns true when this delete network default response has a 5xx status code

func (*DeleteNetworkDefault) IsSuccess added in v0.19.3

func (o *DeleteNetworkDefault) IsSuccess() bool

IsSuccess returns true when this delete network default response has a 2xx status code

func (*DeleteNetworkDefault) String added in v0.19.3

func (o *DeleteNetworkDefault) String() string

type DeleteNetworkOK

type DeleteNetworkOK struct {
	Payload *models.V1NetworkResponse
}

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

OK

func NewDeleteNetworkOK

func NewDeleteNetworkOK() *DeleteNetworkOK

NewDeleteNetworkOK creates a DeleteNetworkOK with default headers values

func (*DeleteNetworkOK) Code added in v0.22.1

func (o *DeleteNetworkOK) Code() int

Code gets the status code for the delete network o k response

func (*DeleteNetworkOK) Error

func (o *DeleteNetworkOK) Error() string

func (*DeleteNetworkOK) GetPayload added in v0.11.0

func (o *DeleteNetworkOK) GetPayload() *models.V1NetworkResponse

func (*DeleteNetworkOK) IsClientError added in v0.19.3

func (o *DeleteNetworkOK) IsClientError() bool

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

func (*DeleteNetworkOK) IsCode added in v0.19.3

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

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

func (*DeleteNetworkOK) IsRedirect added in v0.19.3

func (o *DeleteNetworkOK) IsRedirect() bool

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

func (*DeleteNetworkOK) IsServerError added in v0.19.3

func (o *DeleteNetworkOK) IsServerError() bool

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

func (*DeleteNetworkOK) IsSuccess added in v0.19.3

func (o *DeleteNetworkOK) IsSuccess() bool

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

func (*DeleteNetworkOK) String added in v0.19.3

func (o *DeleteNetworkOK) String() string

type DeleteNetworkParams

type DeleteNetworkParams struct {

	/* ID.

	   identifier of the network
	*/
	ID string

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

DeleteNetworkParams contains all the parameters to send to the API endpoint

for the delete network operation.

Typically these are written to a http.Request.

func NewDeleteNetworkParams

func NewDeleteNetworkParams() *DeleteNetworkParams

NewDeleteNetworkParams creates a new DeleteNetworkParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteNetworkParamsWithContext

func NewDeleteNetworkParamsWithContext(ctx context.Context) *DeleteNetworkParams

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

func NewDeleteNetworkParamsWithHTTPClient

func NewDeleteNetworkParamsWithHTTPClient(client *http.Client) *DeleteNetworkParams

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

func NewDeleteNetworkParamsWithTimeout

func NewDeleteNetworkParamsWithTimeout(timeout time.Duration) *DeleteNetworkParams

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

func (*DeleteNetworkParams) SetContext

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

SetContext adds the context to the delete network params

func (*DeleteNetworkParams) SetDefaults added in v0.12.1

func (o *DeleteNetworkParams) SetDefaults()

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

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

func (*DeleteNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete network params

func (*DeleteNetworkParams) SetID

func (o *DeleteNetworkParams) SetID(id string)

SetID adds the id to the delete network params

func (*DeleteNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the delete network params

func (*DeleteNetworkParams) WithContext

WithContext adds the context to the delete network params

func (*DeleteNetworkParams) WithDefaults added in v0.12.1

func (o *DeleteNetworkParams) WithDefaults() *DeleteNetworkParams

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

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

func (*DeleteNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete network params

func (*DeleteNetworkParams) WithID

WithID adds the id to the delete network params

func (*DeleteNetworkParams) WithTimeout

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

WithTimeout adds the timeout to the delete network params

func (*DeleteNetworkParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteNetworkReader

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

DeleteNetworkReader is a Reader for the DeleteNetwork structure.

func (*DeleteNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FindNetworkDefault

type FindNetworkDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

FindNetworkDefault describes a response with status code -1, with default header values.

Error

func NewFindNetworkDefault

func NewFindNetworkDefault(code int) *FindNetworkDefault

NewFindNetworkDefault creates a FindNetworkDefault with default headers values

func (*FindNetworkDefault) Code

func (o *FindNetworkDefault) Code() int

Code gets the status code for the find network default response

func (*FindNetworkDefault) Error

func (o *FindNetworkDefault) Error() string

func (*FindNetworkDefault) GetPayload added in v0.11.0

func (*FindNetworkDefault) IsClientError added in v0.19.3

func (o *FindNetworkDefault) IsClientError() bool

IsClientError returns true when this find network default response has a 4xx status code

func (*FindNetworkDefault) IsCode added in v0.19.3

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

IsCode returns true when this find network default response a status code equal to that given

func (*FindNetworkDefault) IsRedirect added in v0.19.3

func (o *FindNetworkDefault) IsRedirect() bool

IsRedirect returns true when this find network default response has a 3xx status code

func (*FindNetworkDefault) IsServerError added in v0.19.3

func (o *FindNetworkDefault) IsServerError() bool

IsServerError returns true when this find network default response has a 5xx status code

func (*FindNetworkDefault) IsSuccess added in v0.19.3

func (o *FindNetworkDefault) IsSuccess() bool

IsSuccess returns true when this find network default response has a 2xx status code

func (*FindNetworkDefault) String added in v0.19.3

func (o *FindNetworkDefault) String() string

type FindNetworkOK

type FindNetworkOK struct {
	Payload *models.V1NetworkResponse
}

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

OK

func NewFindNetworkOK

func NewFindNetworkOK() *FindNetworkOK

NewFindNetworkOK creates a FindNetworkOK with default headers values

func (*FindNetworkOK) Code added in v0.22.1

func (o *FindNetworkOK) Code() int

Code gets the status code for the find network o k response

func (*FindNetworkOK) Error

func (o *FindNetworkOK) Error() string

func (*FindNetworkOK) GetPayload added in v0.11.0

func (o *FindNetworkOK) GetPayload() *models.V1NetworkResponse

func (*FindNetworkOK) IsClientError added in v0.19.3

func (o *FindNetworkOK) IsClientError() bool

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

func (*FindNetworkOK) IsCode added in v0.19.3

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

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

func (*FindNetworkOK) IsRedirect added in v0.19.3

func (o *FindNetworkOK) IsRedirect() bool

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

func (*FindNetworkOK) IsServerError added in v0.19.3

func (o *FindNetworkOK) IsServerError() bool

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

func (*FindNetworkOK) IsSuccess added in v0.19.3

func (o *FindNetworkOK) IsSuccess() bool

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

func (*FindNetworkOK) String added in v0.19.3

func (o *FindNetworkOK) String() string

type FindNetworkParams

type FindNetworkParams struct {

	/* ID.

	   identifier of the network
	*/
	ID string

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

FindNetworkParams contains all the parameters to send to the API endpoint

for the find network operation.

Typically these are written to a http.Request.

func NewFindNetworkParams

func NewFindNetworkParams() *FindNetworkParams

NewFindNetworkParams creates a new FindNetworkParams 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 NewFindNetworkParamsWithContext

func NewFindNetworkParamsWithContext(ctx context.Context) *FindNetworkParams

NewFindNetworkParamsWithContext creates a new FindNetworkParams object with the ability to set a context for a request.

func NewFindNetworkParamsWithHTTPClient

func NewFindNetworkParamsWithHTTPClient(client *http.Client) *FindNetworkParams

NewFindNetworkParamsWithHTTPClient creates a new FindNetworkParams object with the ability to set a custom HTTPClient for a request.

func NewFindNetworkParamsWithTimeout

func NewFindNetworkParamsWithTimeout(timeout time.Duration) *FindNetworkParams

NewFindNetworkParamsWithTimeout creates a new FindNetworkParams object with the ability to set a timeout on a request.

func (*FindNetworkParams) SetContext

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

SetContext adds the context to the find network params

func (*FindNetworkParams) SetDefaults added in v0.12.1

func (o *FindNetworkParams) SetDefaults()

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

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

func (*FindNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the find network params

func (*FindNetworkParams) SetID

func (o *FindNetworkParams) SetID(id string)

SetID adds the id to the find network params

func (*FindNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the find network params

func (*FindNetworkParams) WithContext

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

WithContext adds the context to the find network params

func (*FindNetworkParams) WithDefaults added in v0.12.1

func (o *FindNetworkParams) WithDefaults() *FindNetworkParams

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

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

func (*FindNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the find network params

func (*FindNetworkParams) WithID

WithID adds the id to the find network params

func (*FindNetworkParams) WithTimeout

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

WithTimeout adds the timeout to the find network params

func (*FindNetworkParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FindNetworkReader

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

FindNetworkReader is a Reader for the FindNetwork structure.

func (*FindNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FindNetworksDefault

type FindNetworksDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

FindNetworksDefault describes a response with status code -1, with default header values.

Error

func NewFindNetworksDefault

func NewFindNetworksDefault(code int) *FindNetworksDefault

NewFindNetworksDefault creates a FindNetworksDefault with default headers values

func (*FindNetworksDefault) Code

func (o *FindNetworksDefault) Code() int

Code gets the status code for the find networks default response

func (*FindNetworksDefault) Error

func (o *FindNetworksDefault) Error() string

func (*FindNetworksDefault) GetPayload added in v0.11.0

func (*FindNetworksDefault) IsClientError added in v0.19.3

func (o *FindNetworksDefault) IsClientError() bool

IsClientError returns true when this find networks default response has a 4xx status code

func (*FindNetworksDefault) IsCode added in v0.19.3

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

IsCode returns true when this find networks default response a status code equal to that given

func (*FindNetworksDefault) IsRedirect added in v0.19.3

func (o *FindNetworksDefault) IsRedirect() bool

IsRedirect returns true when this find networks default response has a 3xx status code

func (*FindNetworksDefault) IsServerError added in v0.19.3

func (o *FindNetworksDefault) IsServerError() bool

IsServerError returns true when this find networks default response has a 5xx status code

func (*FindNetworksDefault) IsSuccess added in v0.19.3

func (o *FindNetworksDefault) IsSuccess() bool

IsSuccess returns true when this find networks default response has a 2xx status code

func (*FindNetworksDefault) String added in v0.19.3

func (o *FindNetworksDefault) String() string

type FindNetworksOK

type FindNetworksOK struct {
	Payload []*models.V1NetworkResponse
}

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

OK

func NewFindNetworksOK

func NewFindNetworksOK() *FindNetworksOK

NewFindNetworksOK creates a FindNetworksOK with default headers values

func (*FindNetworksOK) Code added in v0.22.1

func (o *FindNetworksOK) Code() int

Code gets the status code for the find networks o k response

func (*FindNetworksOK) Error

func (o *FindNetworksOK) Error() string

func (*FindNetworksOK) GetPayload added in v0.11.0

func (o *FindNetworksOK) GetPayload() []*models.V1NetworkResponse

func (*FindNetworksOK) IsClientError added in v0.19.3

func (o *FindNetworksOK) IsClientError() bool

IsClientError returns true when this find networks o k response has a 4xx status code

func (*FindNetworksOK) IsCode added in v0.19.3

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

IsCode returns true when this find networks o k response a status code equal to that given

func (*FindNetworksOK) IsRedirect added in v0.19.3

func (o *FindNetworksOK) IsRedirect() bool

IsRedirect returns true when this find networks o k response has a 3xx status code

func (*FindNetworksOK) IsServerError added in v0.19.3

func (o *FindNetworksOK) IsServerError() bool

IsServerError returns true when this find networks o k response has a 5xx status code

func (*FindNetworksOK) IsSuccess added in v0.19.3

func (o *FindNetworksOK) IsSuccess() bool

IsSuccess returns true when this find networks o k response has a 2xx status code

func (*FindNetworksOK) String added in v0.19.3

func (o *FindNetworksOK) String() string

type FindNetworksParams

type FindNetworksParams struct {

	// Body.
	Body *models.V1NetworkFindRequest

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

FindNetworksParams contains all the parameters to send to the API endpoint

for the find networks operation.

Typically these are written to a http.Request.

func NewFindNetworksParams

func NewFindNetworksParams() *FindNetworksParams

NewFindNetworksParams creates a new FindNetworksParams 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 NewFindNetworksParamsWithContext

func NewFindNetworksParamsWithContext(ctx context.Context) *FindNetworksParams

NewFindNetworksParamsWithContext creates a new FindNetworksParams object with the ability to set a context for a request.

func NewFindNetworksParamsWithHTTPClient

func NewFindNetworksParamsWithHTTPClient(client *http.Client) *FindNetworksParams

NewFindNetworksParamsWithHTTPClient creates a new FindNetworksParams object with the ability to set a custom HTTPClient for a request.

func NewFindNetworksParamsWithTimeout

func NewFindNetworksParamsWithTimeout(timeout time.Duration) *FindNetworksParams

NewFindNetworksParamsWithTimeout creates a new FindNetworksParams object with the ability to set a timeout on a request.

func (*FindNetworksParams) SetBody

SetBody adds the body to the find networks params

func (*FindNetworksParams) SetContext

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

SetContext adds the context to the find networks params

func (*FindNetworksParams) SetDefaults added in v0.12.1

func (o *FindNetworksParams) SetDefaults()

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

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

func (*FindNetworksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the find networks params

func (*FindNetworksParams) SetTimeout

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

SetTimeout adds the timeout to the find networks params

func (*FindNetworksParams) WithBody

WithBody adds the body to the find networks params

func (*FindNetworksParams) WithContext

WithContext adds the context to the find networks params

func (*FindNetworksParams) WithDefaults added in v0.12.1

func (o *FindNetworksParams) WithDefaults() *FindNetworksParams

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

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

func (*FindNetworksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the find networks params

func (*FindNetworksParams) WithTimeout

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

WithTimeout adds the timeout to the find networks params

func (*FindNetworksParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FindNetworksReader

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

FindNetworksReader is a Reader for the FindNetworks structure.

func (*FindNetworksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FreeNetworkConflict

type FreeNetworkConflict struct {
	Payload *httperrors.HTTPErrorResponse
}

FreeNetworkConflict describes a response with status code 409, with default header values.

Conflict

func NewFreeNetworkConflict

func NewFreeNetworkConflict() *FreeNetworkConflict

NewFreeNetworkConflict creates a FreeNetworkConflict with default headers values

func (*FreeNetworkConflict) Code added in v0.22.1

func (o *FreeNetworkConflict) Code() int

Code gets the status code for the free network conflict response

func (*FreeNetworkConflict) Error

func (o *FreeNetworkConflict) Error() string

func (*FreeNetworkConflict) GetPayload added in v0.11.0

func (*FreeNetworkConflict) IsClientError added in v0.19.3

func (o *FreeNetworkConflict) IsClientError() bool

IsClientError returns true when this free network conflict response has a 4xx status code

func (*FreeNetworkConflict) IsCode added in v0.19.3

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

IsCode returns true when this free network conflict response a status code equal to that given

func (*FreeNetworkConflict) IsRedirect added in v0.19.3

func (o *FreeNetworkConflict) IsRedirect() bool

IsRedirect returns true when this free network conflict response has a 3xx status code

func (*FreeNetworkConflict) IsServerError added in v0.19.3

func (o *FreeNetworkConflict) IsServerError() bool

IsServerError returns true when this free network conflict response has a 5xx status code

func (*FreeNetworkConflict) IsSuccess added in v0.19.3

func (o *FreeNetworkConflict) IsSuccess() bool

IsSuccess returns true when this free network conflict response has a 2xx status code

func (*FreeNetworkConflict) String added in v0.19.3

func (o *FreeNetworkConflict) String() string

type FreeNetworkDefault

type FreeNetworkDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

FreeNetworkDefault describes a response with status code -1, with default header values.

Error

func NewFreeNetworkDefault

func NewFreeNetworkDefault(code int) *FreeNetworkDefault

NewFreeNetworkDefault creates a FreeNetworkDefault with default headers values

func (*FreeNetworkDefault) Code

func (o *FreeNetworkDefault) Code() int

Code gets the status code for the free network default response

func (*FreeNetworkDefault) Error

func (o *FreeNetworkDefault) Error() string

func (*FreeNetworkDefault) GetPayload added in v0.11.0

func (*FreeNetworkDefault) IsClientError added in v0.19.3

func (o *FreeNetworkDefault) IsClientError() bool

IsClientError returns true when this free network default response has a 4xx status code

func (*FreeNetworkDefault) IsCode added in v0.19.3

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

IsCode returns true when this free network default response a status code equal to that given

func (*FreeNetworkDefault) IsRedirect added in v0.19.3

func (o *FreeNetworkDefault) IsRedirect() bool

IsRedirect returns true when this free network default response has a 3xx status code

func (*FreeNetworkDefault) IsServerError added in v0.19.3

func (o *FreeNetworkDefault) IsServerError() bool

IsServerError returns true when this free network default response has a 5xx status code

func (*FreeNetworkDefault) IsSuccess added in v0.19.3

func (o *FreeNetworkDefault) IsSuccess() bool

IsSuccess returns true when this free network default response has a 2xx status code

func (*FreeNetworkDefault) String added in v0.19.3

func (o *FreeNetworkDefault) String() string

type FreeNetworkDeprecatedConflict added in v0.16.5

type FreeNetworkDeprecatedConflict struct {
	Payload *httperrors.HTTPErrorResponse
}

FreeNetworkDeprecatedConflict describes a response with status code 409, with default header values.

Conflict

func NewFreeNetworkDeprecatedConflict added in v0.16.5

func NewFreeNetworkDeprecatedConflict() *FreeNetworkDeprecatedConflict

NewFreeNetworkDeprecatedConflict creates a FreeNetworkDeprecatedConflict with default headers values

func (*FreeNetworkDeprecatedConflict) Code added in v0.22.1

Code gets the status code for the free network deprecated conflict response

func (*FreeNetworkDeprecatedConflict) Error added in v0.16.5

func (*FreeNetworkDeprecatedConflict) GetPayload added in v0.16.5

func (*FreeNetworkDeprecatedConflict) IsClientError added in v0.19.3

func (o *FreeNetworkDeprecatedConflict) IsClientError() bool

IsClientError returns true when this free network deprecated conflict response has a 4xx status code

func (*FreeNetworkDeprecatedConflict) IsCode added in v0.19.3

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

IsCode returns true when this free network deprecated conflict response a status code equal to that given

func (*FreeNetworkDeprecatedConflict) IsRedirect added in v0.19.3

func (o *FreeNetworkDeprecatedConflict) IsRedirect() bool

IsRedirect returns true when this free network deprecated conflict response has a 3xx status code

func (*FreeNetworkDeprecatedConflict) IsServerError added in v0.19.3

func (o *FreeNetworkDeprecatedConflict) IsServerError() bool

IsServerError returns true when this free network deprecated conflict response has a 5xx status code

func (*FreeNetworkDeprecatedConflict) IsSuccess added in v0.19.3

func (o *FreeNetworkDeprecatedConflict) IsSuccess() bool

IsSuccess returns true when this free network deprecated conflict response has a 2xx status code

func (*FreeNetworkDeprecatedConflict) String added in v0.19.3

type FreeNetworkDeprecatedDefault added in v0.16.5

type FreeNetworkDeprecatedDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

FreeNetworkDeprecatedDefault describes a response with status code -1, with default header values.

Error

func NewFreeNetworkDeprecatedDefault added in v0.16.5

func NewFreeNetworkDeprecatedDefault(code int) *FreeNetworkDeprecatedDefault

NewFreeNetworkDeprecatedDefault creates a FreeNetworkDeprecatedDefault with default headers values

func (*FreeNetworkDeprecatedDefault) Code added in v0.16.5

Code gets the status code for the free network deprecated default response

func (*FreeNetworkDeprecatedDefault) Error added in v0.16.5

func (*FreeNetworkDeprecatedDefault) GetPayload added in v0.16.5

func (*FreeNetworkDeprecatedDefault) IsClientError added in v0.19.3

func (o *FreeNetworkDeprecatedDefault) IsClientError() bool

IsClientError returns true when this free network deprecated default response has a 4xx status code

func (*FreeNetworkDeprecatedDefault) IsCode added in v0.19.3

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

IsCode returns true when this free network deprecated default response a status code equal to that given

func (*FreeNetworkDeprecatedDefault) IsRedirect added in v0.19.3

func (o *FreeNetworkDeprecatedDefault) IsRedirect() bool

IsRedirect returns true when this free network deprecated default response has a 3xx status code

func (*FreeNetworkDeprecatedDefault) IsServerError added in v0.19.3

func (o *FreeNetworkDeprecatedDefault) IsServerError() bool

IsServerError returns true when this free network deprecated default response has a 5xx status code

func (*FreeNetworkDeprecatedDefault) IsSuccess added in v0.19.3

func (o *FreeNetworkDeprecatedDefault) IsSuccess() bool

IsSuccess returns true when this free network deprecated default response has a 2xx status code

func (*FreeNetworkDeprecatedDefault) String added in v0.19.3

type FreeNetworkDeprecatedOK added in v0.16.5

type FreeNetworkDeprecatedOK struct {
	Payload *models.V1NetworkResponse
}

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

OK

func NewFreeNetworkDeprecatedOK added in v0.16.5

func NewFreeNetworkDeprecatedOK() *FreeNetworkDeprecatedOK

NewFreeNetworkDeprecatedOK creates a FreeNetworkDeprecatedOK with default headers values

func (*FreeNetworkDeprecatedOK) Code added in v0.22.1

func (o *FreeNetworkDeprecatedOK) Code() int

Code gets the status code for the free network deprecated o k response

func (*FreeNetworkDeprecatedOK) Error added in v0.16.5

func (o *FreeNetworkDeprecatedOK) Error() string

func (*FreeNetworkDeprecatedOK) GetPayload added in v0.16.5

func (*FreeNetworkDeprecatedOK) IsClientError added in v0.19.3

func (o *FreeNetworkDeprecatedOK) IsClientError() bool

IsClientError returns true when this free network deprecated o k response has a 4xx status code

func (*FreeNetworkDeprecatedOK) IsCode added in v0.19.3

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

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

func (*FreeNetworkDeprecatedOK) IsRedirect added in v0.19.3

func (o *FreeNetworkDeprecatedOK) IsRedirect() bool

IsRedirect returns true when this free network deprecated o k response has a 3xx status code

func (*FreeNetworkDeprecatedOK) IsServerError added in v0.19.3

func (o *FreeNetworkDeprecatedOK) IsServerError() bool

IsServerError returns true when this free network deprecated o k response has a 5xx status code

func (*FreeNetworkDeprecatedOK) IsSuccess added in v0.19.3

func (o *FreeNetworkDeprecatedOK) IsSuccess() bool

IsSuccess returns true when this free network deprecated o k response has a 2xx status code

func (*FreeNetworkDeprecatedOK) String added in v0.19.3

func (o *FreeNetworkDeprecatedOK) String() string

type FreeNetworkDeprecatedParams added in v0.16.5

type FreeNetworkDeprecatedParams struct {

	/* ID.

	   identifier of the network
	*/
	ID string

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

FreeNetworkDeprecatedParams contains all the parameters to send to the API endpoint

for the free network deprecated operation.

Typically these are written to a http.Request.

func NewFreeNetworkDeprecatedParams added in v0.16.5

func NewFreeNetworkDeprecatedParams() *FreeNetworkDeprecatedParams

NewFreeNetworkDeprecatedParams creates a new FreeNetworkDeprecatedParams 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 NewFreeNetworkDeprecatedParamsWithContext added in v0.16.5

func NewFreeNetworkDeprecatedParamsWithContext(ctx context.Context) *FreeNetworkDeprecatedParams

NewFreeNetworkDeprecatedParamsWithContext creates a new FreeNetworkDeprecatedParams object with the ability to set a context for a request.

func NewFreeNetworkDeprecatedParamsWithHTTPClient added in v0.16.5

func NewFreeNetworkDeprecatedParamsWithHTTPClient(client *http.Client) *FreeNetworkDeprecatedParams

NewFreeNetworkDeprecatedParamsWithHTTPClient creates a new FreeNetworkDeprecatedParams object with the ability to set a custom HTTPClient for a request.

func NewFreeNetworkDeprecatedParamsWithTimeout added in v0.16.5

func NewFreeNetworkDeprecatedParamsWithTimeout(timeout time.Duration) *FreeNetworkDeprecatedParams

NewFreeNetworkDeprecatedParamsWithTimeout creates a new FreeNetworkDeprecatedParams object with the ability to set a timeout on a request.

func (*FreeNetworkDeprecatedParams) SetContext added in v0.16.5

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

SetContext adds the context to the free network deprecated params

func (*FreeNetworkDeprecatedParams) SetDefaults added in v0.16.5

func (o *FreeNetworkDeprecatedParams) SetDefaults()

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

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

func (*FreeNetworkDeprecatedParams) SetHTTPClient added in v0.16.5

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

SetHTTPClient adds the HTTPClient to the free network deprecated params

func (*FreeNetworkDeprecatedParams) SetID added in v0.16.5

func (o *FreeNetworkDeprecatedParams) SetID(id string)

SetID adds the id to the free network deprecated params

func (*FreeNetworkDeprecatedParams) SetTimeout added in v0.16.5

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

SetTimeout adds the timeout to the free network deprecated params

func (*FreeNetworkDeprecatedParams) WithContext added in v0.16.5

WithContext adds the context to the free network deprecated params

func (*FreeNetworkDeprecatedParams) WithDefaults added in v0.16.5

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

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

func (*FreeNetworkDeprecatedParams) WithHTTPClient added in v0.16.5

WithHTTPClient adds the HTTPClient to the free network deprecated params

func (*FreeNetworkDeprecatedParams) WithID added in v0.16.5

WithID adds the id to the free network deprecated params

func (*FreeNetworkDeprecatedParams) WithTimeout added in v0.16.5

WithTimeout adds the timeout to the free network deprecated params

func (*FreeNetworkDeprecatedParams) WriteToRequest added in v0.16.5

WriteToRequest writes these params to a swagger request

type FreeNetworkDeprecatedReader added in v0.16.5

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

FreeNetworkDeprecatedReader is a Reader for the FreeNetworkDeprecated structure.

func (*FreeNetworkDeprecatedReader) ReadResponse added in v0.16.5

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

ReadResponse reads a server response into the received o.

type FreeNetworkOK

type FreeNetworkOK struct {
	Payload *models.V1NetworkResponse
}

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

OK

func NewFreeNetworkOK

func NewFreeNetworkOK() *FreeNetworkOK

NewFreeNetworkOK creates a FreeNetworkOK with default headers values

func (*FreeNetworkOK) Code added in v0.22.1

func (o *FreeNetworkOK) Code() int

Code gets the status code for the free network o k response

func (*FreeNetworkOK) Error

func (o *FreeNetworkOK) Error() string

func (*FreeNetworkOK) GetPayload added in v0.11.0

func (o *FreeNetworkOK) GetPayload() *models.V1NetworkResponse

func (*FreeNetworkOK) IsClientError added in v0.19.3

func (o *FreeNetworkOK) IsClientError() bool

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

func (*FreeNetworkOK) IsCode added in v0.19.3

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

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

func (*FreeNetworkOK) IsRedirect added in v0.19.3

func (o *FreeNetworkOK) IsRedirect() bool

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

func (*FreeNetworkOK) IsServerError added in v0.19.3

func (o *FreeNetworkOK) IsServerError() bool

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

func (*FreeNetworkOK) IsSuccess added in v0.19.3

func (o *FreeNetworkOK) IsSuccess() bool

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

func (*FreeNetworkOK) String added in v0.19.3

func (o *FreeNetworkOK) String() string

type FreeNetworkParams

type FreeNetworkParams struct {

	/* ID.

	   identifier of the network
	*/
	ID string

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

FreeNetworkParams contains all the parameters to send to the API endpoint

for the free network operation.

Typically these are written to a http.Request.

func NewFreeNetworkParams

func NewFreeNetworkParams() *FreeNetworkParams

NewFreeNetworkParams creates a new FreeNetworkParams 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 NewFreeNetworkParamsWithContext

func NewFreeNetworkParamsWithContext(ctx context.Context) *FreeNetworkParams

NewFreeNetworkParamsWithContext creates a new FreeNetworkParams object with the ability to set a context for a request.

func NewFreeNetworkParamsWithHTTPClient

func NewFreeNetworkParamsWithHTTPClient(client *http.Client) *FreeNetworkParams

NewFreeNetworkParamsWithHTTPClient creates a new FreeNetworkParams object with the ability to set a custom HTTPClient for a request.

func NewFreeNetworkParamsWithTimeout

func NewFreeNetworkParamsWithTimeout(timeout time.Duration) *FreeNetworkParams

NewFreeNetworkParamsWithTimeout creates a new FreeNetworkParams object with the ability to set a timeout on a request.

func (*FreeNetworkParams) SetContext

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

SetContext adds the context to the free network params

func (*FreeNetworkParams) SetDefaults added in v0.12.1

func (o *FreeNetworkParams) SetDefaults()

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

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

func (*FreeNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the free network params

func (*FreeNetworkParams) SetID

func (o *FreeNetworkParams) SetID(id string)

SetID adds the id to the free network params

func (*FreeNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the free network params

func (*FreeNetworkParams) WithContext

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

WithContext adds the context to the free network params

func (*FreeNetworkParams) WithDefaults added in v0.12.1

func (o *FreeNetworkParams) WithDefaults() *FreeNetworkParams

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

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

func (*FreeNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the free network params

func (*FreeNetworkParams) WithID

WithID adds the id to the free network params

func (*FreeNetworkParams) WithTimeout

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

WithTimeout adds the timeout to the free network params

func (*FreeNetworkParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FreeNetworkReader

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

FreeNetworkReader is a Reader for the FreeNetwork structure.

func (*FreeNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListNetworksDefault

type ListNetworksDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

ListNetworksDefault describes a response with status code -1, with default header values.

Error

func NewListNetworksDefault

func NewListNetworksDefault(code int) *ListNetworksDefault

NewListNetworksDefault creates a ListNetworksDefault with default headers values

func (*ListNetworksDefault) Code

func (o *ListNetworksDefault) Code() int

Code gets the status code for the list networks default response

func (*ListNetworksDefault) Error

func (o *ListNetworksDefault) Error() string

func (*ListNetworksDefault) GetPayload added in v0.11.0

func (*ListNetworksDefault) IsClientError added in v0.19.3

func (o *ListNetworksDefault) IsClientError() bool

IsClientError returns true when this list networks default response has a 4xx status code

func (*ListNetworksDefault) IsCode added in v0.19.3

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

IsCode returns true when this list networks default response a status code equal to that given

func (*ListNetworksDefault) IsRedirect added in v0.19.3

func (o *ListNetworksDefault) IsRedirect() bool

IsRedirect returns true when this list networks default response has a 3xx status code

func (*ListNetworksDefault) IsServerError added in v0.19.3

func (o *ListNetworksDefault) IsServerError() bool

IsServerError returns true when this list networks default response has a 5xx status code

func (*ListNetworksDefault) IsSuccess added in v0.19.3

func (o *ListNetworksDefault) IsSuccess() bool

IsSuccess returns true when this list networks default response has a 2xx status code

func (*ListNetworksDefault) String added in v0.19.3

func (o *ListNetworksDefault) String() string

type ListNetworksOK

type ListNetworksOK struct {
	Payload []*models.V1NetworkResponse
}

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

OK

func NewListNetworksOK

func NewListNetworksOK() *ListNetworksOK

NewListNetworksOK creates a ListNetworksOK with default headers values

func (*ListNetworksOK) Code added in v0.22.1

func (o *ListNetworksOK) Code() int

Code gets the status code for the list networks o k response

func (*ListNetworksOK) Error

func (o *ListNetworksOK) Error() string

func (*ListNetworksOK) GetPayload added in v0.11.0

func (o *ListNetworksOK) GetPayload() []*models.V1NetworkResponse

func (*ListNetworksOK) IsClientError added in v0.19.3

func (o *ListNetworksOK) IsClientError() bool

IsClientError returns true when this list networks o k response has a 4xx status code

func (*ListNetworksOK) IsCode added in v0.19.3

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

IsCode returns true when this list networks o k response a status code equal to that given

func (*ListNetworksOK) IsRedirect added in v0.19.3

func (o *ListNetworksOK) IsRedirect() bool

IsRedirect returns true when this list networks o k response has a 3xx status code

func (*ListNetworksOK) IsServerError added in v0.19.3

func (o *ListNetworksOK) IsServerError() bool

IsServerError returns true when this list networks o k response has a 5xx status code

func (*ListNetworksOK) IsSuccess added in v0.19.3

func (o *ListNetworksOK) IsSuccess() bool

IsSuccess returns true when this list networks o k response has a 2xx status code

func (*ListNetworksOK) String added in v0.19.3

func (o *ListNetworksOK) String() string

type ListNetworksParams

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

ListNetworksParams contains all the parameters to send to the API endpoint

for the list networks operation.

Typically these are written to a http.Request.

func NewListNetworksParams

func NewListNetworksParams() *ListNetworksParams

NewListNetworksParams creates a new ListNetworksParams 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 NewListNetworksParamsWithContext

func NewListNetworksParamsWithContext(ctx context.Context) *ListNetworksParams

NewListNetworksParamsWithContext creates a new ListNetworksParams object with the ability to set a context for a request.

func NewListNetworksParamsWithHTTPClient

func NewListNetworksParamsWithHTTPClient(client *http.Client) *ListNetworksParams

NewListNetworksParamsWithHTTPClient creates a new ListNetworksParams object with the ability to set a custom HTTPClient for a request.

func NewListNetworksParamsWithTimeout

func NewListNetworksParamsWithTimeout(timeout time.Duration) *ListNetworksParams

NewListNetworksParamsWithTimeout creates a new ListNetworksParams object with the ability to set a timeout on a request.

func (*ListNetworksParams) SetContext

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

SetContext adds the context to the list networks params

func (*ListNetworksParams) SetDefaults added in v0.12.1

func (o *ListNetworksParams) SetDefaults()

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

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

func (*ListNetworksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list networks params

func (*ListNetworksParams) SetTimeout

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

SetTimeout adds the timeout to the list networks params

func (*ListNetworksParams) WithContext

WithContext adds the context to the list networks params

func (*ListNetworksParams) WithDefaults added in v0.12.1

func (o *ListNetworksParams) WithDefaults() *ListNetworksParams

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

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

func (*ListNetworksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list networks params

func (*ListNetworksParams) WithTimeout

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

WithTimeout adds the timeout to the list networks params

func (*ListNetworksParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListNetworksReader

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

ListNetworksReader is a Reader for the ListNetworks structure.

func (*ListNetworksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNetworkConflict

type UpdateNetworkConflict struct {
	Payload *httperrors.HTTPErrorResponse
}

UpdateNetworkConflict describes a response with status code 409, with default header values.

Conflict

func NewUpdateNetworkConflict

func NewUpdateNetworkConflict() *UpdateNetworkConflict

NewUpdateNetworkConflict creates a UpdateNetworkConflict with default headers values

func (*UpdateNetworkConflict) Code added in v0.22.1

func (o *UpdateNetworkConflict) Code() int

Code gets the status code for the update network conflict response

func (*UpdateNetworkConflict) Error

func (o *UpdateNetworkConflict) Error() string

func (*UpdateNetworkConflict) GetPayload added in v0.11.0

func (*UpdateNetworkConflict) IsClientError added in v0.19.3

func (o *UpdateNetworkConflict) IsClientError() bool

IsClientError returns true when this update network conflict response has a 4xx status code

func (*UpdateNetworkConflict) IsCode added in v0.19.3

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

IsCode returns true when this update network conflict response a status code equal to that given

func (*UpdateNetworkConflict) IsRedirect added in v0.19.3

func (o *UpdateNetworkConflict) IsRedirect() bool

IsRedirect returns true when this update network conflict response has a 3xx status code

func (*UpdateNetworkConflict) IsServerError added in v0.19.3

func (o *UpdateNetworkConflict) IsServerError() bool

IsServerError returns true when this update network conflict response has a 5xx status code

func (*UpdateNetworkConflict) IsSuccess added in v0.19.3

func (o *UpdateNetworkConflict) IsSuccess() bool

IsSuccess returns true when this update network conflict response has a 2xx status code

func (*UpdateNetworkConflict) String added in v0.19.3

func (o *UpdateNetworkConflict) String() string

type UpdateNetworkDefault

type UpdateNetworkDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

UpdateNetworkDefault describes a response with status code -1, with default header values.

Error

func NewUpdateNetworkDefault

func NewUpdateNetworkDefault(code int) *UpdateNetworkDefault

NewUpdateNetworkDefault creates a UpdateNetworkDefault with default headers values

func (*UpdateNetworkDefault) Code

func (o *UpdateNetworkDefault) Code() int

Code gets the status code for the update network default response

func (*UpdateNetworkDefault) Error

func (o *UpdateNetworkDefault) Error() string

func (*UpdateNetworkDefault) GetPayload added in v0.11.0

func (*UpdateNetworkDefault) IsClientError added in v0.19.3

func (o *UpdateNetworkDefault) IsClientError() bool

IsClientError returns true when this update network default response has a 4xx status code

func (*UpdateNetworkDefault) IsCode added in v0.19.3

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

IsCode returns true when this update network default response a status code equal to that given

func (*UpdateNetworkDefault) IsRedirect added in v0.19.3

func (o *UpdateNetworkDefault) IsRedirect() bool

IsRedirect returns true when this update network default response has a 3xx status code

func (*UpdateNetworkDefault) IsServerError added in v0.19.3

func (o *UpdateNetworkDefault) IsServerError() bool

IsServerError returns true when this update network default response has a 5xx status code

func (*UpdateNetworkDefault) IsSuccess added in v0.19.3

func (o *UpdateNetworkDefault) IsSuccess() bool

IsSuccess returns true when this update network default response has a 2xx status code

func (*UpdateNetworkDefault) String added in v0.19.3

func (o *UpdateNetworkDefault) String() string

type UpdateNetworkOK

type UpdateNetworkOK struct {
	Payload *models.V1NetworkResponse
}

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

OK

func NewUpdateNetworkOK

func NewUpdateNetworkOK() *UpdateNetworkOK

NewUpdateNetworkOK creates a UpdateNetworkOK with default headers values

func (*UpdateNetworkOK) Code added in v0.22.1

func (o *UpdateNetworkOK) Code() int

Code gets the status code for the update network o k response

func (*UpdateNetworkOK) Error

func (o *UpdateNetworkOK) Error() string

func (*UpdateNetworkOK) GetPayload added in v0.11.0

func (o *UpdateNetworkOK) GetPayload() *models.V1NetworkResponse

func (*UpdateNetworkOK) IsClientError added in v0.19.3

func (o *UpdateNetworkOK) IsClientError() bool

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

func (*UpdateNetworkOK) IsCode added in v0.19.3

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

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

func (*UpdateNetworkOK) IsRedirect added in v0.19.3

func (o *UpdateNetworkOK) IsRedirect() bool

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

func (*UpdateNetworkOK) IsServerError added in v0.19.3

func (o *UpdateNetworkOK) IsServerError() bool

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

func (*UpdateNetworkOK) IsSuccess added in v0.19.3

func (o *UpdateNetworkOK) IsSuccess() bool

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

func (*UpdateNetworkOK) String added in v0.19.3

func (o *UpdateNetworkOK) String() string

type UpdateNetworkParams

type UpdateNetworkParams struct {

	// Body.
	Body *models.V1NetworkUpdateRequest

	/* Force.

	   if true update forcefully
	*/
	Force *bool

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

UpdateNetworkParams contains all the parameters to send to the API endpoint

for the update network operation.

Typically these are written to a http.Request.

func NewUpdateNetworkParams

func NewUpdateNetworkParams() *UpdateNetworkParams

NewUpdateNetworkParams creates a new UpdateNetworkParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkParamsWithContext

func NewUpdateNetworkParamsWithContext(ctx context.Context) *UpdateNetworkParams

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

func NewUpdateNetworkParamsWithHTTPClient

func NewUpdateNetworkParamsWithHTTPClient(client *http.Client) *UpdateNetworkParams

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

func NewUpdateNetworkParamsWithTimeout

func NewUpdateNetworkParamsWithTimeout(timeout time.Duration) *UpdateNetworkParams

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

func (*UpdateNetworkParams) SetBody

SetBody adds the body to the update network params

func (*UpdateNetworkParams) SetContext

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

SetContext adds the context to the update network params

func (*UpdateNetworkParams) SetDefaults added in v0.12.1

func (o *UpdateNetworkParams) SetDefaults()

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

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

func (*UpdateNetworkParams) SetForce added in v0.34.0

func (o *UpdateNetworkParams) SetForce(force *bool)

SetForce adds the force to the update network params

func (*UpdateNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update network params

func (*UpdateNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the update network params

func (*UpdateNetworkParams) WithBody

WithBody adds the body to the update network params

func (*UpdateNetworkParams) WithContext

WithContext adds the context to the update network params

func (*UpdateNetworkParams) WithDefaults added in v0.12.1

func (o *UpdateNetworkParams) WithDefaults() *UpdateNetworkParams

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

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

func (*UpdateNetworkParams) WithForce added in v0.34.0

func (o *UpdateNetworkParams) WithForce(force *bool) *UpdateNetworkParams

WithForce adds the force to the update network params

func (*UpdateNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update network params

func (*UpdateNetworkParams) WithTimeout

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

WithTimeout adds the timeout to the update network params

func (*UpdateNetworkParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateNetworkReader

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

UpdateNetworkReader is a Reader for the UpdateNetwork structure.

func (*UpdateNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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