router

package
v0.23.5 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for router API

func (*Client) CreateRouter

func (a *Client) CreateRouter(params *CreateRouterParams, opts ...ClientOption) (*CreateRouterCreated, error)

CreateRouter creates a router resource

Create a router resource. Requires admin access.

func (*Client) DeleteRouter

func (a *Client) DeleteRouter(params *DeleteRouterParams, opts ...ClientOption) (*DeleteRouterOK, error)

DeleteRouter deletes a router

Delete a router by id. Requires admin access.

func (*Client) DetailRouter

func (a *Client) DetailRouter(params *DetailRouterParams, opts ...ClientOption) (*DetailRouterOK, error)

DetailRouter retrieves a single router

Retrieves a single router by id. Requires admin access.

func (*Client) ListRouterTerminators

func (a *Client) ListRouterTerminators(params *ListRouterTerminatorsParams, opts ...ClientOption) (*ListRouterTerminatorsOK, error)

ListRouterTerminators lists of terminators assigned to a router

Retrieves a list of terminator resources that are assigned specific router; supports filtering, sorting, and pagination.

func (*Client) ListRouters

func (a *Client) ListRouters(params *ListRoutersParams, opts ...ClientOption) (*ListRoutersOK, error)

ListRouters lists routers

Retrieves a list of router resources; supports filtering, sorting, and pagination. Requires admin access.

func (*Client) PatchRouter

func (a *Client) PatchRouter(params *PatchRouterParams, opts ...ClientOption) (*PatchRouterOK, error)

PatchRouter updates the supplied fields on a router

Update the supplied fields on a router. Requires admin access.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateRouter

func (a *Client) UpdateRouter(params *UpdateRouterParams, opts ...ClientOption) (*UpdateRouterOK, error)

UpdateRouter updates all fields on a router

Update all fields on a router by id. Requires admin access.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateRouter(params *CreateRouterParams, opts ...ClientOption) (*CreateRouterCreated, error)

	DeleteRouter(params *DeleteRouterParams, opts ...ClientOption) (*DeleteRouterOK, error)

	DetailRouter(params *DetailRouterParams, opts ...ClientOption) (*DetailRouterOK, error)

	ListRouterTerminators(params *ListRouterTerminatorsParams, opts ...ClientOption) (*ListRouterTerminatorsOK, error)

	ListRouters(params *ListRoutersParams, opts ...ClientOption) (*ListRoutersOK, error)

	PatchRouter(params *PatchRouterParams, opts ...ClientOption) (*PatchRouterOK, error)

	UpdateRouter(params *UpdateRouterParams, opts ...ClientOption) (*UpdateRouterOK, 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 router API client.

type CreateRouterBadRequest

type CreateRouterBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

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

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewCreateRouterBadRequest

func NewCreateRouterBadRequest() *CreateRouterBadRequest

NewCreateRouterBadRequest creates a CreateRouterBadRequest with default headers values

func (*CreateRouterBadRequest) Code added in v0.22.74

func (o *CreateRouterBadRequest) Code() int

Code gets the status code for the create router bad request response

func (*CreateRouterBadRequest) Error

func (o *CreateRouterBadRequest) Error() string

func (*CreateRouterBadRequest) GetPayload

func (*CreateRouterBadRequest) IsClientError added in v0.21.38

func (o *CreateRouterBadRequest) IsClientError() bool

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

func (*CreateRouterBadRequest) IsCode added in v0.21.38

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

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

func (*CreateRouterBadRequest) IsRedirect added in v0.21.38

func (o *CreateRouterBadRequest) IsRedirect() bool

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

func (*CreateRouterBadRequest) IsServerError added in v0.21.38

func (o *CreateRouterBadRequest) IsServerError() bool

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

func (*CreateRouterBadRequest) IsSuccess added in v0.21.38

func (o *CreateRouterBadRequest) IsSuccess() bool

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

func (*CreateRouterBadRequest) String added in v0.21.38

func (o *CreateRouterBadRequest) String() string

type CreateRouterCreated

type CreateRouterCreated struct {
	Payload *rest_model.CreateEnvelope
}

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

The create request was successful and the resource has been added at the following location

func NewCreateRouterCreated

func NewCreateRouterCreated() *CreateRouterCreated

NewCreateRouterCreated creates a CreateRouterCreated with default headers values

func (*CreateRouterCreated) Code added in v0.22.74

func (o *CreateRouterCreated) Code() int

Code gets the status code for the create router created response

func (*CreateRouterCreated) Error

func (o *CreateRouterCreated) Error() string

func (*CreateRouterCreated) GetPayload

func (*CreateRouterCreated) IsClientError added in v0.21.38

func (o *CreateRouterCreated) IsClientError() bool

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

func (*CreateRouterCreated) IsCode added in v0.21.38

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

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

func (*CreateRouterCreated) IsRedirect added in v0.21.38

func (o *CreateRouterCreated) IsRedirect() bool

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

func (*CreateRouterCreated) IsServerError added in v0.21.38

func (o *CreateRouterCreated) IsServerError() bool

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

func (*CreateRouterCreated) IsSuccess added in v0.21.38

func (o *CreateRouterCreated) IsSuccess() bool

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

func (*CreateRouterCreated) String added in v0.21.38

func (o *CreateRouterCreated) String() string

type CreateRouterParams

type CreateRouterParams struct {

	/* Router.

	   A router to create
	*/
	Router *rest_model.RouterCreate

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

CreateRouterParams contains all the parameters to send to the API endpoint

for the create router operation.

Typically these are written to a http.Request.

func NewCreateRouterParams

func NewCreateRouterParams() *CreateRouterParams

NewCreateRouterParams creates a new CreateRouterParams 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 NewCreateRouterParamsWithContext

func NewCreateRouterParamsWithContext(ctx context.Context) *CreateRouterParams

NewCreateRouterParamsWithContext creates a new CreateRouterParams object with the ability to set a context for a request.

func NewCreateRouterParamsWithHTTPClient

func NewCreateRouterParamsWithHTTPClient(client *http.Client) *CreateRouterParams

NewCreateRouterParamsWithHTTPClient creates a new CreateRouterParams object with the ability to set a custom HTTPClient for a request.

func NewCreateRouterParamsWithTimeout

func NewCreateRouterParamsWithTimeout(timeout time.Duration) *CreateRouterParams

NewCreateRouterParamsWithTimeout creates a new CreateRouterParams object with the ability to set a timeout on a request.

func (*CreateRouterParams) SetContext

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

SetContext adds the context to the create router params

func (*CreateRouterParams) SetDefaults

func (o *CreateRouterParams) SetDefaults()

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

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

func (*CreateRouterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create router params

func (*CreateRouterParams) SetRouter

func (o *CreateRouterParams) SetRouter(router *rest_model.RouterCreate)

SetRouter adds the router to the create router params

func (*CreateRouterParams) SetTimeout

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

SetTimeout adds the timeout to the create router params

func (*CreateRouterParams) WithContext

WithContext adds the context to the create router params

func (*CreateRouterParams) WithDefaults

func (o *CreateRouterParams) WithDefaults() *CreateRouterParams

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

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

func (*CreateRouterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create router params

func (*CreateRouterParams) WithRouter

WithRouter adds the router to the create router params

func (*CreateRouterParams) WithTimeout

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

WithTimeout adds the timeout to the create router params

func (*CreateRouterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateRouterReader

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

CreateRouterReader is a Reader for the CreateRouter structure.

func (*CreateRouterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateRouterUnauthorized

type CreateRouterUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

CreateRouterUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewCreateRouterUnauthorized

func NewCreateRouterUnauthorized() *CreateRouterUnauthorized

NewCreateRouterUnauthorized creates a CreateRouterUnauthorized with default headers values

func (*CreateRouterUnauthorized) Code added in v0.22.74

func (o *CreateRouterUnauthorized) Code() int

Code gets the status code for the create router unauthorized response

func (*CreateRouterUnauthorized) Error

func (o *CreateRouterUnauthorized) Error() string

func (*CreateRouterUnauthorized) GetPayload

func (*CreateRouterUnauthorized) IsClientError added in v0.21.38

func (o *CreateRouterUnauthorized) IsClientError() bool

IsClientError returns true when this create router unauthorized response has a 4xx status code

func (*CreateRouterUnauthorized) IsCode added in v0.21.38

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

IsCode returns true when this create router unauthorized response a status code equal to that given

func (*CreateRouterUnauthorized) IsRedirect added in v0.21.38

func (o *CreateRouterUnauthorized) IsRedirect() bool

IsRedirect returns true when this create router unauthorized response has a 3xx status code

func (*CreateRouterUnauthorized) IsServerError added in v0.21.38

func (o *CreateRouterUnauthorized) IsServerError() bool

IsServerError returns true when this create router unauthorized response has a 5xx status code

func (*CreateRouterUnauthorized) IsSuccess added in v0.21.38

func (o *CreateRouterUnauthorized) IsSuccess() bool

IsSuccess returns true when this create router unauthorized response has a 2xx status code

func (*CreateRouterUnauthorized) String added in v0.21.38

func (o *CreateRouterUnauthorized) String() string

type DeleteRouterBadRequest

type DeleteRouterBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

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

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewDeleteRouterBadRequest

func NewDeleteRouterBadRequest() *DeleteRouterBadRequest

NewDeleteRouterBadRequest creates a DeleteRouterBadRequest with default headers values

func (*DeleteRouterBadRequest) Code added in v0.22.74

func (o *DeleteRouterBadRequest) Code() int

Code gets the status code for the delete router bad request response

func (*DeleteRouterBadRequest) Error

func (o *DeleteRouterBadRequest) Error() string

func (*DeleteRouterBadRequest) GetPayload

func (*DeleteRouterBadRequest) IsClientError added in v0.21.38

func (o *DeleteRouterBadRequest) IsClientError() bool

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

func (*DeleteRouterBadRequest) IsCode added in v0.21.38

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

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

func (*DeleteRouterBadRequest) IsRedirect added in v0.21.38

func (o *DeleteRouterBadRequest) IsRedirect() bool

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

func (*DeleteRouterBadRequest) IsServerError added in v0.21.38

func (o *DeleteRouterBadRequest) IsServerError() bool

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

func (*DeleteRouterBadRequest) IsSuccess added in v0.21.38

func (o *DeleteRouterBadRequest) IsSuccess() bool

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

func (*DeleteRouterBadRequest) String added in v0.21.38

func (o *DeleteRouterBadRequest) String() string

type DeleteRouterConflict

type DeleteRouterConflict struct {
	Payload *rest_model.APIErrorEnvelope
}

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

The resource requested to be removed/altered cannot be as it is referenced by another object.

func NewDeleteRouterConflict

func NewDeleteRouterConflict() *DeleteRouterConflict

NewDeleteRouterConflict creates a DeleteRouterConflict with default headers values

func (*DeleteRouterConflict) Code added in v0.22.74

func (o *DeleteRouterConflict) Code() int

Code gets the status code for the delete router conflict response

func (*DeleteRouterConflict) Error

func (o *DeleteRouterConflict) Error() string

func (*DeleteRouterConflict) GetPayload

func (*DeleteRouterConflict) IsClientError added in v0.21.38

func (o *DeleteRouterConflict) IsClientError() bool

IsClientError returns true when this delete router conflict response has a 4xx status code

func (*DeleteRouterConflict) IsCode added in v0.21.38

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

IsCode returns true when this delete router conflict response a status code equal to that given

func (*DeleteRouterConflict) IsRedirect added in v0.21.38

func (o *DeleteRouterConflict) IsRedirect() bool

IsRedirect returns true when this delete router conflict response has a 3xx status code

func (*DeleteRouterConflict) IsServerError added in v0.21.38

func (o *DeleteRouterConflict) IsServerError() bool

IsServerError returns true when this delete router conflict response has a 5xx status code

func (*DeleteRouterConflict) IsSuccess added in v0.21.38

func (o *DeleteRouterConflict) IsSuccess() bool

IsSuccess returns true when this delete router conflict response has a 2xx status code

func (*DeleteRouterConflict) String added in v0.21.38

func (o *DeleteRouterConflict) String() string

type DeleteRouterOK

type DeleteRouterOK struct {
	Payload *rest_model.Empty
}

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

The delete request was successful and the resource has been removed

func NewDeleteRouterOK

func NewDeleteRouterOK() *DeleteRouterOK

NewDeleteRouterOK creates a DeleteRouterOK with default headers values

func (*DeleteRouterOK) Code added in v0.22.74

func (o *DeleteRouterOK) Code() int

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

func (*DeleteRouterOK) Error

func (o *DeleteRouterOK) Error() string

func (*DeleteRouterOK) GetPayload

func (o *DeleteRouterOK) GetPayload() *rest_model.Empty

func (*DeleteRouterOK) IsClientError added in v0.21.38

func (o *DeleteRouterOK) IsClientError() bool

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

func (*DeleteRouterOK) IsCode added in v0.21.38

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

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

func (*DeleteRouterOK) IsRedirect added in v0.21.38

func (o *DeleteRouterOK) IsRedirect() bool

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

func (*DeleteRouterOK) IsServerError added in v0.21.38

func (o *DeleteRouterOK) IsServerError() bool

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

func (*DeleteRouterOK) IsSuccess added in v0.21.38

func (o *DeleteRouterOK) IsSuccess() bool

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

func (*DeleteRouterOK) String added in v0.21.38

func (o *DeleteRouterOK) String() string

type DeleteRouterParams

type DeleteRouterParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DeleteRouterParams contains all the parameters to send to the API endpoint

for the delete router operation.

Typically these are written to a http.Request.

func NewDeleteRouterParams

func NewDeleteRouterParams() *DeleteRouterParams

NewDeleteRouterParams creates a new DeleteRouterParams 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 NewDeleteRouterParamsWithContext

func NewDeleteRouterParamsWithContext(ctx context.Context) *DeleteRouterParams

NewDeleteRouterParamsWithContext creates a new DeleteRouterParams object with the ability to set a context for a request.

func NewDeleteRouterParamsWithHTTPClient

func NewDeleteRouterParamsWithHTTPClient(client *http.Client) *DeleteRouterParams

NewDeleteRouterParamsWithHTTPClient creates a new DeleteRouterParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteRouterParamsWithTimeout

func NewDeleteRouterParamsWithTimeout(timeout time.Duration) *DeleteRouterParams

NewDeleteRouterParamsWithTimeout creates a new DeleteRouterParams object with the ability to set a timeout on a request.

func (*DeleteRouterParams) SetContext

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

SetContext adds the context to the delete router params

func (*DeleteRouterParams) SetDefaults

func (o *DeleteRouterParams) SetDefaults()

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

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

func (*DeleteRouterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete router params

func (*DeleteRouterParams) SetID

func (o *DeleteRouterParams) SetID(id string)

SetID adds the id to the delete router params

func (*DeleteRouterParams) SetTimeout

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

SetTimeout adds the timeout to the delete router params

func (*DeleteRouterParams) WithContext

WithContext adds the context to the delete router params

func (*DeleteRouterParams) WithDefaults

func (o *DeleteRouterParams) WithDefaults() *DeleteRouterParams

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

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

func (*DeleteRouterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete router params

func (*DeleteRouterParams) WithID

WithID adds the id to the delete router params

func (*DeleteRouterParams) WithTimeout

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

WithTimeout adds the timeout to the delete router params

func (*DeleteRouterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteRouterReader

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

DeleteRouterReader is a Reader for the DeleteRouter structure.

func (*DeleteRouterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRouterUnauthorized

type DeleteRouterUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

DeleteRouterUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewDeleteRouterUnauthorized

func NewDeleteRouterUnauthorized() *DeleteRouterUnauthorized

NewDeleteRouterUnauthorized creates a DeleteRouterUnauthorized with default headers values

func (*DeleteRouterUnauthorized) Code added in v0.22.74

func (o *DeleteRouterUnauthorized) Code() int

Code gets the status code for the delete router unauthorized response

func (*DeleteRouterUnauthorized) Error

func (o *DeleteRouterUnauthorized) Error() string

func (*DeleteRouterUnauthorized) GetPayload

func (*DeleteRouterUnauthorized) IsClientError added in v0.21.38

func (o *DeleteRouterUnauthorized) IsClientError() bool

IsClientError returns true when this delete router unauthorized response has a 4xx status code

func (*DeleteRouterUnauthorized) IsCode added in v0.21.38

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

IsCode returns true when this delete router unauthorized response a status code equal to that given

func (*DeleteRouterUnauthorized) IsRedirect added in v0.21.38

func (o *DeleteRouterUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete router unauthorized response has a 3xx status code

func (*DeleteRouterUnauthorized) IsServerError added in v0.21.38

func (o *DeleteRouterUnauthorized) IsServerError() bool

IsServerError returns true when this delete router unauthorized response has a 5xx status code

func (*DeleteRouterUnauthorized) IsSuccess added in v0.21.38

func (o *DeleteRouterUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete router unauthorized response has a 2xx status code

func (*DeleteRouterUnauthorized) String added in v0.21.38

func (o *DeleteRouterUnauthorized) String() string

type DetailRouterNotFound

type DetailRouterNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}

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

The requested resource does not exist

func NewDetailRouterNotFound

func NewDetailRouterNotFound() *DetailRouterNotFound

NewDetailRouterNotFound creates a DetailRouterNotFound with default headers values

func (*DetailRouterNotFound) Code added in v0.22.74

func (o *DetailRouterNotFound) Code() int

Code gets the status code for the detail router not found response

func (*DetailRouterNotFound) Error

func (o *DetailRouterNotFound) Error() string

func (*DetailRouterNotFound) GetPayload

func (*DetailRouterNotFound) IsClientError added in v0.21.38

func (o *DetailRouterNotFound) IsClientError() bool

IsClientError returns true when this detail router not found response has a 4xx status code

func (*DetailRouterNotFound) IsCode added in v0.21.38

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

IsCode returns true when this detail router not found response a status code equal to that given

func (*DetailRouterNotFound) IsRedirect added in v0.21.38

func (o *DetailRouterNotFound) IsRedirect() bool

IsRedirect returns true when this detail router not found response has a 3xx status code

func (*DetailRouterNotFound) IsServerError added in v0.21.38

func (o *DetailRouterNotFound) IsServerError() bool

IsServerError returns true when this detail router not found response has a 5xx status code

func (*DetailRouterNotFound) IsSuccess added in v0.21.38

func (o *DetailRouterNotFound) IsSuccess() bool

IsSuccess returns true when this detail router not found response has a 2xx status code

func (*DetailRouterNotFound) String added in v0.21.38

func (o *DetailRouterNotFound) String() string

type DetailRouterOK

type DetailRouterOK struct {
	Payload *rest_model.DetailRouterEnvelope
}

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

A single router

func NewDetailRouterOK

func NewDetailRouterOK() *DetailRouterOK

NewDetailRouterOK creates a DetailRouterOK with default headers values

func (*DetailRouterOK) Code added in v0.22.74

func (o *DetailRouterOK) Code() int

Code gets the status code for the detail router o k response

func (*DetailRouterOK) Error

func (o *DetailRouterOK) Error() string

func (*DetailRouterOK) GetPayload

func (*DetailRouterOK) IsClientError added in v0.21.38

func (o *DetailRouterOK) IsClientError() bool

IsClientError returns true when this detail router o k response has a 4xx status code

func (*DetailRouterOK) IsCode added in v0.21.38

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

IsCode returns true when this detail router o k response a status code equal to that given

func (*DetailRouterOK) IsRedirect added in v0.21.38

func (o *DetailRouterOK) IsRedirect() bool

IsRedirect returns true when this detail router o k response has a 3xx status code

func (*DetailRouterOK) IsServerError added in v0.21.38

func (o *DetailRouterOK) IsServerError() bool

IsServerError returns true when this detail router o k response has a 5xx status code

func (*DetailRouterOK) IsSuccess added in v0.21.38

func (o *DetailRouterOK) IsSuccess() bool

IsSuccess returns true when this detail router o k response has a 2xx status code

func (*DetailRouterOK) String added in v0.21.38

func (o *DetailRouterOK) String() string

type DetailRouterParams

type DetailRouterParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DetailRouterParams contains all the parameters to send to the API endpoint

for the detail router operation.

Typically these are written to a http.Request.

func NewDetailRouterParams

func NewDetailRouterParams() *DetailRouterParams

NewDetailRouterParams creates a new DetailRouterParams 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 NewDetailRouterParamsWithContext

func NewDetailRouterParamsWithContext(ctx context.Context) *DetailRouterParams

NewDetailRouterParamsWithContext creates a new DetailRouterParams object with the ability to set a context for a request.

func NewDetailRouterParamsWithHTTPClient

func NewDetailRouterParamsWithHTTPClient(client *http.Client) *DetailRouterParams

NewDetailRouterParamsWithHTTPClient creates a new DetailRouterParams object with the ability to set a custom HTTPClient for a request.

func NewDetailRouterParamsWithTimeout

func NewDetailRouterParamsWithTimeout(timeout time.Duration) *DetailRouterParams

NewDetailRouterParamsWithTimeout creates a new DetailRouterParams object with the ability to set a timeout on a request.

func (*DetailRouterParams) SetContext

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

SetContext adds the context to the detail router params

func (*DetailRouterParams) SetDefaults

func (o *DetailRouterParams) SetDefaults()

SetDefaults hydrates default values in the detail router params (not the query body).

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

func (*DetailRouterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the detail router params

func (*DetailRouterParams) SetID

func (o *DetailRouterParams) SetID(id string)

SetID adds the id to the detail router params

func (*DetailRouterParams) SetTimeout

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

SetTimeout adds the timeout to the detail router params

func (*DetailRouterParams) WithContext

WithContext adds the context to the detail router params

func (*DetailRouterParams) WithDefaults

func (o *DetailRouterParams) WithDefaults() *DetailRouterParams

WithDefaults hydrates default values in the detail router params (not the query body).

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

func (*DetailRouterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the detail router params

func (*DetailRouterParams) WithID

WithID adds the id to the detail router params

func (*DetailRouterParams) WithTimeout

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

WithTimeout adds the timeout to the detail router params

func (*DetailRouterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DetailRouterReader

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

DetailRouterReader is a Reader for the DetailRouter structure.

func (*DetailRouterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DetailRouterUnauthorized

type DetailRouterUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

DetailRouterUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewDetailRouterUnauthorized

func NewDetailRouterUnauthorized() *DetailRouterUnauthorized

NewDetailRouterUnauthorized creates a DetailRouterUnauthorized with default headers values

func (*DetailRouterUnauthorized) Code added in v0.22.74

func (o *DetailRouterUnauthorized) Code() int

Code gets the status code for the detail router unauthorized response

func (*DetailRouterUnauthorized) Error

func (o *DetailRouterUnauthorized) Error() string

func (*DetailRouterUnauthorized) GetPayload

func (*DetailRouterUnauthorized) IsClientError added in v0.21.38

func (o *DetailRouterUnauthorized) IsClientError() bool

IsClientError returns true when this detail router unauthorized response has a 4xx status code

func (*DetailRouterUnauthorized) IsCode added in v0.21.38

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

IsCode returns true when this detail router unauthorized response a status code equal to that given

func (*DetailRouterUnauthorized) IsRedirect added in v0.21.38

func (o *DetailRouterUnauthorized) IsRedirect() bool

IsRedirect returns true when this detail router unauthorized response has a 3xx status code

func (*DetailRouterUnauthorized) IsServerError added in v0.21.38

func (o *DetailRouterUnauthorized) IsServerError() bool

IsServerError returns true when this detail router unauthorized response has a 5xx status code

func (*DetailRouterUnauthorized) IsSuccess added in v0.21.38

func (o *DetailRouterUnauthorized) IsSuccess() bool

IsSuccess returns true when this detail router unauthorized response has a 2xx status code

func (*DetailRouterUnauthorized) String added in v0.21.38

func (o *DetailRouterUnauthorized) String() string

type ListRouterTerminatorsBadRequest

type ListRouterTerminatorsBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

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

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewListRouterTerminatorsBadRequest

func NewListRouterTerminatorsBadRequest() *ListRouterTerminatorsBadRequest

NewListRouterTerminatorsBadRequest creates a ListRouterTerminatorsBadRequest with default headers values

func (*ListRouterTerminatorsBadRequest) Code added in v0.22.74

Code gets the status code for the list router terminators bad request response

func (*ListRouterTerminatorsBadRequest) Error

func (*ListRouterTerminatorsBadRequest) GetPayload

func (*ListRouterTerminatorsBadRequest) IsClientError added in v0.21.38

func (o *ListRouterTerminatorsBadRequest) IsClientError() bool

IsClientError returns true when this list router terminators bad request response has a 4xx status code

func (*ListRouterTerminatorsBadRequest) IsCode added in v0.21.38

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

IsCode returns true when this list router terminators bad request response a status code equal to that given

func (*ListRouterTerminatorsBadRequest) IsRedirect added in v0.21.38

func (o *ListRouterTerminatorsBadRequest) IsRedirect() bool

IsRedirect returns true when this list router terminators bad request response has a 3xx status code

func (*ListRouterTerminatorsBadRequest) IsServerError added in v0.21.38

func (o *ListRouterTerminatorsBadRequest) IsServerError() bool

IsServerError returns true when this list router terminators bad request response has a 5xx status code

func (*ListRouterTerminatorsBadRequest) IsSuccess added in v0.21.38

func (o *ListRouterTerminatorsBadRequest) IsSuccess() bool

IsSuccess returns true when this list router terminators bad request response has a 2xx status code

func (*ListRouterTerminatorsBadRequest) String added in v0.21.38

type ListRouterTerminatorsOK

type ListRouterTerminatorsOK struct {
	Payload *rest_model.ListTerminatorsEnvelope
}

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

A list of terminators

func NewListRouterTerminatorsOK

func NewListRouterTerminatorsOK() *ListRouterTerminatorsOK

NewListRouterTerminatorsOK creates a ListRouterTerminatorsOK with default headers values

func (*ListRouterTerminatorsOK) Code added in v0.22.74

func (o *ListRouterTerminatorsOK) Code() int

Code gets the status code for the list router terminators o k response

func (*ListRouterTerminatorsOK) Error

func (o *ListRouterTerminatorsOK) Error() string

func (*ListRouterTerminatorsOK) GetPayload

func (*ListRouterTerminatorsOK) IsClientError added in v0.21.38

func (o *ListRouterTerminatorsOK) IsClientError() bool

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

func (*ListRouterTerminatorsOK) IsCode added in v0.21.38

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

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

func (*ListRouterTerminatorsOK) IsRedirect added in v0.21.38

func (o *ListRouterTerminatorsOK) IsRedirect() bool

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

func (*ListRouterTerminatorsOK) IsServerError added in v0.21.38

func (o *ListRouterTerminatorsOK) IsServerError() bool

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

func (*ListRouterTerminatorsOK) IsSuccess added in v0.21.38

func (o *ListRouterTerminatorsOK) IsSuccess() bool

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

func (*ListRouterTerminatorsOK) String added in v0.21.38

func (o *ListRouterTerminatorsOK) String() string

type ListRouterTerminatorsParams

type ListRouterTerminatorsParams struct {

	// Filter.
	Filter *string

	/* ID.

	   The id of the requested resource
	*/
	ID string

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

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

ListRouterTerminatorsParams contains all the parameters to send to the API endpoint

for the list router terminators operation.

Typically these are written to a http.Request.

func NewListRouterTerminatorsParams

func NewListRouterTerminatorsParams() *ListRouterTerminatorsParams

NewListRouterTerminatorsParams creates a new ListRouterTerminatorsParams 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 NewListRouterTerminatorsParamsWithContext

func NewListRouterTerminatorsParamsWithContext(ctx context.Context) *ListRouterTerminatorsParams

NewListRouterTerminatorsParamsWithContext creates a new ListRouterTerminatorsParams object with the ability to set a context for a request.

func NewListRouterTerminatorsParamsWithHTTPClient

func NewListRouterTerminatorsParamsWithHTTPClient(client *http.Client) *ListRouterTerminatorsParams

NewListRouterTerminatorsParamsWithHTTPClient creates a new ListRouterTerminatorsParams object with the ability to set a custom HTTPClient for a request.

func NewListRouterTerminatorsParamsWithTimeout

func NewListRouterTerminatorsParamsWithTimeout(timeout time.Duration) *ListRouterTerminatorsParams

NewListRouterTerminatorsParamsWithTimeout creates a new ListRouterTerminatorsParams object with the ability to set a timeout on a request.

func (*ListRouterTerminatorsParams) SetContext

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

SetContext adds the context to the list router terminators params

func (*ListRouterTerminatorsParams) SetDefaults

func (o *ListRouterTerminatorsParams) SetDefaults()

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

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

func (*ListRouterTerminatorsParams) SetFilter

func (o *ListRouterTerminatorsParams) SetFilter(filter *string)

SetFilter adds the filter to the list router terminators params

func (*ListRouterTerminatorsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list router terminators params

func (*ListRouterTerminatorsParams) SetID

func (o *ListRouterTerminatorsParams) SetID(id string)

SetID adds the id to the list router terminators params

func (*ListRouterTerminatorsParams) SetLimit

func (o *ListRouterTerminatorsParams) SetLimit(limit *int64)

SetLimit adds the limit to the list router terminators params

func (*ListRouterTerminatorsParams) SetOffset

func (o *ListRouterTerminatorsParams) SetOffset(offset *int64)

SetOffset adds the offset to the list router terminators params

func (*ListRouterTerminatorsParams) SetTimeout

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

SetTimeout adds the timeout to the list router terminators params

func (*ListRouterTerminatorsParams) WithContext

WithContext adds the context to the list router terminators params

func (*ListRouterTerminatorsParams) WithDefaults

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

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

func (*ListRouterTerminatorsParams) WithFilter

WithFilter adds the filter to the list router terminators params

func (*ListRouterTerminatorsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list router terminators params

func (*ListRouterTerminatorsParams) WithID

WithID adds the id to the list router terminators params

func (*ListRouterTerminatorsParams) WithLimit

WithLimit adds the limit to the list router terminators params

func (*ListRouterTerminatorsParams) WithOffset

WithOffset adds the offset to the list router terminators params

func (*ListRouterTerminatorsParams) WithTimeout

WithTimeout adds the timeout to the list router terminators params

func (*ListRouterTerminatorsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListRouterTerminatorsReader

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

ListRouterTerminatorsReader is a Reader for the ListRouterTerminators structure.

func (*ListRouterTerminatorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListRouterTerminatorsUnauthorized

type ListRouterTerminatorsUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

ListRouterTerminatorsUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewListRouterTerminatorsUnauthorized

func NewListRouterTerminatorsUnauthorized() *ListRouterTerminatorsUnauthorized

NewListRouterTerminatorsUnauthorized creates a ListRouterTerminatorsUnauthorized with default headers values

func (*ListRouterTerminatorsUnauthorized) Code added in v0.22.74

Code gets the status code for the list router terminators unauthorized response

func (*ListRouterTerminatorsUnauthorized) Error

func (*ListRouterTerminatorsUnauthorized) GetPayload

func (*ListRouterTerminatorsUnauthorized) IsClientError added in v0.21.38

func (o *ListRouterTerminatorsUnauthorized) IsClientError() bool

IsClientError returns true when this list router terminators unauthorized response has a 4xx status code

func (*ListRouterTerminatorsUnauthorized) IsCode added in v0.21.38

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

IsCode returns true when this list router terminators unauthorized response a status code equal to that given

func (*ListRouterTerminatorsUnauthorized) IsRedirect added in v0.21.38

func (o *ListRouterTerminatorsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list router terminators unauthorized response has a 3xx status code

func (*ListRouterTerminatorsUnauthorized) IsServerError added in v0.21.38

func (o *ListRouterTerminatorsUnauthorized) IsServerError() bool

IsServerError returns true when this list router terminators unauthorized response has a 5xx status code

func (*ListRouterTerminatorsUnauthorized) IsSuccess added in v0.21.38

func (o *ListRouterTerminatorsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list router terminators unauthorized response has a 2xx status code

func (*ListRouterTerminatorsUnauthorized) String added in v0.21.38

type ListRoutersOK

type ListRoutersOK struct {
	Payload *rest_model.ListRoutersEnvelope
}

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

A list of routers

func NewListRoutersOK

func NewListRoutersOK() *ListRoutersOK

NewListRoutersOK creates a ListRoutersOK with default headers values

func (*ListRoutersOK) Code added in v0.22.74

func (o *ListRoutersOK) Code() int

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

func (*ListRoutersOK) Error

func (o *ListRoutersOK) Error() string

func (*ListRoutersOK) GetPayload

func (o *ListRoutersOK) GetPayload() *rest_model.ListRoutersEnvelope

func (*ListRoutersOK) IsClientError added in v0.21.38

func (o *ListRoutersOK) IsClientError() bool

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

func (*ListRoutersOK) IsCode added in v0.21.38

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

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

func (*ListRoutersOK) IsRedirect added in v0.21.38

func (o *ListRoutersOK) IsRedirect() bool

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

func (*ListRoutersOK) IsServerError added in v0.21.38

func (o *ListRoutersOK) IsServerError() bool

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

func (*ListRoutersOK) IsSuccess added in v0.21.38

func (o *ListRoutersOK) IsSuccess() bool

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

func (*ListRoutersOK) String added in v0.21.38

func (o *ListRoutersOK) String() string

type ListRoutersParams

type ListRoutersParams struct {

	// Filter.
	Filter *string

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

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

ListRoutersParams contains all the parameters to send to the API endpoint

for the list routers operation.

Typically these are written to a http.Request.

func NewListRoutersParams

func NewListRoutersParams() *ListRoutersParams

NewListRoutersParams creates a new ListRoutersParams 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 NewListRoutersParamsWithContext

func NewListRoutersParamsWithContext(ctx context.Context) *ListRoutersParams

NewListRoutersParamsWithContext creates a new ListRoutersParams object with the ability to set a context for a request.

func NewListRoutersParamsWithHTTPClient

func NewListRoutersParamsWithHTTPClient(client *http.Client) *ListRoutersParams

NewListRoutersParamsWithHTTPClient creates a new ListRoutersParams object with the ability to set a custom HTTPClient for a request.

func NewListRoutersParamsWithTimeout

func NewListRoutersParamsWithTimeout(timeout time.Duration) *ListRoutersParams

NewListRoutersParamsWithTimeout creates a new ListRoutersParams object with the ability to set a timeout on a request.

func (*ListRoutersParams) SetContext

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

SetContext adds the context to the list routers params

func (*ListRoutersParams) SetDefaults

func (o *ListRoutersParams) SetDefaults()

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

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

func (*ListRoutersParams) SetFilter

func (o *ListRoutersParams) SetFilter(filter *string)

SetFilter adds the filter to the list routers params

func (*ListRoutersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list routers params

func (*ListRoutersParams) SetLimit

func (o *ListRoutersParams) SetLimit(limit *int64)

SetLimit adds the limit to the list routers params

func (*ListRoutersParams) SetOffset

func (o *ListRoutersParams) SetOffset(offset *int64)

SetOffset adds the offset to the list routers params

func (*ListRoutersParams) SetTimeout

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

SetTimeout adds the timeout to the list routers params

func (*ListRoutersParams) WithContext

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

WithContext adds the context to the list routers params

func (*ListRoutersParams) WithDefaults

func (o *ListRoutersParams) WithDefaults() *ListRoutersParams

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

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

func (*ListRoutersParams) WithFilter

func (o *ListRoutersParams) WithFilter(filter *string) *ListRoutersParams

WithFilter adds the filter to the list routers params

func (*ListRoutersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list routers params

func (*ListRoutersParams) WithLimit

func (o *ListRoutersParams) WithLimit(limit *int64) *ListRoutersParams

WithLimit adds the limit to the list routers params

func (*ListRoutersParams) WithOffset

func (o *ListRoutersParams) WithOffset(offset *int64) *ListRoutersParams

WithOffset adds the offset to the list routers params

func (*ListRoutersParams) WithTimeout

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

WithTimeout adds the timeout to the list routers params

func (*ListRoutersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListRoutersReader

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

ListRoutersReader is a Reader for the ListRouters structure.

func (*ListRoutersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListRoutersUnauthorized

type ListRoutersUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

ListRoutersUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewListRoutersUnauthorized

func NewListRoutersUnauthorized() *ListRoutersUnauthorized

NewListRoutersUnauthorized creates a ListRoutersUnauthorized with default headers values

func (*ListRoutersUnauthorized) Code added in v0.22.74

func (o *ListRoutersUnauthorized) Code() int

Code gets the status code for the list routers unauthorized response

func (*ListRoutersUnauthorized) Error

func (o *ListRoutersUnauthorized) Error() string

func (*ListRoutersUnauthorized) GetPayload

func (*ListRoutersUnauthorized) IsClientError added in v0.21.38

func (o *ListRoutersUnauthorized) IsClientError() bool

IsClientError returns true when this list routers unauthorized response has a 4xx status code

func (*ListRoutersUnauthorized) IsCode added in v0.21.38

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

IsCode returns true when this list routers unauthorized response a status code equal to that given

func (*ListRoutersUnauthorized) IsRedirect added in v0.21.38

func (o *ListRoutersUnauthorized) IsRedirect() bool

IsRedirect returns true when this list routers unauthorized response has a 3xx status code

func (*ListRoutersUnauthorized) IsServerError added in v0.21.38

func (o *ListRoutersUnauthorized) IsServerError() bool

IsServerError returns true when this list routers unauthorized response has a 5xx status code

func (*ListRoutersUnauthorized) IsSuccess added in v0.21.38

func (o *ListRoutersUnauthorized) IsSuccess() bool

IsSuccess returns true when this list routers unauthorized response has a 2xx status code

func (*ListRoutersUnauthorized) String added in v0.21.38

func (o *ListRoutersUnauthorized) String() string

type PatchRouterBadRequest

type PatchRouterBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

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

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewPatchRouterBadRequest

func NewPatchRouterBadRequest() *PatchRouterBadRequest

NewPatchRouterBadRequest creates a PatchRouterBadRequest with default headers values

func (*PatchRouterBadRequest) Code added in v0.22.74

func (o *PatchRouterBadRequest) Code() int

Code gets the status code for the patch router bad request response

func (*PatchRouterBadRequest) Error

func (o *PatchRouterBadRequest) Error() string

func (*PatchRouterBadRequest) GetPayload

func (*PatchRouterBadRequest) IsClientError added in v0.21.38

func (o *PatchRouterBadRequest) IsClientError() bool

IsClientError returns true when this patch router bad request response has a 4xx status code

func (*PatchRouterBadRequest) IsCode added in v0.21.38

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

IsCode returns true when this patch router bad request response a status code equal to that given

func (*PatchRouterBadRequest) IsRedirect added in v0.21.38

func (o *PatchRouterBadRequest) IsRedirect() bool

IsRedirect returns true when this patch router bad request response has a 3xx status code

func (*PatchRouterBadRequest) IsServerError added in v0.21.38

func (o *PatchRouterBadRequest) IsServerError() bool

IsServerError returns true when this patch router bad request response has a 5xx status code

func (*PatchRouterBadRequest) IsSuccess added in v0.21.38

func (o *PatchRouterBadRequest) IsSuccess() bool

IsSuccess returns true when this patch router bad request response has a 2xx status code

func (*PatchRouterBadRequest) String added in v0.21.38

func (o *PatchRouterBadRequest) String() string

type PatchRouterNotFound

type PatchRouterNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}

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

The requested resource does not exist

func NewPatchRouterNotFound

func NewPatchRouterNotFound() *PatchRouterNotFound

NewPatchRouterNotFound creates a PatchRouterNotFound with default headers values

func (*PatchRouterNotFound) Code added in v0.22.74

func (o *PatchRouterNotFound) Code() int

Code gets the status code for the patch router not found response

func (*PatchRouterNotFound) Error

func (o *PatchRouterNotFound) Error() string

func (*PatchRouterNotFound) GetPayload

func (*PatchRouterNotFound) IsClientError added in v0.21.38

func (o *PatchRouterNotFound) IsClientError() bool

IsClientError returns true when this patch router not found response has a 4xx status code

func (*PatchRouterNotFound) IsCode added in v0.21.38

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

IsCode returns true when this patch router not found response a status code equal to that given

func (*PatchRouterNotFound) IsRedirect added in v0.21.38

func (o *PatchRouterNotFound) IsRedirect() bool

IsRedirect returns true when this patch router not found response has a 3xx status code

func (*PatchRouterNotFound) IsServerError added in v0.21.38

func (o *PatchRouterNotFound) IsServerError() bool

IsServerError returns true when this patch router not found response has a 5xx status code

func (*PatchRouterNotFound) IsSuccess added in v0.21.38

func (o *PatchRouterNotFound) IsSuccess() bool

IsSuccess returns true when this patch router not found response has a 2xx status code

func (*PatchRouterNotFound) String added in v0.21.38

func (o *PatchRouterNotFound) String() string

type PatchRouterOK

type PatchRouterOK struct {
	Payload *rest_model.Empty
}

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

The patch request was successful and the resource has been altered

func NewPatchRouterOK

func NewPatchRouterOK() *PatchRouterOK

NewPatchRouterOK creates a PatchRouterOK with default headers values

func (*PatchRouterOK) Code added in v0.22.74

func (o *PatchRouterOK) Code() int

Code gets the status code for the patch router o k response

func (*PatchRouterOK) Error

func (o *PatchRouterOK) Error() string

func (*PatchRouterOK) GetPayload

func (o *PatchRouterOK) GetPayload() *rest_model.Empty

func (*PatchRouterOK) IsClientError added in v0.21.38

func (o *PatchRouterOK) IsClientError() bool

IsClientError returns true when this patch router o k response has a 4xx status code

func (*PatchRouterOK) IsCode added in v0.21.38

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

IsCode returns true when this patch router o k response a status code equal to that given

func (*PatchRouterOK) IsRedirect added in v0.21.38

func (o *PatchRouterOK) IsRedirect() bool

IsRedirect returns true when this patch router o k response has a 3xx status code

func (*PatchRouterOK) IsServerError added in v0.21.38

func (o *PatchRouterOK) IsServerError() bool

IsServerError returns true when this patch router o k response has a 5xx status code

func (*PatchRouterOK) IsSuccess added in v0.21.38

func (o *PatchRouterOK) IsSuccess() bool

IsSuccess returns true when this patch router o k response has a 2xx status code

func (*PatchRouterOK) String added in v0.21.38

func (o *PatchRouterOK) String() string

type PatchRouterParams

type PatchRouterParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

	/* Router.

	   A router patch object
	*/
	Router *rest_model.RouterPatch

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

PatchRouterParams contains all the parameters to send to the API endpoint

for the patch router operation.

Typically these are written to a http.Request.

func NewPatchRouterParams

func NewPatchRouterParams() *PatchRouterParams

NewPatchRouterParams creates a new PatchRouterParams 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 NewPatchRouterParamsWithContext

func NewPatchRouterParamsWithContext(ctx context.Context) *PatchRouterParams

NewPatchRouterParamsWithContext creates a new PatchRouterParams object with the ability to set a context for a request.

func NewPatchRouterParamsWithHTTPClient

func NewPatchRouterParamsWithHTTPClient(client *http.Client) *PatchRouterParams

NewPatchRouterParamsWithHTTPClient creates a new PatchRouterParams object with the ability to set a custom HTTPClient for a request.

func NewPatchRouterParamsWithTimeout

func NewPatchRouterParamsWithTimeout(timeout time.Duration) *PatchRouterParams

NewPatchRouterParamsWithTimeout creates a new PatchRouterParams object with the ability to set a timeout on a request.

func (*PatchRouterParams) SetContext

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

SetContext adds the context to the patch router params

func (*PatchRouterParams) SetDefaults

func (o *PatchRouterParams) SetDefaults()

SetDefaults hydrates default values in the patch router params (not the query body).

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

func (*PatchRouterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch router params

func (*PatchRouterParams) SetID

func (o *PatchRouterParams) SetID(id string)

SetID adds the id to the patch router params

func (*PatchRouterParams) SetRouter

func (o *PatchRouterParams) SetRouter(router *rest_model.RouterPatch)

SetRouter adds the router to the patch router params

func (*PatchRouterParams) SetTimeout

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

SetTimeout adds the timeout to the patch router params

func (*PatchRouterParams) WithContext

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

WithContext adds the context to the patch router params

func (*PatchRouterParams) WithDefaults

func (o *PatchRouterParams) WithDefaults() *PatchRouterParams

WithDefaults hydrates default values in the patch router params (not the query body).

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

func (*PatchRouterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch router params

func (*PatchRouterParams) WithID

WithID adds the id to the patch router params

func (*PatchRouterParams) WithRouter

WithRouter adds the router to the patch router params

func (*PatchRouterParams) WithTimeout

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

WithTimeout adds the timeout to the patch router params

func (*PatchRouterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchRouterReader

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

PatchRouterReader is a Reader for the PatchRouter structure.

func (*PatchRouterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchRouterUnauthorized

type PatchRouterUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

PatchRouterUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewPatchRouterUnauthorized

func NewPatchRouterUnauthorized() *PatchRouterUnauthorized

NewPatchRouterUnauthorized creates a PatchRouterUnauthorized with default headers values

func (*PatchRouterUnauthorized) Code added in v0.22.74

func (o *PatchRouterUnauthorized) Code() int

Code gets the status code for the patch router unauthorized response

func (*PatchRouterUnauthorized) Error

func (o *PatchRouterUnauthorized) Error() string

func (*PatchRouterUnauthorized) GetPayload

func (*PatchRouterUnauthorized) IsClientError added in v0.21.38

func (o *PatchRouterUnauthorized) IsClientError() bool

IsClientError returns true when this patch router unauthorized response has a 4xx status code

func (*PatchRouterUnauthorized) IsCode added in v0.21.38

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

IsCode returns true when this patch router unauthorized response a status code equal to that given

func (*PatchRouterUnauthorized) IsRedirect added in v0.21.38

func (o *PatchRouterUnauthorized) IsRedirect() bool

IsRedirect returns true when this patch router unauthorized response has a 3xx status code

func (*PatchRouterUnauthorized) IsServerError added in v0.21.38

func (o *PatchRouterUnauthorized) IsServerError() bool

IsServerError returns true when this patch router unauthorized response has a 5xx status code

func (*PatchRouterUnauthorized) IsSuccess added in v0.21.38

func (o *PatchRouterUnauthorized) IsSuccess() bool

IsSuccess returns true when this patch router unauthorized response has a 2xx status code

func (*PatchRouterUnauthorized) String added in v0.21.38

func (o *PatchRouterUnauthorized) String() string

type UpdateRouterBadRequest

type UpdateRouterBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}

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

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewUpdateRouterBadRequest

func NewUpdateRouterBadRequest() *UpdateRouterBadRequest

NewUpdateRouterBadRequest creates a UpdateRouterBadRequest with default headers values

func (*UpdateRouterBadRequest) Code added in v0.22.74

func (o *UpdateRouterBadRequest) Code() int

Code gets the status code for the update router bad request response

func (*UpdateRouterBadRequest) Error

func (o *UpdateRouterBadRequest) Error() string

func (*UpdateRouterBadRequest) GetPayload

func (*UpdateRouterBadRequest) IsClientError added in v0.21.38

func (o *UpdateRouterBadRequest) IsClientError() bool

IsClientError returns true when this update router bad request response has a 4xx status code

func (*UpdateRouterBadRequest) IsCode added in v0.21.38

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

IsCode returns true when this update router bad request response a status code equal to that given

func (*UpdateRouterBadRequest) IsRedirect added in v0.21.38

func (o *UpdateRouterBadRequest) IsRedirect() bool

IsRedirect returns true when this update router bad request response has a 3xx status code

func (*UpdateRouterBadRequest) IsServerError added in v0.21.38

func (o *UpdateRouterBadRequest) IsServerError() bool

IsServerError returns true when this update router bad request response has a 5xx status code

func (*UpdateRouterBadRequest) IsSuccess added in v0.21.38

func (o *UpdateRouterBadRequest) IsSuccess() bool

IsSuccess returns true when this update router bad request response has a 2xx status code

func (*UpdateRouterBadRequest) String added in v0.21.38

func (o *UpdateRouterBadRequest) String() string

type UpdateRouterNotFound

type UpdateRouterNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}

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

The requested resource does not exist

func NewUpdateRouterNotFound

func NewUpdateRouterNotFound() *UpdateRouterNotFound

NewUpdateRouterNotFound creates a UpdateRouterNotFound with default headers values

func (*UpdateRouterNotFound) Code added in v0.22.74

func (o *UpdateRouterNotFound) Code() int

Code gets the status code for the update router not found response

func (*UpdateRouterNotFound) Error

func (o *UpdateRouterNotFound) Error() string

func (*UpdateRouterNotFound) GetPayload

func (*UpdateRouterNotFound) IsClientError added in v0.21.38

func (o *UpdateRouterNotFound) IsClientError() bool

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

func (*UpdateRouterNotFound) IsCode added in v0.21.38

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

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

func (*UpdateRouterNotFound) IsRedirect added in v0.21.38

func (o *UpdateRouterNotFound) IsRedirect() bool

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

func (*UpdateRouterNotFound) IsServerError added in v0.21.38

func (o *UpdateRouterNotFound) IsServerError() bool

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

func (*UpdateRouterNotFound) IsSuccess added in v0.21.38

func (o *UpdateRouterNotFound) IsSuccess() bool

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

func (*UpdateRouterNotFound) String added in v0.21.38

func (o *UpdateRouterNotFound) String() string

type UpdateRouterOK

type UpdateRouterOK struct {
	Payload *rest_model.Empty
}

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

The update request was successful and the resource has been altered

func NewUpdateRouterOK

func NewUpdateRouterOK() *UpdateRouterOK

NewUpdateRouterOK creates a UpdateRouterOK with default headers values

func (*UpdateRouterOK) Code added in v0.22.74

func (o *UpdateRouterOK) Code() int

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

func (*UpdateRouterOK) Error

func (o *UpdateRouterOK) Error() string

func (*UpdateRouterOK) GetPayload

func (o *UpdateRouterOK) GetPayload() *rest_model.Empty

func (*UpdateRouterOK) IsClientError added in v0.21.38

func (o *UpdateRouterOK) IsClientError() bool

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

func (*UpdateRouterOK) IsCode added in v0.21.38

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

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

func (*UpdateRouterOK) IsRedirect added in v0.21.38

func (o *UpdateRouterOK) IsRedirect() bool

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

func (*UpdateRouterOK) IsServerError added in v0.21.38

func (o *UpdateRouterOK) IsServerError() bool

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

func (*UpdateRouterOK) IsSuccess added in v0.21.38

func (o *UpdateRouterOK) IsSuccess() bool

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

func (*UpdateRouterOK) String added in v0.21.38

func (o *UpdateRouterOK) String() string

type UpdateRouterParams

type UpdateRouterParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

	/* Router.

	   A router update object
	*/
	Router *rest_model.RouterUpdate

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

UpdateRouterParams contains all the parameters to send to the API endpoint

for the update router operation.

Typically these are written to a http.Request.

func NewUpdateRouterParams

func NewUpdateRouterParams() *UpdateRouterParams

NewUpdateRouterParams creates a new UpdateRouterParams 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 NewUpdateRouterParamsWithContext

func NewUpdateRouterParamsWithContext(ctx context.Context) *UpdateRouterParams

NewUpdateRouterParamsWithContext creates a new UpdateRouterParams object with the ability to set a context for a request.

func NewUpdateRouterParamsWithHTTPClient

func NewUpdateRouterParamsWithHTTPClient(client *http.Client) *UpdateRouterParams

NewUpdateRouterParamsWithHTTPClient creates a new UpdateRouterParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateRouterParamsWithTimeout

func NewUpdateRouterParamsWithTimeout(timeout time.Duration) *UpdateRouterParams

NewUpdateRouterParamsWithTimeout creates a new UpdateRouterParams object with the ability to set a timeout on a request.

func (*UpdateRouterParams) SetContext

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

SetContext adds the context to the update router params

func (*UpdateRouterParams) SetDefaults

func (o *UpdateRouterParams) SetDefaults()

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

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

func (*UpdateRouterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update router params

func (*UpdateRouterParams) SetID

func (o *UpdateRouterParams) SetID(id string)

SetID adds the id to the update router params

func (*UpdateRouterParams) SetRouter

func (o *UpdateRouterParams) SetRouter(router *rest_model.RouterUpdate)

SetRouter adds the router to the update router params

func (*UpdateRouterParams) SetTimeout

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

SetTimeout adds the timeout to the update router params

func (*UpdateRouterParams) WithContext

WithContext adds the context to the update router params

func (*UpdateRouterParams) WithDefaults

func (o *UpdateRouterParams) WithDefaults() *UpdateRouterParams

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

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

func (*UpdateRouterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update router params

func (*UpdateRouterParams) WithID

WithID adds the id to the update router params

func (*UpdateRouterParams) WithRouter

WithRouter adds the router to the update router params

func (*UpdateRouterParams) WithTimeout

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

WithTimeout adds the timeout to the update router params

func (*UpdateRouterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateRouterReader

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

UpdateRouterReader is a Reader for the UpdateRouter structure.

func (*UpdateRouterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateRouterUnauthorized

type UpdateRouterUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

UpdateRouterUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewUpdateRouterUnauthorized

func NewUpdateRouterUnauthorized() *UpdateRouterUnauthorized

NewUpdateRouterUnauthorized creates a UpdateRouterUnauthorized with default headers values

func (*UpdateRouterUnauthorized) Code added in v0.22.74

func (o *UpdateRouterUnauthorized) Code() int

Code gets the status code for the update router unauthorized response

func (*UpdateRouterUnauthorized) Error

func (o *UpdateRouterUnauthorized) Error() string

func (*UpdateRouterUnauthorized) GetPayload

func (*UpdateRouterUnauthorized) IsClientError added in v0.21.38

func (o *UpdateRouterUnauthorized) IsClientError() bool

IsClientError returns true when this update router unauthorized response has a 4xx status code

func (*UpdateRouterUnauthorized) IsCode added in v0.21.38

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

IsCode returns true when this update router unauthorized response a status code equal to that given

func (*UpdateRouterUnauthorized) IsRedirect added in v0.21.38

func (o *UpdateRouterUnauthorized) IsRedirect() bool

IsRedirect returns true when this update router unauthorized response has a 3xx status code

func (*UpdateRouterUnauthorized) IsServerError added in v0.21.38

func (o *UpdateRouterUnauthorized) IsServerError() bool

IsServerError returns true when this update router unauthorized response has a 5xx status code

func (*UpdateRouterUnauthorized) IsSuccess added in v0.21.38

func (o *UpdateRouterUnauthorized) IsSuccess() bool

IsSuccess returns true when this update router unauthorized response has a 2xx status code

func (*UpdateRouterUnauthorized) String added in v0.21.38

func (o *UpdateRouterUnauthorized) String() string

Jump to

Keyboard shortcuts

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