Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateRouter(params *CreateRouterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateRouterCreated, error)
- func (a *Client) CreateTransitRouter(params *CreateTransitRouterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateTransitRouterCreated, error)
- func (a *Client) DeleteRouter(params *DeleteRouterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteRouterOK, error)
- func (a *Client) DeleteTransitRouter(params *DeleteTransitRouterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteTransitRouterOK, error)
- func (a *Client) DetailRouter(params *DetailRouterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailRouterOK, error)
- func (a *Client) DetailTransitRouter(params *DetailTransitRouterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailTransitRouterOK, error)
- func (a *Client) ListRouters(params *ListRoutersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListRoutersOK, error)
- func (a *Client) ListTransitRouters(params *ListTransitRoutersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListTransitRoutersOK, error)
- func (a *Client) PatchRouter(params *PatchRouterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchRouterOK, error)
- func (a *Client) PatchTransitRouter(params *PatchTransitRouterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchTransitRouterOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateRouter(params *UpdateRouterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateRouterOK, error)
- func (a *Client) UpdateTransitRouter(params *UpdateTransitRouterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateTransitRouterOK, error)
- type ClientOption
- type ClientService
- type CreateRouterBadRequest
- type CreateRouterCreated
- type CreateRouterParams
- func (o *CreateRouterParams) SetContext(ctx context.Context)
- func (o *CreateRouterParams) SetDefaults()
- func (o *CreateRouterParams) SetHTTPClient(client *http.Client)
- func (o *CreateRouterParams) SetRouter(router *rest_model.RouterCreate)
- func (o *CreateRouterParams) SetTimeout(timeout time.Duration)
- func (o *CreateRouterParams) WithContext(ctx context.Context) *CreateRouterParams
- func (o *CreateRouterParams) WithDefaults() *CreateRouterParams
- func (o *CreateRouterParams) WithHTTPClient(client *http.Client) *CreateRouterParams
- func (o *CreateRouterParams) WithRouter(router *rest_model.RouterCreate) *CreateRouterParams
- func (o *CreateRouterParams) WithTimeout(timeout time.Duration) *CreateRouterParams
- func (o *CreateRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRouterReader
- type CreateRouterUnauthorized
- type CreateTransitRouterBadRequest
- type CreateTransitRouterCreated
- type CreateTransitRouterParams
- func NewCreateTransitRouterParams() *CreateTransitRouterParams
- func NewCreateTransitRouterParamsWithContext(ctx context.Context) *CreateTransitRouterParams
- func NewCreateTransitRouterParamsWithHTTPClient(client *http.Client) *CreateTransitRouterParams
- func NewCreateTransitRouterParamsWithTimeout(timeout time.Duration) *CreateTransitRouterParams
- func (o *CreateTransitRouterParams) SetContext(ctx context.Context)
- func (o *CreateTransitRouterParams) SetDefaults()
- func (o *CreateTransitRouterParams) SetHTTPClient(client *http.Client)
- func (o *CreateTransitRouterParams) SetRouter(router *rest_model.RouterCreate)
- func (o *CreateTransitRouterParams) SetTimeout(timeout time.Duration)
- func (o *CreateTransitRouterParams) WithContext(ctx context.Context) *CreateTransitRouterParams
- func (o *CreateTransitRouterParams) WithDefaults() *CreateTransitRouterParams
- func (o *CreateTransitRouterParams) WithHTTPClient(client *http.Client) *CreateTransitRouterParams
- func (o *CreateTransitRouterParams) WithRouter(router *rest_model.RouterCreate) *CreateTransitRouterParams
- func (o *CreateTransitRouterParams) WithTimeout(timeout time.Duration) *CreateTransitRouterParams
- func (o *CreateTransitRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTransitRouterReader
- type CreateTransitRouterUnauthorized
- type DeleteRouterBadRequest
- type DeleteRouterConflict
- type DeleteRouterOK
- type DeleteRouterParams
- func (o *DeleteRouterParams) SetContext(ctx context.Context)
- func (o *DeleteRouterParams) SetDefaults()
- func (o *DeleteRouterParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRouterParams) SetID(id string)
- func (o *DeleteRouterParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRouterParams) WithContext(ctx context.Context) *DeleteRouterParams
- func (o *DeleteRouterParams) WithDefaults() *DeleteRouterParams
- func (o *DeleteRouterParams) WithHTTPClient(client *http.Client) *DeleteRouterParams
- func (o *DeleteRouterParams) WithID(id string) *DeleteRouterParams
- func (o *DeleteRouterParams) WithTimeout(timeout time.Duration) *DeleteRouterParams
- func (o *DeleteRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRouterReader
- type DeleteRouterUnauthorized
- type DeleteTransitRouterBadRequest
- type DeleteTransitRouterConflict
- type DeleteTransitRouterOK
- type DeleteTransitRouterParams
- func NewDeleteTransitRouterParams() *DeleteTransitRouterParams
- func NewDeleteTransitRouterParamsWithContext(ctx context.Context) *DeleteTransitRouterParams
- func NewDeleteTransitRouterParamsWithHTTPClient(client *http.Client) *DeleteTransitRouterParams
- func NewDeleteTransitRouterParamsWithTimeout(timeout time.Duration) *DeleteTransitRouterParams
- func (o *DeleteTransitRouterParams) SetContext(ctx context.Context)
- func (o *DeleteTransitRouterParams) SetDefaults()
- func (o *DeleteTransitRouterParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTransitRouterParams) SetID(id string)
- func (o *DeleteTransitRouterParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTransitRouterParams) WithContext(ctx context.Context) *DeleteTransitRouterParams
- func (o *DeleteTransitRouterParams) WithDefaults() *DeleteTransitRouterParams
- func (o *DeleteTransitRouterParams) WithHTTPClient(client *http.Client) *DeleteTransitRouterParams
- func (o *DeleteTransitRouterParams) WithID(id string) *DeleteTransitRouterParams
- func (o *DeleteTransitRouterParams) WithTimeout(timeout time.Duration) *DeleteTransitRouterParams
- func (o *DeleteTransitRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTransitRouterReader
- type DeleteTransitRouterUnauthorized
- type DetailRouterNotFound
- type DetailRouterOK
- type DetailRouterParams
- func (o *DetailRouterParams) SetContext(ctx context.Context)
- func (o *DetailRouterParams) SetDefaults()
- func (o *DetailRouterParams) SetHTTPClient(client *http.Client)
- func (o *DetailRouterParams) SetID(id string)
- func (o *DetailRouterParams) SetTimeout(timeout time.Duration)
- func (o *DetailRouterParams) WithContext(ctx context.Context) *DetailRouterParams
- func (o *DetailRouterParams) WithDefaults() *DetailRouterParams
- func (o *DetailRouterParams) WithHTTPClient(client *http.Client) *DetailRouterParams
- func (o *DetailRouterParams) WithID(id string) *DetailRouterParams
- func (o *DetailRouterParams) WithTimeout(timeout time.Duration) *DetailRouterParams
- func (o *DetailRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailRouterReader
- type DetailRouterUnauthorized
- type DetailTransitRouterNotFound
- type DetailTransitRouterOK
- type DetailTransitRouterParams
- func NewDetailTransitRouterParams() *DetailTransitRouterParams
- func NewDetailTransitRouterParamsWithContext(ctx context.Context) *DetailTransitRouterParams
- func NewDetailTransitRouterParamsWithHTTPClient(client *http.Client) *DetailTransitRouterParams
- func NewDetailTransitRouterParamsWithTimeout(timeout time.Duration) *DetailTransitRouterParams
- func (o *DetailTransitRouterParams) SetContext(ctx context.Context)
- func (o *DetailTransitRouterParams) SetDefaults()
- func (o *DetailTransitRouterParams) SetHTTPClient(client *http.Client)
- func (o *DetailTransitRouterParams) SetID(id string)
- func (o *DetailTransitRouterParams) SetTimeout(timeout time.Duration)
- func (o *DetailTransitRouterParams) WithContext(ctx context.Context) *DetailTransitRouterParams
- func (o *DetailTransitRouterParams) WithDefaults() *DetailTransitRouterParams
- func (o *DetailTransitRouterParams) WithHTTPClient(client *http.Client) *DetailTransitRouterParams
- func (o *DetailTransitRouterParams) WithID(id string) *DetailTransitRouterParams
- func (o *DetailTransitRouterParams) WithTimeout(timeout time.Duration) *DetailTransitRouterParams
- func (o *DetailTransitRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailTransitRouterReader
- type DetailTransitRouterUnauthorized
- type ListRoutersBadRequest
- type ListRoutersOK
- type ListRoutersParams
- func (o *ListRoutersParams) SetContext(ctx context.Context)
- func (o *ListRoutersParams) SetDefaults()
- func (o *ListRoutersParams) SetFilter(filter *string)
- func (o *ListRoutersParams) SetHTTPClient(client *http.Client)
- func (o *ListRoutersParams) SetLimit(limit *int64)
- func (o *ListRoutersParams) SetOffset(offset *int64)
- func (o *ListRoutersParams) SetTimeout(timeout time.Duration)
- func (o *ListRoutersParams) WithContext(ctx context.Context) *ListRoutersParams
- func (o *ListRoutersParams) WithDefaults() *ListRoutersParams
- func (o *ListRoutersParams) WithFilter(filter *string) *ListRoutersParams
- func (o *ListRoutersParams) WithHTTPClient(client *http.Client) *ListRoutersParams
- func (o *ListRoutersParams) WithLimit(limit *int64) *ListRoutersParams
- func (o *ListRoutersParams) WithOffset(offset *int64) *ListRoutersParams
- func (o *ListRoutersParams) WithTimeout(timeout time.Duration) *ListRoutersParams
- func (o *ListRoutersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRoutersReader
- type ListRoutersUnauthorized
- type ListTransitRoutersBadRequest
- type ListTransitRoutersOK
- type ListTransitRoutersParams
- func NewListTransitRoutersParams() *ListTransitRoutersParams
- func NewListTransitRoutersParamsWithContext(ctx context.Context) *ListTransitRoutersParams
- func NewListTransitRoutersParamsWithHTTPClient(client *http.Client) *ListTransitRoutersParams
- func NewListTransitRoutersParamsWithTimeout(timeout time.Duration) *ListTransitRoutersParams
- func (o *ListTransitRoutersParams) SetContext(ctx context.Context)
- func (o *ListTransitRoutersParams) SetDefaults()
- func (o *ListTransitRoutersParams) SetFilter(filter *string)
- func (o *ListTransitRoutersParams) SetHTTPClient(client *http.Client)
- func (o *ListTransitRoutersParams) SetLimit(limit *int64)
- func (o *ListTransitRoutersParams) SetOffset(offset *int64)
- func (o *ListTransitRoutersParams) SetTimeout(timeout time.Duration)
- func (o *ListTransitRoutersParams) WithContext(ctx context.Context) *ListTransitRoutersParams
- func (o *ListTransitRoutersParams) WithDefaults() *ListTransitRoutersParams
- func (o *ListTransitRoutersParams) WithFilter(filter *string) *ListTransitRoutersParams
- func (o *ListTransitRoutersParams) WithHTTPClient(client *http.Client) *ListTransitRoutersParams
- func (o *ListTransitRoutersParams) WithLimit(limit *int64) *ListTransitRoutersParams
- func (o *ListTransitRoutersParams) WithOffset(offset *int64) *ListTransitRoutersParams
- func (o *ListTransitRoutersParams) WithTimeout(timeout time.Duration) *ListTransitRoutersParams
- func (o *ListTransitRoutersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTransitRoutersReader
- type ListTransitRoutersUnauthorized
- type PatchRouterBadRequest
- type PatchRouterNotFound
- type PatchRouterOK
- type PatchRouterParams
- func (o *PatchRouterParams) SetContext(ctx context.Context)
- func (o *PatchRouterParams) SetDefaults()
- func (o *PatchRouterParams) SetHTTPClient(client *http.Client)
- func (o *PatchRouterParams) SetID(id string)
- func (o *PatchRouterParams) SetRouter(router *rest_model.RouterPatch)
- func (o *PatchRouterParams) SetTimeout(timeout time.Duration)
- func (o *PatchRouterParams) WithContext(ctx context.Context) *PatchRouterParams
- func (o *PatchRouterParams) WithDefaults() *PatchRouterParams
- func (o *PatchRouterParams) WithHTTPClient(client *http.Client) *PatchRouterParams
- func (o *PatchRouterParams) WithID(id string) *PatchRouterParams
- func (o *PatchRouterParams) WithRouter(router *rest_model.RouterPatch) *PatchRouterParams
- func (o *PatchRouterParams) WithTimeout(timeout time.Duration) *PatchRouterParams
- func (o *PatchRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchRouterReader
- type PatchRouterUnauthorized
- type PatchTransitRouterBadRequest
- type PatchTransitRouterNotFound
- type PatchTransitRouterOK
- type PatchTransitRouterParams
- func NewPatchTransitRouterParams() *PatchTransitRouterParams
- func NewPatchTransitRouterParamsWithContext(ctx context.Context) *PatchTransitRouterParams
- func NewPatchTransitRouterParamsWithHTTPClient(client *http.Client) *PatchTransitRouterParams
- func NewPatchTransitRouterParamsWithTimeout(timeout time.Duration) *PatchTransitRouterParams
- func (o *PatchTransitRouterParams) SetContext(ctx context.Context)
- func (o *PatchTransitRouterParams) SetDefaults()
- func (o *PatchTransitRouterParams) SetHTTPClient(client *http.Client)
- func (o *PatchTransitRouterParams) SetID(id string)
- func (o *PatchTransitRouterParams) SetRouter(router *rest_model.RouterPatch)
- func (o *PatchTransitRouterParams) SetTimeout(timeout time.Duration)
- func (o *PatchTransitRouterParams) WithContext(ctx context.Context) *PatchTransitRouterParams
- func (o *PatchTransitRouterParams) WithDefaults() *PatchTransitRouterParams
- func (o *PatchTransitRouterParams) WithHTTPClient(client *http.Client) *PatchTransitRouterParams
- func (o *PatchTransitRouterParams) WithID(id string) *PatchTransitRouterParams
- func (o *PatchTransitRouterParams) WithRouter(router *rest_model.RouterPatch) *PatchTransitRouterParams
- func (o *PatchTransitRouterParams) WithTimeout(timeout time.Duration) *PatchTransitRouterParams
- func (o *PatchTransitRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchTransitRouterReader
- type PatchTransitRouterUnauthorized
- type UpdateRouterBadRequest
- type UpdateRouterNotFound
- type UpdateRouterOK
- type UpdateRouterParams
- func (o *UpdateRouterParams) SetContext(ctx context.Context)
- func (o *UpdateRouterParams) SetDefaults()
- func (o *UpdateRouterParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRouterParams) SetID(id string)
- func (o *UpdateRouterParams) SetRouter(router *rest_model.RouterUpdate)
- func (o *UpdateRouterParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRouterParams) WithContext(ctx context.Context) *UpdateRouterParams
- func (o *UpdateRouterParams) WithDefaults() *UpdateRouterParams
- func (o *UpdateRouterParams) WithHTTPClient(client *http.Client) *UpdateRouterParams
- func (o *UpdateRouterParams) WithID(id string) *UpdateRouterParams
- func (o *UpdateRouterParams) WithRouter(router *rest_model.RouterUpdate) *UpdateRouterParams
- func (o *UpdateRouterParams) WithTimeout(timeout time.Duration) *UpdateRouterParams
- func (o *UpdateRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRouterReader
- type UpdateRouterUnauthorized
- type UpdateTransitRouterBadRequest
- type UpdateTransitRouterNotFound
- type UpdateTransitRouterOK
- type UpdateTransitRouterParams
- func NewUpdateTransitRouterParams() *UpdateTransitRouterParams
- func NewUpdateTransitRouterParamsWithContext(ctx context.Context) *UpdateTransitRouterParams
- func NewUpdateTransitRouterParamsWithHTTPClient(client *http.Client) *UpdateTransitRouterParams
- func NewUpdateTransitRouterParamsWithTimeout(timeout time.Duration) *UpdateTransitRouterParams
- func (o *UpdateTransitRouterParams) SetContext(ctx context.Context)
- func (o *UpdateTransitRouterParams) SetDefaults()
- func (o *UpdateTransitRouterParams) SetHTTPClient(client *http.Client)
- func (o *UpdateTransitRouterParams) SetID(id string)
- func (o *UpdateTransitRouterParams) SetRouter(router *rest_model.RouterUpdate)
- func (o *UpdateTransitRouterParams) SetTimeout(timeout time.Duration)
- func (o *UpdateTransitRouterParams) WithContext(ctx context.Context) *UpdateTransitRouterParams
- func (o *UpdateTransitRouterParams) WithDefaults() *UpdateTransitRouterParams
- func (o *UpdateTransitRouterParams) WithHTTPClient(client *http.Client) *UpdateTransitRouterParams
- func (o *UpdateTransitRouterParams) WithID(id string) *UpdateTransitRouterParams
- func (o *UpdateTransitRouterParams) WithRouter(router *rest_model.RouterUpdate) *UpdateTransitRouterParams
- func (o *UpdateTransitRouterParams) WithTimeout(timeout time.Duration) *UpdateTransitRouterParams
- func (o *UpdateTransitRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateTransitRouterReader
- type UpdateTransitRouterUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for router API
func (*Client) CreateRouter ¶
func (a *Client) CreateRouter(params *CreateRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRouterCreated, error)
CreateRouter creates a router resource
Create a router resource. Requires admin access.
func (*Client) CreateTransitRouter ¶
func (a *Client) CreateTransitRouter(params *CreateTransitRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTransitRouterCreated, error)
CreateTransitRouter creates a router resource
Create a router resource. Requires admin access.
func (*Client) DeleteRouter ¶
func (a *Client) DeleteRouter(params *DeleteRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRouterOK, error)
DeleteRouter deletes a router
Delete a router by id. Requires admin access.
func (*Client) DeleteTransitRouter ¶
func (a *Client) DeleteTransitRouter(params *DeleteTransitRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTransitRouterOK, error)
DeleteTransitRouter deletes a router
Delete a router by id. Requires admin access.
func (*Client) DetailRouter ¶
func (a *Client) DetailRouter(params *DetailRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailRouterOK, error)
DetailRouter retrieves a single router
Retrieves a single router by id. Requires admin access.
func (*Client) DetailTransitRouter ¶
func (a *Client) DetailTransitRouter(params *DetailTransitRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailTransitRouterOK, error)
DetailTransitRouter retrieves a single router
Retrieves a single router by id. Requires admin access.
func (*Client) ListRouters ¶
func (a *Client) ListRouters(params *ListRoutersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRoutersOK, error)
ListRouters lists routers
Retrieves a list of router resources; supports filtering, sorting, and pagination. Requires admin access.
func (*Client) ListTransitRouters ¶
func (a *Client) ListTransitRouters(params *ListTransitRoutersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTransitRoutersOK, error)
ListTransitRouters lists routers
Retrieves a list of router resources; supports filtering, sorting, and pagination. Requires admin access.
func (*Client) PatchRouter ¶
func (a *Client) PatchRouter(params *PatchRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchRouterOK, error)
PatchRouter updates the supplied fields on a router
Update the supplied fields on a router. Requires admin access.
func (*Client) PatchTransitRouter ¶
func (a *Client) PatchTransitRouter(params *PatchTransitRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchTransitRouterOK, error)
PatchTransitRouter updates the supplied fields on a router
Update the supplied fields on a router. Requires admin access.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateRouter ¶
func (a *Client) UpdateRouter(params *UpdateRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateRouterOK, error)
UpdateRouter updates all fields on a router
Update all fields on a router by id. Requires admin access.
func (*Client) UpdateTransitRouter ¶
func (a *Client) UpdateTransitRouter(params *UpdateTransitRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateTransitRouterOK, error)
UpdateTransitRouter updates all fields on a router
Update all fields on a router by id. Requires admin access.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateRouter(params *CreateRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRouterCreated, error) CreateTransitRouter(params *CreateTransitRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTransitRouterCreated, error) DeleteRouter(params *DeleteRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRouterOK, error) DeleteTransitRouter(params *DeleteTransitRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTransitRouterOK, error) DetailRouter(params *DetailRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailRouterOK, error) DetailTransitRouter(params *DetailTransitRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailTransitRouterOK, error) ListRouters(params *ListRoutersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRoutersOK, error) ListTransitRouters(params *ListTransitRoutersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTransitRoutersOK, error) PatchRouter(params *PatchRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchRouterOK, error) PatchTransitRouter(params *PatchTransitRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchTransitRouterOK, error) UpdateRouter(params *UpdateRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateRouterOK, error) UpdateTransitRouter(params *UpdateTransitRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateTransitRouterOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new router API client.
type CreateRouterBadRequest ¶
type CreateRouterBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
CreateRouterBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewCreateRouterBadRequest ¶
func NewCreateRouterBadRequest() *CreateRouterBadRequest
NewCreateRouterBadRequest creates a CreateRouterBadRequest with default headers values
func (*CreateRouterBadRequest) Error ¶
func (o *CreateRouterBadRequest) Error() string
func (*CreateRouterBadRequest) GetPayload ¶
func (o *CreateRouterBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type CreateRouterCreated ¶
type CreateRouterCreated struct {
Payload *rest_model.CreateEnvelope
}
CreateRouterCreated describes a response with status code 201, with default header values.
The create request was successful and the resource has been added at the following location
func NewCreateRouterCreated ¶
func NewCreateRouterCreated() *CreateRouterCreated
NewCreateRouterCreated creates a CreateRouterCreated with default headers values
func (*CreateRouterCreated) Error ¶
func (o *CreateRouterCreated) Error() string
func (*CreateRouterCreated) GetPayload ¶
func (o *CreateRouterCreated) GetPayload() *rest_model.CreateEnvelope
type CreateRouterParams ¶
type CreateRouterParams struct { /* Router. A router to create */ Router *rest_model.RouterCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRouterParams contains all the parameters to send to the API endpoint
for the create router operation. Typically these are written to a http.Request.
func NewCreateRouterParams ¶
func NewCreateRouterParams() *CreateRouterParams
NewCreateRouterParams creates a new CreateRouterParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateRouterParamsWithContext ¶
func NewCreateRouterParamsWithContext(ctx context.Context) *CreateRouterParams
NewCreateRouterParamsWithContext creates a new CreateRouterParams object with the ability to set a context for a request.
func NewCreateRouterParamsWithHTTPClient ¶
func NewCreateRouterParamsWithHTTPClient(client *http.Client) *CreateRouterParams
NewCreateRouterParamsWithHTTPClient creates a new CreateRouterParams object with the ability to set a custom HTTPClient for a request.
func NewCreateRouterParamsWithTimeout ¶
func NewCreateRouterParamsWithTimeout(timeout time.Duration) *CreateRouterParams
NewCreateRouterParamsWithTimeout creates a new CreateRouterParams object with the ability to set a timeout on a request.
func (*CreateRouterParams) SetContext ¶
func (o *CreateRouterParams) SetContext(ctx context.Context)
SetContext adds the context to the create router params
func (*CreateRouterParams) SetDefaults ¶
func (o *CreateRouterParams) SetDefaults()
SetDefaults hydrates default values in the create router params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRouterParams) SetHTTPClient ¶
func (o *CreateRouterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create router params
func (*CreateRouterParams) SetRouter ¶
func (o *CreateRouterParams) SetRouter(router *rest_model.RouterCreate)
SetRouter adds the router to the create router params
func (*CreateRouterParams) SetTimeout ¶
func (o *CreateRouterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create router params
func (*CreateRouterParams) WithContext ¶
func (o *CreateRouterParams) WithContext(ctx context.Context) *CreateRouterParams
WithContext adds the context to the create router params
func (*CreateRouterParams) WithDefaults ¶
func (o *CreateRouterParams) WithDefaults() *CreateRouterParams
WithDefaults hydrates default values in the create router params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRouterParams) WithHTTPClient ¶
func (o *CreateRouterParams) WithHTTPClient(client *http.Client) *CreateRouterParams
WithHTTPClient adds the HTTPClient to the create router params
func (*CreateRouterParams) WithRouter ¶
func (o *CreateRouterParams) WithRouter(router *rest_model.RouterCreate) *CreateRouterParams
WithRouter adds the router to the create router params
func (*CreateRouterParams) WithTimeout ¶
func (o *CreateRouterParams) WithTimeout(timeout time.Duration) *CreateRouterParams
WithTimeout adds the timeout to the create router params
func (*CreateRouterParams) WriteToRequest ¶
func (o *CreateRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRouterReader ¶
type CreateRouterReader struct {
// contains filtered or unexported fields
}
CreateRouterReader is a Reader for the CreateRouter structure.
func (*CreateRouterReader) ReadResponse ¶
func (o *CreateRouterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateRouterUnauthorized ¶
type CreateRouterUnauthorized struct {
}CreateRouterUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewCreateRouterUnauthorized ¶
func NewCreateRouterUnauthorized() *CreateRouterUnauthorized
NewCreateRouterUnauthorized creates a CreateRouterUnauthorized with default headers values
func (*CreateRouterUnauthorized) Error ¶
func (o *CreateRouterUnauthorized) Error() string
func (*CreateRouterUnauthorized) GetPayload ¶
func (o *CreateRouterUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type CreateTransitRouterBadRequest ¶
type CreateTransitRouterBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
CreateTransitRouterBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewCreateTransitRouterBadRequest ¶
func NewCreateTransitRouterBadRequest() *CreateTransitRouterBadRequest
NewCreateTransitRouterBadRequest creates a CreateTransitRouterBadRequest with default headers values
func (*CreateTransitRouterBadRequest) Error ¶
func (o *CreateTransitRouterBadRequest) Error() string
func (*CreateTransitRouterBadRequest) GetPayload ¶
func (o *CreateTransitRouterBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type CreateTransitRouterCreated ¶
type CreateTransitRouterCreated struct {
Payload *rest_model.CreateEnvelope
}
CreateTransitRouterCreated describes a response with status code 201, with default header values.
The create request was successful and the resource has been added at the following location
func NewCreateTransitRouterCreated ¶
func NewCreateTransitRouterCreated() *CreateTransitRouterCreated
NewCreateTransitRouterCreated creates a CreateTransitRouterCreated with default headers values
func (*CreateTransitRouterCreated) Error ¶
func (o *CreateTransitRouterCreated) Error() string
func (*CreateTransitRouterCreated) GetPayload ¶
func (o *CreateTransitRouterCreated) GetPayload() *rest_model.CreateEnvelope
type CreateTransitRouterParams ¶
type CreateTransitRouterParams struct { /* Router. A router to create */ Router *rest_model.RouterCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateTransitRouterParams contains all the parameters to send to the API endpoint
for the create transit router operation. Typically these are written to a http.Request.
func NewCreateTransitRouterParams ¶
func NewCreateTransitRouterParams() *CreateTransitRouterParams
NewCreateTransitRouterParams creates a new CreateTransitRouterParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateTransitRouterParamsWithContext ¶
func NewCreateTransitRouterParamsWithContext(ctx context.Context) *CreateTransitRouterParams
NewCreateTransitRouterParamsWithContext creates a new CreateTransitRouterParams object with the ability to set a context for a request.
func NewCreateTransitRouterParamsWithHTTPClient ¶
func NewCreateTransitRouterParamsWithHTTPClient(client *http.Client) *CreateTransitRouterParams
NewCreateTransitRouterParamsWithHTTPClient creates a new CreateTransitRouterParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTransitRouterParamsWithTimeout ¶
func NewCreateTransitRouterParamsWithTimeout(timeout time.Duration) *CreateTransitRouterParams
NewCreateTransitRouterParamsWithTimeout creates a new CreateTransitRouterParams object with the ability to set a timeout on a request.
func (*CreateTransitRouterParams) SetContext ¶
func (o *CreateTransitRouterParams) SetContext(ctx context.Context)
SetContext adds the context to the create transit router params
func (*CreateTransitRouterParams) SetDefaults ¶
func (o *CreateTransitRouterParams) SetDefaults()
SetDefaults hydrates default values in the create transit router params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTransitRouterParams) SetHTTPClient ¶
func (o *CreateTransitRouterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create transit router params
func (*CreateTransitRouterParams) SetRouter ¶
func (o *CreateTransitRouterParams) SetRouter(router *rest_model.RouterCreate)
SetRouter adds the router to the create transit router params
func (*CreateTransitRouterParams) SetTimeout ¶
func (o *CreateTransitRouterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create transit router params
func (*CreateTransitRouterParams) WithContext ¶
func (o *CreateTransitRouterParams) WithContext(ctx context.Context) *CreateTransitRouterParams
WithContext adds the context to the create transit router params
func (*CreateTransitRouterParams) WithDefaults ¶
func (o *CreateTransitRouterParams) WithDefaults() *CreateTransitRouterParams
WithDefaults hydrates default values in the create transit router params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTransitRouterParams) WithHTTPClient ¶
func (o *CreateTransitRouterParams) WithHTTPClient(client *http.Client) *CreateTransitRouterParams
WithHTTPClient adds the HTTPClient to the create transit router params
func (*CreateTransitRouterParams) WithRouter ¶
func (o *CreateTransitRouterParams) WithRouter(router *rest_model.RouterCreate) *CreateTransitRouterParams
WithRouter adds the router to the create transit router params
func (*CreateTransitRouterParams) WithTimeout ¶
func (o *CreateTransitRouterParams) WithTimeout(timeout time.Duration) *CreateTransitRouterParams
WithTimeout adds the timeout to the create transit router params
func (*CreateTransitRouterParams) WriteToRequest ¶
func (o *CreateTransitRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTransitRouterReader ¶
type CreateTransitRouterReader struct {
// contains filtered or unexported fields
}
CreateTransitRouterReader is a Reader for the CreateTransitRouter structure.
func (*CreateTransitRouterReader) ReadResponse ¶
func (o *CreateTransitRouterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateTransitRouterUnauthorized ¶
type CreateTransitRouterUnauthorized struct {
}CreateTransitRouterUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewCreateTransitRouterUnauthorized ¶
func NewCreateTransitRouterUnauthorized() *CreateTransitRouterUnauthorized
NewCreateTransitRouterUnauthorized creates a CreateTransitRouterUnauthorized with default headers values
func (*CreateTransitRouterUnauthorized) Error ¶
func (o *CreateTransitRouterUnauthorized) Error() string
func (*CreateTransitRouterUnauthorized) GetPayload ¶
func (o *CreateTransitRouterUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DeleteRouterBadRequest ¶
type DeleteRouterBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteRouterBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewDeleteRouterBadRequest ¶
func NewDeleteRouterBadRequest() *DeleteRouterBadRequest
NewDeleteRouterBadRequest creates a DeleteRouterBadRequest with default headers values
func (*DeleteRouterBadRequest) Error ¶
func (o *DeleteRouterBadRequest) Error() string
func (*DeleteRouterBadRequest) GetPayload ¶
func (o *DeleteRouterBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type DeleteRouterConflict ¶
type DeleteRouterConflict struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteRouterConflict describes a response with status code 409, with default header values.
The resource requested to be removed/altered cannot be as it is referenced by another object.
func NewDeleteRouterConflict ¶
func NewDeleteRouterConflict() *DeleteRouterConflict
NewDeleteRouterConflict creates a DeleteRouterConflict with default headers values
func (*DeleteRouterConflict) Error ¶
func (o *DeleteRouterConflict) Error() string
func (*DeleteRouterConflict) GetPayload ¶
func (o *DeleteRouterConflict) GetPayload() *rest_model.APIErrorEnvelope
type DeleteRouterOK ¶
type DeleteRouterOK struct {
Payload *rest_model.Empty
}
DeleteRouterOK describes a response with status code 200, with default header values.
The delete request was successful and the resource has been removed
func NewDeleteRouterOK ¶
func NewDeleteRouterOK() *DeleteRouterOK
NewDeleteRouterOK creates a DeleteRouterOK with default headers values
func (*DeleteRouterOK) Error ¶
func (o *DeleteRouterOK) Error() string
func (*DeleteRouterOK) GetPayload ¶
func (o *DeleteRouterOK) GetPayload() *rest_model.Empty
type DeleteRouterParams ¶
type DeleteRouterParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRouterParams contains all the parameters to send to the API endpoint
for the delete router operation. Typically these are written to a http.Request.
func NewDeleteRouterParams ¶
func NewDeleteRouterParams() *DeleteRouterParams
NewDeleteRouterParams creates a new DeleteRouterParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteRouterParamsWithContext ¶
func NewDeleteRouterParamsWithContext(ctx context.Context) *DeleteRouterParams
NewDeleteRouterParamsWithContext creates a new DeleteRouterParams object with the ability to set a context for a request.
func NewDeleteRouterParamsWithHTTPClient ¶
func NewDeleteRouterParamsWithHTTPClient(client *http.Client) *DeleteRouterParams
NewDeleteRouterParamsWithHTTPClient creates a new DeleteRouterParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteRouterParamsWithTimeout ¶
func NewDeleteRouterParamsWithTimeout(timeout time.Duration) *DeleteRouterParams
NewDeleteRouterParamsWithTimeout creates a new DeleteRouterParams object with the ability to set a timeout on a request.
func (*DeleteRouterParams) SetContext ¶
func (o *DeleteRouterParams) SetContext(ctx context.Context)
SetContext adds the context to the delete router params
func (*DeleteRouterParams) SetDefaults ¶
func (o *DeleteRouterParams) SetDefaults()
SetDefaults hydrates default values in the delete router params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRouterParams) SetHTTPClient ¶
func (o *DeleteRouterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete router params
func (*DeleteRouterParams) SetID ¶
func (o *DeleteRouterParams) SetID(id string)
SetID adds the id to the delete router params
func (*DeleteRouterParams) SetTimeout ¶
func (o *DeleteRouterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete router params
func (*DeleteRouterParams) WithContext ¶
func (o *DeleteRouterParams) WithContext(ctx context.Context) *DeleteRouterParams
WithContext adds the context to the delete router params
func (*DeleteRouterParams) WithDefaults ¶
func (o *DeleteRouterParams) WithDefaults() *DeleteRouterParams
WithDefaults hydrates default values in the delete router params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRouterParams) WithHTTPClient ¶
func (o *DeleteRouterParams) WithHTTPClient(client *http.Client) *DeleteRouterParams
WithHTTPClient adds the HTTPClient to the delete router params
func (*DeleteRouterParams) WithID ¶
func (o *DeleteRouterParams) WithID(id string) *DeleteRouterParams
WithID adds the id to the delete router params
func (*DeleteRouterParams) WithTimeout ¶
func (o *DeleteRouterParams) WithTimeout(timeout time.Duration) *DeleteRouterParams
WithTimeout adds the timeout to the delete router params
func (*DeleteRouterParams) WriteToRequest ¶
func (o *DeleteRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRouterReader ¶
type DeleteRouterReader struct {
// contains filtered or unexported fields
}
DeleteRouterReader is a Reader for the DeleteRouter structure.
func (*DeleteRouterReader) ReadResponse ¶
func (o *DeleteRouterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRouterUnauthorized ¶
type DeleteRouterUnauthorized struct {
}DeleteRouterUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDeleteRouterUnauthorized ¶
func NewDeleteRouterUnauthorized() *DeleteRouterUnauthorized
NewDeleteRouterUnauthorized creates a DeleteRouterUnauthorized with default headers values
func (*DeleteRouterUnauthorized) Error ¶
func (o *DeleteRouterUnauthorized) Error() string
func (*DeleteRouterUnauthorized) GetPayload ¶
func (o *DeleteRouterUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DeleteTransitRouterBadRequest ¶
type DeleteTransitRouterBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteTransitRouterBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewDeleteTransitRouterBadRequest ¶
func NewDeleteTransitRouterBadRequest() *DeleteTransitRouterBadRequest
NewDeleteTransitRouterBadRequest creates a DeleteTransitRouterBadRequest with default headers values
func (*DeleteTransitRouterBadRequest) Error ¶
func (o *DeleteTransitRouterBadRequest) Error() string
func (*DeleteTransitRouterBadRequest) GetPayload ¶
func (o *DeleteTransitRouterBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type DeleteTransitRouterConflict ¶
type DeleteTransitRouterConflict struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteTransitRouterConflict describes a response with status code 409, with default header values.
The resource requested to be removed/altered cannot be as it is referenced by another object.
func NewDeleteTransitRouterConflict ¶
func NewDeleteTransitRouterConflict() *DeleteTransitRouterConflict
NewDeleteTransitRouterConflict creates a DeleteTransitRouterConflict with default headers values
func (*DeleteTransitRouterConflict) Error ¶
func (o *DeleteTransitRouterConflict) Error() string
func (*DeleteTransitRouterConflict) GetPayload ¶
func (o *DeleteTransitRouterConflict) GetPayload() *rest_model.APIErrorEnvelope
type DeleteTransitRouterOK ¶
type DeleteTransitRouterOK struct {
Payload *rest_model.Empty
}
DeleteTransitRouterOK describes a response with status code 200, with default header values.
The delete request was successful and the resource has been removed
func NewDeleteTransitRouterOK ¶
func NewDeleteTransitRouterOK() *DeleteTransitRouterOK
NewDeleteTransitRouterOK creates a DeleteTransitRouterOK with default headers values
func (*DeleteTransitRouterOK) Error ¶
func (o *DeleteTransitRouterOK) Error() string
func (*DeleteTransitRouterOK) GetPayload ¶
func (o *DeleteTransitRouterOK) GetPayload() *rest_model.Empty
type DeleteTransitRouterParams ¶
type DeleteTransitRouterParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTransitRouterParams contains all the parameters to send to the API endpoint
for the delete transit router operation. Typically these are written to a http.Request.
func NewDeleteTransitRouterParams ¶
func NewDeleteTransitRouterParams() *DeleteTransitRouterParams
NewDeleteTransitRouterParams creates a new DeleteTransitRouterParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteTransitRouterParamsWithContext ¶
func NewDeleteTransitRouterParamsWithContext(ctx context.Context) *DeleteTransitRouterParams
NewDeleteTransitRouterParamsWithContext creates a new DeleteTransitRouterParams object with the ability to set a context for a request.
func NewDeleteTransitRouterParamsWithHTTPClient ¶
func NewDeleteTransitRouterParamsWithHTTPClient(client *http.Client) *DeleteTransitRouterParams
NewDeleteTransitRouterParamsWithHTTPClient creates a new DeleteTransitRouterParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTransitRouterParamsWithTimeout ¶
func NewDeleteTransitRouterParamsWithTimeout(timeout time.Duration) *DeleteTransitRouterParams
NewDeleteTransitRouterParamsWithTimeout creates a new DeleteTransitRouterParams object with the ability to set a timeout on a request.
func (*DeleteTransitRouterParams) SetContext ¶
func (o *DeleteTransitRouterParams) SetContext(ctx context.Context)
SetContext adds the context to the delete transit router params
func (*DeleteTransitRouterParams) SetDefaults ¶
func (o *DeleteTransitRouterParams) SetDefaults()
SetDefaults hydrates default values in the delete transit router params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTransitRouterParams) SetHTTPClient ¶
func (o *DeleteTransitRouterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete transit router params
func (*DeleteTransitRouterParams) SetID ¶
func (o *DeleteTransitRouterParams) SetID(id string)
SetID adds the id to the delete transit router params
func (*DeleteTransitRouterParams) SetTimeout ¶
func (o *DeleteTransitRouterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete transit router params
func (*DeleteTransitRouterParams) WithContext ¶
func (o *DeleteTransitRouterParams) WithContext(ctx context.Context) *DeleteTransitRouterParams
WithContext adds the context to the delete transit router params
func (*DeleteTransitRouterParams) WithDefaults ¶
func (o *DeleteTransitRouterParams) WithDefaults() *DeleteTransitRouterParams
WithDefaults hydrates default values in the delete transit router params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTransitRouterParams) WithHTTPClient ¶
func (o *DeleteTransitRouterParams) WithHTTPClient(client *http.Client) *DeleteTransitRouterParams
WithHTTPClient adds the HTTPClient to the delete transit router params
func (*DeleteTransitRouterParams) WithID ¶
func (o *DeleteTransitRouterParams) WithID(id string) *DeleteTransitRouterParams
WithID adds the id to the delete transit router params
func (*DeleteTransitRouterParams) WithTimeout ¶
func (o *DeleteTransitRouterParams) WithTimeout(timeout time.Duration) *DeleteTransitRouterParams
WithTimeout adds the timeout to the delete transit router params
func (*DeleteTransitRouterParams) WriteToRequest ¶
func (o *DeleteTransitRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTransitRouterReader ¶
type DeleteTransitRouterReader struct {
// contains filtered or unexported fields
}
DeleteTransitRouterReader is a Reader for the DeleteTransitRouter structure.
func (*DeleteTransitRouterReader) ReadResponse ¶
func (o *DeleteTransitRouterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTransitRouterUnauthorized ¶
type DeleteTransitRouterUnauthorized struct {
}DeleteTransitRouterUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDeleteTransitRouterUnauthorized ¶
func NewDeleteTransitRouterUnauthorized() *DeleteTransitRouterUnauthorized
NewDeleteTransitRouterUnauthorized creates a DeleteTransitRouterUnauthorized with default headers values
func (*DeleteTransitRouterUnauthorized) Error ¶
func (o *DeleteTransitRouterUnauthorized) Error() string
func (*DeleteTransitRouterUnauthorized) GetPayload ¶
func (o *DeleteTransitRouterUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DetailRouterNotFound ¶
type DetailRouterNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
DetailRouterNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDetailRouterNotFound ¶
func NewDetailRouterNotFound() *DetailRouterNotFound
NewDetailRouterNotFound creates a DetailRouterNotFound with default headers values
func (*DetailRouterNotFound) Error ¶
func (o *DetailRouterNotFound) Error() string
func (*DetailRouterNotFound) GetPayload ¶
func (o *DetailRouterNotFound) GetPayload() *rest_model.APIErrorEnvelope
type DetailRouterOK ¶
type DetailRouterOK struct {
Payload *rest_model.DetailRouterEnvelope
}
DetailRouterOK describes a response with status code 200, with default header values.
A single router
func NewDetailRouterOK ¶
func NewDetailRouterOK() *DetailRouterOK
NewDetailRouterOK creates a DetailRouterOK with default headers values
func (*DetailRouterOK) Error ¶
func (o *DetailRouterOK) Error() string
func (*DetailRouterOK) GetPayload ¶
func (o *DetailRouterOK) GetPayload() *rest_model.DetailRouterEnvelope
type DetailRouterParams ¶
type DetailRouterParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DetailRouterParams contains all the parameters to send to the API endpoint
for the detail router operation. Typically these are written to a http.Request.
func NewDetailRouterParams ¶
func NewDetailRouterParams() *DetailRouterParams
NewDetailRouterParams creates a new DetailRouterParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDetailRouterParamsWithContext ¶
func NewDetailRouterParamsWithContext(ctx context.Context) *DetailRouterParams
NewDetailRouterParamsWithContext creates a new DetailRouterParams object with the ability to set a context for a request.
func NewDetailRouterParamsWithHTTPClient ¶
func NewDetailRouterParamsWithHTTPClient(client *http.Client) *DetailRouterParams
NewDetailRouterParamsWithHTTPClient creates a new DetailRouterParams object with the ability to set a custom HTTPClient for a request.
func NewDetailRouterParamsWithTimeout ¶
func NewDetailRouterParamsWithTimeout(timeout time.Duration) *DetailRouterParams
NewDetailRouterParamsWithTimeout creates a new DetailRouterParams object with the ability to set a timeout on a request.
func (*DetailRouterParams) SetContext ¶
func (o *DetailRouterParams) SetContext(ctx context.Context)
SetContext adds the context to the detail router params
func (*DetailRouterParams) SetDefaults ¶
func (o *DetailRouterParams) SetDefaults()
SetDefaults hydrates default values in the detail router params (not the query body).
All values with no default are reset to their zero value.
func (*DetailRouterParams) SetHTTPClient ¶
func (o *DetailRouterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail router params
func (*DetailRouterParams) SetID ¶
func (o *DetailRouterParams) SetID(id string)
SetID adds the id to the detail router params
func (*DetailRouterParams) SetTimeout ¶
func (o *DetailRouterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail router params
func (*DetailRouterParams) WithContext ¶
func (o *DetailRouterParams) WithContext(ctx context.Context) *DetailRouterParams
WithContext adds the context to the detail router params
func (*DetailRouterParams) WithDefaults ¶
func (o *DetailRouterParams) WithDefaults() *DetailRouterParams
WithDefaults hydrates default values in the detail router params (not the query body).
All values with no default are reset to their zero value.
func (*DetailRouterParams) WithHTTPClient ¶
func (o *DetailRouterParams) WithHTTPClient(client *http.Client) *DetailRouterParams
WithHTTPClient adds the HTTPClient to the detail router params
func (*DetailRouterParams) WithID ¶
func (o *DetailRouterParams) WithID(id string) *DetailRouterParams
WithID adds the id to the detail router params
func (*DetailRouterParams) WithTimeout ¶
func (o *DetailRouterParams) WithTimeout(timeout time.Duration) *DetailRouterParams
WithTimeout adds the timeout to the detail router params
func (*DetailRouterParams) WriteToRequest ¶
func (o *DetailRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailRouterReader ¶
type DetailRouterReader struct {
// contains filtered or unexported fields
}
DetailRouterReader is a Reader for the DetailRouter structure.
func (*DetailRouterReader) ReadResponse ¶
func (o *DetailRouterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DetailRouterUnauthorized ¶
type DetailRouterUnauthorized struct {
}DetailRouterUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDetailRouterUnauthorized ¶
func NewDetailRouterUnauthorized() *DetailRouterUnauthorized
NewDetailRouterUnauthorized creates a DetailRouterUnauthorized with default headers values
func (*DetailRouterUnauthorized) Error ¶
func (o *DetailRouterUnauthorized) Error() string
func (*DetailRouterUnauthorized) GetPayload ¶
func (o *DetailRouterUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DetailTransitRouterNotFound ¶
type DetailTransitRouterNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
DetailTransitRouterNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDetailTransitRouterNotFound ¶
func NewDetailTransitRouterNotFound() *DetailTransitRouterNotFound
NewDetailTransitRouterNotFound creates a DetailTransitRouterNotFound with default headers values
func (*DetailTransitRouterNotFound) Error ¶
func (o *DetailTransitRouterNotFound) Error() string
func (*DetailTransitRouterNotFound) GetPayload ¶
func (o *DetailTransitRouterNotFound) GetPayload() *rest_model.APIErrorEnvelope
type DetailTransitRouterOK ¶
type DetailTransitRouterOK struct {
Payload *rest_model.DetailRouterEnvelope
}
DetailTransitRouterOK describes a response with status code 200, with default header values.
A single router
func NewDetailTransitRouterOK ¶
func NewDetailTransitRouterOK() *DetailTransitRouterOK
NewDetailTransitRouterOK creates a DetailTransitRouterOK with default headers values
func (*DetailTransitRouterOK) Error ¶
func (o *DetailTransitRouterOK) Error() string
func (*DetailTransitRouterOK) GetPayload ¶
func (o *DetailTransitRouterOK) GetPayload() *rest_model.DetailRouterEnvelope
type DetailTransitRouterParams ¶
type DetailTransitRouterParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DetailTransitRouterParams contains all the parameters to send to the API endpoint
for the detail transit router operation. Typically these are written to a http.Request.
func NewDetailTransitRouterParams ¶
func NewDetailTransitRouterParams() *DetailTransitRouterParams
NewDetailTransitRouterParams creates a new DetailTransitRouterParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDetailTransitRouterParamsWithContext ¶
func NewDetailTransitRouterParamsWithContext(ctx context.Context) *DetailTransitRouterParams
NewDetailTransitRouterParamsWithContext creates a new DetailTransitRouterParams object with the ability to set a context for a request.
func NewDetailTransitRouterParamsWithHTTPClient ¶
func NewDetailTransitRouterParamsWithHTTPClient(client *http.Client) *DetailTransitRouterParams
NewDetailTransitRouterParamsWithHTTPClient creates a new DetailTransitRouterParams object with the ability to set a custom HTTPClient for a request.
func NewDetailTransitRouterParamsWithTimeout ¶
func NewDetailTransitRouterParamsWithTimeout(timeout time.Duration) *DetailTransitRouterParams
NewDetailTransitRouterParamsWithTimeout creates a new DetailTransitRouterParams object with the ability to set a timeout on a request.
func (*DetailTransitRouterParams) SetContext ¶
func (o *DetailTransitRouterParams) SetContext(ctx context.Context)
SetContext adds the context to the detail transit router params
func (*DetailTransitRouterParams) SetDefaults ¶
func (o *DetailTransitRouterParams) SetDefaults()
SetDefaults hydrates default values in the detail transit router params (not the query body).
All values with no default are reset to their zero value.
func (*DetailTransitRouterParams) SetHTTPClient ¶
func (o *DetailTransitRouterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail transit router params
func (*DetailTransitRouterParams) SetID ¶
func (o *DetailTransitRouterParams) SetID(id string)
SetID adds the id to the detail transit router params
func (*DetailTransitRouterParams) SetTimeout ¶
func (o *DetailTransitRouterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail transit router params
func (*DetailTransitRouterParams) WithContext ¶
func (o *DetailTransitRouterParams) WithContext(ctx context.Context) *DetailTransitRouterParams
WithContext adds the context to the detail transit router params
func (*DetailTransitRouterParams) WithDefaults ¶
func (o *DetailTransitRouterParams) WithDefaults() *DetailTransitRouterParams
WithDefaults hydrates default values in the detail transit router params (not the query body).
All values with no default are reset to their zero value.
func (*DetailTransitRouterParams) WithHTTPClient ¶
func (o *DetailTransitRouterParams) WithHTTPClient(client *http.Client) *DetailTransitRouterParams
WithHTTPClient adds the HTTPClient to the detail transit router params
func (*DetailTransitRouterParams) WithID ¶
func (o *DetailTransitRouterParams) WithID(id string) *DetailTransitRouterParams
WithID adds the id to the detail transit router params
func (*DetailTransitRouterParams) WithTimeout ¶
func (o *DetailTransitRouterParams) WithTimeout(timeout time.Duration) *DetailTransitRouterParams
WithTimeout adds the timeout to the detail transit router params
func (*DetailTransitRouterParams) WriteToRequest ¶
func (o *DetailTransitRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailTransitRouterReader ¶
type DetailTransitRouterReader struct {
// contains filtered or unexported fields
}
DetailTransitRouterReader is a Reader for the DetailTransitRouter structure.
func (*DetailTransitRouterReader) ReadResponse ¶
func (o *DetailTransitRouterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DetailTransitRouterUnauthorized ¶
type DetailTransitRouterUnauthorized struct {
}DetailTransitRouterUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDetailTransitRouterUnauthorized ¶
func NewDetailTransitRouterUnauthorized() *DetailTransitRouterUnauthorized
NewDetailTransitRouterUnauthorized creates a DetailTransitRouterUnauthorized with default headers values
func (*DetailTransitRouterUnauthorized) Error ¶
func (o *DetailTransitRouterUnauthorized) Error() string
func (*DetailTransitRouterUnauthorized) GetPayload ¶
func (o *DetailTransitRouterUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListRoutersBadRequest ¶ added in v0.19.176
type ListRoutersBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
ListRoutersBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewListRoutersBadRequest ¶ added in v0.19.176
func NewListRoutersBadRequest() *ListRoutersBadRequest
NewListRoutersBadRequest creates a ListRoutersBadRequest with default headers values
func (*ListRoutersBadRequest) Error ¶ added in v0.19.176
func (o *ListRoutersBadRequest) Error() string
func (*ListRoutersBadRequest) GetPayload ¶ added in v0.19.176
func (o *ListRoutersBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type ListRoutersOK ¶
type ListRoutersOK struct {
Payload *rest_model.ListRoutersEnvelope
}
ListRoutersOK describes a response with status code 200, with default header values.
A list of specifications
func NewListRoutersOK ¶
func NewListRoutersOK() *ListRoutersOK
NewListRoutersOK creates a ListRoutersOK with default headers values
func (*ListRoutersOK) Error ¶
func (o *ListRoutersOK) Error() string
func (*ListRoutersOK) GetPayload ¶
func (o *ListRoutersOK) GetPayload() *rest_model.ListRoutersEnvelope
type ListRoutersParams ¶
type ListRoutersParams struct { // Filter. Filter *string // Limit. Limit *int64 // Offset. Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRoutersParams contains all the parameters to send to the API endpoint
for the list routers operation. Typically these are written to a http.Request.
func NewListRoutersParams ¶
func NewListRoutersParams() *ListRoutersParams
NewListRoutersParams creates a new ListRoutersParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListRoutersParamsWithContext ¶
func NewListRoutersParamsWithContext(ctx context.Context) *ListRoutersParams
NewListRoutersParamsWithContext creates a new ListRoutersParams object with the ability to set a context for a request.
func NewListRoutersParamsWithHTTPClient ¶
func NewListRoutersParamsWithHTTPClient(client *http.Client) *ListRoutersParams
NewListRoutersParamsWithHTTPClient creates a new ListRoutersParams object with the ability to set a custom HTTPClient for a request.
func NewListRoutersParamsWithTimeout ¶
func NewListRoutersParamsWithTimeout(timeout time.Duration) *ListRoutersParams
NewListRoutersParamsWithTimeout creates a new ListRoutersParams object with the ability to set a timeout on a request.
func (*ListRoutersParams) SetContext ¶
func (o *ListRoutersParams) SetContext(ctx context.Context)
SetContext adds the context to the list routers params
func (*ListRoutersParams) SetDefaults ¶
func (o *ListRoutersParams) SetDefaults()
SetDefaults hydrates default values in the list routers params (not the query body).
All values with no default are reset to their zero value.
func (*ListRoutersParams) SetFilter ¶
func (o *ListRoutersParams) SetFilter(filter *string)
SetFilter adds the filter to the list routers params
func (*ListRoutersParams) SetHTTPClient ¶
func (o *ListRoutersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list routers params
func (*ListRoutersParams) SetLimit ¶
func (o *ListRoutersParams) SetLimit(limit *int64)
SetLimit adds the limit to the list routers params
func (*ListRoutersParams) SetOffset ¶
func (o *ListRoutersParams) SetOffset(offset *int64)
SetOffset adds the offset to the list routers params
func (*ListRoutersParams) SetTimeout ¶
func (o *ListRoutersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list routers params
func (*ListRoutersParams) WithContext ¶
func (o *ListRoutersParams) WithContext(ctx context.Context) *ListRoutersParams
WithContext adds the context to the list routers params
func (*ListRoutersParams) WithDefaults ¶
func (o *ListRoutersParams) WithDefaults() *ListRoutersParams
WithDefaults hydrates default values in the list routers params (not the query body).
All values with no default are reset to their zero value.
func (*ListRoutersParams) WithFilter ¶
func (o *ListRoutersParams) WithFilter(filter *string) *ListRoutersParams
WithFilter adds the filter to the list routers params
func (*ListRoutersParams) WithHTTPClient ¶
func (o *ListRoutersParams) WithHTTPClient(client *http.Client) *ListRoutersParams
WithHTTPClient adds the HTTPClient to the list routers params
func (*ListRoutersParams) WithLimit ¶
func (o *ListRoutersParams) WithLimit(limit *int64) *ListRoutersParams
WithLimit adds the limit to the list routers params
func (*ListRoutersParams) WithOffset ¶
func (o *ListRoutersParams) WithOffset(offset *int64) *ListRoutersParams
WithOffset adds the offset to the list routers params
func (*ListRoutersParams) WithTimeout ¶
func (o *ListRoutersParams) WithTimeout(timeout time.Duration) *ListRoutersParams
WithTimeout adds the timeout to the list routers params
func (*ListRoutersParams) WriteToRequest ¶
func (o *ListRoutersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRoutersReader ¶
type ListRoutersReader struct {
// contains filtered or unexported fields
}
ListRoutersReader is a Reader for the ListRouters structure.
func (*ListRoutersReader) ReadResponse ¶
func (o *ListRoutersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRoutersUnauthorized ¶
type ListRoutersUnauthorized struct {
}ListRoutersUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListRoutersUnauthorized ¶
func NewListRoutersUnauthorized() *ListRoutersUnauthorized
NewListRoutersUnauthorized creates a ListRoutersUnauthorized with default headers values
func (*ListRoutersUnauthorized) Error ¶
func (o *ListRoutersUnauthorized) Error() string
func (*ListRoutersUnauthorized) GetPayload ¶
func (o *ListRoutersUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListTransitRoutersBadRequest ¶ added in v0.19.176
type ListTransitRoutersBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
ListTransitRoutersBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewListTransitRoutersBadRequest ¶ added in v0.19.176
func NewListTransitRoutersBadRequest() *ListTransitRoutersBadRequest
NewListTransitRoutersBadRequest creates a ListTransitRoutersBadRequest with default headers values
func (*ListTransitRoutersBadRequest) Error ¶ added in v0.19.176
func (o *ListTransitRoutersBadRequest) Error() string
func (*ListTransitRoutersBadRequest) GetPayload ¶ added in v0.19.176
func (o *ListTransitRoutersBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type ListTransitRoutersOK ¶
type ListTransitRoutersOK struct {
Payload *rest_model.ListRoutersEnvelope
}
ListTransitRoutersOK describes a response with status code 200, with default header values.
A list of specifications
func NewListTransitRoutersOK ¶
func NewListTransitRoutersOK() *ListTransitRoutersOK
NewListTransitRoutersOK creates a ListTransitRoutersOK with default headers values
func (*ListTransitRoutersOK) Error ¶
func (o *ListTransitRoutersOK) Error() string
func (*ListTransitRoutersOK) GetPayload ¶
func (o *ListTransitRoutersOK) GetPayload() *rest_model.ListRoutersEnvelope
type ListTransitRoutersParams ¶
type ListTransitRoutersParams struct { // Filter. Filter *string // Limit. Limit *int64 // Offset. Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListTransitRoutersParams contains all the parameters to send to the API endpoint
for the list transit routers operation. Typically these are written to a http.Request.
func NewListTransitRoutersParams ¶
func NewListTransitRoutersParams() *ListTransitRoutersParams
NewListTransitRoutersParams creates a new ListTransitRoutersParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListTransitRoutersParamsWithContext ¶
func NewListTransitRoutersParamsWithContext(ctx context.Context) *ListTransitRoutersParams
NewListTransitRoutersParamsWithContext creates a new ListTransitRoutersParams object with the ability to set a context for a request.
func NewListTransitRoutersParamsWithHTTPClient ¶
func NewListTransitRoutersParamsWithHTTPClient(client *http.Client) *ListTransitRoutersParams
NewListTransitRoutersParamsWithHTTPClient creates a new ListTransitRoutersParams object with the ability to set a custom HTTPClient for a request.
func NewListTransitRoutersParamsWithTimeout ¶
func NewListTransitRoutersParamsWithTimeout(timeout time.Duration) *ListTransitRoutersParams
NewListTransitRoutersParamsWithTimeout creates a new ListTransitRoutersParams object with the ability to set a timeout on a request.
func (*ListTransitRoutersParams) SetContext ¶
func (o *ListTransitRoutersParams) SetContext(ctx context.Context)
SetContext adds the context to the list transit routers params
func (*ListTransitRoutersParams) SetDefaults ¶
func (o *ListTransitRoutersParams) SetDefaults()
SetDefaults hydrates default values in the list transit routers params (not the query body).
All values with no default are reset to their zero value.
func (*ListTransitRoutersParams) SetFilter ¶
func (o *ListTransitRoutersParams) SetFilter(filter *string)
SetFilter adds the filter to the list transit routers params
func (*ListTransitRoutersParams) SetHTTPClient ¶
func (o *ListTransitRoutersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list transit routers params
func (*ListTransitRoutersParams) SetLimit ¶
func (o *ListTransitRoutersParams) SetLimit(limit *int64)
SetLimit adds the limit to the list transit routers params
func (*ListTransitRoutersParams) SetOffset ¶
func (o *ListTransitRoutersParams) SetOffset(offset *int64)
SetOffset adds the offset to the list transit routers params
func (*ListTransitRoutersParams) SetTimeout ¶
func (o *ListTransitRoutersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list transit routers params
func (*ListTransitRoutersParams) WithContext ¶
func (o *ListTransitRoutersParams) WithContext(ctx context.Context) *ListTransitRoutersParams
WithContext adds the context to the list transit routers params
func (*ListTransitRoutersParams) WithDefaults ¶
func (o *ListTransitRoutersParams) WithDefaults() *ListTransitRoutersParams
WithDefaults hydrates default values in the list transit routers params (not the query body).
All values with no default are reset to their zero value.
func (*ListTransitRoutersParams) WithFilter ¶
func (o *ListTransitRoutersParams) WithFilter(filter *string) *ListTransitRoutersParams
WithFilter adds the filter to the list transit routers params
func (*ListTransitRoutersParams) WithHTTPClient ¶
func (o *ListTransitRoutersParams) WithHTTPClient(client *http.Client) *ListTransitRoutersParams
WithHTTPClient adds the HTTPClient to the list transit routers params
func (*ListTransitRoutersParams) WithLimit ¶
func (o *ListTransitRoutersParams) WithLimit(limit *int64) *ListTransitRoutersParams
WithLimit adds the limit to the list transit routers params
func (*ListTransitRoutersParams) WithOffset ¶
func (o *ListTransitRoutersParams) WithOffset(offset *int64) *ListTransitRoutersParams
WithOffset adds the offset to the list transit routers params
func (*ListTransitRoutersParams) WithTimeout ¶
func (o *ListTransitRoutersParams) WithTimeout(timeout time.Duration) *ListTransitRoutersParams
WithTimeout adds the timeout to the list transit routers params
func (*ListTransitRoutersParams) WriteToRequest ¶
func (o *ListTransitRoutersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListTransitRoutersReader ¶
type ListTransitRoutersReader struct {
// contains filtered or unexported fields
}
ListTransitRoutersReader is a Reader for the ListTransitRouters structure.
func (*ListTransitRoutersReader) ReadResponse ¶
func (o *ListTransitRoutersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListTransitRoutersUnauthorized ¶
type ListTransitRoutersUnauthorized struct {
}ListTransitRoutersUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListTransitRoutersUnauthorized ¶
func NewListTransitRoutersUnauthorized() *ListTransitRoutersUnauthorized
NewListTransitRoutersUnauthorized creates a ListTransitRoutersUnauthorized with default headers values
func (*ListTransitRoutersUnauthorized) Error ¶
func (o *ListTransitRoutersUnauthorized) Error() string
func (*ListTransitRoutersUnauthorized) GetPayload ¶
func (o *ListTransitRoutersUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type PatchRouterBadRequest ¶
type PatchRouterBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
PatchRouterBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewPatchRouterBadRequest ¶
func NewPatchRouterBadRequest() *PatchRouterBadRequest
NewPatchRouterBadRequest creates a PatchRouterBadRequest with default headers values
func (*PatchRouterBadRequest) Error ¶
func (o *PatchRouterBadRequest) Error() string
func (*PatchRouterBadRequest) GetPayload ¶
func (o *PatchRouterBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type PatchRouterNotFound ¶
type PatchRouterNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
PatchRouterNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewPatchRouterNotFound ¶
func NewPatchRouterNotFound() *PatchRouterNotFound
NewPatchRouterNotFound creates a PatchRouterNotFound with default headers values
func (*PatchRouterNotFound) Error ¶
func (o *PatchRouterNotFound) Error() string
func (*PatchRouterNotFound) GetPayload ¶
func (o *PatchRouterNotFound) GetPayload() *rest_model.APIErrorEnvelope
type PatchRouterOK ¶
type PatchRouterOK struct {
Payload *rest_model.Empty
}
PatchRouterOK describes a response with status code 200, with default header values.
The patch request was successful and the resource has been altered
func NewPatchRouterOK ¶
func NewPatchRouterOK() *PatchRouterOK
NewPatchRouterOK creates a PatchRouterOK with default headers values
func (*PatchRouterOK) Error ¶
func (o *PatchRouterOK) Error() string
func (*PatchRouterOK) GetPayload ¶
func (o *PatchRouterOK) GetPayload() *rest_model.Empty
type PatchRouterParams ¶
type PatchRouterParams struct { /* ID. The id of the requested resource */ ID string /* Router. A router patch object */ Router *rest_model.RouterPatch Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchRouterParams contains all the parameters to send to the API endpoint
for the patch router operation. Typically these are written to a http.Request.
func NewPatchRouterParams ¶
func NewPatchRouterParams() *PatchRouterParams
NewPatchRouterParams creates a new PatchRouterParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchRouterParamsWithContext ¶
func NewPatchRouterParamsWithContext(ctx context.Context) *PatchRouterParams
NewPatchRouterParamsWithContext creates a new PatchRouterParams object with the ability to set a context for a request.
func NewPatchRouterParamsWithHTTPClient ¶
func NewPatchRouterParamsWithHTTPClient(client *http.Client) *PatchRouterParams
NewPatchRouterParamsWithHTTPClient creates a new PatchRouterParams object with the ability to set a custom HTTPClient for a request.
func NewPatchRouterParamsWithTimeout ¶
func NewPatchRouterParamsWithTimeout(timeout time.Duration) *PatchRouterParams
NewPatchRouterParamsWithTimeout creates a new PatchRouterParams object with the ability to set a timeout on a request.
func (*PatchRouterParams) SetContext ¶
func (o *PatchRouterParams) SetContext(ctx context.Context)
SetContext adds the context to the patch router params
func (*PatchRouterParams) SetDefaults ¶
func (o *PatchRouterParams) SetDefaults()
SetDefaults hydrates default values in the patch router params (not the query body).
All values with no default are reset to their zero value.
func (*PatchRouterParams) SetHTTPClient ¶
func (o *PatchRouterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch router params
func (*PatchRouterParams) SetID ¶
func (o *PatchRouterParams) SetID(id string)
SetID adds the id to the patch router params
func (*PatchRouterParams) SetRouter ¶
func (o *PatchRouterParams) SetRouter(router *rest_model.RouterPatch)
SetRouter adds the router to the patch router params
func (*PatchRouterParams) SetTimeout ¶
func (o *PatchRouterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch router params
func (*PatchRouterParams) WithContext ¶
func (o *PatchRouterParams) WithContext(ctx context.Context) *PatchRouterParams
WithContext adds the context to the patch router params
func (*PatchRouterParams) WithDefaults ¶
func (o *PatchRouterParams) WithDefaults() *PatchRouterParams
WithDefaults hydrates default values in the patch router params (not the query body).
All values with no default are reset to their zero value.
func (*PatchRouterParams) WithHTTPClient ¶
func (o *PatchRouterParams) WithHTTPClient(client *http.Client) *PatchRouterParams
WithHTTPClient adds the HTTPClient to the patch router params
func (*PatchRouterParams) WithID ¶
func (o *PatchRouterParams) WithID(id string) *PatchRouterParams
WithID adds the id to the patch router params
func (*PatchRouterParams) WithRouter ¶
func (o *PatchRouterParams) WithRouter(router *rest_model.RouterPatch) *PatchRouterParams
WithRouter adds the router to the patch router params
func (*PatchRouterParams) WithTimeout ¶
func (o *PatchRouterParams) WithTimeout(timeout time.Duration) *PatchRouterParams
WithTimeout adds the timeout to the patch router params
func (*PatchRouterParams) WriteToRequest ¶
func (o *PatchRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchRouterReader ¶
type PatchRouterReader struct {
// contains filtered or unexported fields
}
PatchRouterReader is a Reader for the PatchRouter structure.
func (*PatchRouterReader) ReadResponse ¶
func (o *PatchRouterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchRouterUnauthorized ¶
type PatchRouterUnauthorized struct {
}PatchRouterUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewPatchRouterUnauthorized ¶
func NewPatchRouterUnauthorized() *PatchRouterUnauthorized
NewPatchRouterUnauthorized creates a PatchRouterUnauthorized with default headers values
func (*PatchRouterUnauthorized) Error ¶
func (o *PatchRouterUnauthorized) Error() string
func (*PatchRouterUnauthorized) GetPayload ¶
func (o *PatchRouterUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type PatchTransitRouterBadRequest ¶
type PatchTransitRouterBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
PatchTransitRouterBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewPatchTransitRouterBadRequest ¶
func NewPatchTransitRouterBadRequest() *PatchTransitRouterBadRequest
NewPatchTransitRouterBadRequest creates a PatchTransitRouterBadRequest with default headers values
func (*PatchTransitRouterBadRequest) Error ¶
func (o *PatchTransitRouterBadRequest) Error() string
func (*PatchTransitRouterBadRequest) GetPayload ¶
func (o *PatchTransitRouterBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type PatchTransitRouterNotFound ¶
type PatchTransitRouterNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
PatchTransitRouterNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewPatchTransitRouterNotFound ¶
func NewPatchTransitRouterNotFound() *PatchTransitRouterNotFound
NewPatchTransitRouterNotFound creates a PatchTransitRouterNotFound with default headers values
func (*PatchTransitRouterNotFound) Error ¶
func (o *PatchTransitRouterNotFound) Error() string
func (*PatchTransitRouterNotFound) GetPayload ¶
func (o *PatchTransitRouterNotFound) GetPayload() *rest_model.APIErrorEnvelope
type PatchTransitRouterOK ¶
type PatchTransitRouterOK struct {
Payload *rest_model.Empty
}
PatchTransitRouterOK describes a response with status code 200, with default header values.
The patch request was successful and the resource has been altered
func NewPatchTransitRouterOK ¶
func NewPatchTransitRouterOK() *PatchTransitRouterOK
NewPatchTransitRouterOK creates a PatchTransitRouterOK with default headers values
func (*PatchTransitRouterOK) Error ¶
func (o *PatchTransitRouterOK) Error() string
func (*PatchTransitRouterOK) GetPayload ¶
func (o *PatchTransitRouterOK) GetPayload() *rest_model.Empty
type PatchTransitRouterParams ¶
type PatchTransitRouterParams struct { /* ID. The id of the requested resource */ ID string /* Router. A router patch object */ Router *rest_model.RouterPatch Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchTransitRouterParams contains all the parameters to send to the API endpoint
for the patch transit router operation. Typically these are written to a http.Request.
func NewPatchTransitRouterParams ¶
func NewPatchTransitRouterParams() *PatchTransitRouterParams
NewPatchTransitRouterParams creates a new PatchTransitRouterParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchTransitRouterParamsWithContext ¶
func NewPatchTransitRouterParamsWithContext(ctx context.Context) *PatchTransitRouterParams
NewPatchTransitRouterParamsWithContext creates a new PatchTransitRouterParams object with the ability to set a context for a request.
func NewPatchTransitRouterParamsWithHTTPClient ¶
func NewPatchTransitRouterParamsWithHTTPClient(client *http.Client) *PatchTransitRouterParams
NewPatchTransitRouterParamsWithHTTPClient creates a new PatchTransitRouterParams object with the ability to set a custom HTTPClient for a request.
func NewPatchTransitRouterParamsWithTimeout ¶
func NewPatchTransitRouterParamsWithTimeout(timeout time.Duration) *PatchTransitRouterParams
NewPatchTransitRouterParamsWithTimeout creates a new PatchTransitRouterParams object with the ability to set a timeout on a request.
func (*PatchTransitRouterParams) SetContext ¶
func (o *PatchTransitRouterParams) SetContext(ctx context.Context)
SetContext adds the context to the patch transit router params
func (*PatchTransitRouterParams) SetDefaults ¶
func (o *PatchTransitRouterParams) SetDefaults()
SetDefaults hydrates default values in the patch transit router params (not the query body).
All values with no default are reset to their zero value.
func (*PatchTransitRouterParams) SetHTTPClient ¶
func (o *PatchTransitRouterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch transit router params
func (*PatchTransitRouterParams) SetID ¶
func (o *PatchTransitRouterParams) SetID(id string)
SetID adds the id to the patch transit router params
func (*PatchTransitRouterParams) SetRouter ¶
func (o *PatchTransitRouterParams) SetRouter(router *rest_model.RouterPatch)
SetRouter adds the router to the patch transit router params
func (*PatchTransitRouterParams) SetTimeout ¶
func (o *PatchTransitRouterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch transit router params
func (*PatchTransitRouterParams) WithContext ¶
func (o *PatchTransitRouterParams) WithContext(ctx context.Context) *PatchTransitRouterParams
WithContext adds the context to the patch transit router params
func (*PatchTransitRouterParams) WithDefaults ¶
func (o *PatchTransitRouterParams) WithDefaults() *PatchTransitRouterParams
WithDefaults hydrates default values in the patch transit router params (not the query body).
All values with no default are reset to their zero value.
func (*PatchTransitRouterParams) WithHTTPClient ¶
func (o *PatchTransitRouterParams) WithHTTPClient(client *http.Client) *PatchTransitRouterParams
WithHTTPClient adds the HTTPClient to the patch transit router params
func (*PatchTransitRouterParams) WithID ¶
func (o *PatchTransitRouterParams) WithID(id string) *PatchTransitRouterParams
WithID adds the id to the patch transit router params
func (*PatchTransitRouterParams) WithRouter ¶
func (o *PatchTransitRouterParams) WithRouter(router *rest_model.RouterPatch) *PatchTransitRouterParams
WithRouter adds the router to the patch transit router params
func (*PatchTransitRouterParams) WithTimeout ¶
func (o *PatchTransitRouterParams) WithTimeout(timeout time.Duration) *PatchTransitRouterParams
WithTimeout adds the timeout to the patch transit router params
func (*PatchTransitRouterParams) WriteToRequest ¶
func (o *PatchTransitRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchTransitRouterReader ¶
type PatchTransitRouterReader struct {
// contains filtered or unexported fields
}
PatchTransitRouterReader is a Reader for the PatchTransitRouter structure.
func (*PatchTransitRouterReader) ReadResponse ¶
func (o *PatchTransitRouterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchTransitRouterUnauthorized ¶
type PatchTransitRouterUnauthorized struct {
}PatchTransitRouterUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewPatchTransitRouterUnauthorized ¶
func NewPatchTransitRouterUnauthorized() *PatchTransitRouterUnauthorized
NewPatchTransitRouterUnauthorized creates a PatchTransitRouterUnauthorized with default headers values
func (*PatchTransitRouterUnauthorized) Error ¶
func (o *PatchTransitRouterUnauthorized) Error() string
func (*PatchTransitRouterUnauthorized) GetPayload ¶
func (o *PatchTransitRouterUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type UpdateRouterBadRequest ¶
type UpdateRouterBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateRouterBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewUpdateRouterBadRequest ¶
func NewUpdateRouterBadRequest() *UpdateRouterBadRequest
NewUpdateRouterBadRequest creates a UpdateRouterBadRequest with default headers values
func (*UpdateRouterBadRequest) Error ¶
func (o *UpdateRouterBadRequest) Error() string
func (*UpdateRouterBadRequest) GetPayload ¶
func (o *UpdateRouterBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type UpdateRouterNotFound ¶
type UpdateRouterNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateRouterNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewUpdateRouterNotFound ¶
func NewUpdateRouterNotFound() *UpdateRouterNotFound
NewUpdateRouterNotFound creates a UpdateRouterNotFound with default headers values
func (*UpdateRouterNotFound) Error ¶
func (o *UpdateRouterNotFound) Error() string
func (*UpdateRouterNotFound) GetPayload ¶
func (o *UpdateRouterNotFound) GetPayload() *rest_model.APIErrorEnvelope
type UpdateRouterOK ¶
type UpdateRouterOK struct {
Payload *rest_model.Empty
}
UpdateRouterOK describes a response with status code 200, with default header values.
The update request was successful and the resource has been altered
func NewUpdateRouterOK ¶
func NewUpdateRouterOK() *UpdateRouterOK
NewUpdateRouterOK creates a UpdateRouterOK with default headers values
func (*UpdateRouterOK) Error ¶
func (o *UpdateRouterOK) Error() string
func (*UpdateRouterOK) GetPayload ¶
func (o *UpdateRouterOK) GetPayload() *rest_model.Empty
type UpdateRouterParams ¶
type UpdateRouterParams struct { /* ID. The id of the requested resource */ ID string /* Router. A router update object */ Router *rest_model.RouterUpdate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateRouterParams contains all the parameters to send to the API endpoint
for the update router operation. Typically these are written to a http.Request.
func NewUpdateRouterParams ¶
func NewUpdateRouterParams() *UpdateRouterParams
NewUpdateRouterParams creates a new UpdateRouterParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateRouterParamsWithContext ¶
func NewUpdateRouterParamsWithContext(ctx context.Context) *UpdateRouterParams
NewUpdateRouterParamsWithContext creates a new UpdateRouterParams object with the ability to set a context for a request.
func NewUpdateRouterParamsWithHTTPClient ¶
func NewUpdateRouterParamsWithHTTPClient(client *http.Client) *UpdateRouterParams
NewUpdateRouterParamsWithHTTPClient creates a new UpdateRouterParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateRouterParamsWithTimeout ¶
func NewUpdateRouterParamsWithTimeout(timeout time.Duration) *UpdateRouterParams
NewUpdateRouterParamsWithTimeout creates a new UpdateRouterParams object with the ability to set a timeout on a request.
func (*UpdateRouterParams) SetContext ¶
func (o *UpdateRouterParams) SetContext(ctx context.Context)
SetContext adds the context to the update router params
func (*UpdateRouterParams) SetDefaults ¶
func (o *UpdateRouterParams) SetDefaults()
SetDefaults hydrates default values in the update router params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRouterParams) SetHTTPClient ¶
func (o *UpdateRouterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update router params
func (*UpdateRouterParams) SetID ¶
func (o *UpdateRouterParams) SetID(id string)
SetID adds the id to the update router params
func (*UpdateRouterParams) SetRouter ¶
func (o *UpdateRouterParams) SetRouter(router *rest_model.RouterUpdate)
SetRouter adds the router to the update router params
func (*UpdateRouterParams) SetTimeout ¶
func (o *UpdateRouterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update router params
func (*UpdateRouterParams) WithContext ¶
func (o *UpdateRouterParams) WithContext(ctx context.Context) *UpdateRouterParams
WithContext adds the context to the update router params
func (*UpdateRouterParams) WithDefaults ¶
func (o *UpdateRouterParams) WithDefaults() *UpdateRouterParams
WithDefaults hydrates default values in the update router params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRouterParams) WithHTTPClient ¶
func (o *UpdateRouterParams) WithHTTPClient(client *http.Client) *UpdateRouterParams
WithHTTPClient adds the HTTPClient to the update router params
func (*UpdateRouterParams) WithID ¶
func (o *UpdateRouterParams) WithID(id string) *UpdateRouterParams
WithID adds the id to the update router params
func (*UpdateRouterParams) WithRouter ¶
func (o *UpdateRouterParams) WithRouter(router *rest_model.RouterUpdate) *UpdateRouterParams
WithRouter adds the router to the update router params
func (*UpdateRouterParams) WithTimeout ¶
func (o *UpdateRouterParams) WithTimeout(timeout time.Duration) *UpdateRouterParams
WithTimeout adds the timeout to the update router params
func (*UpdateRouterParams) WriteToRequest ¶
func (o *UpdateRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateRouterReader ¶
type UpdateRouterReader struct {
// contains filtered or unexported fields
}
UpdateRouterReader is a Reader for the UpdateRouter structure.
func (*UpdateRouterReader) ReadResponse ¶
func (o *UpdateRouterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateRouterUnauthorized ¶
type UpdateRouterUnauthorized struct {
}UpdateRouterUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewUpdateRouterUnauthorized ¶
func NewUpdateRouterUnauthorized() *UpdateRouterUnauthorized
NewUpdateRouterUnauthorized creates a UpdateRouterUnauthorized with default headers values
func (*UpdateRouterUnauthorized) Error ¶
func (o *UpdateRouterUnauthorized) Error() string
func (*UpdateRouterUnauthorized) GetPayload ¶
func (o *UpdateRouterUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type UpdateTransitRouterBadRequest ¶
type UpdateTransitRouterBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateTransitRouterBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewUpdateTransitRouterBadRequest ¶
func NewUpdateTransitRouterBadRequest() *UpdateTransitRouterBadRequest
NewUpdateTransitRouterBadRequest creates a UpdateTransitRouterBadRequest with default headers values
func (*UpdateTransitRouterBadRequest) Error ¶
func (o *UpdateTransitRouterBadRequest) Error() string
func (*UpdateTransitRouterBadRequest) GetPayload ¶
func (o *UpdateTransitRouterBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type UpdateTransitRouterNotFound ¶
type UpdateTransitRouterNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateTransitRouterNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewUpdateTransitRouterNotFound ¶
func NewUpdateTransitRouterNotFound() *UpdateTransitRouterNotFound
NewUpdateTransitRouterNotFound creates a UpdateTransitRouterNotFound with default headers values
func (*UpdateTransitRouterNotFound) Error ¶
func (o *UpdateTransitRouterNotFound) Error() string
func (*UpdateTransitRouterNotFound) GetPayload ¶
func (o *UpdateTransitRouterNotFound) GetPayload() *rest_model.APIErrorEnvelope
type UpdateTransitRouterOK ¶
type UpdateTransitRouterOK struct {
Payload *rest_model.Empty
}
UpdateTransitRouterOK describes a response with status code 200, with default header values.
The update request was successful and the resource has been altered
func NewUpdateTransitRouterOK ¶
func NewUpdateTransitRouterOK() *UpdateTransitRouterOK
NewUpdateTransitRouterOK creates a UpdateTransitRouterOK with default headers values
func (*UpdateTransitRouterOK) Error ¶
func (o *UpdateTransitRouterOK) Error() string
func (*UpdateTransitRouterOK) GetPayload ¶
func (o *UpdateTransitRouterOK) GetPayload() *rest_model.Empty
type UpdateTransitRouterParams ¶
type UpdateTransitRouterParams struct { /* ID. The id of the requested resource */ ID string /* Router. A router update object */ Router *rest_model.RouterUpdate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateTransitRouterParams contains all the parameters to send to the API endpoint
for the update transit router operation. Typically these are written to a http.Request.
func NewUpdateTransitRouterParams ¶
func NewUpdateTransitRouterParams() *UpdateTransitRouterParams
NewUpdateTransitRouterParams creates a new UpdateTransitRouterParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateTransitRouterParamsWithContext ¶
func NewUpdateTransitRouterParamsWithContext(ctx context.Context) *UpdateTransitRouterParams
NewUpdateTransitRouterParamsWithContext creates a new UpdateTransitRouterParams object with the ability to set a context for a request.
func NewUpdateTransitRouterParamsWithHTTPClient ¶
func NewUpdateTransitRouterParamsWithHTTPClient(client *http.Client) *UpdateTransitRouterParams
NewUpdateTransitRouterParamsWithHTTPClient creates a new UpdateTransitRouterParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateTransitRouterParamsWithTimeout ¶
func NewUpdateTransitRouterParamsWithTimeout(timeout time.Duration) *UpdateTransitRouterParams
NewUpdateTransitRouterParamsWithTimeout creates a new UpdateTransitRouterParams object with the ability to set a timeout on a request.
func (*UpdateTransitRouterParams) SetContext ¶
func (o *UpdateTransitRouterParams) SetContext(ctx context.Context)
SetContext adds the context to the update transit router params
func (*UpdateTransitRouterParams) SetDefaults ¶
func (o *UpdateTransitRouterParams) SetDefaults()
SetDefaults hydrates default values in the update transit router params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTransitRouterParams) SetHTTPClient ¶
func (o *UpdateTransitRouterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update transit router params
func (*UpdateTransitRouterParams) SetID ¶
func (o *UpdateTransitRouterParams) SetID(id string)
SetID adds the id to the update transit router params
func (*UpdateTransitRouterParams) SetRouter ¶
func (o *UpdateTransitRouterParams) SetRouter(router *rest_model.RouterUpdate)
SetRouter adds the router to the update transit router params
func (*UpdateTransitRouterParams) SetTimeout ¶
func (o *UpdateTransitRouterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update transit router params
func (*UpdateTransitRouterParams) WithContext ¶
func (o *UpdateTransitRouterParams) WithContext(ctx context.Context) *UpdateTransitRouterParams
WithContext adds the context to the update transit router params
func (*UpdateTransitRouterParams) WithDefaults ¶
func (o *UpdateTransitRouterParams) WithDefaults() *UpdateTransitRouterParams
WithDefaults hydrates default values in the update transit router params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateTransitRouterParams) WithHTTPClient ¶
func (o *UpdateTransitRouterParams) WithHTTPClient(client *http.Client) *UpdateTransitRouterParams
WithHTTPClient adds the HTTPClient to the update transit router params
func (*UpdateTransitRouterParams) WithID ¶
func (o *UpdateTransitRouterParams) WithID(id string) *UpdateTransitRouterParams
WithID adds the id to the update transit router params
func (*UpdateTransitRouterParams) WithRouter ¶
func (o *UpdateTransitRouterParams) WithRouter(router *rest_model.RouterUpdate) *UpdateTransitRouterParams
WithRouter adds the router to the update transit router params
func (*UpdateTransitRouterParams) WithTimeout ¶
func (o *UpdateTransitRouterParams) WithTimeout(timeout time.Duration) *UpdateTransitRouterParams
WithTimeout adds the timeout to the update transit router params
func (*UpdateTransitRouterParams) WriteToRequest ¶
func (o *UpdateTransitRouterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateTransitRouterReader ¶
type UpdateTransitRouterReader struct {
// contains filtered or unexported fields
}
UpdateTransitRouterReader is a Reader for the UpdateTransitRouter structure.
func (*UpdateTransitRouterReader) ReadResponse ¶
func (o *UpdateTransitRouterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateTransitRouterUnauthorized ¶
type UpdateTransitRouterUnauthorized struct {
}UpdateTransitRouterUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewUpdateTransitRouterUnauthorized ¶
func NewUpdateTransitRouterUnauthorized() *UpdateTransitRouterUnauthorized
NewUpdateTransitRouterUnauthorized creates a UpdateTransitRouterUnauthorized with default headers values
func (*UpdateTransitRouterUnauthorized) Error ¶
func (o *UpdateTransitRouterUnauthorized) Error() string
func (*UpdateTransitRouterUnauthorized) GetPayload ¶
func (o *UpdateTransitRouterUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
Source Files ¶
- create_router_parameters.go
- create_router_responses.go
- create_transit_router_parameters.go
- create_transit_router_responses.go
- delete_router_parameters.go
- delete_router_responses.go
- delete_transit_router_parameters.go
- delete_transit_router_responses.go
- detail_router_parameters.go
- detail_router_responses.go
- detail_transit_router_parameters.go
- detail_transit_router_responses.go
- list_routers_parameters.go
- list_routers_responses.go
- list_transit_routers_parameters.go
- list_transit_routers_responses.go
- patch_router_parameters.go
- patch_router_responses.go
- patch_transit_router_parameters.go
- patch_transit_router_responses.go
- router_client.go
- update_router_parameters.go
- update_router_responses.go
- update_transit_router_parameters.go
- update_transit_router_responses.go