transit_router

package
v0.16.37 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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 (*CreateTransitRouterBadRequest) GetPayload

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

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

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

WithBody adds the body to the create transit router params

func (*CreateTransitRouterParams) WithContext

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

WithTimeout adds the timeout to the create transit router params

func (*CreateTransitRouterParams) WriteToRequest

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 {
	Payload *rest_model.APIErrorEnvelope
}

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 (*CreateTransitRouterUnauthorized) GetPayload

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 (*DeleteTransitRouterBadRequest) GetPayload

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 (*DeleteTransitRouterConflict) GetPayload

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

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

WithID adds the id to the delete transit router params

func (*DeleteTransitRouterParams) WithTimeout

WithTimeout adds the timeout to the delete transit router params

func (*DeleteTransitRouterParams) WriteToRequest

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 {
	Payload *rest_model.APIErrorEnvelope
}

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 (*DeleteTransitRouterUnauthorized) GetPayload

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 (*DetailTransitRouterNotFound) GetPayload

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

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

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

WithID adds the id to the detail transit router params

func (*DetailTransitRouterParams) WithTimeout

WithTimeout adds the timeout to the detail transit router params

func (*DetailTransitRouterParams) WriteToRequest

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 {
	Payload *rest_model.APIErrorEnvelope
}

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 (*DetailTransitRouterUnauthorized) GetPayload

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

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

WithContext adds the context to the list transit routers params

func (*ListTransitRoutersParams) WithFilter

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

WithLimit adds the limit to the list transit routers params

func (*ListTransitRoutersParams) WithOffset

WithOffset adds the offset to the list transit routers params

func (*ListTransitRoutersParams) WithTimeout

WithTimeout adds the timeout to the list transit routers params

func (*ListTransitRoutersParams) WriteToRequest

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 {
	Payload *rest_model.APIErrorEnvelope
}

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 (*ListTransitRoutersUnauthorized) GetPayload

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 (*PatchTransitRouterBadRequest) GetPayload

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 (*PatchTransitRouterNotFound) GetPayload

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

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

WithBody adds the body to the patch transit router params

func (*PatchTransitRouterParams) WithContext

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

WithID adds the id to the patch transit router params

func (*PatchTransitRouterParams) WithTimeout

WithTimeout adds the timeout to the patch transit router params

func (*PatchTransitRouterParams) WriteToRequest

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 {
	Payload *rest_model.APIErrorEnvelope
}

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 (*PatchTransitRouterUnauthorized) GetPayload

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 (*UpdateTransitRouterBadRequest) GetPayload

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 (*UpdateTransitRouterNotFound) GetPayload

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

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

WithBody adds the body to the update transit router params

func (*UpdateTransitRouterParams) WithContext

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

WithID adds the id to the update transit router params

func (*UpdateTransitRouterParams) WithTimeout

WithTimeout adds the timeout to the update transit router params

func (*UpdateTransitRouterParams) WriteToRequest

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 {
	Payload *rest_model.APIErrorEnvelope
}

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 (*UpdateTransitRouterUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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