Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateTransitRouter(params *CreateTransitRouterParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTransitRouterOK, error)
- func (a *Client) DeleteTransitRouter(params *DeleteTransitRouterParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTransitRouterOK, error)
- func (a *Client) DetailTransitRouter(params *DetailTransitRouterParams, authInfo runtime.ClientAuthInfoWriter) (*DetailTransitRouterOK, error)
- func (a *Client) ListTransitRouters(params *ListTransitRoutersParams, authInfo runtime.ClientAuthInfoWriter) (*ListTransitRoutersOK, error)
- func (a *Client) PatchTransitRouter(params *PatchTransitRouterParams, authInfo runtime.ClientAuthInfoWriter) (*PatchTransitRouterOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateTransitRouter(params *UpdateTransitRouterParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateTransitRouterOK, error)
- type ClientService
- type CreateTransitRouterBadRequest
- type CreateTransitRouterOK
- 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) SetBody(body *rest_model.TransitRouterCreate)
- func (o *CreateTransitRouterParams) SetContext(ctx context.Context)
- func (o *CreateTransitRouterParams) SetHTTPClient(client *http.Client)
- func (o *CreateTransitRouterParams) SetTimeout(timeout time.Duration)
- func (o *CreateTransitRouterParams) WithBody(body *rest_model.TransitRouterCreate) *CreateTransitRouterParams
- func (o *CreateTransitRouterParams) WithContext(ctx context.Context) *CreateTransitRouterParams
- func (o *CreateTransitRouterParams) WithHTTPClient(client *http.Client) *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 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) 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) 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 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) 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) 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 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) 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) 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 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) SetBody(body *rest_model.TransitRouterPatch)
- func (o *PatchTransitRouterParams) SetContext(ctx context.Context)
- func (o *PatchTransitRouterParams) SetHTTPClient(client *http.Client)
- func (o *PatchTransitRouterParams) SetID(id string)
- func (o *PatchTransitRouterParams) SetTimeout(timeout time.Duration)
- func (o *PatchTransitRouterParams) WithBody(body *rest_model.TransitRouterPatch) *PatchTransitRouterParams
- func (o *PatchTransitRouterParams) WithContext(ctx context.Context) *PatchTransitRouterParams
- func (o *PatchTransitRouterParams) WithHTTPClient(client *http.Client) *PatchTransitRouterParams
- func (o *PatchTransitRouterParams) WithID(id string) *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 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) SetBody(body *rest_model.TransitRouterUpdate)
- func (o *UpdateTransitRouterParams) SetContext(ctx context.Context)
- func (o *UpdateTransitRouterParams) SetHTTPClient(client *http.Client)
- func (o *UpdateTransitRouterParams) SetID(id string)
- func (o *UpdateTransitRouterParams) SetTimeout(timeout time.Duration)
- func (o *UpdateTransitRouterParams) WithBody(body *rest_model.TransitRouterUpdate) *UpdateTransitRouterParams
- func (o *UpdateTransitRouterParams) WithContext(ctx context.Context) *UpdateTransitRouterParams
- func (o *UpdateTransitRouterParams) WithHTTPClient(client *http.Client) *UpdateTransitRouterParams
- func (o *UpdateTransitRouterParams) WithID(id string) *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 transit router API
func (*Client) CreateTransitRouter ¶
func (a *Client) CreateTransitRouter(params *CreateTransitRouterParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTransitRouterOK, error)
CreateTransitRouter creates a transit router resource
Create a transit router resource. Requires admin access.
func (*Client) DeleteTransitRouter ¶
func (a *Client) DeleteTransitRouter(params *DeleteTransitRouterParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTransitRouterOK, error)
DeleteTransitRouter deletes a transit router
Delete a transit router by id. Requires admin access.
func (*Client) DetailTransitRouter ¶
func (a *Client) DetailTransitRouter(params *DetailTransitRouterParams, authInfo runtime.ClientAuthInfoWriter) (*DetailTransitRouterOK, error)
DetailTransitRouter retrieves a single transit router
Retrieves a single transit router by id. Requires admin access.
func (*Client) ListTransitRouters ¶
func (a *Client) ListTransitRouters(params *ListTransitRoutersParams, authInfo runtime.ClientAuthInfoWriter) (*ListTransitRoutersOK, error)
ListTransitRouters lists transit routers
Retrieves a list of transit router resources; supports filtering, sorting, and pagination. Requires admin access.
func (*Client) PatchTransitRouter ¶
func (a *Client) PatchTransitRouter(params *PatchTransitRouterParams, authInfo runtime.ClientAuthInfoWriter) (*PatchTransitRouterOK, error)
PatchTransitRouter updates the supplied fields on a transit router
Update the supplied fields on a transit router. Requires admin access.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateTransitRouter ¶
func (a *Client) UpdateTransitRouter(params *UpdateTransitRouterParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateTransitRouterOK, error)
UpdateTransitRouter updates all fields on a transit router
Update all fields on a transit router by id. Requires admin access.
type ClientService ¶
type ClientService interface { CreateTransitRouter(params *CreateTransitRouterParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTransitRouterOK, error) DeleteTransitRouter(params *DeleteTransitRouterParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTransitRouterOK, error) DetailTransitRouter(params *DetailTransitRouterParams, authInfo runtime.ClientAuthInfoWriter) (*DetailTransitRouterOK, error) ListTransitRouters(params *ListTransitRoutersParams, authInfo runtime.ClientAuthInfoWriter) (*ListTransitRoutersOK, error) PatchTransitRouter(params *PatchTransitRouterParams, authInfo runtime.ClientAuthInfoWriter) (*PatchTransitRouterOK, error) UpdateTransitRouter(params *UpdateTransitRouterParams, authInfo runtime.ClientAuthInfoWriter) (*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 transit router API client.
type CreateTransitRouterBadRequest ¶
type CreateTransitRouterBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
CreateTransitRouterBadRequest handles this case 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 CreateTransitRouterOK ¶
type CreateTransitRouterOK struct {
Payload *rest_model.CreateEnvelope
}
CreateTransitRouterOK handles this case with default header values.
The create request was successful and the resource has been added at the following location
func NewCreateTransitRouterOK ¶
func NewCreateTransitRouterOK() *CreateTransitRouterOK
NewCreateTransitRouterOK creates a CreateTransitRouterOK with default headers values
func (*CreateTransitRouterOK) Error ¶
func (o *CreateTransitRouterOK) Error() string
func (*CreateTransitRouterOK) GetPayload ¶
func (o *CreateTransitRouterOK) GetPayload() *rest_model.CreateEnvelope
type CreateTransitRouterParams ¶
type CreateTransitRouterParams struct { /*Body A transit router to create */ Body *rest_model.TransitRouterCreate 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 values initialized.
func NewCreateTransitRouterParamsWithContext ¶
func NewCreateTransitRouterParamsWithContext(ctx context.Context) *CreateTransitRouterParams
NewCreateTransitRouterParamsWithContext creates a new CreateTransitRouterParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*CreateTransitRouterParams) SetBody ¶
func (o *CreateTransitRouterParams) SetBody(body *rest_model.TransitRouterCreate)
SetBody adds the body to the create transit router params
func (*CreateTransitRouterParams) SetContext ¶
func (o *CreateTransitRouterParams) SetContext(ctx context.Context)
SetContext adds the context to the create transit router params
func (*CreateTransitRouterParams) SetHTTPClient ¶
func (o *CreateTransitRouterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient 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) WithBody ¶
func (o *CreateTransitRouterParams) WithBody(body *rest_model.TransitRouterCreate) *CreateTransitRouterParams
WithBody adds the body 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) WithHTTPClient ¶
func (o *CreateTransitRouterParams) WithHTTPClient(client *http.Client) *CreateTransitRouterParams
WithHTTPClient adds the HTTPClient 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 handles this case 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 DeleteTransitRouterBadRequest ¶
type DeleteTransitRouterBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteTransitRouterBadRequest handles this case 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 handles this case 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 handles this case 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 values initialized.
func NewDeleteTransitRouterParamsWithContext ¶
func NewDeleteTransitRouterParamsWithContext(ctx context.Context) *DeleteTransitRouterParams
NewDeleteTransitRouterParamsWithContext creates a new DeleteTransitRouterParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 DetailTransitRouterNotFound ¶
type DetailTransitRouterNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
DetailTransitRouterNotFound handles this case 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.DetailTransitRouterEnvelope
}
DetailTransitRouterOK handles this case with default header values.
A single transit 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.DetailTransitRouterEnvelope
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 values initialized.
func NewDetailTransitRouterParamsWithContext ¶
func NewDetailTransitRouterParamsWithContext(ctx context.Context) *DetailTransitRouterParams
NewDetailTransitRouterParamsWithContext creates a new DetailTransitRouterParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 ListTransitRoutersOK ¶
type ListTransitRoutersOK struct {
Payload *rest_model.ListTransitRoutersEnvelope
}
ListTransitRoutersOK handles this case 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.ListTransitRoutersEnvelope
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 values initialized.
func NewListTransitRoutersParamsWithContext ¶
func NewListTransitRoutersParamsWithContext(ctx context.Context) *ListTransitRoutersParams
NewListTransitRoutersParamsWithContext creates a new ListTransitRoutersParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 PatchTransitRouterBadRequest ¶
type PatchTransitRouterBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
PatchTransitRouterBadRequest handles this case 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 handles this case 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 handles this case 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 { /*Body A transit router patch object */ Body *rest_model.TransitRouterPatch /*ID The id of the requested resource */ ID string 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 values initialized.
func NewPatchTransitRouterParamsWithContext ¶
func NewPatchTransitRouterParamsWithContext(ctx context.Context) *PatchTransitRouterParams
NewPatchTransitRouterParamsWithContext creates a new PatchTransitRouterParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*PatchTransitRouterParams) SetBody ¶
func (o *PatchTransitRouterParams) SetBody(body *rest_model.TransitRouterPatch)
SetBody adds the body to the patch transit router params
func (*PatchTransitRouterParams) SetContext ¶
func (o *PatchTransitRouterParams) SetContext(ctx context.Context)
SetContext adds the context to the patch transit router params
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) SetTimeout ¶
func (o *PatchTransitRouterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch transit router params
func (*PatchTransitRouterParams) WithBody ¶
func (o *PatchTransitRouterParams) WithBody(body *rest_model.TransitRouterPatch) *PatchTransitRouterParams
WithBody adds the body 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) 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) 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 handles this case 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 UpdateTransitRouterBadRequest ¶
type UpdateTransitRouterBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateTransitRouterBadRequest handles this case 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 handles this case 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 handles this case 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 { /*Body A transit router update object */ Body *rest_model.TransitRouterUpdate /*ID The id of the requested resource */ ID string 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 values initialized.
func NewUpdateTransitRouterParamsWithContext ¶
func NewUpdateTransitRouterParamsWithContext(ctx context.Context) *UpdateTransitRouterParams
NewUpdateTransitRouterParamsWithContext creates a new UpdateTransitRouterParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*UpdateTransitRouterParams) SetBody ¶
func (o *UpdateTransitRouterParams) SetBody(body *rest_model.TransitRouterUpdate)
SetBody adds the body to the update transit router params
func (*UpdateTransitRouterParams) SetContext ¶
func (o *UpdateTransitRouterParams) SetContext(ctx context.Context)
SetContext adds the context to the update transit router params
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) SetTimeout ¶
func (o *UpdateTransitRouterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update transit router params
func (*UpdateTransitRouterParams) WithBody ¶
func (o *UpdateTransitRouterParams) WithBody(body *rest_model.TransitRouterUpdate) *UpdateTransitRouterParams
WithBody adds the body 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) 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) 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 handles this case 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_transit_router_parameters.go
- create_transit_router_responses.go
- delete_transit_router_parameters.go
- delete_transit_router_responses.go
- detail_transit_router_parameters.go
- detail_transit_router_responses.go
- list_transit_routers_parameters.go
- list_transit_routers_responses.go
- patch_transit_router_parameters.go
- patch_transit_router_responses.go
- transit_router_client.go
- update_transit_router_parameters.go
- update_transit_router_responses.go