router

package
v0.28.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CreateRouterBadRequestCode int = 400

CreateRouterBadRequestCode is the HTTP code returned for type CreateRouterBadRequest

View Source
const CreateRouterCreatedCode int = 201

CreateRouterCreatedCode is the HTTP code returned for type CreateRouterCreated

View Source
const CreateRouterServiceUnavailableCode int = 503

CreateRouterServiceUnavailableCode is the HTTP code returned for type CreateRouterServiceUnavailable

View Source
const CreateRouterTooManyRequestsCode int = 429

CreateRouterTooManyRequestsCode is the HTTP code returned for type CreateRouterTooManyRequests

View Source
const CreateRouterUnauthorizedCode int = 401

CreateRouterUnauthorizedCode is the HTTP code returned for type CreateRouterUnauthorized

View Source
const CreateTransitRouterBadRequestCode int = 400

CreateTransitRouterBadRequestCode is the HTTP code returned for type CreateTransitRouterBadRequest

View Source
const CreateTransitRouterCreatedCode int = 201

CreateTransitRouterCreatedCode is the HTTP code returned for type CreateTransitRouterCreated

View Source
const CreateTransitRouterServiceUnavailableCode int = 503

CreateTransitRouterServiceUnavailableCode is the HTTP code returned for type CreateTransitRouterServiceUnavailable

View Source
const CreateTransitRouterTooManyRequestsCode int = 429

CreateTransitRouterTooManyRequestsCode is the HTTP code returned for type CreateTransitRouterTooManyRequests

View Source
const CreateTransitRouterUnauthorizedCode int = 401

CreateTransitRouterUnauthorizedCode is the HTTP code returned for type CreateTransitRouterUnauthorized

View Source
const DeleteRouterBadRequestCode int = 400

DeleteRouterBadRequestCode is the HTTP code returned for type DeleteRouterBadRequest

View Source
const DeleteRouterConflictCode int = 409

DeleteRouterConflictCode is the HTTP code returned for type DeleteRouterConflict

View Source
const DeleteRouterOKCode int = 200

DeleteRouterOKCode is the HTTP code returned for type DeleteRouterOK

View Source
const DeleteRouterServiceUnavailableCode int = 503

DeleteRouterServiceUnavailableCode is the HTTP code returned for type DeleteRouterServiceUnavailable

View Source
const DeleteRouterTooManyRequestsCode int = 429

DeleteRouterTooManyRequestsCode is the HTTP code returned for type DeleteRouterTooManyRequests

View Source
const DeleteRouterUnauthorizedCode int = 401

DeleteRouterUnauthorizedCode is the HTTP code returned for type DeleteRouterUnauthorized

View Source
const DeleteTransitRouterBadRequestCode int = 400

DeleteTransitRouterBadRequestCode is the HTTP code returned for type DeleteTransitRouterBadRequest

View Source
const DeleteTransitRouterConflictCode int = 409

DeleteTransitRouterConflictCode is the HTTP code returned for type DeleteTransitRouterConflict

View Source
const DeleteTransitRouterNotFoundCode int = 404

DeleteTransitRouterNotFoundCode is the HTTP code returned for type DeleteTransitRouterNotFound

View Source
const DeleteTransitRouterOKCode int = 200

DeleteTransitRouterOKCode is the HTTP code returned for type DeleteTransitRouterOK

View Source
const DeleteTransitRouterServiceUnavailableCode int = 503

DeleteTransitRouterServiceUnavailableCode is the HTTP code returned for type DeleteTransitRouterServiceUnavailable

View Source
const DeleteTransitRouterTooManyRequestsCode int = 429

DeleteTransitRouterTooManyRequestsCode is the HTTP code returned for type DeleteTransitRouterTooManyRequests

View Source
const DeleteTransitRouterUnauthorizedCode int = 401

DeleteTransitRouterUnauthorizedCode is the HTTP code returned for type DeleteTransitRouterUnauthorized

View Source
const DetailRouterNotFoundCode int = 404

DetailRouterNotFoundCode is the HTTP code returned for type DetailRouterNotFound

View Source
const DetailRouterOKCode int = 200

DetailRouterOKCode is the HTTP code returned for type DetailRouterOK

View Source
const DetailRouterServiceUnavailableCode int = 503

DetailRouterServiceUnavailableCode is the HTTP code returned for type DetailRouterServiceUnavailable

View Source
const DetailRouterTooManyRequestsCode int = 429

DetailRouterTooManyRequestsCode is the HTTP code returned for type DetailRouterTooManyRequests

View Source
const DetailRouterUnauthorizedCode int = 401

DetailRouterUnauthorizedCode is the HTTP code returned for type DetailRouterUnauthorized

View Source
const DetailTransitRouterNotFoundCode int = 404

DetailTransitRouterNotFoundCode is the HTTP code returned for type DetailTransitRouterNotFound

View Source
const DetailTransitRouterOKCode int = 200

DetailTransitRouterOKCode is the HTTP code returned for type DetailTransitRouterOK

View Source
const DetailTransitRouterServiceUnavailableCode int = 503

DetailTransitRouterServiceUnavailableCode is the HTTP code returned for type DetailTransitRouterServiceUnavailable

View Source
const DetailTransitRouterTooManyRequestsCode int = 429

DetailTransitRouterTooManyRequestsCode is the HTTP code returned for type DetailTransitRouterTooManyRequests

View Source
const DetailTransitRouterUnauthorizedCode int = 401

DetailTransitRouterUnauthorizedCode is the HTTP code returned for type DetailTransitRouterUnauthorized

View Source
const ListRoutersBadRequestCode int = 400

ListRoutersBadRequestCode is the HTTP code returned for type ListRoutersBadRequest

View Source
const ListRoutersOKCode int = 200

ListRoutersOKCode is the HTTP code returned for type ListRoutersOK

View Source
const ListRoutersServiceUnavailableCode int = 503

ListRoutersServiceUnavailableCode is the HTTP code returned for type ListRoutersServiceUnavailable

View Source
const ListRoutersTooManyRequestsCode int = 429

ListRoutersTooManyRequestsCode is the HTTP code returned for type ListRoutersTooManyRequests

View Source
const ListRoutersUnauthorizedCode int = 401

ListRoutersUnauthorizedCode is the HTTP code returned for type ListRoutersUnauthorized

View Source
const ListTransitRoutersBadRequestCode int = 400

ListTransitRoutersBadRequestCode is the HTTP code returned for type ListTransitRoutersBadRequest

View Source
const ListTransitRoutersOKCode int = 200

ListTransitRoutersOKCode is the HTTP code returned for type ListTransitRoutersOK

View Source
const ListTransitRoutersServiceUnavailableCode int = 503

ListTransitRoutersServiceUnavailableCode is the HTTP code returned for type ListTransitRoutersServiceUnavailable

View Source
const ListTransitRoutersTooManyRequestsCode int = 429

ListTransitRoutersTooManyRequestsCode is the HTTP code returned for type ListTransitRoutersTooManyRequests

View Source
const ListTransitRoutersUnauthorizedCode int = 401

ListTransitRoutersUnauthorizedCode is the HTTP code returned for type ListTransitRoutersUnauthorized

View Source
const PatchRouterBadRequestCode int = 400

PatchRouterBadRequestCode is the HTTP code returned for type PatchRouterBadRequest

View Source
const PatchRouterNotFoundCode int = 404

PatchRouterNotFoundCode is the HTTP code returned for type PatchRouterNotFound

View Source
const PatchRouterOKCode int = 200

PatchRouterOKCode is the HTTP code returned for type PatchRouterOK

View Source
const PatchRouterServiceUnavailableCode int = 503

PatchRouterServiceUnavailableCode is the HTTP code returned for type PatchRouterServiceUnavailable

View Source
const PatchRouterTooManyRequestsCode int = 429

PatchRouterTooManyRequestsCode is the HTTP code returned for type PatchRouterTooManyRequests

View Source
const PatchRouterUnauthorizedCode int = 401

PatchRouterUnauthorizedCode is the HTTP code returned for type PatchRouterUnauthorized

View Source
const PatchTransitRouterBadRequestCode int = 400

PatchTransitRouterBadRequestCode is the HTTP code returned for type PatchTransitRouterBadRequest

View Source
const PatchTransitRouterNotFoundCode int = 404

PatchTransitRouterNotFoundCode is the HTTP code returned for type PatchTransitRouterNotFound

View Source
const PatchTransitRouterOKCode int = 200

PatchTransitRouterOKCode is the HTTP code returned for type PatchTransitRouterOK

View Source
const PatchTransitRouterServiceUnavailableCode int = 503

PatchTransitRouterServiceUnavailableCode is the HTTP code returned for type PatchTransitRouterServiceUnavailable

View Source
const PatchTransitRouterTooManyRequestsCode int = 429

PatchTransitRouterTooManyRequestsCode is the HTTP code returned for type PatchTransitRouterTooManyRequests

View Source
const PatchTransitRouterUnauthorizedCode int = 401

PatchTransitRouterUnauthorizedCode is the HTTP code returned for type PatchTransitRouterUnauthorized

View Source
const UpdateRouterBadRequestCode int = 400

UpdateRouterBadRequestCode is the HTTP code returned for type UpdateRouterBadRequest

View Source
const UpdateRouterNotFoundCode int = 404

UpdateRouterNotFoundCode is the HTTP code returned for type UpdateRouterNotFound

View Source
const UpdateRouterOKCode int = 200

UpdateRouterOKCode is the HTTP code returned for type UpdateRouterOK

View Source
const UpdateRouterServiceUnavailableCode int = 503

UpdateRouterServiceUnavailableCode is the HTTP code returned for type UpdateRouterServiceUnavailable

View Source
const UpdateRouterTooManyRequestsCode int = 429

UpdateRouterTooManyRequestsCode is the HTTP code returned for type UpdateRouterTooManyRequests

View Source
const UpdateRouterUnauthorizedCode int = 401

UpdateRouterUnauthorizedCode is the HTTP code returned for type UpdateRouterUnauthorized

View Source
const UpdateTransitRouterBadRequestCode int = 400

UpdateTransitRouterBadRequestCode is the HTTP code returned for type UpdateTransitRouterBadRequest

View Source
const UpdateTransitRouterNotFoundCode int = 404

UpdateTransitRouterNotFoundCode is the HTTP code returned for type UpdateTransitRouterNotFound

View Source
const UpdateTransitRouterOKCode int = 200

UpdateTransitRouterOKCode is the HTTP code returned for type UpdateTransitRouterOK

View Source
const UpdateTransitRouterServiceUnavailableCode int = 503

UpdateTransitRouterServiceUnavailableCode is the HTTP code returned for type UpdateTransitRouterServiceUnavailable

View Source
const UpdateTransitRouterTooManyRequestsCode int = 429

UpdateTransitRouterTooManyRequestsCode is the HTTP code returned for type UpdateTransitRouterTooManyRequests

View Source
const UpdateTransitRouterUnauthorizedCode int = 401

UpdateTransitRouterUnauthorizedCode is the HTTP code returned for type UpdateTransitRouterUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRouter

type CreateRouter struct {
	Context *middleware.Context
	Handler CreateRouterHandler
}
CreateRouter swagger:route POST /routers Router createRouter

Create a router resource

Create a router resource. Requires admin access.

func NewCreateRouter

func NewCreateRouter(ctx *middleware.Context, handler CreateRouterHandler) *CreateRouter

NewCreateRouter creates a new http.Handler for the create router operation

func (*CreateRouter) ServeHTTP

func (o *CreateRouter) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CreateRouterBadRequest

type CreateRouterBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CreateRouterBadRequest 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

swagger:response createRouterBadRequest

func NewCreateRouterBadRequest

func NewCreateRouterBadRequest() *CreateRouterBadRequest

NewCreateRouterBadRequest creates CreateRouterBadRequest with default headers values

func (*CreateRouterBadRequest) SetPayload

func (o *CreateRouterBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the create router bad request response

func (*CreateRouterBadRequest) SetWWWAuthenticate added in v0.26.53

func (o *CreateRouterBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the create router bad request response

func (*CreateRouterBadRequest) WithPayload

WithPayload adds the payload to the create router bad request response

func (*CreateRouterBadRequest) WithWWWAuthenticate added in v0.26.53

func (o *CreateRouterBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRouterBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the create router bad request response

func (*CreateRouterBadRequest) WriteResponse

func (o *CreateRouterBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateRouterCreated

type CreateRouterCreated struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.CreateEnvelope `json:"body,omitempty"`
}

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

swagger:response createRouterCreated

func NewCreateRouterCreated

func NewCreateRouterCreated() *CreateRouterCreated

NewCreateRouterCreated creates CreateRouterCreated with default headers values

func (*CreateRouterCreated) SetPayload

func (o *CreateRouterCreated) SetPayload(payload *rest_model.CreateEnvelope)

SetPayload sets the payload to the create router created response

func (*CreateRouterCreated) SetWWWAuthenticate added in v0.26.53

func (o *CreateRouterCreated) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the create router created response

func (*CreateRouterCreated) WithPayload

WithPayload adds the payload to the create router created response

func (*CreateRouterCreated) WithWWWAuthenticate added in v0.26.53

func (o *CreateRouterCreated) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRouterCreated

WithWWWAuthenticate adds the wWWAuthenticate to the create router created response

func (*CreateRouterCreated) WriteResponse

func (o *CreateRouterCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateRouterHandler

type CreateRouterHandler interface {
	Handle(CreateRouterParams, any) middleware.Responder
}

CreateRouterHandler interface for that can handle valid create router params

type CreateRouterHandlerFunc

type CreateRouterHandlerFunc func(CreateRouterParams, any) middleware.Responder

CreateRouterHandlerFunc turns a function with the right signature into a create router handler

func (CreateRouterHandlerFunc) Handle

func (fn CreateRouterHandlerFunc) Handle(params CreateRouterParams, principal any) middleware.Responder

Handle executing the request and returning a response

type CreateRouterParams

type CreateRouterParams struct {
	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*A router to create
	  Required: true
	  In: body
	*/
	Router *rest_model.RouterCreate
}

CreateRouterParams contains all the bound params for the create router operation typically these are obtained from a http.Request

swagger:parameters createRouter

func NewCreateRouterParams

func NewCreateRouterParams() CreateRouterParams

NewCreateRouterParams creates a new CreateRouterParams object

There are no default values defined in the spec.

func (*CreateRouterParams) BindRequest

func (o *CreateRouterParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewCreateRouterParams() beforehand.

type CreateRouterServiceUnavailable added in v0.26.36

type CreateRouterServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CreateRouterServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response createRouterServiceUnavailable

func NewCreateRouterServiceUnavailable added in v0.26.36

func NewCreateRouterServiceUnavailable() *CreateRouterServiceUnavailable

NewCreateRouterServiceUnavailable creates CreateRouterServiceUnavailable with default headers values

func (*CreateRouterServiceUnavailable) SetPayload added in v0.26.36

SetPayload sets the payload to the create router service unavailable response

func (*CreateRouterServiceUnavailable) SetWWWAuthenticate added in v0.26.53

func (o *CreateRouterServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the create router service unavailable response

func (*CreateRouterServiceUnavailable) WithPayload added in v0.26.36

WithPayload adds the payload to the create router service unavailable response

func (*CreateRouterServiceUnavailable) WithWWWAuthenticate added in v0.26.53

func (o *CreateRouterServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRouterServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the create router service unavailable response

func (*CreateRouterServiceUnavailable) WriteResponse added in v0.26.36

func (o *CreateRouterServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateRouterTooManyRequests added in v0.26.0

type CreateRouterTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CreateRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response createRouterTooManyRequests

func NewCreateRouterTooManyRequests added in v0.26.0

func NewCreateRouterTooManyRequests() *CreateRouterTooManyRequests

NewCreateRouterTooManyRequests creates CreateRouterTooManyRequests with default headers values

func (*CreateRouterTooManyRequests) SetPayload added in v0.26.0

SetPayload sets the payload to the create router too many requests response

func (*CreateRouterTooManyRequests) SetWWWAuthenticate added in v0.26.53

func (o *CreateRouterTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the create router too many requests response

func (*CreateRouterTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the create router too many requests response

func (*CreateRouterTooManyRequests) WithWWWAuthenticate added in v0.26.53

func (o *CreateRouterTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRouterTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the create router too many requests response

func (*CreateRouterTooManyRequests) WriteResponse added in v0.26.0

func (o *CreateRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateRouterURL

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

CreateRouterURL generates an URL for the create router operation

func (*CreateRouterURL) Build

func (o *CreateRouterURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateRouterURL) BuildFull

func (o *CreateRouterURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateRouterURL) Must

func (o *CreateRouterURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreateRouterURL) SetBasePath

func (o *CreateRouterURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*CreateRouterURL) String

func (o *CreateRouterURL) String() string

String returns the string representation of the path with query string

func (*CreateRouterURL) StringFull

func (o *CreateRouterURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateRouterURL) WithBasePath

func (o *CreateRouterURL) WithBasePath(bp string) *CreateRouterURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type CreateRouterUnauthorized

type CreateRouterUnauthorized struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response createRouterUnauthorized

func NewCreateRouterUnauthorized

func NewCreateRouterUnauthorized() *CreateRouterUnauthorized

NewCreateRouterUnauthorized creates CreateRouterUnauthorized with default headers values

func (*CreateRouterUnauthorized) SetPayload

func (o *CreateRouterUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the create router unauthorized response

func (*CreateRouterUnauthorized) SetWWWAuthenticate added in v0.26.53

func (o *CreateRouterUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the create router unauthorized response

func (*CreateRouterUnauthorized) WithPayload

WithPayload adds the payload to the create router unauthorized response

func (*CreateRouterUnauthorized) WithWWWAuthenticate added in v0.26.53

func (o *CreateRouterUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRouterUnauthorized

WithWWWAuthenticate adds the wWWAuthenticate to the create router unauthorized response

func (*CreateRouterUnauthorized) WriteResponse

func (o *CreateRouterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateTransitRouter

type CreateTransitRouter struct {
	Context *middleware.Context
	Handler CreateTransitRouterHandler
}
CreateTransitRouter swagger:route POST /transit-routers Router createTransitRouter

Create a router resource

Create a router resource. Requires admin access.

func NewCreateTransitRouter

func NewCreateTransitRouter(ctx *middleware.Context, handler CreateTransitRouterHandler) *CreateTransitRouter

NewCreateTransitRouter creates a new http.Handler for the create transit router operation

func (*CreateTransitRouter) ServeHTTP

func (o *CreateTransitRouter) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CreateTransitRouterBadRequest

type CreateTransitRouterBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CreateTransitRouterBadRequest 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

swagger:response createTransitRouterBadRequest

func NewCreateTransitRouterBadRequest

func NewCreateTransitRouterBadRequest() *CreateTransitRouterBadRequest

NewCreateTransitRouterBadRequest creates CreateTransitRouterBadRequest with default headers values

func (*CreateTransitRouterBadRequest) SetPayload

SetPayload sets the payload to the create transit router bad request response

func (*CreateTransitRouterBadRequest) SetWWWAuthenticate added in v0.26.53

func (o *CreateTransitRouterBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the create transit router bad request response

func (*CreateTransitRouterBadRequest) WithPayload

WithPayload adds the payload to the create transit router bad request response

func (*CreateTransitRouterBadRequest) WithWWWAuthenticate added in v0.26.53

func (o *CreateTransitRouterBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *CreateTransitRouterBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the create transit router bad request response

func (*CreateTransitRouterBadRequest) WriteResponse

func (o *CreateTransitRouterBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateTransitRouterCreated

type CreateTransitRouterCreated struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.CreateEnvelope `json:"body,omitempty"`
}

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

swagger:response createTransitRouterCreated

func NewCreateTransitRouterCreated

func NewCreateTransitRouterCreated() *CreateTransitRouterCreated

NewCreateTransitRouterCreated creates CreateTransitRouterCreated with default headers values

func (*CreateTransitRouterCreated) SetPayload

func (o *CreateTransitRouterCreated) SetPayload(payload *rest_model.CreateEnvelope)

SetPayload sets the payload to the create transit router created response

func (*CreateTransitRouterCreated) SetWWWAuthenticate added in v0.26.53

func (o *CreateTransitRouterCreated) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the create transit router created response

func (*CreateTransitRouterCreated) WithPayload

WithPayload adds the payload to the create transit router created response

func (*CreateTransitRouterCreated) WithWWWAuthenticate added in v0.26.53

func (o *CreateTransitRouterCreated) WithWWWAuthenticate(wWWAuthenticate []string) *CreateTransitRouterCreated

WithWWWAuthenticate adds the wWWAuthenticate to the create transit router created response

func (*CreateTransitRouterCreated) WriteResponse

func (o *CreateTransitRouterCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateTransitRouterHandler

type CreateTransitRouterHandler interface {
	Handle(CreateTransitRouterParams, any) middleware.Responder
}

CreateTransitRouterHandler interface for that can handle valid create transit router params

type CreateTransitRouterHandlerFunc

type CreateTransitRouterHandlerFunc func(CreateTransitRouterParams, any) middleware.Responder

CreateTransitRouterHandlerFunc turns a function with the right signature into a create transit router handler

func (CreateTransitRouterHandlerFunc) Handle

Handle executing the request and returning a response

type CreateTransitRouterParams

type CreateTransitRouterParams struct {
	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*A router to create
	  Required: true
	  In: body
	*/
	Router *rest_model.RouterCreate
}

CreateTransitRouterParams contains all the bound params for the create transit router operation typically these are obtained from a http.Request

swagger:parameters createTransitRouter

func NewCreateTransitRouterParams

func NewCreateTransitRouterParams() CreateTransitRouterParams

NewCreateTransitRouterParams creates a new CreateTransitRouterParams object

There are no default values defined in the spec.

func (*CreateTransitRouterParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewCreateTransitRouterParams() beforehand.

type CreateTransitRouterServiceUnavailable added in v0.26.36

type CreateTransitRouterServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CreateTransitRouterServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response createTransitRouterServiceUnavailable

func NewCreateTransitRouterServiceUnavailable added in v0.26.36

func NewCreateTransitRouterServiceUnavailable() *CreateTransitRouterServiceUnavailable

NewCreateTransitRouterServiceUnavailable creates CreateTransitRouterServiceUnavailable with default headers values

func (*CreateTransitRouterServiceUnavailable) SetPayload added in v0.26.36

SetPayload sets the payload to the create transit router service unavailable response

func (*CreateTransitRouterServiceUnavailable) SetWWWAuthenticate added in v0.26.53

func (o *CreateTransitRouterServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the create transit router service unavailable response

func (*CreateTransitRouterServiceUnavailable) WithPayload added in v0.26.36

WithPayload adds the payload to the create transit router service unavailable response

func (*CreateTransitRouterServiceUnavailable) WithWWWAuthenticate added in v0.26.53

func (o *CreateTransitRouterServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *CreateTransitRouterServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the create transit router service unavailable response

func (*CreateTransitRouterServiceUnavailable) WriteResponse added in v0.26.36

WriteResponse to the client

type CreateTransitRouterTooManyRequests added in v0.26.0

type CreateTransitRouterTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CreateTransitRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response createTransitRouterTooManyRequests

func NewCreateTransitRouterTooManyRequests added in v0.26.0

func NewCreateTransitRouterTooManyRequests() *CreateTransitRouterTooManyRequests

NewCreateTransitRouterTooManyRequests creates CreateTransitRouterTooManyRequests with default headers values

func (*CreateTransitRouterTooManyRequests) SetPayload added in v0.26.0

SetPayload sets the payload to the create transit router too many requests response

func (*CreateTransitRouterTooManyRequests) SetWWWAuthenticate added in v0.26.53

func (o *CreateTransitRouterTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the create transit router too many requests response

func (*CreateTransitRouterTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the create transit router too many requests response

func (*CreateTransitRouterTooManyRequests) WithWWWAuthenticate added in v0.26.53

func (o *CreateTransitRouterTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *CreateTransitRouterTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the create transit router too many requests response

func (*CreateTransitRouterTooManyRequests) WriteResponse added in v0.26.0

WriteResponse to the client

type CreateTransitRouterURL

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

CreateTransitRouterURL generates an URL for the create transit router operation

func (*CreateTransitRouterURL) Build

func (o *CreateTransitRouterURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateTransitRouterURL) BuildFull

func (o *CreateTransitRouterURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateTransitRouterURL) Must

func (o *CreateTransitRouterURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreateTransitRouterURL) SetBasePath

func (o *CreateTransitRouterURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*CreateTransitRouterURL) String

func (o *CreateTransitRouterURL) String() string

String returns the string representation of the path with query string

func (*CreateTransitRouterURL) StringFull

func (o *CreateTransitRouterURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateTransitRouterURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type CreateTransitRouterUnauthorized

type CreateTransitRouterUnauthorized struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response createTransitRouterUnauthorized

func NewCreateTransitRouterUnauthorized

func NewCreateTransitRouterUnauthorized() *CreateTransitRouterUnauthorized

NewCreateTransitRouterUnauthorized creates CreateTransitRouterUnauthorized with default headers values

func (*CreateTransitRouterUnauthorized) SetPayload

SetPayload sets the payload to the create transit router unauthorized response

func (*CreateTransitRouterUnauthorized) SetWWWAuthenticate added in v0.26.53

func (o *CreateTransitRouterUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the create transit router unauthorized response

func (*CreateTransitRouterUnauthorized) WithPayload

WithPayload adds the payload to the create transit router unauthorized response

func (*CreateTransitRouterUnauthorized) WithWWWAuthenticate added in v0.26.53

func (o *CreateTransitRouterUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *CreateTransitRouterUnauthorized

WithWWWAuthenticate adds the wWWAuthenticate to the create transit router unauthorized response

func (*CreateTransitRouterUnauthorized) WriteResponse

func (o *CreateTransitRouterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteRouter

type DeleteRouter struct {
	Context *middleware.Context
	Handler DeleteRouterHandler
}
DeleteRouter swagger:route DELETE /routers/{id} Router deleteRouter

Delete a router

Delete a router by id. Requires admin access.

func NewDeleteRouter

func NewDeleteRouter(ctx *middleware.Context, handler DeleteRouterHandler) *DeleteRouter

NewDeleteRouter creates a new http.Handler for the delete router operation

func (*DeleteRouter) ServeHTTP

func (o *DeleteRouter) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteRouterBadRequest

type DeleteRouterBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteRouterBadRequest 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

swagger:response deleteRouterBadRequest

func NewDeleteRouterBadRequest

func NewDeleteRouterBadRequest() *DeleteRouterBadRequest

NewDeleteRouterBadRequest creates DeleteRouterBadRequest with default headers values

func (*DeleteRouterBadRequest) SetPayload

func (o *DeleteRouterBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the delete router bad request response

func (*DeleteRouterBadRequest) SetWWWAuthenticate added in v0.26.53

func (o *DeleteRouterBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the delete router bad request response

func (*DeleteRouterBadRequest) WithPayload

WithPayload adds the payload to the delete router bad request response

func (*DeleteRouterBadRequest) WithWWWAuthenticate added in v0.26.53

func (o *DeleteRouterBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *DeleteRouterBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the delete router bad request response

func (*DeleteRouterBadRequest) WriteResponse

func (o *DeleteRouterBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteRouterConflict

type DeleteRouterConflict struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response deleteRouterConflict

func NewDeleteRouterConflict

func NewDeleteRouterConflict() *DeleteRouterConflict

NewDeleteRouterConflict creates DeleteRouterConflict with default headers values

func (*DeleteRouterConflict) SetPayload

func (o *DeleteRouterConflict) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the delete router conflict response

func (*DeleteRouterConflict) SetWWWAuthenticate added in v0.26.53

func (o *DeleteRouterConflict) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the delete router conflict response

func (*DeleteRouterConflict) WithPayload

WithPayload adds the payload to the delete router conflict response

func (*DeleteRouterConflict) WithWWWAuthenticate added in v0.26.53

func (o *DeleteRouterConflict) WithWWWAuthenticate(wWWAuthenticate []string) *DeleteRouterConflict

WithWWWAuthenticate adds the wWWAuthenticate to the delete router conflict response

func (*DeleteRouterConflict) WriteResponse

func (o *DeleteRouterConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteRouterHandler

type DeleteRouterHandler interface {
	Handle(DeleteRouterParams, any) middleware.Responder
}

DeleteRouterHandler interface for that can handle valid delete router params

type DeleteRouterHandlerFunc

type DeleteRouterHandlerFunc func(DeleteRouterParams, any) middleware.Responder

DeleteRouterHandlerFunc turns a function with the right signature into a delete router handler

func (DeleteRouterHandlerFunc) Handle

func (fn DeleteRouterHandlerFunc) Handle(params DeleteRouterParams, principal any) middleware.Responder

Handle executing the request and returning a response

type DeleteRouterOK

type DeleteRouterOK struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

DeleteRouterOK The delete request was successful and the resource has been removed

swagger:response deleteRouterOK

func NewDeleteRouterOK

func NewDeleteRouterOK() *DeleteRouterOK

NewDeleteRouterOK creates DeleteRouterOK with default headers values

func (*DeleteRouterOK) SetPayload

func (o *DeleteRouterOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the delete router o k response

func (*DeleteRouterOK) SetWWWAuthenticate added in v0.26.53

func (o *DeleteRouterOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the delete router o k response

func (*DeleteRouterOK) WithPayload

func (o *DeleteRouterOK) WithPayload(payload *rest_model.Empty) *DeleteRouterOK

WithPayload adds the payload to the delete router o k response

func (*DeleteRouterOK) WithWWWAuthenticate added in v0.26.53

func (o *DeleteRouterOK) WithWWWAuthenticate(wWWAuthenticate []string) *DeleteRouterOK

WithWWWAuthenticate adds the wWWAuthenticate to the delete router o k response

func (*DeleteRouterOK) WriteResponse

func (o *DeleteRouterOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteRouterParams

type DeleteRouterParams struct {
	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

DeleteRouterParams contains all the bound params for the delete router operation typically these are obtained from a http.Request

swagger:parameters deleteRouter

func NewDeleteRouterParams

func NewDeleteRouterParams() DeleteRouterParams

NewDeleteRouterParams creates a new DeleteRouterParams object

There are no default values defined in the spec.

func (*DeleteRouterParams) BindRequest

func (o *DeleteRouterParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteRouterParams() beforehand.

type DeleteRouterServiceUnavailable added in v0.26.36

type DeleteRouterServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteRouterServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response deleteRouterServiceUnavailable

func NewDeleteRouterServiceUnavailable added in v0.26.36

func NewDeleteRouterServiceUnavailable() *DeleteRouterServiceUnavailable

NewDeleteRouterServiceUnavailable creates DeleteRouterServiceUnavailable with default headers values

func (*DeleteRouterServiceUnavailable) SetPayload added in v0.26.36

SetPayload sets the payload to the delete router service unavailable response

func (*DeleteRouterServiceUnavailable) SetWWWAuthenticate added in v0.26.53

func (o *DeleteRouterServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the delete router service unavailable response

func (*DeleteRouterServiceUnavailable) WithPayload added in v0.26.36

WithPayload adds the payload to the delete router service unavailable response

func (*DeleteRouterServiceUnavailable) WithWWWAuthenticate added in v0.26.53

func (o *DeleteRouterServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *DeleteRouterServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the delete router service unavailable response

func (*DeleteRouterServiceUnavailable) WriteResponse added in v0.26.36

func (o *DeleteRouterServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteRouterTooManyRequests added in v0.26.0

type DeleteRouterTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response deleteRouterTooManyRequests

func NewDeleteRouterTooManyRequests added in v0.26.0

func NewDeleteRouterTooManyRequests() *DeleteRouterTooManyRequests

NewDeleteRouterTooManyRequests creates DeleteRouterTooManyRequests with default headers values

func (*DeleteRouterTooManyRequests) SetPayload added in v0.26.0

SetPayload sets the payload to the delete router too many requests response

func (*DeleteRouterTooManyRequests) SetWWWAuthenticate added in v0.26.53

func (o *DeleteRouterTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the delete router too many requests response

func (*DeleteRouterTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the delete router too many requests response

func (*DeleteRouterTooManyRequests) WithWWWAuthenticate added in v0.26.53

func (o *DeleteRouterTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *DeleteRouterTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the delete router too many requests response

func (*DeleteRouterTooManyRequests) WriteResponse added in v0.26.0

func (o *DeleteRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteRouterURL

type DeleteRouterURL struct {
	ID string
	// contains filtered or unexported fields
}

DeleteRouterURL generates an URL for the delete router operation

func (*DeleteRouterURL) Build

func (o *DeleteRouterURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteRouterURL) BuildFull

func (o *DeleteRouterURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteRouterURL) Must

func (o *DeleteRouterURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteRouterURL) SetBasePath

func (o *DeleteRouterURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeleteRouterURL) String

func (o *DeleteRouterURL) String() string

String returns the string representation of the path with query string

func (*DeleteRouterURL) StringFull

func (o *DeleteRouterURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteRouterURL) WithBasePath

func (o *DeleteRouterURL) WithBasePath(bp string) *DeleteRouterURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeleteRouterUnauthorized

type DeleteRouterUnauthorized struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response deleteRouterUnauthorized

func NewDeleteRouterUnauthorized

func NewDeleteRouterUnauthorized() *DeleteRouterUnauthorized

NewDeleteRouterUnauthorized creates DeleteRouterUnauthorized with default headers values

func (*DeleteRouterUnauthorized) SetPayload

func (o *DeleteRouterUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the delete router unauthorized response

func (*DeleteRouterUnauthorized) SetWWWAuthenticate added in v0.26.53

func (o *DeleteRouterUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the delete router unauthorized response

func (*DeleteRouterUnauthorized) WithPayload

WithPayload adds the payload to the delete router unauthorized response

func (*DeleteRouterUnauthorized) WithWWWAuthenticate added in v0.26.53

func (o *DeleteRouterUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *DeleteRouterUnauthorized

WithWWWAuthenticate adds the wWWAuthenticate to the delete router unauthorized response

func (*DeleteRouterUnauthorized) WriteResponse

func (o *DeleteRouterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteTransitRouter

type DeleteTransitRouter struct {
	Context *middleware.Context
	Handler DeleteTransitRouterHandler
}
DeleteTransitRouter swagger:route DELETE /transit-routers/{id} Router deleteTransitRouter

Delete a router

Delete a router by id. Requires admin access.

func NewDeleteTransitRouter

func NewDeleteTransitRouter(ctx *middleware.Context, handler DeleteTransitRouterHandler) *DeleteTransitRouter

NewDeleteTransitRouter creates a new http.Handler for the delete transit router operation

func (*DeleteTransitRouter) ServeHTTP

func (o *DeleteTransitRouter) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteTransitRouterBadRequest

type DeleteTransitRouterBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteTransitRouterBadRequest 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

swagger:response deleteTransitRouterBadRequest

func NewDeleteTransitRouterBadRequest

func NewDeleteTransitRouterBadRequest() *DeleteTransitRouterBadRequest

NewDeleteTransitRouterBadRequest creates DeleteTransitRouterBadRequest with default headers values

func (*DeleteTransitRouterBadRequest) SetPayload

SetPayload sets the payload to the delete transit router bad request response

func (*DeleteTransitRouterBadRequest) SetWWWAuthenticate added in v0.26.53

func (o *DeleteTransitRouterBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the delete transit router bad request response

func (*DeleteTransitRouterBadRequest) WithPayload

WithPayload adds the payload to the delete transit router bad request response

func (*DeleteTransitRouterBadRequest) WithWWWAuthenticate added in v0.26.53

func (o *DeleteTransitRouterBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *DeleteTransitRouterBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the delete transit router bad request response

func (*DeleteTransitRouterBadRequest) WriteResponse

func (o *DeleteTransitRouterBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteTransitRouterConflict

type DeleteTransitRouterConflict struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response deleteTransitRouterConflict

func NewDeleteTransitRouterConflict

func NewDeleteTransitRouterConflict() *DeleteTransitRouterConflict

NewDeleteTransitRouterConflict creates DeleteTransitRouterConflict with default headers values

func (*DeleteTransitRouterConflict) SetPayload

SetPayload sets the payload to the delete transit router conflict response

func (*DeleteTransitRouterConflict) SetWWWAuthenticate added in v0.26.53

func (o *DeleteTransitRouterConflict) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the delete transit router conflict response

func (*DeleteTransitRouterConflict) WithPayload

WithPayload adds the payload to the delete transit router conflict response

func (*DeleteTransitRouterConflict) WithWWWAuthenticate added in v0.26.53

func (o *DeleteTransitRouterConflict) WithWWWAuthenticate(wWWAuthenticate []string) *DeleteTransitRouterConflict

WithWWWAuthenticate adds the wWWAuthenticate to the delete transit router conflict response

func (*DeleteTransitRouterConflict) WriteResponse

func (o *DeleteTransitRouterConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteTransitRouterHandler

type DeleteTransitRouterHandler interface {
	Handle(DeleteTransitRouterParams, any) middleware.Responder
}

DeleteTransitRouterHandler interface for that can handle valid delete transit router params

type DeleteTransitRouterHandlerFunc

type DeleteTransitRouterHandlerFunc func(DeleteTransitRouterParams, any) middleware.Responder

DeleteTransitRouterHandlerFunc turns a function with the right signature into a delete transit router handler

func (DeleteTransitRouterHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteTransitRouterNotFound added in v0.26.36

type DeleteTransitRouterNotFound struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteTransitRouterNotFound The requested resource does not exist

swagger:response deleteTransitRouterNotFound

func NewDeleteTransitRouterNotFound added in v0.26.36

func NewDeleteTransitRouterNotFound() *DeleteTransitRouterNotFound

NewDeleteTransitRouterNotFound creates DeleteTransitRouterNotFound with default headers values

func (*DeleteTransitRouterNotFound) SetPayload added in v0.26.36

SetPayload sets the payload to the delete transit router not found response

func (*DeleteTransitRouterNotFound) SetWWWAuthenticate added in v0.26.53

func (o *DeleteTransitRouterNotFound) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the delete transit router not found response

func (*DeleteTransitRouterNotFound) WithPayload added in v0.26.36

WithPayload adds the payload to the delete transit router not found response

func (*DeleteTransitRouterNotFound) WithWWWAuthenticate added in v0.26.53

func (o *DeleteTransitRouterNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *DeleteTransitRouterNotFound

WithWWWAuthenticate adds the wWWAuthenticate to the delete transit router not found response

func (*DeleteTransitRouterNotFound) WriteResponse added in v0.26.36

func (o *DeleteTransitRouterNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteTransitRouterOK

type DeleteTransitRouterOK struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

DeleteTransitRouterOK The delete request was successful and the resource has been removed

swagger:response deleteTransitRouterOK

func NewDeleteTransitRouterOK

func NewDeleteTransitRouterOK() *DeleteTransitRouterOK

NewDeleteTransitRouterOK creates DeleteTransitRouterOK with default headers values

func (*DeleteTransitRouterOK) SetPayload

func (o *DeleteTransitRouterOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the delete transit router o k response

func (*DeleteTransitRouterOK) SetWWWAuthenticate added in v0.26.53

func (o *DeleteTransitRouterOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the delete transit router o k response

func (*DeleteTransitRouterOK) WithPayload

func (o *DeleteTransitRouterOK) WithPayload(payload *rest_model.Empty) *DeleteTransitRouterOK

WithPayload adds the payload to the delete transit router o k response

func (*DeleteTransitRouterOK) WithWWWAuthenticate added in v0.26.53

func (o *DeleteTransitRouterOK) WithWWWAuthenticate(wWWAuthenticate []string) *DeleteTransitRouterOK

WithWWWAuthenticate adds the wWWAuthenticate to the delete transit router o k response

func (*DeleteTransitRouterOK) WriteResponse

func (o *DeleteTransitRouterOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteTransitRouterParams

type DeleteTransitRouterParams struct {
	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

DeleteTransitRouterParams contains all the bound params for the delete transit router operation typically these are obtained from a http.Request

swagger:parameters deleteTransitRouter

func NewDeleteTransitRouterParams

func NewDeleteTransitRouterParams() DeleteTransitRouterParams

NewDeleteTransitRouterParams creates a new DeleteTransitRouterParams object

There are no default values defined in the spec.

func (*DeleteTransitRouterParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteTransitRouterParams() beforehand.

type DeleteTransitRouterServiceUnavailable added in v0.26.36

type DeleteTransitRouterServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteTransitRouterServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response deleteTransitRouterServiceUnavailable

func NewDeleteTransitRouterServiceUnavailable added in v0.26.36

func NewDeleteTransitRouterServiceUnavailable() *DeleteTransitRouterServiceUnavailable

NewDeleteTransitRouterServiceUnavailable creates DeleteTransitRouterServiceUnavailable with default headers values

func (*DeleteTransitRouterServiceUnavailable) SetPayload added in v0.26.36

SetPayload sets the payload to the delete transit router service unavailable response

func (*DeleteTransitRouterServiceUnavailable) SetWWWAuthenticate added in v0.26.53

func (o *DeleteTransitRouterServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the delete transit router service unavailable response

func (*DeleteTransitRouterServiceUnavailable) WithPayload added in v0.26.36

WithPayload adds the payload to the delete transit router service unavailable response

func (*DeleteTransitRouterServiceUnavailable) WithWWWAuthenticate added in v0.26.53

func (o *DeleteTransitRouterServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *DeleteTransitRouterServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the delete transit router service unavailable response

func (*DeleteTransitRouterServiceUnavailable) WriteResponse added in v0.26.36

WriteResponse to the client

type DeleteTransitRouterTooManyRequests added in v0.26.0

type DeleteTransitRouterTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteTransitRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response deleteTransitRouterTooManyRequests

func NewDeleteTransitRouterTooManyRequests added in v0.26.0

func NewDeleteTransitRouterTooManyRequests() *DeleteTransitRouterTooManyRequests

NewDeleteTransitRouterTooManyRequests creates DeleteTransitRouterTooManyRequests with default headers values

func (*DeleteTransitRouterTooManyRequests) SetPayload added in v0.26.0

SetPayload sets the payload to the delete transit router too many requests response

func (*DeleteTransitRouterTooManyRequests) SetWWWAuthenticate added in v0.26.53

func (o *DeleteTransitRouterTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the delete transit router too many requests response

func (*DeleteTransitRouterTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the delete transit router too many requests response

func (*DeleteTransitRouterTooManyRequests) WithWWWAuthenticate added in v0.26.53

func (o *DeleteTransitRouterTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *DeleteTransitRouterTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the delete transit router too many requests response

func (*DeleteTransitRouterTooManyRequests) WriteResponse added in v0.26.0

WriteResponse to the client

type DeleteTransitRouterURL

type DeleteTransitRouterURL struct {
	ID string
	// contains filtered or unexported fields
}

DeleteTransitRouterURL generates an URL for the delete transit router operation

func (*DeleteTransitRouterURL) Build

func (o *DeleteTransitRouterURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteTransitRouterURL) BuildFull

func (o *DeleteTransitRouterURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteTransitRouterURL) Must

func (o *DeleteTransitRouterURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteTransitRouterURL) SetBasePath

func (o *DeleteTransitRouterURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeleteTransitRouterURL) String

func (o *DeleteTransitRouterURL) String() string

String returns the string representation of the path with query string

func (*DeleteTransitRouterURL) StringFull

func (o *DeleteTransitRouterURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteTransitRouterURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeleteTransitRouterUnauthorized

type DeleteTransitRouterUnauthorized struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response deleteTransitRouterUnauthorized

func NewDeleteTransitRouterUnauthorized

func NewDeleteTransitRouterUnauthorized() *DeleteTransitRouterUnauthorized

NewDeleteTransitRouterUnauthorized creates DeleteTransitRouterUnauthorized with default headers values

func (*DeleteTransitRouterUnauthorized) SetPayload

SetPayload sets the payload to the delete transit router unauthorized response

func (*DeleteTransitRouterUnauthorized) SetWWWAuthenticate added in v0.26.53

func (o *DeleteTransitRouterUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the delete transit router unauthorized response

func (*DeleteTransitRouterUnauthorized) WithPayload

WithPayload adds the payload to the delete transit router unauthorized response

func (*DeleteTransitRouterUnauthorized) WithWWWAuthenticate added in v0.26.53

func (o *DeleteTransitRouterUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *DeleteTransitRouterUnauthorized

WithWWWAuthenticate adds the wWWAuthenticate to the delete transit router unauthorized response

func (*DeleteTransitRouterUnauthorized) WriteResponse

func (o *DeleteTransitRouterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailRouter

type DetailRouter struct {
	Context *middleware.Context
	Handler DetailRouterHandler
}
DetailRouter swagger:route GET /routers/{id} Router detailRouter

Retrieves a single router

Retrieves a single router by id. Requires admin access.

func NewDetailRouter

func NewDetailRouter(ctx *middleware.Context, handler DetailRouterHandler) *DetailRouter

NewDetailRouter creates a new http.Handler for the detail router operation

func (*DetailRouter) ServeHTTP

func (o *DetailRouter) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DetailRouterHandler

type DetailRouterHandler interface {
	Handle(DetailRouterParams, any) middleware.Responder
}

DetailRouterHandler interface for that can handle valid detail router params

type DetailRouterHandlerFunc

type DetailRouterHandlerFunc func(DetailRouterParams, any) middleware.Responder

DetailRouterHandlerFunc turns a function with the right signature into a detail router handler

func (DetailRouterHandlerFunc) Handle

func (fn DetailRouterHandlerFunc) Handle(params DetailRouterParams, principal any) middleware.Responder

Handle executing the request and returning a response

type DetailRouterNotFound

type DetailRouterNotFound struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailRouterNotFound The requested resource does not exist

swagger:response detailRouterNotFound

func NewDetailRouterNotFound

func NewDetailRouterNotFound() *DetailRouterNotFound

NewDetailRouterNotFound creates DetailRouterNotFound with default headers values

func (*DetailRouterNotFound) SetPayload

func (o *DetailRouterNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the detail router not found response

func (*DetailRouterNotFound) SetWWWAuthenticate added in v0.26.53

func (o *DetailRouterNotFound) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the detail router not found response

func (*DetailRouterNotFound) WithPayload

WithPayload adds the payload to the detail router not found response

func (*DetailRouterNotFound) WithWWWAuthenticate added in v0.26.53

func (o *DetailRouterNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRouterNotFound

WithWWWAuthenticate adds the wWWAuthenticate to the detail router not found response

func (*DetailRouterNotFound) WriteResponse

func (o *DetailRouterNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailRouterOK

type DetailRouterOK struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.DetailRouterEnvelope `json:"body,omitempty"`
}

DetailRouterOK A single router

swagger:response detailRouterOK

func NewDetailRouterOK

func NewDetailRouterOK() *DetailRouterOK

NewDetailRouterOK creates DetailRouterOK with default headers values

func (*DetailRouterOK) SetPayload

func (o *DetailRouterOK) SetPayload(payload *rest_model.DetailRouterEnvelope)

SetPayload sets the payload to the detail router o k response

func (*DetailRouterOK) SetWWWAuthenticate added in v0.26.53

func (o *DetailRouterOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the detail router o k response

func (*DetailRouterOK) WithPayload

WithPayload adds the payload to the detail router o k response

func (*DetailRouterOK) WithWWWAuthenticate added in v0.26.53

func (o *DetailRouterOK) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRouterOK

WithWWWAuthenticate adds the wWWAuthenticate to the detail router o k response

func (*DetailRouterOK) WriteResponse

func (o *DetailRouterOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailRouterParams

type DetailRouterParams struct {
	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

DetailRouterParams contains all the bound params for the detail router operation typically these are obtained from a http.Request

swagger:parameters detailRouter

func NewDetailRouterParams

func NewDetailRouterParams() DetailRouterParams

NewDetailRouterParams creates a new DetailRouterParams object

There are no default values defined in the spec.

func (*DetailRouterParams) BindRequest

func (o *DetailRouterParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDetailRouterParams() beforehand.

type DetailRouterServiceUnavailable added in v0.26.36

type DetailRouterServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailRouterServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response detailRouterServiceUnavailable

func NewDetailRouterServiceUnavailable added in v0.26.36

func NewDetailRouterServiceUnavailable() *DetailRouterServiceUnavailable

NewDetailRouterServiceUnavailable creates DetailRouterServiceUnavailable with default headers values

func (*DetailRouterServiceUnavailable) SetPayload added in v0.26.36

SetPayload sets the payload to the detail router service unavailable response

func (*DetailRouterServiceUnavailable) SetWWWAuthenticate added in v0.26.53

func (o *DetailRouterServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the detail router service unavailable response

func (*DetailRouterServiceUnavailable) WithPayload added in v0.26.36

WithPayload adds the payload to the detail router service unavailable response

func (*DetailRouterServiceUnavailable) WithWWWAuthenticate added in v0.26.53

func (o *DetailRouterServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRouterServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the detail router service unavailable response

func (*DetailRouterServiceUnavailable) WriteResponse added in v0.26.36

func (o *DetailRouterServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailRouterTooManyRequests added in v0.26.0

type DetailRouterTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response detailRouterTooManyRequests

func NewDetailRouterTooManyRequests added in v0.26.0

func NewDetailRouterTooManyRequests() *DetailRouterTooManyRequests

NewDetailRouterTooManyRequests creates DetailRouterTooManyRequests with default headers values

func (*DetailRouterTooManyRequests) SetPayload added in v0.26.0

SetPayload sets the payload to the detail router too many requests response

func (*DetailRouterTooManyRequests) SetWWWAuthenticate added in v0.26.53

func (o *DetailRouterTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the detail router too many requests response

func (*DetailRouterTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the detail router too many requests response

func (*DetailRouterTooManyRequests) WithWWWAuthenticate added in v0.26.53

func (o *DetailRouterTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRouterTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the detail router too many requests response

func (*DetailRouterTooManyRequests) WriteResponse added in v0.26.0

func (o *DetailRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailRouterURL

type DetailRouterURL struct {
	ID string
	// contains filtered or unexported fields
}

DetailRouterURL generates an URL for the detail router operation

func (*DetailRouterURL) Build

func (o *DetailRouterURL) Build() (*url.URL, error)

Build a url path and query string

func (*DetailRouterURL) BuildFull

func (o *DetailRouterURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DetailRouterURL) Must

func (o *DetailRouterURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DetailRouterURL) SetBasePath

func (o *DetailRouterURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DetailRouterURL) String

func (o *DetailRouterURL) String() string

String returns the string representation of the path with query string

func (*DetailRouterURL) StringFull

func (o *DetailRouterURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DetailRouterURL) WithBasePath

func (o *DetailRouterURL) WithBasePath(bp string) *DetailRouterURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DetailRouterUnauthorized

type DetailRouterUnauthorized struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response detailRouterUnauthorized

func NewDetailRouterUnauthorized

func NewDetailRouterUnauthorized() *DetailRouterUnauthorized

NewDetailRouterUnauthorized creates DetailRouterUnauthorized with default headers values

func (*DetailRouterUnauthorized) SetPayload

func (o *DetailRouterUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the detail router unauthorized response

func (*DetailRouterUnauthorized) SetWWWAuthenticate added in v0.26.53

func (o *DetailRouterUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the detail router unauthorized response

func (*DetailRouterUnauthorized) WithPayload

WithPayload adds the payload to the detail router unauthorized response

func (*DetailRouterUnauthorized) WithWWWAuthenticate added in v0.26.53

func (o *DetailRouterUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRouterUnauthorized

WithWWWAuthenticate adds the wWWAuthenticate to the detail router unauthorized response

func (*DetailRouterUnauthorized) WriteResponse

func (o *DetailRouterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailTransitRouter

type DetailTransitRouter struct {
	Context *middleware.Context
	Handler DetailTransitRouterHandler
}
DetailTransitRouter swagger:route GET /transit-routers/{id} Router detailTransitRouter

Retrieves a single router

Retrieves a single router by id. Requires admin access.

func NewDetailTransitRouter

func NewDetailTransitRouter(ctx *middleware.Context, handler DetailTransitRouterHandler) *DetailTransitRouter

NewDetailTransitRouter creates a new http.Handler for the detail transit router operation

func (*DetailTransitRouter) ServeHTTP

func (o *DetailTransitRouter) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DetailTransitRouterHandler

type DetailTransitRouterHandler interface {
	Handle(DetailTransitRouterParams, any) middleware.Responder
}

DetailTransitRouterHandler interface for that can handle valid detail transit router params

type DetailTransitRouterHandlerFunc

type DetailTransitRouterHandlerFunc func(DetailTransitRouterParams, any) middleware.Responder

DetailTransitRouterHandlerFunc turns a function with the right signature into a detail transit router handler

func (DetailTransitRouterHandlerFunc) Handle

Handle executing the request and returning a response

type DetailTransitRouterNotFound

type DetailTransitRouterNotFound struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailTransitRouterNotFound The requested resource does not exist

swagger:response detailTransitRouterNotFound

func NewDetailTransitRouterNotFound

func NewDetailTransitRouterNotFound() *DetailTransitRouterNotFound

NewDetailTransitRouterNotFound creates DetailTransitRouterNotFound with default headers values

func (*DetailTransitRouterNotFound) SetPayload

SetPayload sets the payload to the detail transit router not found response

func (*DetailTransitRouterNotFound) SetWWWAuthenticate added in v0.26.53

func (o *DetailTransitRouterNotFound) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the detail transit router not found response

func (*DetailTransitRouterNotFound) WithPayload

WithPayload adds the payload to the detail transit router not found response

func (*DetailTransitRouterNotFound) WithWWWAuthenticate added in v0.26.53

func (o *DetailTransitRouterNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *DetailTransitRouterNotFound

WithWWWAuthenticate adds the wWWAuthenticate to the detail transit router not found response

func (*DetailTransitRouterNotFound) WriteResponse

func (o *DetailTransitRouterNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailTransitRouterOK

type DetailTransitRouterOK struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.DetailRouterEnvelope `json:"body,omitempty"`
}

DetailTransitRouterOK A single router

swagger:response detailTransitRouterOK

func NewDetailTransitRouterOK

func NewDetailTransitRouterOK() *DetailTransitRouterOK

NewDetailTransitRouterOK creates DetailTransitRouterOK with default headers values

func (*DetailTransitRouterOK) SetPayload

func (o *DetailTransitRouterOK) SetPayload(payload *rest_model.DetailRouterEnvelope)

SetPayload sets the payload to the detail transit router o k response

func (*DetailTransitRouterOK) SetWWWAuthenticate added in v0.26.53

func (o *DetailTransitRouterOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the detail transit router o k response

func (*DetailTransitRouterOK) WithPayload

WithPayload adds the payload to the detail transit router o k response

func (*DetailTransitRouterOK) WithWWWAuthenticate added in v0.26.53

func (o *DetailTransitRouterOK) WithWWWAuthenticate(wWWAuthenticate []string) *DetailTransitRouterOK

WithWWWAuthenticate adds the wWWAuthenticate to the detail transit router o k response

func (*DetailTransitRouterOK) WriteResponse

func (o *DetailTransitRouterOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailTransitRouterParams

type DetailTransitRouterParams struct {
	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

DetailTransitRouterParams contains all the bound params for the detail transit router operation typically these are obtained from a http.Request

swagger:parameters detailTransitRouter

func NewDetailTransitRouterParams

func NewDetailTransitRouterParams() DetailTransitRouterParams

NewDetailTransitRouterParams creates a new DetailTransitRouterParams object

There are no default values defined in the spec.

func (*DetailTransitRouterParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDetailTransitRouterParams() beforehand.

type DetailTransitRouterServiceUnavailable added in v0.26.36

type DetailTransitRouterServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailTransitRouterServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response detailTransitRouterServiceUnavailable

func NewDetailTransitRouterServiceUnavailable added in v0.26.36

func NewDetailTransitRouterServiceUnavailable() *DetailTransitRouterServiceUnavailable

NewDetailTransitRouterServiceUnavailable creates DetailTransitRouterServiceUnavailable with default headers values

func (*DetailTransitRouterServiceUnavailable) SetPayload added in v0.26.36

SetPayload sets the payload to the detail transit router service unavailable response

func (*DetailTransitRouterServiceUnavailable) SetWWWAuthenticate added in v0.26.53

func (o *DetailTransitRouterServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the detail transit router service unavailable response

func (*DetailTransitRouterServiceUnavailable) WithPayload added in v0.26.36

WithPayload adds the payload to the detail transit router service unavailable response

func (*DetailTransitRouterServiceUnavailable) WithWWWAuthenticate added in v0.26.53

func (o *DetailTransitRouterServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *DetailTransitRouterServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the detail transit router service unavailable response

func (*DetailTransitRouterServiceUnavailable) WriteResponse added in v0.26.36

WriteResponse to the client

type DetailTransitRouterTooManyRequests added in v0.26.0

type DetailTransitRouterTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailTransitRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response detailTransitRouterTooManyRequests

func NewDetailTransitRouterTooManyRequests added in v0.26.0

func NewDetailTransitRouterTooManyRequests() *DetailTransitRouterTooManyRequests

NewDetailTransitRouterTooManyRequests creates DetailTransitRouterTooManyRequests with default headers values

func (*DetailTransitRouterTooManyRequests) SetPayload added in v0.26.0

SetPayload sets the payload to the detail transit router too many requests response

func (*DetailTransitRouterTooManyRequests) SetWWWAuthenticate added in v0.26.53

func (o *DetailTransitRouterTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the detail transit router too many requests response

func (*DetailTransitRouterTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the detail transit router too many requests response

func (*DetailTransitRouterTooManyRequests) WithWWWAuthenticate added in v0.26.53

func (o *DetailTransitRouterTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *DetailTransitRouterTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the detail transit router too many requests response

func (*DetailTransitRouterTooManyRequests) WriteResponse added in v0.26.0

WriteResponse to the client

type DetailTransitRouterURL

type DetailTransitRouterURL struct {
	ID string
	// contains filtered or unexported fields
}

DetailTransitRouterURL generates an URL for the detail transit router operation

func (*DetailTransitRouterURL) Build

func (o *DetailTransitRouterURL) Build() (*url.URL, error)

Build a url path and query string

func (*DetailTransitRouterURL) BuildFull

func (o *DetailTransitRouterURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DetailTransitRouterURL) Must

func (o *DetailTransitRouterURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DetailTransitRouterURL) SetBasePath

func (o *DetailTransitRouterURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DetailTransitRouterURL) String

func (o *DetailTransitRouterURL) String() string

String returns the string representation of the path with query string

func (*DetailTransitRouterURL) StringFull

func (o *DetailTransitRouterURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DetailTransitRouterURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DetailTransitRouterUnauthorized

type DetailTransitRouterUnauthorized struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response detailTransitRouterUnauthorized

func NewDetailTransitRouterUnauthorized

func NewDetailTransitRouterUnauthorized() *DetailTransitRouterUnauthorized

NewDetailTransitRouterUnauthorized creates DetailTransitRouterUnauthorized with default headers values

func (*DetailTransitRouterUnauthorized) SetPayload

SetPayload sets the payload to the detail transit router unauthorized response

func (*DetailTransitRouterUnauthorized) SetWWWAuthenticate added in v0.26.53

func (o *DetailTransitRouterUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the detail transit router unauthorized response

func (*DetailTransitRouterUnauthorized) WithPayload

WithPayload adds the payload to the detail transit router unauthorized response

func (*DetailTransitRouterUnauthorized) WithWWWAuthenticate added in v0.26.53

func (o *DetailTransitRouterUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *DetailTransitRouterUnauthorized

WithWWWAuthenticate adds the wWWAuthenticate to the detail transit router unauthorized response

func (*DetailTransitRouterUnauthorized) WriteResponse

func (o *DetailTransitRouterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListRouters

type ListRouters struct {
	Context *middleware.Context
	Handler ListRoutersHandler
}
ListRouters swagger:route GET /routers Router listRouters

List routers

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

func NewListRouters

func NewListRouters(ctx *middleware.Context, handler ListRoutersHandler) *ListRouters

NewListRouters creates a new http.Handler for the list routers operation

func (*ListRouters) ServeHTTP

func (o *ListRouters) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListRoutersBadRequest

type ListRoutersBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListRoutersBadRequest 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

swagger:response listRoutersBadRequest

func NewListRoutersBadRequest

func NewListRoutersBadRequest() *ListRoutersBadRequest

NewListRoutersBadRequest creates ListRoutersBadRequest with default headers values

func (*ListRoutersBadRequest) SetPayload

func (o *ListRoutersBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the list routers bad request response

func (*ListRoutersBadRequest) SetWWWAuthenticate added in v0.26.53

func (o *ListRoutersBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the list routers bad request response

func (*ListRoutersBadRequest) WithPayload

WithPayload adds the payload to the list routers bad request response

func (*ListRoutersBadRequest) WithWWWAuthenticate added in v0.26.53

func (o *ListRoutersBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *ListRoutersBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the list routers bad request response

func (*ListRoutersBadRequest) WriteResponse

func (o *ListRoutersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListRoutersHandler

type ListRoutersHandler interface {
	Handle(ListRoutersParams, any) middleware.Responder
}

ListRoutersHandler interface for that can handle valid list routers params

type ListRoutersHandlerFunc

type ListRoutersHandlerFunc func(ListRoutersParams, any) middleware.Responder

ListRoutersHandlerFunc turns a function with the right signature into a list routers handler

func (ListRoutersHandlerFunc) Handle

func (fn ListRoutersHandlerFunc) Handle(params ListRoutersParams, principal any) middleware.Responder

Handle executing the request and returning a response

type ListRoutersOK

type ListRoutersOK struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.ListRoutersEnvelope `json:"body,omitempty"`
}

ListRoutersOK A list of specifications

swagger:response listRoutersOK

func NewListRoutersOK

func NewListRoutersOK() *ListRoutersOK

NewListRoutersOK creates ListRoutersOK with default headers values

func (*ListRoutersOK) SetPayload

func (o *ListRoutersOK) SetPayload(payload *rest_model.ListRoutersEnvelope)

SetPayload sets the payload to the list routers o k response

func (*ListRoutersOK) SetWWWAuthenticate added in v0.26.53

func (o *ListRoutersOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the list routers o k response

func (*ListRoutersOK) WithPayload

func (o *ListRoutersOK) WithPayload(payload *rest_model.ListRoutersEnvelope) *ListRoutersOK

WithPayload adds the payload to the list routers o k response

func (*ListRoutersOK) WithWWWAuthenticate added in v0.26.53

func (o *ListRoutersOK) WithWWWAuthenticate(wWWAuthenticate []string) *ListRoutersOK

WithWWWAuthenticate adds the wWWAuthenticate to the list routers o k response

func (*ListRoutersOK) WriteResponse

func (o *ListRoutersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListRoutersParams

type ListRoutersParams struct {
	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: query
	*/
	Filter *string

	/*
	  In: query
	*/
	Limit *int64

	/*
	  In: query
	*/
	Offset *int64
}

ListRoutersParams contains all the bound params for the list routers operation typically these are obtained from a http.Request

swagger:parameters listRouters

func NewListRoutersParams

func NewListRoutersParams() ListRoutersParams

NewListRoutersParams creates a new ListRoutersParams object

There are no default values defined in the spec.

func (*ListRoutersParams) BindRequest

func (o *ListRoutersParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewListRoutersParams() beforehand.

type ListRoutersServiceUnavailable added in v0.26.36

type ListRoutersServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListRoutersServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response listRoutersServiceUnavailable

func NewListRoutersServiceUnavailable added in v0.26.36

func NewListRoutersServiceUnavailable() *ListRoutersServiceUnavailable

NewListRoutersServiceUnavailable creates ListRoutersServiceUnavailable with default headers values

func (*ListRoutersServiceUnavailable) SetPayload added in v0.26.36

SetPayload sets the payload to the list routers service unavailable response

func (*ListRoutersServiceUnavailable) SetWWWAuthenticate added in v0.26.53

func (o *ListRoutersServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the list routers service unavailable response

func (*ListRoutersServiceUnavailable) WithPayload added in v0.26.36

WithPayload adds the payload to the list routers service unavailable response

func (*ListRoutersServiceUnavailable) WithWWWAuthenticate added in v0.26.53

func (o *ListRoutersServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *ListRoutersServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the list routers service unavailable response

func (*ListRoutersServiceUnavailable) WriteResponse added in v0.26.36

func (o *ListRoutersServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListRoutersTooManyRequests added in v0.26.0

type ListRoutersTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListRoutersTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response listRoutersTooManyRequests

func NewListRoutersTooManyRequests added in v0.26.0

func NewListRoutersTooManyRequests() *ListRoutersTooManyRequests

NewListRoutersTooManyRequests creates ListRoutersTooManyRequests with default headers values

func (*ListRoutersTooManyRequests) SetPayload added in v0.26.0

func (o *ListRoutersTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the list routers too many requests response

func (*ListRoutersTooManyRequests) SetWWWAuthenticate added in v0.26.53

func (o *ListRoutersTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the list routers too many requests response

func (*ListRoutersTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the list routers too many requests response

func (*ListRoutersTooManyRequests) WithWWWAuthenticate added in v0.26.53

func (o *ListRoutersTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *ListRoutersTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the list routers too many requests response

func (*ListRoutersTooManyRequests) WriteResponse added in v0.26.0

func (o *ListRoutersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListRoutersURL

type ListRoutersURL struct {
	Filter *string
	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

ListRoutersURL generates an URL for the list routers operation

func (*ListRoutersURL) Build

func (o *ListRoutersURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListRoutersURL) BuildFull

func (o *ListRoutersURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListRoutersURL) Must

func (o *ListRoutersURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ListRoutersURL) SetBasePath

func (o *ListRoutersURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ListRoutersURL) String

func (o *ListRoutersURL) String() string

String returns the string representation of the path with query string

func (*ListRoutersURL) StringFull

func (o *ListRoutersURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListRoutersURL) WithBasePath

func (o *ListRoutersURL) WithBasePath(bp string) *ListRoutersURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ListRoutersUnauthorized

type ListRoutersUnauthorized struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response listRoutersUnauthorized

func NewListRoutersUnauthorized

func NewListRoutersUnauthorized() *ListRoutersUnauthorized

NewListRoutersUnauthorized creates ListRoutersUnauthorized with default headers values

func (*ListRoutersUnauthorized) SetPayload

func (o *ListRoutersUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the list routers unauthorized response

func (*ListRoutersUnauthorized) SetWWWAuthenticate added in v0.26.53

func (o *ListRoutersUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the list routers unauthorized response

func (*ListRoutersUnauthorized) WithPayload

WithPayload adds the payload to the list routers unauthorized response

func (*ListRoutersUnauthorized) WithWWWAuthenticate added in v0.26.53

func (o *ListRoutersUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *ListRoutersUnauthorized

WithWWWAuthenticate adds the wWWAuthenticate to the list routers unauthorized response

func (*ListRoutersUnauthorized) WriteResponse

func (o *ListRoutersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListTransitRouters

type ListTransitRouters struct {
	Context *middleware.Context
	Handler ListTransitRoutersHandler
}
ListTransitRouters swagger:route GET /transit-routers Router listTransitRouters

List routers

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

func NewListTransitRouters

func NewListTransitRouters(ctx *middleware.Context, handler ListTransitRoutersHandler) *ListTransitRouters

NewListTransitRouters creates a new http.Handler for the list transit routers operation

func (*ListTransitRouters) ServeHTTP

func (o *ListTransitRouters) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListTransitRoutersBadRequest

type ListTransitRoutersBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListTransitRoutersBadRequest 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

swagger:response listTransitRoutersBadRequest

func NewListTransitRoutersBadRequest

func NewListTransitRoutersBadRequest() *ListTransitRoutersBadRequest

NewListTransitRoutersBadRequest creates ListTransitRoutersBadRequest with default headers values

func (*ListTransitRoutersBadRequest) SetPayload

SetPayload sets the payload to the list transit routers bad request response

func (*ListTransitRoutersBadRequest) SetWWWAuthenticate added in v0.26.53

func (o *ListTransitRoutersBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the list transit routers bad request response

func (*ListTransitRoutersBadRequest) WithPayload

WithPayload adds the payload to the list transit routers bad request response

func (*ListTransitRoutersBadRequest) WithWWWAuthenticate added in v0.26.53

func (o *ListTransitRoutersBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *ListTransitRoutersBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the list transit routers bad request response

func (*ListTransitRoutersBadRequest) WriteResponse

func (o *ListTransitRoutersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListTransitRoutersHandler

type ListTransitRoutersHandler interface {
	Handle(ListTransitRoutersParams, any) middleware.Responder
}

ListTransitRoutersHandler interface for that can handle valid list transit routers params

type ListTransitRoutersHandlerFunc

type ListTransitRoutersHandlerFunc func(ListTransitRoutersParams, any) middleware.Responder

ListTransitRoutersHandlerFunc turns a function with the right signature into a list transit routers handler

func (ListTransitRoutersHandlerFunc) Handle

Handle executing the request and returning a response

type ListTransitRoutersOK

type ListTransitRoutersOK struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.ListRoutersEnvelope `json:"body,omitempty"`
}

ListTransitRoutersOK A list of specifications

swagger:response listTransitRoutersOK

func NewListTransitRoutersOK

func NewListTransitRoutersOK() *ListTransitRoutersOK

NewListTransitRoutersOK creates ListTransitRoutersOK with default headers values

func (*ListTransitRoutersOK) SetPayload

func (o *ListTransitRoutersOK) SetPayload(payload *rest_model.ListRoutersEnvelope)

SetPayload sets the payload to the list transit routers o k response

func (*ListTransitRoutersOK) SetWWWAuthenticate added in v0.26.53

func (o *ListTransitRoutersOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the list transit routers o k response

func (*ListTransitRoutersOK) WithPayload

WithPayload adds the payload to the list transit routers o k response

func (*ListTransitRoutersOK) WithWWWAuthenticate added in v0.26.53

func (o *ListTransitRoutersOK) WithWWWAuthenticate(wWWAuthenticate []string) *ListTransitRoutersOK

WithWWWAuthenticate adds the wWWAuthenticate to the list transit routers o k response

func (*ListTransitRoutersOK) WriteResponse

func (o *ListTransitRoutersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListTransitRoutersParams

type ListTransitRoutersParams struct {
	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: query
	*/
	Filter *string

	/*
	  In: query
	*/
	Limit *int64

	/*
	  In: query
	*/
	Offset *int64
}

ListTransitRoutersParams contains all the bound params for the list transit routers operation typically these are obtained from a http.Request

swagger:parameters listTransitRouters

func NewListTransitRoutersParams

func NewListTransitRoutersParams() ListTransitRoutersParams

NewListTransitRoutersParams creates a new ListTransitRoutersParams object

There are no default values defined in the spec.

func (*ListTransitRoutersParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewListTransitRoutersParams() beforehand.

type ListTransitRoutersServiceUnavailable added in v0.26.36

type ListTransitRoutersServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListTransitRoutersServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response listTransitRoutersServiceUnavailable

func NewListTransitRoutersServiceUnavailable added in v0.26.36

func NewListTransitRoutersServiceUnavailable() *ListTransitRoutersServiceUnavailable

NewListTransitRoutersServiceUnavailable creates ListTransitRoutersServiceUnavailable with default headers values

func (*ListTransitRoutersServiceUnavailable) SetPayload added in v0.26.36

SetPayload sets the payload to the list transit routers service unavailable response

func (*ListTransitRoutersServiceUnavailable) SetWWWAuthenticate added in v0.26.53

func (o *ListTransitRoutersServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the list transit routers service unavailable response

func (*ListTransitRoutersServiceUnavailable) WithPayload added in v0.26.36

WithPayload adds the payload to the list transit routers service unavailable response

func (*ListTransitRoutersServiceUnavailable) WithWWWAuthenticate added in v0.26.53

func (o *ListTransitRoutersServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *ListTransitRoutersServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the list transit routers service unavailable response

func (*ListTransitRoutersServiceUnavailable) WriteResponse added in v0.26.36

WriteResponse to the client

type ListTransitRoutersTooManyRequests added in v0.26.0

type ListTransitRoutersTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListTransitRoutersTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response listTransitRoutersTooManyRequests

func NewListTransitRoutersTooManyRequests added in v0.26.0

func NewListTransitRoutersTooManyRequests() *ListTransitRoutersTooManyRequests

NewListTransitRoutersTooManyRequests creates ListTransitRoutersTooManyRequests with default headers values

func (*ListTransitRoutersTooManyRequests) SetPayload added in v0.26.0

SetPayload sets the payload to the list transit routers too many requests response

func (*ListTransitRoutersTooManyRequests) SetWWWAuthenticate added in v0.26.53

func (o *ListTransitRoutersTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the list transit routers too many requests response

func (*ListTransitRoutersTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the list transit routers too many requests response

func (*ListTransitRoutersTooManyRequests) WithWWWAuthenticate added in v0.26.53

func (o *ListTransitRoutersTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *ListTransitRoutersTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the list transit routers too many requests response

func (*ListTransitRoutersTooManyRequests) WriteResponse added in v0.26.0

func (o *ListTransitRoutersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListTransitRoutersURL

type ListTransitRoutersURL struct {
	Filter *string
	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

ListTransitRoutersURL generates an URL for the list transit routers operation

func (*ListTransitRoutersURL) Build

func (o *ListTransitRoutersURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListTransitRoutersURL) BuildFull

func (o *ListTransitRoutersURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListTransitRoutersURL) Must

func (o *ListTransitRoutersURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ListTransitRoutersURL) SetBasePath

func (o *ListTransitRoutersURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ListTransitRoutersURL) String

func (o *ListTransitRoutersURL) String() string

String returns the string representation of the path with query string

func (*ListTransitRoutersURL) StringFull

func (o *ListTransitRoutersURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListTransitRoutersURL) WithBasePath

func (o *ListTransitRoutersURL) WithBasePath(bp string) *ListTransitRoutersURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ListTransitRoutersUnauthorized

type ListTransitRoutersUnauthorized struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response listTransitRoutersUnauthorized

func NewListTransitRoutersUnauthorized

func NewListTransitRoutersUnauthorized() *ListTransitRoutersUnauthorized

NewListTransitRoutersUnauthorized creates ListTransitRoutersUnauthorized with default headers values

func (*ListTransitRoutersUnauthorized) SetPayload

SetPayload sets the payload to the list transit routers unauthorized response

func (*ListTransitRoutersUnauthorized) SetWWWAuthenticate added in v0.26.53

func (o *ListTransitRoutersUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the list transit routers unauthorized response

func (*ListTransitRoutersUnauthorized) WithPayload

WithPayload adds the payload to the list transit routers unauthorized response

func (*ListTransitRoutersUnauthorized) WithWWWAuthenticate added in v0.26.53

func (o *ListTransitRoutersUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *ListTransitRoutersUnauthorized

WithWWWAuthenticate adds the wWWAuthenticate to the list transit routers unauthorized response

func (*ListTransitRoutersUnauthorized) WriteResponse

func (o *ListTransitRoutersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchRouter

type PatchRouter struct {
	Context *middleware.Context
	Handler PatchRouterHandler
}
PatchRouter swagger:route PATCH /routers/{id} Router patchRouter

Update the supplied fields on a router

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

func NewPatchRouter

func NewPatchRouter(ctx *middleware.Context, handler PatchRouterHandler) *PatchRouter

NewPatchRouter creates a new http.Handler for the patch router operation

func (*PatchRouter) ServeHTTP

func (o *PatchRouter) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PatchRouterBadRequest

type PatchRouterBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchRouterBadRequest 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

swagger:response patchRouterBadRequest

func NewPatchRouterBadRequest

func NewPatchRouterBadRequest() *PatchRouterBadRequest

NewPatchRouterBadRequest creates PatchRouterBadRequest with default headers values

func (*PatchRouterBadRequest) SetPayload

func (o *PatchRouterBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the patch router bad request response

func (*PatchRouterBadRequest) SetWWWAuthenticate added in v0.26.53

func (o *PatchRouterBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the patch router bad request response

func (*PatchRouterBadRequest) WithPayload

WithPayload adds the payload to the patch router bad request response

func (*PatchRouterBadRequest) WithWWWAuthenticate added in v0.26.53

func (o *PatchRouterBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *PatchRouterBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the patch router bad request response

func (*PatchRouterBadRequest) WriteResponse

func (o *PatchRouterBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchRouterHandler

type PatchRouterHandler interface {
	Handle(PatchRouterParams, any) middleware.Responder
}

PatchRouterHandler interface for that can handle valid patch router params

type PatchRouterHandlerFunc

type PatchRouterHandlerFunc func(PatchRouterParams, any) middleware.Responder

PatchRouterHandlerFunc turns a function with the right signature into a patch router handler

func (PatchRouterHandlerFunc) Handle

func (fn PatchRouterHandlerFunc) Handle(params PatchRouterParams, principal any) middleware.Responder

Handle executing the request and returning a response

type PatchRouterNotFound

type PatchRouterNotFound struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchRouterNotFound The requested resource does not exist

swagger:response patchRouterNotFound

func NewPatchRouterNotFound

func NewPatchRouterNotFound() *PatchRouterNotFound

NewPatchRouterNotFound creates PatchRouterNotFound with default headers values

func (*PatchRouterNotFound) SetPayload

func (o *PatchRouterNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the patch router not found response

func (*PatchRouterNotFound) SetWWWAuthenticate added in v0.26.53

func (o *PatchRouterNotFound) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the patch router not found response

func (*PatchRouterNotFound) WithPayload

WithPayload adds the payload to the patch router not found response

func (*PatchRouterNotFound) WithWWWAuthenticate added in v0.26.53

func (o *PatchRouterNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *PatchRouterNotFound

WithWWWAuthenticate adds the wWWAuthenticate to the patch router not found response

func (*PatchRouterNotFound) WriteResponse

func (o *PatchRouterNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchRouterOK

type PatchRouterOK struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

PatchRouterOK The patch request was successful and the resource has been altered

swagger:response patchRouterOK

func NewPatchRouterOK

func NewPatchRouterOK() *PatchRouterOK

NewPatchRouterOK creates PatchRouterOK with default headers values

func (*PatchRouterOK) SetPayload

func (o *PatchRouterOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the patch router o k response

func (*PatchRouterOK) SetWWWAuthenticate added in v0.26.53

func (o *PatchRouterOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the patch router o k response

func (*PatchRouterOK) WithPayload

func (o *PatchRouterOK) WithPayload(payload *rest_model.Empty) *PatchRouterOK

WithPayload adds the payload to the patch router o k response

func (*PatchRouterOK) WithWWWAuthenticate added in v0.26.53

func (o *PatchRouterOK) WithWWWAuthenticate(wWWAuthenticate []string) *PatchRouterOK

WithWWWAuthenticate adds the wWWAuthenticate to the patch router o k response

func (*PatchRouterOK) WriteResponse

func (o *PatchRouterOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchRouterParams

type PatchRouterParams struct {
	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string

	/*A router patch object
	  Required: true
	  In: body
	*/
	Router *rest_model.RouterPatch
}

PatchRouterParams contains all the bound params for the patch router operation typically these are obtained from a http.Request

swagger:parameters patchRouter

func NewPatchRouterParams

func NewPatchRouterParams() PatchRouterParams

NewPatchRouterParams creates a new PatchRouterParams object

There are no default values defined in the spec.

func (*PatchRouterParams) BindRequest

func (o *PatchRouterParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPatchRouterParams() beforehand.

type PatchRouterServiceUnavailable added in v0.26.36

type PatchRouterServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchRouterServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response patchRouterServiceUnavailable

func NewPatchRouterServiceUnavailable added in v0.26.36

func NewPatchRouterServiceUnavailable() *PatchRouterServiceUnavailable

NewPatchRouterServiceUnavailable creates PatchRouterServiceUnavailable with default headers values

func (*PatchRouterServiceUnavailable) SetPayload added in v0.26.36

SetPayload sets the payload to the patch router service unavailable response

func (*PatchRouterServiceUnavailable) SetWWWAuthenticate added in v0.26.53

func (o *PatchRouterServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the patch router service unavailable response

func (*PatchRouterServiceUnavailable) WithPayload added in v0.26.36

WithPayload adds the payload to the patch router service unavailable response

func (*PatchRouterServiceUnavailable) WithWWWAuthenticate added in v0.26.53

func (o *PatchRouterServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *PatchRouterServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the patch router service unavailable response

func (*PatchRouterServiceUnavailable) WriteResponse added in v0.26.36

func (o *PatchRouterServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchRouterTooManyRequests added in v0.26.0

type PatchRouterTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response patchRouterTooManyRequests

func NewPatchRouterTooManyRequests added in v0.26.0

func NewPatchRouterTooManyRequests() *PatchRouterTooManyRequests

NewPatchRouterTooManyRequests creates PatchRouterTooManyRequests with default headers values

func (*PatchRouterTooManyRequests) SetPayload added in v0.26.0

func (o *PatchRouterTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the patch router too many requests response

func (*PatchRouterTooManyRequests) SetWWWAuthenticate added in v0.26.53

func (o *PatchRouterTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the patch router too many requests response

func (*PatchRouterTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the patch router too many requests response

func (*PatchRouterTooManyRequests) WithWWWAuthenticate added in v0.26.53

func (o *PatchRouterTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *PatchRouterTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the patch router too many requests response

func (*PatchRouterTooManyRequests) WriteResponse added in v0.26.0

func (o *PatchRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchRouterURL

type PatchRouterURL struct {
	ID string
	// contains filtered or unexported fields
}

PatchRouterURL generates an URL for the patch router operation

func (*PatchRouterURL) Build

func (o *PatchRouterURL) Build() (*url.URL, error)

Build a url path and query string

func (*PatchRouterURL) BuildFull

func (o *PatchRouterURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PatchRouterURL) Must

func (o *PatchRouterURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PatchRouterURL) SetBasePath

func (o *PatchRouterURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PatchRouterURL) String

func (o *PatchRouterURL) String() string

String returns the string representation of the path with query string

func (*PatchRouterURL) StringFull

func (o *PatchRouterURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PatchRouterURL) WithBasePath

func (o *PatchRouterURL) WithBasePath(bp string) *PatchRouterURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PatchRouterUnauthorized

type PatchRouterUnauthorized struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response patchRouterUnauthorized

func NewPatchRouterUnauthorized

func NewPatchRouterUnauthorized() *PatchRouterUnauthorized

NewPatchRouterUnauthorized creates PatchRouterUnauthorized with default headers values

func (*PatchRouterUnauthorized) SetPayload

func (o *PatchRouterUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the patch router unauthorized response

func (*PatchRouterUnauthorized) SetWWWAuthenticate added in v0.26.53

func (o *PatchRouterUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the patch router unauthorized response

func (*PatchRouterUnauthorized) WithPayload

WithPayload adds the payload to the patch router unauthorized response

func (*PatchRouterUnauthorized) WithWWWAuthenticate added in v0.26.53

func (o *PatchRouterUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *PatchRouterUnauthorized

WithWWWAuthenticate adds the wWWAuthenticate to the patch router unauthorized response

func (*PatchRouterUnauthorized) WriteResponse

func (o *PatchRouterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchTransitRouter

type PatchTransitRouter struct {
	Context *middleware.Context
	Handler PatchTransitRouterHandler
}
PatchTransitRouter swagger:route PATCH /transit-routers/{id} Router patchTransitRouter

Update the supplied fields on a router

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

func NewPatchTransitRouter

func NewPatchTransitRouter(ctx *middleware.Context, handler PatchTransitRouterHandler) *PatchTransitRouter

NewPatchTransitRouter creates a new http.Handler for the patch transit router operation

func (*PatchTransitRouter) ServeHTTP

func (o *PatchTransitRouter) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PatchTransitRouterBadRequest

type PatchTransitRouterBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchTransitRouterBadRequest 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

swagger:response patchTransitRouterBadRequest

func NewPatchTransitRouterBadRequest

func NewPatchTransitRouterBadRequest() *PatchTransitRouterBadRequest

NewPatchTransitRouterBadRequest creates PatchTransitRouterBadRequest with default headers values

func (*PatchTransitRouterBadRequest) SetPayload

SetPayload sets the payload to the patch transit router bad request response

func (*PatchTransitRouterBadRequest) SetWWWAuthenticate added in v0.26.53

func (o *PatchTransitRouterBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the patch transit router bad request response

func (*PatchTransitRouterBadRequest) WithPayload

WithPayload adds the payload to the patch transit router bad request response

func (*PatchTransitRouterBadRequest) WithWWWAuthenticate added in v0.26.53

func (o *PatchTransitRouterBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *PatchTransitRouterBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the patch transit router bad request response

func (*PatchTransitRouterBadRequest) WriteResponse

func (o *PatchTransitRouterBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchTransitRouterHandler

type PatchTransitRouterHandler interface {
	Handle(PatchTransitRouterParams, any) middleware.Responder
}

PatchTransitRouterHandler interface for that can handle valid patch transit router params

type PatchTransitRouterHandlerFunc

type PatchTransitRouterHandlerFunc func(PatchTransitRouterParams, any) middleware.Responder

PatchTransitRouterHandlerFunc turns a function with the right signature into a patch transit router handler

func (PatchTransitRouterHandlerFunc) Handle

Handle executing the request and returning a response

type PatchTransitRouterNotFound

type PatchTransitRouterNotFound struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchTransitRouterNotFound The requested resource does not exist

swagger:response patchTransitRouterNotFound

func NewPatchTransitRouterNotFound

func NewPatchTransitRouterNotFound() *PatchTransitRouterNotFound

NewPatchTransitRouterNotFound creates PatchTransitRouterNotFound with default headers values

func (*PatchTransitRouterNotFound) SetPayload

func (o *PatchTransitRouterNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the patch transit router not found response

func (*PatchTransitRouterNotFound) SetWWWAuthenticate added in v0.26.53

func (o *PatchTransitRouterNotFound) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the patch transit router not found response

func (*PatchTransitRouterNotFound) WithPayload

WithPayload adds the payload to the patch transit router not found response

func (*PatchTransitRouterNotFound) WithWWWAuthenticate added in v0.26.53

func (o *PatchTransitRouterNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *PatchTransitRouterNotFound

WithWWWAuthenticate adds the wWWAuthenticate to the patch transit router not found response

func (*PatchTransitRouterNotFound) WriteResponse

func (o *PatchTransitRouterNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchTransitRouterOK

type PatchTransitRouterOK struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

PatchTransitRouterOK The patch request was successful and the resource has been altered

swagger:response patchTransitRouterOK

func NewPatchTransitRouterOK

func NewPatchTransitRouterOK() *PatchTransitRouterOK

NewPatchTransitRouterOK creates PatchTransitRouterOK with default headers values

func (*PatchTransitRouterOK) SetPayload

func (o *PatchTransitRouterOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the patch transit router o k response

func (*PatchTransitRouterOK) SetWWWAuthenticate added in v0.26.53

func (o *PatchTransitRouterOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the patch transit router o k response

func (*PatchTransitRouterOK) WithPayload

func (o *PatchTransitRouterOK) WithPayload(payload *rest_model.Empty) *PatchTransitRouterOK

WithPayload adds the payload to the patch transit router o k response

func (*PatchTransitRouterOK) WithWWWAuthenticate added in v0.26.53

func (o *PatchTransitRouterOK) WithWWWAuthenticate(wWWAuthenticate []string) *PatchTransitRouterOK

WithWWWAuthenticate adds the wWWAuthenticate to the patch transit router o k response

func (*PatchTransitRouterOK) WriteResponse

func (o *PatchTransitRouterOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchTransitRouterParams

type PatchTransitRouterParams struct {
	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string

	/*A router patch object
	  Required: true
	  In: body
	*/
	Router *rest_model.RouterPatch
}

PatchTransitRouterParams contains all the bound params for the patch transit router operation typically these are obtained from a http.Request

swagger:parameters patchTransitRouter

func NewPatchTransitRouterParams

func NewPatchTransitRouterParams() PatchTransitRouterParams

NewPatchTransitRouterParams creates a new PatchTransitRouterParams object

There are no default values defined in the spec.

func (*PatchTransitRouterParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPatchTransitRouterParams() beforehand.

type PatchTransitRouterServiceUnavailable added in v0.26.36

type PatchTransitRouterServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchTransitRouterServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response patchTransitRouterServiceUnavailable

func NewPatchTransitRouterServiceUnavailable added in v0.26.36

func NewPatchTransitRouterServiceUnavailable() *PatchTransitRouterServiceUnavailable

NewPatchTransitRouterServiceUnavailable creates PatchTransitRouterServiceUnavailable with default headers values

func (*PatchTransitRouterServiceUnavailable) SetPayload added in v0.26.36

SetPayload sets the payload to the patch transit router service unavailable response

func (*PatchTransitRouterServiceUnavailable) SetWWWAuthenticate added in v0.26.53

func (o *PatchTransitRouterServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the patch transit router service unavailable response

func (*PatchTransitRouterServiceUnavailable) WithPayload added in v0.26.36

WithPayload adds the payload to the patch transit router service unavailable response

func (*PatchTransitRouterServiceUnavailable) WithWWWAuthenticate added in v0.26.53

func (o *PatchTransitRouterServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *PatchTransitRouterServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the patch transit router service unavailable response

func (*PatchTransitRouterServiceUnavailable) WriteResponse added in v0.26.36

WriteResponse to the client

type PatchTransitRouterTooManyRequests added in v0.26.0

type PatchTransitRouterTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchTransitRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response patchTransitRouterTooManyRequests

func NewPatchTransitRouterTooManyRequests added in v0.26.0

func NewPatchTransitRouterTooManyRequests() *PatchTransitRouterTooManyRequests

NewPatchTransitRouterTooManyRequests creates PatchTransitRouterTooManyRequests with default headers values

func (*PatchTransitRouterTooManyRequests) SetPayload added in v0.26.0

SetPayload sets the payload to the patch transit router too many requests response

func (*PatchTransitRouterTooManyRequests) SetWWWAuthenticate added in v0.26.53

func (o *PatchTransitRouterTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the patch transit router too many requests response

func (*PatchTransitRouterTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the patch transit router too many requests response

func (*PatchTransitRouterTooManyRequests) WithWWWAuthenticate added in v0.26.53

func (o *PatchTransitRouterTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *PatchTransitRouterTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the patch transit router too many requests response

func (*PatchTransitRouterTooManyRequests) WriteResponse added in v0.26.0

func (o *PatchTransitRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchTransitRouterURL

type PatchTransitRouterURL struct {
	ID string
	// contains filtered or unexported fields
}

PatchTransitRouterURL generates an URL for the patch transit router operation

func (*PatchTransitRouterURL) Build

func (o *PatchTransitRouterURL) Build() (*url.URL, error)

Build a url path and query string

func (*PatchTransitRouterURL) BuildFull

func (o *PatchTransitRouterURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PatchTransitRouterURL) Must

func (o *PatchTransitRouterURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PatchTransitRouterURL) SetBasePath

func (o *PatchTransitRouterURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PatchTransitRouterURL) String

func (o *PatchTransitRouterURL) String() string

String returns the string representation of the path with query string

func (*PatchTransitRouterURL) StringFull

func (o *PatchTransitRouterURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PatchTransitRouterURL) WithBasePath

func (o *PatchTransitRouterURL) WithBasePath(bp string) *PatchTransitRouterURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PatchTransitRouterUnauthorized

type PatchTransitRouterUnauthorized struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response patchTransitRouterUnauthorized

func NewPatchTransitRouterUnauthorized

func NewPatchTransitRouterUnauthorized() *PatchTransitRouterUnauthorized

NewPatchTransitRouterUnauthorized creates PatchTransitRouterUnauthorized with default headers values

func (*PatchTransitRouterUnauthorized) SetPayload

SetPayload sets the payload to the patch transit router unauthorized response

func (*PatchTransitRouterUnauthorized) SetWWWAuthenticate added in v0.26.53

func (o *PatchTransitRouterUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the patch transit router unauthorized response

func (*PatchTransitRouterUnauthorized) WithPayload

WithPayload adds the payload to the patch transit router unauthorized response

func (*PatchTransitRouterUnauthorized) WithWWWAuthenticate added in v0.26.53

func (o *PatchTransitRouterUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *PatchTransitRouterUnauthorized

WithWWWAuthenticate adds the wWWAuthenticate to the patch transit router unauthorized response

func (*PatchTransitRouterUnauthorized) WriteResponse

func (o *PatchTransitRouterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateRouter

type UpdateRouter struct {
	Context *middleware.Context
	Handler UpdateRouterHandler
}
UpdateRouter swagger:route PUT /routers/{id} Router updateRouter

Update all fields on a router

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

func NewUpdateRouter

func NewUpdateRouter(ctx *middleware.Context, handler UpdateRouterHandler) *UpdateRouter

NewUpdateRouter creates a new http.Handler for the update router operation

func (*UpdateRouter) ServeHTTP

func (o *UpdateRouter) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateRouterBadRequest

type UpdateRouterBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateRouterBadRequest 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

swagger:response updateRouterBadRequest

func NewUpdateRouterBadRequest

func NewUpdateRouterBadRequest() *UpdateRouterBadRequest

NewUpdateRouterBadRequest creates UpdateRouterBadRequest with default headers values

func (*UpdateRouterBadRequest) SetPayload

func (o *UpdateRouterBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the update router bad request response

func (*UpdateRouterBadRequest) SetWWWAuthenticate added in v0.26.53

func (o *UpdateRouterBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the update router bad request response

func (*UpdateRouterBadRequest) WithPayload

WithPayload adds the payload to the update router bad request response

func (*UpdateRouterBadRequest) WithWWWAuthenticate added in v0.26.53

func (o *UpdateRouterBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *UpdateRouterBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the update router bad request response

func (*UpdateRouterBadRequest) WriteResponse

func (o *UpdateRouterBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateRouterHandler

type UpdateRouterHandler interface {
	Handle(UpdateRouterParams, any) middleware.Responder
}

UpdateRouterHandler interface for that can handle valid update router params

type UpdateRouterHandlerFunc

type UpdateRouterHandlerFunc func(UpdateRouterParams, any) middleware.Responder

UpdateRouterHandlerFunc turns a function with the right signature into a update router handler

func (UpdateRouterHandlerFunc) Handle

func (fn UpdateRouterHandlerFunc) Handle(params UpdateRouterParams, principal any) middleware.Responder

Handle executing the request and returning a response

type UpdateRouterNotFound

type UpdateRouterNotFound struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateRouterNotFound The requested resource does not exist

swagger:response updateRouterNotFound

func NewUpdateRouterNotFound

func NewUpdateRouterNotFound() *UpdateRouterNotFound

NewUpdateRouterNotFound creates UpdateRouterNotFound with default headers values

func (*UpdateRouterNotFound) SetPayload

func (o *UpdateRouterNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the update router not found response

func (*UpdateRouterNotFound) SetWWWAuthenticate added in v0.26.53

func (o *UpdateRouterNotFound) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the update router not found response

func (*UpdateRouterNotFound) WithPayload

WithPayload adds the payload to the update router not found response

func (*UpdateRouterNotFound) WithWWWAuthenticate added in v0.26.53

func (o *UpdateRouterNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *UpdateRouterNotFound

WithWWWAuthenticate adds the wWWAuthenticate to the update router not found response

func (*UpdateRouterNotFound) WriteResponse

func (o *UpdateRouterNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateRouterOK

type UpdateRouterOK struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

UpdateRouterOK The update request was successful and the resource has been altered

swagger:response updateRouterOK

func NewUpdateRouterOK

func NewUpdateRouterOK() *UpdateRouterOK

NewUpdateRouterOK creates UpdateRouterOK with default headers values

func (*UpdateRouterOK) SetPayload

func (o *UpdateRouterOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the update router o k response

func (*UpdateRouterOK) SetWWWAuthenticate added in v0.26.53

func (o *UpdateRouterOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the update router o k response

func (*UpdateRouterOK) WithPayload

func (o *UpdateRouterOK) WithPayload(payload *rest_model.Empty) *UpdateRouterOK

WithPayload adds the payload to the update router o k response

func (*UpdateRouterOK) WithWWWAuthenticate added in v0.26.53

func (o *UpdateRouterOK) WithWWWAuthenticate(wWWAuthenticate []string) *UpdateRouterOK

WithWWWAuthenticate adds the wWWAuthenticate to the update router o k response

func (*UpdateRouterOK) WriteResponse

func (o *UpdateRouterOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateRouterParams

type UpdateRouterParams struct {
	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string

	/*A router update object
	  Required: true
	  In: body
	*/
	Router *rest_model.RouterUpdate
}

UpdateRouterParams contains all the bound params for the update router operation typically these are obtained from a http.Request

swagger:parameters updateRouter

func NewUpdateRouterParams

func NewUpdateRouterParams() UpdateRouterParams

NewUpdateRouterParams creates a new UpdateRouterParams object

There are no default values defined in the spec.

func (*UpdateRouterParams) BindRequest

func (o *UpdateRouterParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUpdateRouterParams() beforehand.

type UpdateRouterServiceUnavailable added in v0.26.36

type UpdateRouterServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateRouterServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response updateRouterServiceUnavailable

func NewUpdateRouterServiceUnavailable added in v0.26.36

func NewUpdateRouterServiceUnavailable() *UpdateRouterServiceUnavailable

NewUpdateRouterServiceUnavailable creates UpdateRouterServiceUnavailable with default headers values

func (*UpdateRouterServiceUnavailable) SetPayload added in v0.26.36

SetPayload sets the payload to the update router service unavailable response

func (*UpdateRouterServiceUnavailable) SetWWWAuthenticate added in v0.26.53

func (o *UpdateRouterServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the update router service unavailable response

func (*UpdateRouterServiceUnavailable) WithPayload added in v0.26.36

WithPayload adds the payload to the update router service unavailable response

func (*UpdateRouterServiceUnavailable) WithWWWAuthenticate added in v0.26.53

func (o *UpdateRouterServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *UpdateRouterServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the update router service unavailable response

func (*UpdateRouterServiceUnavailable) WriteResponse added in v0.26.36

func (o *UpdateRouterServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateRouterTooManyRequests added in v0.26.0

type UpdateRouterTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response updateRouterTooManyRequests

func NewUpdateRouterTooManyRequests added in v0.26.0

func NewUpdateRouterTooManyRequests() *UpdateRouterTooManyRequests

NewUpdateRouterTooManyRequests creates UpdateRouterTooManyRequests with default headers values

func (*UpdateRouterTooManyRequests) SetPayload added in v0.26.0

SetPayload sets the payload to the update router too many requests response

func (*UpdateRouterTooManyRequests) SetWWWAuthenticate added in v0.26.53

func (o *UpdateRouterTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the update router too many requests response

func (*UpdateRouterTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the update router too many requests response

func (*UpdateRouterTooManyRequests) WithWWWAuthenticate added in v0.26.53

func (o *UpdateRouterTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *UpdateRouterTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the update router too many requests response

func (*UpdateRouterTooManyRequests) WriteResponse added in v0.26.0

func (o *UpdateRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateRouterURL

type UpdateRouterURL struct {
	ID string
	// contains filtered or unexported fields
}

UpdateRouterURL generates an URL for the update router operation

func (*UpdateRouterURL) Build

func (o *UpdateRouterURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateRouterURL) BuildFull

func (o *UpdateRouterURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateRouterURL) Must

func (o *UpdateRouterURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateRouterURL) SetBasePath

func (o *UpdateRouterURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UpdateRouterURL) String

func (o *UpdateRouterURL) String() string

String returns the string representation of the path with query string

func (*UpdateRouterURL) StringFull

func (o *UpdateRouterURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateRouterURL) WithBasePath

func (o *UpdateRouterURL) WithBasePath(bp string) *UpdateRouterURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateRouterUnauthorized

type UpdateRouterUnauthorized struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response updateRouterUnauthorized

func NewUpdateRouterUnauthorized

func NewUpdateRouterUnauthorized() *UpdateRouterUnauthorized

NewUpdateRouterUnauthorized creates UpdateRouterUnauthorized with default headers values

func (*UpdateRouterUnauthorized) SetPayload

func (o *UpdateRouterUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the update router unauthorized response

func (*UpdateRouterUnauthorized) SetWWWAuthenticate added in v0.26.53

func (o *UpdateRouterUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the update router unauthorized response

func (*UpdateRouterUnauthorized) WithPayload

WithPayload adds the payload to the update router unauthorized response

func (*UpdateRouterUnauthorized) WithWWWAuthenticate added in v0.26.53

func (o *UpdateRouterUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *UpdateRouterUnauthorized

WithWWWAuthenticate adds the wWWAuthenticate to the update router unauthorized response

func (*UpdateRouterUnauthorized) WriteResponse

func (o *UpdateRouterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateTransitRouter

type UpdateTransitRouter struct {
	Context *middleware.Context
	Handler UpdateTransitRouterHandler
}
UpdateTransitRouter swagger:route PUT /transit-routers/{id} Router updateTransitRouter

Update all fields on a router

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

func NewUpdateTransitRouter

func NewUpdateTransitRouter(ctx *middleware.Context, handler UpdateTransitRouterHandler) *UpdateTransitRouter

NewUpdateTransitRouter creates a new http.Handler for the update transit router operation

func (*UpdateTransitRouter) ServeHTTP

func (o *UpdateTransitRouter) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateTransitRouterBadRequest

type UpdateTransitRouterBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateTransitRouterBadRequest 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

swagger:response updateTransitRouterBadRequest

func NewUpdateTransitRouterBadRequest

func NewUpdateTransitRouterBadRequest() *UpdateTransitRouterBadRequest

NewUpdateTransitRouterBadRequest creates UpdateTransitRouterBadRequest with default headers values

func (*UpdateTransitRouterBadRequest) SetPayload

SetPayload sets the payload to the update transit router bad request response

func (*UpdateTransitRouterBadRequest) SetWWWAuthenticate added in v0.26.53

func (o *UpdateTransitRouterBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the update transit router bad request response

func (*UpdateTransitRouterBadRequest) WithPayload

WithPayload adds the payload to the update transit router bad request response

func (*UpdateTransitRouterBadRequest) WithWWWAuthenticate added in v0.26.53

func (o *UpdateTransitRouterBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *UpdateTransitRouterBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the update transit router bad request response

func (*UpdateTransitRouterBadRequest) WriteResponse

func (o *UpdateTransitRouterBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateTransitRouterHandler

type UpdateTransitRouterHandler interface {
	Handle(UpdateTransitRouterParams, any) middleware.Responder
}

UpdateTransitRouterHandler interface for that can handle valid update transit router params

type UpdateTransitRouterHandlerFunc

type UpdateTransitRouterHandlerFunc func(UpdateTransitRouterParams, any) middleware.Responder

UpdateTransitRouterHandlerFunc turns a function with the right signature into a update transit router handler

func (UpdateTransitRouterHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateTransitRouterNotFound

type UpdateTransitRouterNotFound struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateTransitRouterNotFound The requested resource does not exist

swagger:response updateTransitRouterNotFound

func NewUpdateTransitRouterNotFound

func NewUpdateTransitRouterNotFound() *UpdateTransitRouterNotFound

NewUpdateTransitRouterNotFound creates UpdateTransitRouterNotFound with default headers values

func (*UpdateTransitRouterNotFound) SetPayload

SetPayload sets the payload to the update transit router not found response

func (*UpdateTransitRouterNotFound) SetWWWAuthenticate added in v0.26.53

func (o *UpdateTransitRouterNotFound) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the update transit router not found response

func (*UpdateTransitRouterNotFound) WithPayload

WithPayload adds the payload to the update transit router not found response

func (*UpdateTransitRouterNotFound) WithWWWAuthenticate added in v0.26.53

func (o *UpdateTransitRouterNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *UpdateTransitRouterNotFound

WithWWWAuthenticate adds the wWWAuthenticate to the update transit router not found response

func (*UpdateTransitRouterNotFound) WriteResponse

func (o *UpdateTransitRouterNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateTransitRouterOK

type UpdateTransitRouterOK struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

UpdateTransitRouterOK The update request was successful and the resource has been altered

swagger:response updateTransitRouterOK

func NewUpdateTransitRouterOK

func NewUpdateTransitRouterOK() *UpdateTransitRouterOK

NewUpdateTransitRouterOK creates UpdateTransitRouterOK with default headers values

func (*UpdateTransitRouterOK) SetPayload

func (o *UpdateTransitRouterOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the update transit router o k response

func (*UpdateTransitRouterOK) SetWWWAuthenticate added in v0.26.53

func (o *UpdateTransitRouterOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the update transit router o k response

func (*UpdateTransitRouterOK) WithPayload

func (o *UpdateTransitRouterOK) WithPayload(payload *rest_model.Empty) *UpdateTransitRouterOK

WithPayload adds the payload to the update transit router o k response

func (*UpdateTransitRouterOK) WithWWWAuthenticate added in v0.26.53

func (o *UpdateTransitRouterOK) WithWWWAuthenticate(wWWAuthenticate []string) *UpdateTransitRouterOK

WithWWWAuthenticate adds the wWWAuthenticate to the update transit router o k response

func (*UpdateTransitRouterOK) WriteResponse

func (o *UpdateTransitRouterOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateTransitRouterParams

type UpdateTransitRouterParams struct {
	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string

	/*A router update object
	  Required: true
	  In: body
	*/
	Router *rest_model.RouterUpdate
}

UpdateTransitRouterParams contains all the bound params for the update transit router operation typically these are obtained from a http.Request

swagger:parameters updateTransitRouter

func NewUpdateTransitRouterParams

func NewUpdateTransitRouterParams() UpdateTransitRouterParams

NewUpdateTransitRouterParams creates a new UpdateTransitRouterParams object

There are no default values defined in the spec.

func (*UpdateTransitRouterParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUpdateTransitRouterParams() beforehand.

type UpdateTransitRouterServiceUnavailable added in v0.26.36

type UpdateTransitRouterServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateTransitRouterServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response updateTransitRouterServiceUnavailable

func NewUpdateTransitRouterServiceUnavailable added in v0.26.36

func NewUpdateTransitRouterServiceUnavailable() *UpdateTransitRouterServiceUnavailable

NewUpdateTransitRouterServiceUnavailable creates UpdateTransitRouterServiceUnavailable with default headers values

func (*UpdateTransitRouterServiceUnavailable) SetPayload added in v0.26.36

SetPayload sets the payload to the update transit router service unavailable response

func (*UpdateTransitRouterServiceUnavailable) SetWWWAuthenticate added in v0.26.53

func (o *UpdateTransitRouterServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the update transit router service unavailable response

func (*UpdateTransitRouterServiceUnavailable) WithPayload added in v0.26.36

WithPayload adds the payload to the update transit router service unavailable response

func (*UpdateTransitRouterServiceUnavailable) WithWWWAuthenticate added in v0.26.53

func (o *UpdateTransitRouterServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *UpdateTransitRouterServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the update transit router service unavailable response

func (*UpdateTransitRouterServiceUnavailable) WriteResponse added in v0.26.36

WriteResponse to the client

type UpdateTransitRouterTooManyRequests added in v0.26.0

type UpdateTransitRouterTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateTransitRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response updateTransitRouterTooManyRequests

func NewUpdateTransitRouterTooManyRequests added in v0.26.0

func NewUpdateTransitRouterTooManyRequests() *UpdateTransitRouterTooManyRequests

NewUpdateTransitRouterTooManyRequests creates UpdateTransitRouterTooManyRequests with default headers values

func (*UpdateTransitRouterTooManyRequests) SetPayload added in v0.26.0

SetPayload sets the payload to the update transit router too many requests response

func (*UpdateTransitRouterTooManyRequests) SetWWWAuthenticate added in v0.26.53

func (o *UpdateTransitRouterTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the update transit router too many requests response

func (*UpdateTransitRouterTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the update transit router too many requests response

func (*UpdateTransitRouterTooManyRequests) WithWWWAuthenticate added in v0.26.53

func (o *UpdateTransitRouterTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *UpdateTransitRouterTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the update transit router too many requests response

func (*UpdateTransitRouterTooManyRequests) WriteResponse added in v0.26.0

WriteResponse to the client

type UpdateTransitRouterURL

type UpdateTransitRouterURL struct {
	ID string
	// contains filtered or unexported fields
}

UpdateTransitRouterURL generates an URL for the update transit router operation

func (*UpdateTransitRouterURL) Build

func (o *UpdateTransitRouterURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateTransitRouterURL) BuildFull

func (o *UpdateTransitRouterURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateTransitRouterURL) Must

func (o *UpdateTransitRouterURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateTransitRouterURL) SetBasePath

func (o *UpdateTransitRouterURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UpdateTransitRouterURL) String

func (o *UpdateTransitRouterURL) String() string

String returns the string representation of the path with query string

func (*UpdateTransitRouterURL) StringFull

func (o *UpdateTransitRouterURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateTransitRouterURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateTransitRouterUnauthorized

type UpdateTransitRouterUnauthorized struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

swagger:response updateTransitRouterUnauthorized

func NewUpdateTransitRouterUnauthorized

func NewUpdateTransitRouterUnauthorized() *UpdateTransitRouterUnauthorized

NewUpdateTransitRouterUnauthorized creates UpdateTransitRouterUnauthorized with default headers values

func (*UpdateTransitRouterUnauthorized) SetPayload

SetPayload sets the payload to the update transit router unauthorized response

func (*UpdateTransitRouterUnauthorized) SetWWWAuthenticate added in v0.26.53

func (o *UpdateTransitRouterUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the update transit router unauthorized response

func (*UpdateTransitRouterUnauthorized) WithPayload

WithPayload adds the payload to the update transit router unauthorized response

func (*UpdateTransitRouterUnauthorized) WithWWWAuthenticate added in v0.26.53

func (o *UpdateTransitRouterUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *UpdateTransitRouterUnauthorized

WithWWWAuthenticate adds the wWWAuthenticate to the update transit router unauthorized response

func (*UpdateTransitRouterUnauthorized) WriteResponse

func (o *UpdateTransitRouterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

Jump to

Keyboard shortcuts

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