edge_router

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 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 edge router API

func (*Client) CreateEdgeRouter

func (a *Client) CreateEdgeRouter(params *CreateEdgeRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEdgeRouterCreated, error)

CreateEdgeRouter creates an edge router

Create a edge router resource. Requires admin access.

func (*Client) DeleteEdgeRouter

func (a *Client) DeleteEdgeRouter(params *DeleteEdgeRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEdgeRouterOK, error)

DeleteEdgeRouter deletes an edge router

Delete an edge router by id. Requires admin access.

func (*Client) DetailEdgeRouter

func (a *Client) DetailEdgeRouter(params *DetailEdgeRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailEdgeRouterOK, error)

DetailEdgeRouter retrieves a single edge router

Retrieves a single edge router by id. Requires admin access.

func (*Client) ListEdgeRouterEdgeRouterPolicies

func (a *Client) ListEdgeRouterEdgeRouterPolicies(params *ListEdgeRouterEdgeRouterPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterEdgeRouterPoliciesOK, error)

ListEdgeRouterEdgeRouterPolicies lists the edge router policies that affect an edge router

Retrieves a list of edge router policies that apply to the specified edge router.

func (*Client) ListEdgeRouterIdentities

func (a *Client) ListEdgeRouterIdentities(params *ListEdgeRouterIdentitiesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterIdentitiesOK, error)

ListEdgeRouterIdentities lists associated identities

Retrieves a list of identities that may access services via the given edge router. Supports filtering, sorting, and pagination. Requires admin access.

func (*Client) ListEdgeRouterServiceEdgeRouterPolicies

ListEdgeRouterServiceEdgeRouterPolicies lists the service policies that affect an edge router

Retrieves a list of service policies policies that apply to the specified edge router.

func (*Client) ListEdgeRouterServices

func (a *Client) ListEdgeRouterServices(params *ListEdgeRouterServicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterServicesOK, error)

ListEdgeRouterServices lists associated services

Retrieves a list of services that may be accessed via the given edge router. Supports filtering, sorting, and pagination. Requires admin access.

func (*Client) ListEdgeRouters

func (a *Client) ListEdgeRouters(params *ListEdgeRoutersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRoutersOK, error)

ListEdgeRouters lists edge routers

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

func (*Client) PatchEdgeRouter

func (a *Client) PatchEdgeRouter(params *PatchEdgeRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchEdgeRouterOK, error)

PatchEdgeRouter updates the supplied fields on an edge router

Update the supplied fields on an edge router. Requires admin access.

func (*Client) ReEnrollEdgeRouter added in v0.21.21

func (a *Client) ReEnrollEdgeRouter(params *ReEnrollEdgeRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReEnrollEdgeRouterOK, error)
ReEnrollEdgeRouter res enroll an edge router

Removes current certificate based authentication mechanisms and reverts the edge router into a state where enrollment must be performed.

The router retains all other properties and associations. If the router is currently connected, it will be disconnected and any attemps to reconnect will fail until the enrollment process is completed with the newly generated JWT.

If the edge router has an existing outstanding enrollment JWT it will be replaced. The previous JWT will no longer be usable to complete the enrollment process.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateEdgeRouter

func (a *Client) UpdateEdgeRouter(params *UpdateEdgeRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEdgeRouterOK, error)

UpdateEdgeRouter updates all fields on an edge router

Update all fields on an edge 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 {
	CreateEdgeRouter(params *CreateEdgeRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEdgeRouterCreated, error)

	DeleteEdgeRouter(params *DeleteEdgeRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEdgeRouterOK, error)

	DetailEdgeRouter(params *DetailEdgeRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailEdgeRouterOK, error)

	ListEdgeRouterEdgeRouterPolicies(params *ListEdgeRouterEdgeRouterPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterEdgeRouterPoliciesOK, error)

	ListEdgeRouterIdentities(params *ListEdgeRouterIdentitiesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterIdentitiesOK, error)

	ListEdgeRouterServiceEdgeRouterPolicies(params *ListEdgeRouterServiceEdgeRouterPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterServiceEdgeRouterPoliciesOK, error)

	ListEdgeRouterServices(params *ListEdgeRouterServicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterServicesOK, error)

	ListEdgeRouters(params *ListEdgeRoutersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRoutersOK, error)

	PatchEdgeRouter(params *PatchEdgeRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchEdgeRouterOK, error)

	ReEnrollEdgeRouter(params *ReEnrollEdgeRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReEnrollEdgeRouterOK, error)

	UpdateEdgeRouter(params *UpdateEdgeRouterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEdgeRouterOK, 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 edge router API client.

type CreateEdgeRouterBadRequest

type CreateEdgeRouterBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
CreateEdgeRouterBadRequest 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 NewCreateEdgeRouterBadRequest

func NewCreateEdgeRouterBadRequest() *CreateEdgeRouterBadRequest

NewCreateEdgeRouterBadRequest creates a CreateEdgeRouterBadRequest with default headers values

func (*CreateEdgeRouterBadRequest) Error

func (*CreateEdgeRouterBadRequest) GetPayload

type CreateEdgeRouterCreated

type CreateEdgeRouterCreated struct {
	Payload *rest_model.CreateEnvelope
}
CreateEdgeRouterCreated 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 NewCreateEdgeRouterCreated

func NewCreateEdgeRouterCreated() *CreateEdgeRouterCreated

NewCreateEdgeRouterCreated creates a CreateEdgeRouterCreated with default headers values

func (*CreateEdgeRouterCreated) Error

func (o *CreateEdgeRouterCreated) Error() string

func (*CreateEdgeRouterCreated) GetPayload

type CreateEdgeRouterParams

type CreateEdgeRouterParams struct {

	/* EdgeRouter.

	   A edge router to create
	*/
	EdgeRouter *rest_model.EdgeRouterCreate

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

CreateEdgeRouterParams contains all the parameters to send to the API endpoint

for the create edge router operation.

Typically these are written to a http.Request.

func NewCreateEdgeRouterParams

func NewCreateEdgeRouterParams() *CreateEdgeRouterParams

NewCreateEdgeRouterParams creates a new CreateEdgeRouterParams 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 NewCreateEdgeRouterParamsWithContext

func NewCreateEdgeRouterParamsWithContext(ctx context.Context) *CreateEdgeRouterParams

NewCreateEdgeRouterParamsWithContext creates a new CreateEdgeRouterParams object with the ability to set a context for a request.

func NewCreateEdgeRouterParamsWithHTTPClient

func NewCreateEdgeRouterParamsWithHTTPClient(client *http.Client) *CreateEdgeRouterParams

NewCreateEdgeRouterParamsWithHTTPClient creates a new CreateEdgeRouterParams object with the ability to set a custom HTTPClient for a request.

func NewCreateEdgeRouterParamsWithTimeout

func NewCreateEdgeRouterParamsWithTimeout(timeout time.Duration) *CreateEdgeRouterParams

NewCreateEdgeRouterParamsWithTimeout creates a new CreateEdgeRouterParams object with the ability to set a timeout on a request.

func (*CreateEdgeRouterParams) SetContext

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

SetContext adds the context to the create edge router params

func (*CreateEdgeRouterParams) SetDefaults

func (o *CreateEdgeRouterParams) SetDefaults()

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

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

func (*CreateEdgeRouterParams) SetEdgeRouter

func (o *CreateEdgeRouterParams) SetEdgeRouter(edgeRouter *rest_model.EdgeRouterCreate)

SetEdgeRouter adds the edgeRouter to the create edge router params

func (*CreateEdgeRouterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create edge router params

func (*CreateEdgeRouterParams) SetTimeout

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

SetTimeout adds the timeout to the create edge router params

func (*CreateEdgeRouterParams) WithContext

WithContext adds the context to the create edge router params

func (*CreateEdgeRouterParams) WithDefaults

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

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

func (*CreateEdgeRouterParams) WithEdgeRouter

WithEdgeRouter adds the edgeRouter to the create edge router params

func (*CreateEdgeRouterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create edge router params

func (*CreateEdgeRouterParams) WithTimeout

WithTimeout adds the timeout to the create edge router params

func (*CreateEdgeRouterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateEdgeRouterReader

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

CreateEdgeRouterReader is a Reader for the CreateEdgeRouter structure.

func (*CreateEdgeRouterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateEdgeRouterUnauthorized

type CreateEdgeRouterUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
CreateEdgeRouterUnauthorized 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 NewCreateEdgeRouterUnauthorized

func NewCreateEdgeRouterUnauthorized() *CreateEdgeRouterUnauthorized

NewCreateEdgeRouterUnauthorized creates a CreateEdgeRouterUnauthorized with default headers values

func (*CreateEdgeRouterUnauthorized) Error

func (*CreateEdgeRouterUnauthorized) GetPayload

type DeleteEdgeRouterBadRequest

type DeleteEdgeRouterBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
DeleteEdgeRouterBadRequest 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 NewDeleteEdgeRouterBadRequest

func NewDeleteEdgeRouterBadRequest() *DeleteEdgeRouterBadRequest

NewDeleteEdgeRouterBadRequest creates a DeleteEdgeRouterBadRequest with default headers values

func (*DeleteEdgeRouterBadRequest) Error

func (*DeleteEdgeRouterBadRequest) GetPayload

type DeleteEdgeRouterConflict

type DeleteEdgeRouterConflict struct {
	Payload *rest_model.APIErrorEnvelope
}
DeleteEdgeRouterConflict 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 NewDeleteEdgeRouterConflict

func NewDeleteEdgeRouterConflict() *DeleteEdgeRouterConflict

NewDeleteEdgeRouterConflict creates a DeleteEdgeRouterConflict with default headers values

func (*DeleteEdgeRouterConflict) Error

func (o *DeleteEdgeRouterConflict) Error() string

func (*DeleteEdgeRouterConflict) GetPayload

type DeleteEdgeRouterOK

type DeleteEdgeRouterOK struct {
	Payload *rest_model.Empty
}
DeleteEdgeRouterOK describes a response with status code 200, with default header values.

The delete request was successful and the resource has been removed

func NewDeleteEdgeRouterOK

func NewDeleteEdgeRouterOK() *DeleteEdgeRouterOK

NewDeleteEdgeRouterOK creates a DeleteEdgeRouterOK with default headers values

func (*DeleteEdgeRouterOK) Error

func (o *DeleteEdgeRouterOK) Error() string

func (*DeleteEdgeRouterOK) GetPayload

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

type DeleteEdgeRouterParams

type DeleteEdgeRouterParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DeleteEdgeRouterParams contains all the parameters to send to the API endpoint

for the delete edge router operation.

Typically these are written to a http.Request.

func NewDeleteEdgeRouterParams

func NewDeleteEdgeRouterParams() *DeleteEdgeRouterParams

NewDeleteEdgeRouterParams creates a new DeleteEdgeRouterParams 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 NewDeleteEdgeRouterParamsWithContext

func NewDeleteEdgeRouterParamsWithContext(ctx context.Context) *DeleteEdgeRouterParams

NewDeleteEdgeRouterParamsWithContext creates a new DeleteEdgeRouterParams object with the ability to set a context for a request.

func NewDeleteEdgeRouterParamsWithHTTPClient

func NewDeleteEdgeRouterParamsWithHTTPClient(client *http.Client) *DeleteEdgeRouterParams

NewDeleteEdgeRouterParamsWithHTTPClient creates a new DeleteEdgeRouterParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteEdgeRouterParamsWithTimeout

func NewDeleteEdgeRouterParamsWithTimeout(timeout time.Duration) *DeleteEdgeRouterParams

NewDeleteEdgeRouterParamsWithTimeout creates a new DeleteEdgeRouterParams object with the ability to set a timeout on a request.

func (*DeleteEdgeRouterParams) SetContext

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

SetContext adds the context to the delete edge router params

func (*DeleteEdgeRouterParams) SetDefaults

func (o *DeleteEdgeRouterParams) SetDefaults()

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

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

func (*DeleteEdgeRouterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete edge router params

func (*DeleteEdgeRouterParams) SetID

func (o *DeleteEdgeRouterParams) SetID(id string)

SetID adds the id to the delete edge router params

func (*DeleteEdgeRouterParams) SetTimeout

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

SetTimeout adds the timeout to the delete edge router params

func (*DeleteEdgeRouterParams) WithContext

WithContext adds the context to the delete edge router params

func (*DeleteEdgeRouterParams) WithDefaults

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

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

func (*DeleteEdgeRouterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete edge router params

func (*DeleteEdgeRouterParams) WithID

WithID adds the id to the delete edge router params

func (*DeleteEdgeRouterParams) WithTimeout

WithTimeout adds the timeout to the delete edge router params

func (*DeleteEdgeRouterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteEdgeRouterReader

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

DeleteEdgeRouterReader is a Reader for the DeleteEdgeRouter structure.

func (*DeleteEdgeRouterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteEdgeRouterUnauthorized

type DeleteEdgeRouterUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
DeleteEdgeRouterUnauthorized 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 NewDeleteEdgeRouterUnauthorized

func NewDeleteEdgeRouterUnauthorized() *DeleteEdgeRouterUnauthorized

NewDeleteEdgeRouterUnauthorized creates a DeleteEdgeRouterUnauthorized with default headers values

func (*DeleteEdgeRouterUnauthorized) Error

func (*DeleteEdgeRouterUnauthorized) GetPayload

type DetailEdgeRouterNotFound

type DetailEdgeRouterNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
DetailEdgeRouterNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewDetailEdgeRouterNotFound

func NewDetailEdgeRouterNotFound() *DetailEdgeRouterNotFound

NewDetailEdgeRouterNotFound creates a DetailEdgeRouterNotFound with default headers values

func (*DetailEdgeRouterNotFound) Error

func (o *DetailEdgeRouterNotFound) Error() string

func (*DetailEdgeRouterNotFound) GetPayload

type DetailEdgeRouterOK

type DetailEdgeRouterOK struct {
	Payload *rest_model.DetailedEdgeRouterEnvelope
}
DetailEdgeRouterOK describes a response with status code 200, with default header values.

A singular edge router resource

func NewDetailEdgeRouterOK

func NewDetailEdgeRouterOK() *DetailEdgeRouterOK

NewDetailEdgeRouterOK creates a DetailEdgeRouterOK with default headers values

func (*DetailEdgeRouterOK) Error

func (o *DetailEdgeRouterOK) Error() string

func (*DetailEdgeRouterOK) GetPayload

type DetailEdgeRouterParams

type DetailEdgeRouterParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DetailEdgeRouterParams contains all the parameters to send to the API endpoint

for the detail edge router operation.

Typically these are written to a http.Request.

func NewDetailEdgeRouterParams

func NewDetailEdgeRouterParams() *DetailEdgeRouterParams

NewDetailEdgeRouterParams creates a new DetailEdgeRouterParams 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 NewDetailEdgeRouterParamsWithContext

func NewDetailEdgeRouterParamsWithContext(ctx context.Context) *DetailEdgeRouterParams

NewDetailEdgeRouterParamsWithContext creates a new DetailEdgeRouterParams object with the ability to set a context for a request.

func NewDetailEdgeRouterParamsWithHTTPClient

func NewDetailEdgeRouterParamsWithHTTPClient(client *http.Client) *DetailEdgeRouterParams

NewDetailEdgeRouterParamsWithHTTPClient creates a new DetailEdgeRouterParams object with the ability to set a custom HTTPClient for a request.

func NewDetailEdgeRouterParamsWithTimeout

func NewDetailEdgeRouterParamsWithTimeout(timeout time.Duration) *DetailEdgeRouterParams

NewDetailEdgeRouterParamsWithTimeout creates a new DetailEdgeRouterParams object with the ability to set a timeout on a request.

func (*DetailEdgeRouterParams) SetContext

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

SetContext adds the context to the detail edge router params

func (*DetailEdgeRouterParams) SetDefaults

func (o *DetailEdgeRouterParams) SetDefaults()

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

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

func (*DetailEdgeRouterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the detail edge router params

func (*DetailEdgeRouterParams) SetID

func (o *DetailEdgeRouterParams) SetID(id string)

SetID adds the id to the detail edge router params

func (*DetailEdgeRouterParams) SetTimeout

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

SetTimeout adds the timeout to the detail edge router params

func (*DetailEdgeRouterParams) WithContext

WithContext adds the context to the detail edge router params

func (*DetailEdgeRouterParams) WithDefaults

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

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

func (*DetailEdgeRouterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the detail edge router params

func (*DetailEdgeRouterParams) WithID

WithID adds the id to the detail edge router params

func (*DetailEdgeRouterParams) WithTimeout

WithTimeout adds the timeout to the detail edge router params

func (*DetailEdgeRouterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DetailEdgeRouterReader

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

DetailEdgeRouterReader is a Reader for the DetailEdgeRouter structure.

func (*DetailEdgeRouterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DetailEdgeRouterUnauthorized

type DetailEdgeRouterUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
DetailEdgeRouterUnauthorized 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 NewDetailEdgeRouterUnauthorized

func NewDetailEdgeRouterUnauthorized() *DetailEdgeRouterUnauthorized

NewDetailEdgeRouterUnauthorized creates a DetailEdgeRouterUnauthorized with default headers values

func (*DetailEdgeRouterUnauthorized) Error

func (*DetailEdgeRouterUnauthorized) GetPayload

type ListEdgeRouterEdgeRouterPoliciesNotFound

type ListEdgeRouterEdgeRouterPoliciesNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
ListEdgeRouterEdgeRouterPoliciesNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewListEdgeRouterEdgeRouterPoliciesNotFound

func NewListEdgeRouterEdgeRouterPoliciesNotFound() *ListEdgeRouterEdgeRouterPoliciesNotFound

NewListEdgeRouterEdgeRouterPoliciesNotFound creates a ListEdgeRouterEdgeRouterPoliciesNotFound with default headers values

func (*ListEdgeRouterEdgeRouterPoliciesNotFound) Error

func (*ListEdgeRouterEdgeRouterPoliciesNotFound) GetPayload

type ListEdgeRouterEdgeRouterPoliciesOK

type ListEdgeRouterEdgeRouterPoliciesOK struct {
	Payload *rest_model.ListEdgeRouterPoliciesEnvelope
}
ListEdgeRouterEdgeRouterPoliciesOK describes a response with status code 200, with default header values.

A list of edge router policies

func NewListEdgeRouterEdgeRouterPoliciesOK

func NewListEdgeRouterEdgeRouterPoliciesOK() *ListEdgeRouterEdgeRouterPoliciesOK

NewListEdgeRouterEdgeRouterPoliciesOK creates a ListEdgeRouterEdgeRouterPoliciesOK with default headers values

func (*ListEdgeRouterEdgeRouterPoliciesOK) Error

func (*ListEdgeRouterEdgeRouterPoliciesOK) GetPayload

type ListEdgeRouterEdgeRouterPoliciesParams

type ListEdgeRouterEdgeRouterPoliciesParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

ListEdgeRouterEdgeRouterPoliciesParams contains all the parameters to send to the API endpoint

for the list edge router edge router policies operation.

Typically these are written to a http.Request.

func NewListEdgeRouterEdgeRouterPoliciesParams

func NewListEdgeRouterEdgeRouterPoliciesParams() *ListEdgeRouterEdgeRouterPoliciesParams

NewListEdgeRouterEdgeRouterPoliciesParams creates a new ListEdgeRouterEdgeRouterPoliciesParams 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 NewListEdgeRouterEdgeRouterPoliciesParamsWithContext

func NewListEdgeRouterEdgeRouterPoliciesParamsWithContext(ctx context.Context) *ListEdgeRouterEdgeRouterPoliciesParams

NewListEdgeRouterEdgeRouterPoliciesParamsWithContext creates a new ListEdgeRouterEdgeRouterPoliciesParams object with the ability to set a context for a request.

func NewListEdgeRouterEdgeRouterPoliciesParamsWithHTTPClient

func NewListEdgeRouterEdgeRouterPoliciesParamsWithHTTPClient(client *http.Client) *ListEdgeRouterEdgeRouterPoliciesParams

NewListEdgeRouterEdgeRouterPoliciesParamsWithHTTPClient creates a new ListEdgeRouterEdgeRouterPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewListEdgeRouterEdgeRouterPoliciesParamsWithTimeout

func NewListEdgeRouterEdgeRouterPoliciesParamsWithTimeout(timeout time.Duration) *ListEdgeRouterEdgeRouterPoliciesParams

NewListEdgeRouterEdgeRouterPoliciesParamsWithTimeout creates a new ListEdgeRouterEdgeRouterPoliciesParams object with the ability to set a timeout on a request.

func (*ListEdgeRouterEdgeRouterPoliciesParams) SetContext

SetContext adds the context to the list edge router edge router policies params

func (*ListEdgeRouterEdgeRouterPoliciesParams) SetDefaults

func (o *ListEdgeRouterEdgeRouterPoliciesParams) SetDefaults()

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

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

func (*ListEdgeRouterEdgeRouterPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list edge router edge router policies params

func (*ListEdgeRouterEdgeRouterPoliciesParams) SetID

SetID adds the id to the list edge router edge router policies params

func (*ListEdgeRouterEdgeRouterPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the list edge router edge router policies params

func (*ListEdgeRouterEdgeRouterPoliciesParams) WithContext

WithContext adds the context to the list edge router edge router policies params

func (*ListEdgeRouterEdgeRouterPoliciesParams) WithDefaults

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

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

func (*ListEdgeRouterEdgeRouterPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list edge router edge router policies params

func (*ListEdgeRouterEdgeRouterPoliciesParams) WithID

WithID adds the id to the list edge router edge router policies params

func (*ListEdgeRouterEdgeRouterPoliciesParams) WithTimeout

WithTimeout adds the timeout to the list edge router edge router policies params

func (*ListEdgeRouterEdgeRouterPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListEdgeRouterEdgeRouterPoliciesReader

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

ListEdgeRouterEdgeRouterPoliciesReader is a Reader for the ListEdgeRouterEdgeRouterPolicies structure.

func (*ListEdgeRouterEdgeRouterPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListEdgeRouterEdgeRouterPoliciesUnauthorized

type ListEdgeRouterEdgeRouterPoliciesUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ListEdgeRouterEdgeRouterPoliciesUnauthorized 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 NewListEdgeRouterEdgeRouterPoliciesUnauthorized

func NewListEdgeRouterEdgeRouterPoliciesUnauthorized() *ListEdgeRouterEdgeRouterPoliciesUnauthorized

NewListEdgeRouterEdgeRouterPoliciesUnauthorized creates a ListEdgeRouterEdgeRouterPoliciesUnauthorized with default headers values

func (*ListEdgeRouterEdgeRouterPoliciesUnauthorized) Error

func (*ListEdgeRouterEdgeRouterPoliciesUnauthorized) GetPayload

type ListEdgeRouterIdentitiesNotFound

type ListEdgeRouterIdentitiesNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
ListEdgeRouterIdentitiesNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewListEdgeRouterIdentitiesNotFound

func NewListEdgeRouterIdentitiesNotFound() *ListEdgeRouterIdentitiesNotFound

NewListEdgeRouterIdentitiesNotFound creates a ListEdgeRouterIdentitiesNotFound with default headers values

func (*ListEdgeRouterIdentitiesNotFound) Error

func (*ListEdgeRouterIdentitiesNotFound) GetPayload

type ListEdgeRouterIdentitiesOK

type ListEdgeRouterIdentitiesOK struct {
	Payload *rest_model.ListIdentitiesEnvelope
}
ListEdgeRouterIdentitiesOK describes a response with status code 200, with default header values.

A list of identities

func NewListEdgeRouterIdentitiesOK

func NewListEdgeRouterIdentitiesOK() *ListEdgeRouterIdentitiesOK

NewListEdgeRouterIdentitiesOK creates a ListEdgeRouterIdentitiesOK with default headers values

func (*ListEdgeRouterIdentitiesOK) Error

func (*ListEdgeRouterIdentitiesOK) GetPayload

type ListEdgeRouterIdentitiesParams

type ListEdgeRouterIdentitiesParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

ListEdgeRouterIdentitiesParams contains all the parameters to send to the API endpoint

for the list edge router identities operation.

Typically these are written to a http.Request.

func NewListEdgeRouterIdentitiesParams

func NewListEdgeRouterIdentitiesParams() *ListEdgeRouterIdentitiesParams

NewListEdgeRouterIdentitiesParams creates a new ListEdgeRouterIdentitiesParams 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 NewListEdgeRouterIdentitiesParamsWithContext

func NewListEdgeRouterIdentitiesParamsWithContext(ctx context.Context) *ListEdgeRouterIdentitiesParams

NewListEdgeRouterIdentitiesParamsWithContext creates a new ListEdgeRouterIdentitiesParams object with the ability to set a context for a request.

func NewListEdgeRouterIdentitiesParamsWithHTTPClient

func NewListEdgeRouterIdentitiesParamsWithHTTPClient(client *http.Client) *ListEdgeRouterIdentitiesParams

NewListEdgeRouterIdentitiesParamsWithHTTPClient creates a new ListEdgeRouterIdentitiesParams object with the ability to set a custom HTTPClient for a request.

func NewListEdgeRouterIdentitiesParamsWithTimeout

func NewListEdgeRouterIdentitiesParamsWithTimeout(timeout time.Duration) *ListEdgeRouterIdentitiesParams

NewListEdgeRouterIdentitiesParamsWithTimeout creates a new ListEdgeRouterIdentitiesParams object with the ability to set a timeout on a request.

func (*ListEdgeRouterIdentitiesParams) SetContext

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

SetContext adds the context to the list edge router identities params

func (*ListEdgeRouterIdentitiesParams) SetDefaults

func (o *ListEdgeRouterIdentitiesParams) SetDefaults()

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

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

func (*ListEdgeRouterIdentitiesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list edge router identities params

func (*ListEdgeRouterIdentitiesParams) SetID

SetID adds the id to the list edge router identities params

func (*ListEdgeRouterIdentitiesParams) SetTimeout

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

SetTimeout adds the timeout to the list edge router identities params

func (*ListEdgeRouterIdentitiesParams) WithContext

WithContext adds the context to the list edge router identities params

func (*ListEdgeRouterIdentitiesParams) WithDefaults

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

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

func (*ListEdgeRouterIdentitiesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list edge router identities params

func (*ListEdgeRouterIdentitiesParams) WithID

WithID adds the id to the list edge router identities params

func (*ListEdgeRouterIdentitiesParams) WithTimeout

WithTimeout adds the timeout to the list edge router identities params

func (*ListEdgeRouterIdentitiesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListEdgeRouterIdentitiesReader

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

ListEdgeRouterIdentitiesReader is a Reader for the ListEdgeRouterIdentities structure.

func (*ListEdgeRouterIdentitiesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListEdgeRouterIdentitiesUnauthorized

type ListEdgeRouterIdentitiesUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ListEdgeRouterIdentitiesUnauthorized 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 NewListEdgeRouterIdentitiesUnauthorized

func NewListEdgeRouterIdentitiesUnauthorized() *ListEdgeRouterIdentitiesUnauthorized

NewListEdgeRouterIdentitiesUnauthorized creates a ListEdgeRouterIdentitiesUnauthorized with default headers values

func (*ListEdgeRouterIdentitiesUnauthorized) Error

func (*ListEdgeRouterIdentitiesUnauthorized) GetPayload

type ListEdgeRouterServiceEdgeRouterPoliciesNotFound

type ListEdgeRouterServiceEdgeRouterPoliciesNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
ListEdgeRouterServiceEdgeRouterPoliciesNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewListEdgeRouterServiceEdgeRouterPoliciesNotFound

func NewListEdgeRouterServiceEdgeRouterPoliciesNotFound() *ListEdgeRouterServiceEdgeRouterPoliciesNotFound

NewListEdgeRouterServiceEdgeRouterPoliciesNotFound creates a ListEdgeRouterServiceEdgeRouterPoliciesNotFound with default headers values

func (*ListEdgeRouterServiceEdgeRouterPoliciesNotFound) Error

func (*ListEdgeRouterServiceEdgeRouterPoliciesNotFound) GetPayload

type ListEdgeRouterServiceEdgeRouterPoliciesOK

type ListEdgeRouterServiceEdgeRouterPoliciesOK struct {
	Payload *rest_model.ListServicePoliciesEnvelope
}
ListEdgeRouterServiceEdgeRouterPoliciesOK describes a response with status code 200, with default header values.

A list of service policies

func NewListEdgeRouterServiceEdgeRouterPoliciesOK

func NewListEdgeRouterServiceEdgeRouterPoliciesOK() *ListEdgeRouterServiceEdgeRouterPoliciesOK

NewListEdgeRouterServiceEdgeRouterPoliciesOK creates a ListEdgeRouterServiceEdgeRouterPoliciesOK with default headers values

func (*ListEdgeRouterServiceEdgeRouterPoliciesOK) Error

func (*ListEdgeRouterServiceEdgeRouterPoliciesOK) GetPayload

type ListEdgeRouterServiceEdgeRouterPoliciesParams

type ListEdgeRouterServiceEdgeRouterPoliciesParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

ListEdgeRouterServiceEdgeRouterPoliciesParams contains all the parameters to send to the API endpoint

for the list edge router service edge router policies operation.

Typically these are written to a http.Request.

func NewListEdgeRouterServiceEdgeRouterPoliciesParams

func NewListEdgeRouterServiceEdgeRouterPoliciesParams() *ListEdgeRouterServiceEdgeRouterPoliciesParams

NewListEdgeRouterServiceEdgeRouterPoliciesParams creates a new ListEdgeRouterServiceEdgeRouterPoliciesParams 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 NewListEdgeRouterServiceEdgeRouterPoliciesParamsWithContext

func NewListEdgeRouterServiceEdgeRouterPoliciesParamsWithContext(ctx context.Context) *ListEdgeRouterServiceEdgeRouterPoliciesParams

NewListEdgeRouterServiceEdgeRouterPoliciesParamsWithContext creates a new ListEdgeRouterServiceEdgeRouterPoliciesParams object with the ability to set a context for a request.

func NewListEdgeRouterServiceEdgeRouterPoliciesParamsWithHTTPClient

func NewListEdgeRouterServiceEdgeRouterPoliciesParamsWithHTTPClient(client *http.Client) *ListEdgeRouterServiceEdgeRouterPoliciesParams

NewListEdgeRouterServiceEdgeRouterPoliciesParamsWithHTTPClient creates a new ListEdgeRouterServiceEdgeRouterPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewListEdgeRouterServiceEdgeRouterPoliciesParamsWithTimeout

func NewListEdgeRouterServiceEdgeRouterPoliciesParamsWithTimeout(timeout time.Duration) *ListEdgeRouterServiceEdgeRouterPoliciesParams

NewListEdgeRouterServiceEdgeRouterPoliciesParamsWithTimeout creates a new ListEdgeRouterServiceEdgeRouterPoliciesParams object with the ability to set a timeout on a request.

func (*ListEdgeRouterServiceEdgeRouterPoliciesParams) SetContext

SetContext adds the context to the list edge router service edge router policies params

func (*ListEdgeRouterServiceEdgeRouterPoliciesParams) SetDefaults

SetDefaults hydrates default values in the list edge router service edge router policies params (not the query body).

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

func (*ListEdgeRouterServiceEdgeRouterPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list edge router service edge router policies params

func (*ListEdgeRouterServiceEdgeRouterPoliciesParams) SetID

SetID adds the id to the list edge router service edge router policies params

func (*ListEdgeRouterServiceEdgeRouterPoliciesParams) SetTimeout

SetTimeout adds the timeout to the list edge router service edge router policies params

func (*ListEdgeRouterServiceEdgeRouterPoliciesParams) WithContext

WithContext adds the context to the list edge router service edge router policies params

func (*ListEdgeRouterServiceEdgeRouterPoliciesParams) WithDefaults

WithDefaults hydrates default values in the list edge router service edge router policies params (not the query body).

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

func (*ListEdgeRouterServiceEdgeRouterPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list edge router service edge router policies params

func (*ListEdgeRouterServiceEdgeRouterPoliciesParams) WithID

WithID adds the id to the list edge router service edge router policies params

func (*ListEdgeRouterServiceEdgeRouterPoliciesParams) WithTimeout

WithTimeout adds the timeout to the list edge router service edge router policies params

func (*ListEdgeRouterServiceEdgeRouterPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListEdgeRouterServiceEdgeRouterPoliciesReader

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

ListEdgeRouterServiceEdgeRouterPoliciesReader is a Reader for the ListEdgeRouterServiceEdgeRouterPolicies structure.

func (*ListEdgeRouterServiceEdgeRouterPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListEdgeRouterServiceEdgeRouterPoliciesUnauthorized

type ListEdgeRouterServiceEdgeRouterPoliciesUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ListEdgeRouterServiceEdgeRouterPoliciesUnauthorized 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 NewListEdgeRouterServiceEdgeRouterPoliciesUnauthorized

func NewListEdgeRouterServiceEdgeRouterPoliciesUnauthorized() *ListEdgeRouterServiceEdgeRouterPoliciesUnauthorized

NewListEdgeRouterServiceEdgeRouterPoliciesUnauthorized creates a ListEdgeRouterServiceEdgeRouterPoliciesUnauthorized with default headers values

func (*ListEdgeRouterServiceEdgeRouterPoliciesUnauthorized) Error

func (*ListEdgeRouterServiceEdgeRouterPoliciesUnauthorized) GetPayload

type ListEdgeRouterServicesNotFound

type ListEdgeRouterServicesNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
ListEdgeRouterServicesNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewListEdgeRouterServicesNotFound

func NewListEdgeRouterServicesNotFound() *ListEdgeRouterServicesNotFound

NewListEdgeRouterServicesNotFound creates a ListEdgeRouterServicesNotFound with default headers values

func (*ListEdgeRouterServicesNotFound) Error

func (*ListEdgeRouterServicesNotFound) GetPayload

type ListEdgeRouterServicesOK

type ListEdgeRouterServicesOK struct {
	Payload *rest_model.ListServicesEnvelope
}
ListEdgeRouterServicesOK describes a response with status code 200, with default header values.

A list of services

func NewListEdgeRouterServicesOK

func NewListEdgeRouterServicesOK() *ListEdgeRouterServicesOK

NewListEdgeRouterServicesOK creates a ListEdgeRouterServicesOK with default headers values

func (*ListEdgeRouterServicesOK) Error

func (o *ListEdgeRouterServicesOK) Error() string

func (*ListEdgeRouterServicesOK) GetPayload

type ListEdgeRouterServicesParams

type ListEdgeRouterServicesParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

ListEdgeRouterServicesParams contains all the parameters to send to the API endpoint

for the list edge router services operation.

Typically these are written to a http.Request.

func NewListEdgeRouterServicesParams

func NewListEdgeRouterServicesParams() *ListEdgeRouterServicesParams

NewListEdgeRouterServicesParams creates a new ListEdgeRouterServicesParams 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 NewListEdgeRouterServicesParamsWithContext

func NewListEdgeRouterServicesParamsWithContext(ctx context.Context) *ListEdgeRouterServicesParams

NewListEdgeRouterServicesParamsWithContext creates a new ListEdgeRouterServicesParams object with the ability to set a context for a request.

func NewListEdgeRouterServicesParamsWithHTTPClient

func NewListEdgeRouterServicesParamsWithHTTPClient(client *http.Client) *ListEdgeRouterServicesParams

NewListEdgeRouterServicesParamsWithHTTPClient creates a new ListEdgeRouterServicesParams object with the ability to set a custom HTTPClient for a request.

func NewListEdgeRouterServicesParamsWithTimeout

func NewListEdgeRouterServicesParamsWithTimeout(timeout time.Duration) *ListEdgeRouterServicesParams

NewListEdgeRouterServicesParamsWithTimeout creates a new ListEdgeRouterServicesParams object with the ability to set a timeout on a request.

func (*ListEdgeRouterServicesParams) SetContext

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

SetContext adds the context to the list edge router services params

func (*ListEdgeRouterServicesParams) SetDefaults

func (o *ListEdgeRouterServicesParams) SetDefaults()

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

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

func (*ListEdgeRouterServicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list edge router services params

func (*ListEdgeRouterServicesParams) SetID

func (o *ListEdgeRouterServicesParams) SetID(id string)

SetID adds the id to the list edge router services params

func (*ListEdgeRouterServicesParams) SetTimeout

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

SetTimeout adds the timeout to the list edge router services params

func (*ListEdgeRouterServicesParams) WithContext

WithContext adds the context to the list edge router services params

func (*ListEdgeRouterServicesParams) WithDefaults

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

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

func (*ListEdgeRouterServicesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list edge router services params

func (*ListEdgeRouterServicesParams) WithID

WithID adds the id to the list edge router services params

func (*ListEdgeRouterServicesParams) WithTimeout

WithTimeout adds the timeout to the list edge router services params

func (*ListEdgeRouterServicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListEdgeRouterServicesReader

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

ListEdgeRouterServicesReader is a Reader for the ListEdgeRouterServices structure.

func (*ListEdgeRouterServicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListEdgeRouterServicesUnauthorized

type ListEdgeRouterServicesUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ListEdgeRouterServicesUnauthorized 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 NewListEdgeRouterServicesUnauthorized

func NewListEdgeRouterServicesUnauthorized() *ListEdgeRouterServicesUnauthorized

NewListEdgeRouterServicesUnauthorized creates a ListEdgeRouterServicesUnauthorized with default headers values

func (*ListEdgeRouterServicesUnauthorized) Error

func (*ListEdgeRouterServicesUnauthorized) GetPayload

type ListEdgeRoutersBadRequest added in v0.19.176

type ListEdgeRoutersBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
ListEdgeRoutersBadRequest 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 NewListEdgeRoutersBadRequest added in v0.19.176

func NewListEdgeRoutersBadRequest() *ListEdgeRoutersBadRequest

NewListEdgeRoutersBadRequest creates a ListEdgeRoutersBadRequest with default headers values

func (*ListEdgeRoutersBadRequest) Error added in v0.19.176

func (o *ListEdgeRoutersBadRequest) Error() string

func (*ListEdgeRoutersBadRequest) GetPayload added in v0.19.176

type ListEdgeRoutersOK

type ListEdgeRoutersOK struct {
	Payload *rest_model.ListEdgeRoutersEnvelope
}
ListEdgeRoutersOK describes a response with status code 200, with default header values.

A list of edge routers

func NewListEdgeRoutersOK

func NewListEdgeRoutersOK() *ListEdgeRoutersOK

NewListEdgeRoutersOK creates a ListEdgeRoutersOK with default headers values

func (*ListEdgeRoutersOK) Error

func (o *ListEdgeRoutersOK) Error() string

func (*ListEdgeRoutersOK) GetPayload

type ListEdgeRoutersParams

type ListEdgeRoutersParams struct {

	// Filter.
	Filter *string

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

	// RoleFilter.
	RoleFilter []string

	// RoleSemantic.
	RoleSemantic *string

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

ListEdgeRoutersParams contains all the parameters to send to the API endpoint

for the list edge routers operation.

Typically these are written to a http.Request.

func NewListEdgeRoutersParams

func NewListEdgeRoutersParams() *ListEdgeRoutersParams

NewListEdgeRoutersParams creates a new ListEdgeRoutersParams 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 NewListEdgeRoutersParamsWithContext

func NewListEdgeRoutersParamsWithContext(ctx context.Context) *ListEdgeRoutersParams

NewListEdgeRoutersParamsWithContext creates a new ListEdgeRoutersParams object with the ability to set a context for a request.

func NewListEdgeRoutersParamsWithHTTPClient

func NewListEdgeRoutersParamsWithHTTPClient(client *http.Client) *ListEdgeRoutersParams

NewListEdgeRoutersParamsWithHTTPClient creates a new ListEdgeRoutersParams object with the ability to set a custom HTTPClient for a request.

func NewListEdgeRoutersParamsWithTimeout

func NewListEdgeRoutersParamsWithTimeout(timeout time.Duration) *ListEdgeRoutersParams

NewListEdgeRoutersParamsWithTimeout creates a new ListEdgeRoutersParams object with the ability to set a timeout on a request.

func (*ListEdgeRoutersParams) SetContext

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

SetContext adds the context to the list edge routers params

func (*ListEdgeRoutersParams) SetDefaults

func (o *ListEdgeRoutersParams) SetDefaults()

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

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

func (*ListEdgeRoutersParams) SetFilter

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

SetFilter adds the filter to the list edge routers params

func (*ListEdgeRoutersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list edge routers params

func (*ListEdgeRoutersParams) SetLimit

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

SetLimit adds the limit to the list edge routers params

func (*ListEdgeRoutersParams) SetOffset

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

SetOffset adds the offset to the list edge routers params

func (*ListEdgeRoutersParams) SetRoleFilter

func (o *ListEdgeRoutersParams) SetRoleFilter(roleFilter []string)

SetRoleFilter adds the roleFilter to the list edge routers params

func (*ListEdgeRoutersParams) SetRoleSemantic

func (o *ListEdgeRoutersParams) SetRoleSemantic(roleSemantic *string)

SetRoleSemantic adds the roleSemantic to the list edge routers params

func (*ListEdgeRoutersParams) SetTimeout

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

SetTimeout adds the timeout to the list edge routers params

func (*ListEdgeRoutersParams) WithContext

WithContext adds the context to the list edge routers params

func (*ListEdgeRoutersParams) WithDefaults

func (o *ListEdgeRoutersParams) WithDefaults() *ListEdgeRoutersParams

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

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

func (*ListEdgeRoutersParams) WithFilter

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

WithFilter adds the filter to the list edge routers params

func (*ListEdgeRoutersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list edge routers params

func (*ListEdgeRoutersParams) WithLimit

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

WithLimit adds the limit to the list edge routers params

func (*ListEdgeRoutersParams) WithOffset

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

WithOffset adds the offset to the list edge routers params

func (*ListEdgeRoutersParams) WithRoleFilter

func (o *ListEdgeRoutersParams) WithRoleFilter(roleFilter []string) *ListEdgeRoutersParams

WithRoleFilter adds the roleFilter to the list edge routers params

func (*ListEdgeRoutersParams) WithRoleSemantic

func (o *ListEdgeRoutersParams) WithRoleSemantic(roleSemantic *string) *ListEdgeRoutersParams

WithRoleSemantic adds the roleSemantic to the list edge routers params

func (*ListEdgeRoutersParams) WithTimeout

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

WithTimeout adds the timeout to the list edge routers params

func (*ListEdgeRoutersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListEdgeRoutersReader

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

ListEdgeRoutersReader is a Reader for the ListEdgeRouters structure.

func (*ListEdgeRoutersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListEdgeRoutersUnauthorized

type ListEdgeRoutersUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ListEdgeRoutersUnauthorized 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 NewListEdgeRoutersUnauthorized

func NewListEdgeRoutersUnauthorized() *ListEdgeRoutersUnauthorized

NewListEdgeRoutersUnauthorized creates a ListEdgeRoutersUnauthorized with default headers values

func (*ListEdgeRoutersUnauthorized) Error

func (*ListEdgeRoutersUnauthorized) GetPayload

type PatchEdgeRouterBadRequest

type PatchEdgeRouterBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchEdgeRouterBadRequest 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 NewPatchEdgeRouterBadRequest

func NewPatchEdgeRouterBadRequest() *PatchEdgeRouterBadRequest

NewPatchEdgeRouterBadRequest creates a PatchEdgeRouterBadRequest with default headers values

func (*PatchEdgeRouterBadRequest) Error

func (o *PatchEdgeRouterBadRequest) Error() string

func (*PatchEdgeRouterBadRequest) GetPayload

type PatchEdgeRouterNotFound

type PatchEdgeRouterNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchEdgeRouterNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewPatchEdgeRouterNotFound

func NewPatchEdgeRouterNotFound() *PatchEdgeRouterNotFound

NewPatchEdgeRouterNotFound creates a PatchEdgeRouterNotFound with default headers values

func (*PatchEdgeRouterNotFound) Error

func (o *PatchEdgeRouterNotFound) Error() string

func (*PatchEdgeRouterNotFound) GetPayload

type PatchEdgeRouterOK

type PatchEdgeRouterOK struct {
	Payload *rest_model.Empty
}
PatchEdgeRouterOK describes a response with status code 200, with default header values.

The patch request was successful and the resource has been altered

func NewPatchEdgeRouterOK

func NewPatchEdgeRouterOK() *PatchEdgeRouterOK

NewPatchEdgeRouterOK creates a PatchEdgeRouterOK with default headers values

func (*PatchEdgeRouterOK) Error

func (o *PatchEdgeRouterOK) Error() string

func (*PatchEdgeRouterOK) GetPayload

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

type PatchEdgeRouterParams

type PatchEdgeRouterParams struct {

	/* EdgeRouter.

	   An edge router patch object
	*/
	EdgeRouter *rest_model.EdgeRouterPatch

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

PatchEdgeRouterParams contains all the parameters to send to the API endpoint

for the patch edge router operation.

Typically these are written to a http.Request.

func NewPatchEdgeRouterParams

func NewPatchEdgeRouterParams() *PatchEdgeRouterParams

NewPatchEdgeRouterParams creates a new PatchEdgeRouterParams 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 NewPatchEdgeRouterParamsWithContext

func NewPatchEdgeRouterParamsWithContext(ctx context.Context) *PatchEdgeRouterParams

NewPatchEdgeRouterParamsWithContext creates a new PatchEdgeRouterParams object with the ability to set a context for a request.

func NewPatchEdgeRouterParamsWithHTTPClient

func NewPatchEdgeRouterParamsWithHTTPClient(client *http.Client) *PatchEdgeRouterParams

NewPatchEdgeRouterParamsWithHTTPClient creates a new PatchEdgeRouterParams object with the ability to set a custom HTTPClient for a request.

func NewPatchEdgeRouterParamsWithTimeout

func NewPatchEdgeRouterParamsWithTimeout(timeout time.Duration) *PatchEdgeRouterParams

NewPatchEdgeRouterParamsWithTimeout creates a new PatchEdgeRouterParams object with the ability to set a timeout on a request.

func (*PatchEdgeRouterParams) SetContext

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

SetContext adds the context to the patch edge router params

func (*PatchEdgeRouterParams) SetDefaults

func (o *PatchEdgeRouterParams) SetDefaults()

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

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

func (*PatchEdgeRouterParams) SetEdgeRouter

func (o *PatchEdgeRouterParams) SetEdgeRouter(edgeRouter *rest_model.EdgeRouterPatch)

SetEdgeRouter adds the edgeRouter to the patch edge router params

func (*PatchEdgeRouterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch edge router params

func (*PatchEdgeRouterParams) SetID

func (o *PatchEdgeRouterParams) SetID(id string)

SetID adds the id to the patch edge router params

func (*PatchEdgeRouterParams) SetTimeout

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

SetTimeout adds the timeout to the patch edge router params

func (*PatchEdgeRouterParams) WithContext

WithContext adds the context to the patch edge router params

func (*PatchEdgeRouterParams) WithDefaults

func (o *PatchEdgeRouterParams) WithDefaults() *PatchEdgeRouterParams

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

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

func (*PatchEdgeRouterParams) WithEdgeRouter

WithEdgeRouter adds the edgeRouter to the patch edge router params

func (*PatchEdgeRouterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch edge router params

func (*PatchEdgeRouterParams) WithID

WithID adds the id to the patch edge router params

func (*PatchEdgeRouterParams) WithTimeout

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

WithTimeout adds the timeout to the patch edge router params

func (*PatchEdgeRouterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchEdgeRouterReader

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

PatchEdgeRouterReader is a Reader for the PatchEdgeRouter structure.

func (*PatchEdgeRouterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchEdgeRouterUnauthorized

type PatchEdgeRouterUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchEdgeRouterUnauthorized 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 NewPatchEdgeRouterUnauthorized

func NewPatchEdgeRouterUnauthorized() *PatchEdgeRouterUnauthorized

NewPatchEdgeRouterUnauthorized creates a PatchEdgeRouterUnauthorized with default headers values

func (*PatchEdgeRouterUnauthorized) Error

func (*PatchEdgeRouterUnauthorized) GetPayload

type ReEnrollEdgeRouterNotFound added in v0.21.21

type ReEnrollEdgeRouterNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
ReEnrollEdgeRouterNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewReEnrollEdgeRouterNotFound added in v0.21.21

func NewReEnrollEdgeRouterNotFound() *ReEnrollEdgeRouterNotFound

NewReEnrollEdgeRouterNotFound creates a ReEnrollEdgeRouterNotFound with default headers values

func (*ReEnrollEdgeRouterNotFound) Error added in v0.21.21

func (*ReEnrollEdgeRouterNotFound) GetPayload added in v0.21.21

type ReEnrollEdgeRouterOK added in v0.21.21

type ReEnrollEdgeRouterOK struct {
	Payload *rest_model.Empty
}
ReEnrollEdgeRouterOK describes a response with status code 200, with default header values.

Base empty response

func NewReEnrollEdgeRouterOK added in v0.21.21

func NewReEnrollEdgeRouterOK() *ReEnrollEdgeRouterOK

NewReEnrollEdgeRouterOK creates a ReEnrollEdgeRouterOK with default headers values

func (*ReEnrollEdgeRouterOK) Error added in v0.21.21

func (o *ReEnrollEdgeRouterOK) Error() string

func (*ReEnrollEdgeRouterOK) GetPayload added in v0.21.21

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

type ReEnrollEdgeRouterParams added in v0.21.21

type ReEnrollEdgeRouterParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

ReEnrollEdgeRouterParams contains all the parameters to send to the API endpoint

for the re enroll edge router operation.

Typically these are written to a http.Request.

func NewReEnrollEdgeRouterParams added in v0.21.21

func NewReEnrollEdgeRouterParams() *ReEnrollEdgeRouterParams

NewReEnrollEdgeRouterParams creates a new ReEnrollEdgeRouterParams 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 NewReEnrollEdgeRouterParamsWithContext added in v0.21.21

func NewReEnrollEdgeRouterParamsWithContext(ctx context.Context) *ReEnrollEdgeRouterParams

NewReEnrollEdgeRouterParamsWithContext creates a new ReEnrollEdgeRouterParams object with the ability to set a context for a request.

func NewReEnrollEdgeRouterParamsWithHTTPClient added in v0.21.21

func NewReEnrollEdgeRouterParamsWithHTTPClient(client *http.Client) *ReEnrollEdgeRouterParams

NewReEnrollEdgeRouterParamsWithHTTPClient creates a new ReEnrollEdgeRouterParams object with the ability to set a custom HTTPClient for a request.

func NewReEnrollEdgeRouterParamsWithTimeout added in v0.21.21

func NewReEnrollEdgeRouterParamsWithTimeout(timeout time.Duration) *ReEnrollEdgeRouterParams

NewReEnrollEdgeRouterParamsWithTimeout creates a new ReEnrollEdgeRouterParams object with the ability to set a timeout on a request.

func (*ReEnrollEdgeRouterParams) SetContext added in v0.21.21

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

SetContext adds the context to the re enroll edge router params

func (*ReEnrollEdgeRouterParams) SetDefaults added in v0.21.21

func (o *ReEnrollEdgeRouterParams) SetDefaults()

SetDefaults hydrates default values in the re enroll edge router params (not the query body).

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

func (*ReEnrollEdgeRouterParams) SetHTTPClient added in v0.21.21

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

SetHTTPClient adds the HTTPClient to the re enroll edge router params

func (*ReEnrollEdgeRouterParams) SetID added in v0.21.21

func (o *ReEnrollEdgeRouterParams) SetID(id string)

SetID adds the id to the re enroll edge router params

func (*ReEnrollEdgeRouterParams) SetTimeout added in v0.21.21

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

SetTimeout adds the timeout to the re enroll edge router params

func (*ReEnrollEdgeRouterParams) WithContext added in v0.21.21

WithContext adds the context to the re enroll edge router params

func (*ReEnrollEdgeRouterParams) WithDefaults added in v0.21.21

WithDefaults hydrates default values in the re enroll edge router params (not the query body).

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

func (*ReEnrollEdgeRouterParams) WithHTTPClient added in v0.21.21

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

WithHTTPClient adds the HTTPClient to the re enroll edge router params

func (*ReEnrollEdgeRouterParams) WithID added in v0.21.21

WithID adds the id to the re enroll edge router params

func (*ReEnrollEdgeRouterParams) WithTimeout added in v0.21.21

WithTimeout adds the timeout to the re enroll edge router params

func (*ReEnrollEdgeRouterParams) WriteToRequest added in v0.21.21

WriteToRequest writes these params to a swagger request

type ReEnrollEdgeRouterReader added in v0.21.21

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

ReEnrollEdgeRouterReader is a Reader for the ReEnrollEdgeRouter structure.

func (*ReEnrollEdgeRouterReader) ReadResponse added in v0.21.21

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

ReadResponse reads a server response into the received o.

type ReEnrollEdgeRouterUnauthorized added in v0.21.21

type ReEnrollEdgeRouterUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ReEnrollEdgeRouterUnauthorized 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 NewReEnrollEdgeRouterUnauthorized added in v0.21.21

func NewReEnrollEdgeRouterUnauthorized() *ReEnrollEdgeRouterUnauthorized

NewReEnrollEdgeRouterUnauthorized creates a ReEnrollEdgeRouterUnauthorized with default headers values

func (*ReEnrollEdgeRouterUnauthorized) Error added in v0.21.21

func (*ReEnrollEdgeRouterUnauthorized) GetPayload added in v0.21.21

type UpdateEdgeRouterBadRequest

type UpdateEdgeRouterBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateEdgeRouterBadRequest 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 NewUpdateEdgeRouterBadRequest

func NewUpdateEdgeRouterBadRequest() *UpdateEdgeRouterBadRequest

NewUpdateEdgeRouterBadRequest creates a UpdateEdgeRouterBadRequest with default headers values

func (*UpdateEdgeRouterBadRequest) Error

func (*UpdateEdgeRouterBadRequest) GetPayload

type UpdateEdgeRouterNotFound

type UpdateEdgeRouterNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateEdgeRouterNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewUpdateEdgeRouterNotFound

func NewUpdateEdgeRouterNotFound() *UpdateEdgeRouterNotFound

NewUpdateEdgeRouterNotFound creates a UpdateEdgeRouterNotFound with default headers values

func (*UpdateEdgeRouterNotFound) Error

func (o *UpdateEdgeRouterNotFound) Error() string

func (*UpdateEdgeRouterNotFound) GetPayload

type UpdateEdgeRouterOK

type UpdateEdgeRouterOK struct {
	Payload *rest_model.Empty
}
UpdateEdgeRouterOK describes a response with status code 200, with default header values.

The update request was successful and the resource has been altered

func NewUpdateEdgeRouterOK

func NewUpdateEdgeRouterOK() *UpdateEdgeRouterOK

NewUpdateEdgeRouterOK creates a UpdateEdgeRouterOK with default headers values

func (*UpdateEdgeRouterOK) Error

func (o *UpdateEdgeRouterOK) Error() string

func (*UpdateEdgeRouterOK) GetPayload

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

type UpdateEdgeRouterParams

type UpdateEdgeRouterParams struct {

	/* EdgeRouter.

	   An edge router update object
	*/
	EdgeRouter *rest_model.EdgeRouterUpdate

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

UpdateEdgeRouterParams contains all the parameters to send to the API endpoint

for the update edge router operation.

Typically these are written to a http.Request.

func NewUpdateEdgeRouterParams

func NewUpdateEdgeRouterParams() *UpdateEdgeRouterParams

NewUpdateEdgeRouterParams creates a new UpdateEdgeRouterParams 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 NewUpdateEdgeRouterParamsWithContext

func NewUpdateEdgeRouterParamsWithContext(ctx context.Context) *UpdateEdgeRouterParams

NewUpdateEdgeRouterParamsWithContext creates a new UpdateEdgeRouterParams object with the ability to set a context for a request.

func NewUpdateEdgeRouterParamsWithHTTPClient

func NewUpdateEdgeRouterParamsWithHTTPClient(client *http.Client) *UpdateEdgeRouterParams

NewUpdateEdgeRouterParamsWithHTTPClient creates a new UpdateEdgeRouterParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateEdgeRouterParamsWithTimeout

func NewUpdateEdgeRouterParamsWithTimeout(timeout time.Duration) *UpdateEdgeRouterParams

NewUpdateEdgeRouterParamsWithTimeout creates a new UpdateEdgeRouterParams object with the ability to set a timeout on a request.

func (*UpdateEdgeRouterParams) SetContext

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

SetContext adds the context to the update edge router params

func (*UpdateEdgeRouterParams) SetDefaults

func (o *UpdateEdgeRouterParams) SetDefaults()

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

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

func (*UpdateEdgeRouterParams) SetEdgeRouter

func (o *UpdateEdgeRouterParams) SetEdgeRouter(edgeRouter *rest_model.EdgeRouterUpdate)

SetEdgeRouter adds the edgeRouter to the update edge router params

func (*UpdateEdgeRouterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update edge router params

func (*UpdateEdgeRouterParams) SetID

func (o *UpdateEdgeRouterParams) SetID(id string)

SetID adds the id to the update edge router params

func (*UpdateEdgeRouterParams) SetTimeout

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

SetTimeout adds the timeout to the update edge router params

func (*UpdateEdgeRouterParams) WithContext

WithContext adds the context to the update edge router params

func (*UpdateEdgeRouterParams) WithDefaults

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

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

func (*UpdateEdgeRouterParams) WithEdgeRouter

WithEdgeRouter adds the edgeRouter to the update edge router params

func (*UpdateEdgeRouterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update edge router params

func (*UpdateEdgeRouterParams) WithID

WithID adds the id to the update edge router params

func (*UpdateEdgeRouterParams) WithTimeout

WithTimeout adds the timeout to the update edge router params

func (*UpdateEdgeRouterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateEdgeRouterReader

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

UpdateEdgeRouterReader is a Reader for the UpdateEdgeRouter structure.

func (*UpdateEdgeRouterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateEdgeRouterUnauthorized

type UpdateEdgeRouterUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateEdgeRouterUnauthorized 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 NewUpdateEdgeRouterUnauthorized

func NewUpdateEdgeRouterUnauthorized() *UpdateEdgeRouterUnauthorized

NewUpdateEdgeRouterUnauthorized creates a UpdateEdgeRouterUnauthorized with default headers values

func (*UpdateEdgeRouterUnauthorized) Error

func (*UpdateEdgeRouterUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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