edge_router_policy

package
v0.26.26 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 11 Imported by: 2

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 policy API

func (*Client) CreateEdgeRouterPolicy

func (a *Client) CreateEdgeRouterPolicy(params *CreateEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEdgeRouterPolicyCreated, error)

CreateEdgeRouterPolicy creates an edge router policy resource

Create an edge router policy resource. Requires admin access.

func (*Client) DeleteEdgeRouterPolicy

func (a *Client) DeleteEdgeRouterPolicy(params *DeleteEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEdgeRouterPolicyOK, error)

DeleteEdgeRouterPolicy deletes an edge router policy

Delete an edge router policy by id. Requires admin access.

func (*Client) DetailEdgeRouterPolicy

func (a *Client) DetailEdgeRouterPolicy(params *DetailEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailEdgeRouterPolicyOK, error)

DetailEdgeRouterPolicy retrieves a single edge router policy

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

func (*Client) ListEdgeRouterPolicies

func (a *Client) ListEdgeRouterPolicies(params *ListEdgeRouterPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterPoliciesOK, error)

ListEdgeRouterPolicies lists edge router policies

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

func (*Client) ListEdgeRouterPolicyEdgeRouters

func (a *Client) ListEdgeRouterPolicyEdgeRouters(params *ListEdgeRouterPolicyEdgeRoutersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterPolicyEdgeRoutersOK, error)

ListEdgeRouterPolicyEdgeRouters lists edge routers a policy affects

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

func (*Client) ListEdgeRouterPolicyIdentities

func (a *Client) ListEdgeRouterPolicyIdentities(params *ListEdgeRouterPolicyIdentitiesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterPolicyIdentitiesOK, error)

ListEdgeRouterPolicyIdentities lists identities an edge router policy affects

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

func (*Client) PatchEdgeRouterPolicy

func (a *Client) PatchEdgeRouterPolicy(params *PatchEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchEdgeRouterPolicyOK, error)

PatchEdgeRouterPolicy updates the supplied fields on an edge router policy

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateEdgeRouterPolicy

func (a *Client) UpdateEdgeRouterPolicy(params *UpdateEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEdgeRouterPolicyOK, error)

UpdateEdgeRouterPolicy updates all fields on an edge router policy

Update all fields on an edge router policy by id. Requires admin access.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateEdgeRouterPolicy(params *CreateEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEdgeRouterPolicyCreated, error)

	DeleteEdgeRouterPolicy(params *DeleteEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEdgeRouterPolicyOK, error)

	DetailEdgeRouterPolicy(params *DetailEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailEdgeRouterPolicyOK, error)

	ListEdgeRouterPolicies(params *ListEdgeRouterPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterPoliciesOK, error)

	ListEdgeRouterPolicyEdgeRouters(params *ListEdgeRouterPolicyEdgeRoutersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterPolicyEdgeRoutersOK, error)

	ListEdgeRouterPolicyIdentities(params *ListEdgeRouterPolicyIdentitiesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterPolicyIdentitiesOK, error)

	PatchEdgeRouterPolicy(params *PatchEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchEdgeRouterPolicyOK, error)

	UpdateEdgeRouterPolicy(params *UpdateEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEdgeRouterPolicyOK, 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 policy API client.

type CreateEdgeRouterPolicyBadRequest

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

func NewCreateEdgeRouterPolicyBadRequest() *CreateEdgeRouterPolicyBadRequest

NewCreateEdgeRouterPolicyBadRequest creates a CreateEdgeRouterPolicyBadRequest with default headers values

func (*CreateEdgeRouterPolicyBadRequest) Error

func (*CreateEdgeRouterPolicyBadRequest) GetPayload

type CreateEdgeRouterPolicyCreated

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

func NewCreateEdgeRouterPolicyCreated() *CreateEdgeRouterPolicyCreated

NewCreateEdgeRouterPolicyCreated creates a CreateEdgeRouterPolicyCreated with default headers values

func (*CreateEdgeRouterPolicyCreated) Error

func (*CreateEdgeRouterPolicyCreated) GetPayload

type CreateEdgeRouterPolicyParams

type CreateEdgeRouterPolicyParams struct {

	/* Policy.

	   An edge router policy to create
	*/
	Policy *rest_model.EdgeRouterPolicyCreate

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

CreateEdgeRouterPolicyParams contains all the parameters to send to the API endpoint

for the create edge router policy operation.

Typically these are written to a http.Request.

func NewCreateEdgeRouterPolicyParams

func NewCreateEdgeRouterPolicyParams() *CreateEdgeRouterPolicyParams

NewCreateEdgeRouterPolicyParams creates a new CreateEdgeRouterPolicyParams 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 NewCreateEdgeRouterPolicyParamsWithContext

func NewCreateEdgeRouterPolicyParamsWithContext(ctx context.Context) *CreateEdgeRouterPolicyParams

NewCreateEdgeRouterPolicyParamsWithContext creates a new CreateEdgeRouterPolicyParams object with the ability to set a context for a request.

func NewCreateEdgeRouterPolicyParamsWithHTTPClient

func NewCreateEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *CreateEdgeRouterPolicyParams

NewCreateEdgeRouterPolicyParamsWithHTTPClient creates a new CreateEdgeRouterPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewCreateEdgeRouterPolicyParamsWithTimeout

func NewCreateEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *CreateEdgeRouterPolicyParams

NewCreateEdgeRouterPolicyParamsWithTimeout creates a new CreateEdgeRouterPolicyParams object with the ability to set a timeout on a request.

func (*CreateEdgeRouterPolicyParams) SetContext

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

SetContext adds the context to the create edge router policy params

func (*CreateEdgeRouterPolicyParams) SetDefaults

func (o *CreateEdgeRouterPolicyParams) SetDefaults()

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

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

func (*CreateEdgeRouterPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create edge router policy params

func (*CreateEdgeRouterPolicyParams) SetPolicy

SetPolicy adds the policy to the create edge router policy params

func (*CreateEdgeRouterPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the create edge router policy params

func (*CreateEdgeRouterPolicyParams) WithContext

WithContext adds the context to the create edge router policy params

func (*CreateEdgeRouterPolicyParams) WithDefaults

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

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

func (*CreateEdgeRouterPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create edge router policy params

func (*CreateEdgeRouterPolicyParams) WithPolicy

WithPolicy adds the policy to the create edge router policy params

func (*CreateEdgeRouterPolicyParams) WithTimeout

WithTimeout adds the timeout to the create edge router policy params

func (*CreateEdgeRouterPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateEdgeRouterPolicyReader

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

CreateEdgeRouterPolicyReader is a Reader for the CreateEdgeRouterPolicy structure.

func (*CreateEdgeRouterPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateEdgeRouterPolicyTooManyRequests added in v0.26.0

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

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

func NewCreateEdgeRouterPolicyTooManyRequests added in v0.26.0

func NewCreateEdgeRouterPolicyTooManyRequests() *CreateEdgeRouterPolicyTooManyRequests

NewCreateEdgeRouterPolicyTooManyRequests creates a CreateEdgeRouterPolicyTooManyRequests with default headers values

func (*CreateEdgeRouterPolicyTooManyRequests) Error added in v0.26.0

func (*CreateEdgeRouterPolicyTooManyRequests) GetPayload added in v0.26.0

type CreateEdgeRouterPolicyUnauthorized

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

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

func NewCreateEdgeRouterPolicyUnauthorized

func NewCreateEdgeRouterPolicyUnauthorized() *CreateEdgeRouterPolicyUnauthorized

NewCreateEdgeRouterPolicyUnauthorized creates a CreateEdgeRouterPolicyUnauthorized with default headers values

func (*CreateEdgeRouterPolicyUnauthorized) Error

func (*CreateEdgeRouterPolicyUnauthorized) GetPayload

type DeleteEdgeRouterPolicyBadRequest

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

func NewDeleteEdgeRouterPolicyBadRequest() *DeleteEdgeRouterPolicyBadRequest

NewDeleteEdgeRouterPolicyBadRequest creates a DeleteEdgeRouterPolicyBadRequest with default headers values

func (*DeleteEdgeRouterPolicyBadRequest) Error

func (*DeleteEdgeRouterPolicyBadRequest) GetPayload

type DeleteEdgeRouterPolicyConflict

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

func NewDeleteEdgeRouterPolicyConflict() *DeleteEdgeRouterPolicyConflict

NewDeleteEdgeRouterPolicyConflict creates a DeleteEdgeRouterPolicyConflict with default headers values

func (*DeleteEdgeRouterPolicyConflict) Error

func (*DeleteEdgeRouterPolicyConflict) GetPayload

type DeleteEdgeRouterPolicyOK

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

The delete request was successful and the resource has been removed

func NewDeleteEdgeRouterPolicyOK

func NewDeleteEdgeRouterPolicyOK() *DeleteEdgeRouterPolicyOK

NewDeleteEdgeRouterPolicyOK creates a DeleteEdgeRouterPolicyOK with default headers values

func (*DeleteEdgeRouterPolicyOK) Error

func (o *DeleteEdgeRouterPolicyOK) Error() string

func (*DeleteEdgeRouterPolicyOK) GetPayload

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

type DeleteEdgeRouterPolicyParams

type DeleteEdgeRouterPolicyParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DeleteEdgeRouterPolicyParams contains all the parameters to send to the API endpoint

for the delete edge router policy operation.

Typically these are written to a http.Request.

func NewDeleteEdgeRouterPolicyParams

func NewDeleteEdgeRouterPolicyParams() *DeleteEdgeRouterPolicyParams

NewDeleteEdgeRouterPolicyParams creates a new DeleteEdgeRouterPolicyParams 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 NewDeleteEdgeRouterPolicyParamsWithContext

func NewDeleteEdgeRouterPolicyParamsWithContext(ctx context.Context) *DeleteEdgeRouterPolicyParams

NewDeleteEdgeRouterPolicyParamsWithContext creates a new DeleteEdgeRouterPolicyParams object with the ability to set a context for a request.

func NewDeleteEdgeRouterPolicyParamsWithHTTPClient

func NewDeleteEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *DeleteEdgeRouterPolicyParams

NewDeleteEdgeRouterPolicyParamsWithHTTPClient creates a new DeleteEdgeRouterPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteEdgeRouterPolicyParamsWithTimeout

func NewDeleteEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *DeleteEdgeRouterPolicyParams

NewDeleteEdgeRouterPolicyParamsWithTimeout creates a new DeleteEdgeRouterPolicyParams object with the ability to set a timeout on a request.

func (*DeleteEdgeRouterPolicyParams) SetContext

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

SetContext adds the context to the delete edge router policy params

func (*DeleteEdgeRouterPolicyParams) SetDefaults

func (o *DeleteEdgeRouterPolicyParams) SetDefaults()

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

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

func (*DeleteEdgeRouterPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete edge router policy params

func (*DeleteEdgeRouterPolicyParams) SetID

func (o *DeleteEdgeRouterPolicyParams) SetID(id string)

SetID adds the id to the delete edge router policy params

func (*DeleteEdgeRouterPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the delete edge router policy params

func (*DeleteEdgeRouterPolicyParams) WithContext

WithContext adds the context to the delete edge router policy params

func (*DeleteEdgeRouterPolicyParams) WithDefaults

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

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

func (*DeleteEdgeRouterPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete edge router policy params

func (*DeleteEdgeRouterPolicyParams) WithID

WithID adds the id to the delete edge router policy params

func (*DeleteEdgeRouterPolicyParams) WithTimeout

WithTimeout adds the timeout to the delete edge router policy params

func (*DeleteEdgeRouterPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteEdgeRouterPolicyReader

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

DeleteEdgeRouterPolicyReader is a Reader for the DeleteEdgeRouterPolicy structure.

func (*DeleteEdgeRouterPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteEdgeRouterPolicyTooManyRequests added in v0.26.0

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

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

func NewDeleteEdgeRouterPolicyTooManyRequests added in v0.26.0

func NewDeleteEdgeRouterPolicyTooManyRequests() *DeleteEdgeRouterPolicyTooManyRequests

NewDeleteEdgeRouterPolicyTooManyRequests creates a DeleteEdgeRouterPolicyTooManyRequests with default headers values

func (*DeleteEdgeRouterPolicyTooManyRequests) Error added in v0.26.0

func (*DeleteEdgeRouterPolicyTooManyRequests) GetPayload added in v0.26.0

type DeleteEdgeRouterPolicyUnauthorized

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

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

func NewDeleteEdgeRouterPolicyUnauthorized

func NewDeleteEdgeRouterPolicyUnauthorized() *DeleteEdgeRouterPolicyUnauthorized

NewDeleteEdgeRouterPolicyUnauthorized creates a DeleteEdgeRouterPolicyUnauthorized with default headers values

func (*DeleteEdgeRouterPolicyUnauthorized) Error

func (*DeleteEdgeRouterPolicyUnauthorized) GetPayload

type DetailEdgeRouterPolicyNotFound

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

The requested resource does not exist

func NewDetailEdgeRouterPolicyNotFound

func NewDetailEdgeRouterPolicyNotFound() *DetailEdgeRouterPolicyNotFound

NewDetailEdgeRouterPolicyNotFound creates a DetailEdgeRouterPolicyNotFound with default headers values

func (*DetailEdgeRouterPolicyNotFound) Error

func (*DetailEdgeRouterPolicyNotFound) GetPayload

type DetailEdgeRouterPolicyOK

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

A single edge router policy

func NewDetailEdgeRouterPolicyOK

func NewDetailEdgeRouterPolicyOK() *DetailEdgeRouterPolicyOK

NewDetailEdgeRouterPolicyOK creates a DetailEdgeRouterPolicyOK with default headers values

func (*DetailEdgeRouterPolicyOK) Error

func (o *DetailEdgeRouterPolicyOK) Error() string

func (*DetailEdgeRouterPolicyOK) GetPayload

type DetailEdgeRouterPolicyParams

type DetailEdgeRouterPolicyParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DetailEdgeRouterPolicyParams contains all the parameters to send to the API endpoint

for the detail edge router policy operation.

Typically these are written to a http.Request.

func NewDetailEdgeRouterPolicyParams

func NewDetailEdgeRouterPolicyParams() *DetailEdgeRouterPolicyParams

NewDetailEdgeRouterPolicyParams creates a new DetailEdgeRouterPolicyParams 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 NewDetailEdgeRouterPolicyParamsWithContext

func NewDetailEdgeRouterPolicyParamsWithContext(ctx context.Context) *DetailEdgeRouterPolicyParams

NewDetailEdgeRouterPolicyParamsWithContext creates a new DetailEdgeRouterPolicyParams object with the ability to set a context for a request.

func NewDetailEdgeRouterPolicyParamsWithHTTPClient

func NewDetailEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *DetailEdgeRouterPolicyParams

NewDetailEdgeRouterPolicyParamsWithHTTPClient creates a new DetailEdgeRouterPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewDetailEdgeRouterPolicyParamsWithTimeout

func NewDetailEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *DetailEdgeRouterPolicyParams

NewDetailEdgeRouterPolicyParamsWithTimeout creates a new DetailEdgeRouterPolicyParams object with the ability to set a timeout on a request.

func (*DetailEdgeRouterPolicyParams) SetContext

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

SetContext adds the context to the detail edge router policy params

func (*DetailEdgeRouterPolicyParams) SetDefaults

func (o *DetailEdgeRouterPolicyParams) SetDefaults()

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

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

func (*DetailEdgeRouterPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the detail edge router policy params

func (*DetailEdgeRouterPolicyParams) SetID

func (o *DetailEdgeRouterPolicyParams) SetID(id string)

SetID adds the id to the detail edge router policy params

func (*DetailEdgeRouterPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the detail edge router policy params

func (*DetailEdgeRouterPolicyParams) WithContext

WithContext adds the context to the detail edge router policy params

func (*DetailEdgeRouterPolicyParams) WithDefaults

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

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

func (*DetailEdgeRouterPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the detail edge router policy params

func (*DetailEdgeRouterPolicyParams) WithID

WithID adds the id to the detail edge router policy params

func (*DetailEdgeRouterPolicyParams) WithTimeout

WithTimeout adds the timeout to the detail edge router policy params

func (*DetailEdgeRouterPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DetailEdgeRouterPolicyReader

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

DetailEdgeRouterPolicyReader is a Reader for the DetailEdgeRouterPolicy structure.

func (*DetailEdgeRouterPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DetailEdgeRouterPolicyTooManyRequests added in v0.26.0

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

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

func NewDetailEdgeRouterPolicyTooManyRequests added in v0.26.0

func NewDetailEdgeRouterPolicyTooManyRequests() *DetailEdgeRouterPolicyTooManyRequests

NewDetailEdgeRouterPolicyTooManyRequests creates a DetailEdgeRouterPolicyTooManyRequests with default headers values

func (*DetailEdgeRouterPolicyTooManyRequests) Error added in v0.26.0

func (*DetailEdgeRouterPolicyTooManyRequests) GetPayload added in v0.26.0

type DetailEdgeRouterPolicyUnauthorized

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

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

func NewDetailEdgeRouterPolicyUnauthorized

func NewDetailEdgeRouterPolicyUnauthorized() *DetailEdgeRouterPolicyUnauthorized

NewDetailEdgeRouterPolicyUnauthorized creates a DetailEdgeRouterPolicyUnauthorized with default headers values

func (*DetailEdgeRouterPolicyUnauthorized) Error

func (*DetailEdgeRouterPolicyUnauthorized) GetPayload

type ListEdgeRouterPoliciesBadRequest

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

func NewListEdgeRouterPoliciesBadRequest() *ListEdgeRouterPoliciesBadRequest

NewListEdgeRouterPoliciesBadRequest creates a ListEdgeRouterPoliciesBadRequest with default headers values

func (*ListEdgeRouterPoliciesBadRequest) Error

func (*ListEdgeRouterPoliciesBadRequest) GetPayload

type ListEdgeRouterPoliciesOK

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

A list of edge router policies

func NewListEdgeRouterPoliciesOK

func NewListEdgeRouterPoliciesOK() *ListEdgeRouterPoliciesOK

NewListEdgeRouterPoliciesOK creates a ListEdgeRouterPoliciesOK with default headers values

func (*ListEdgeRouterPoliciesOK) Error

func (o *ListEdgeRouterPoliciesOK) Error() string

func (*ListEdgeRouterPoliciesOK) GetPayload

type ListEdgeRouterPoliciesParams

type ListEdgeRouterPoliciesParams struct {

	// Filter.
	Filter *string

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

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

ListEdgeRouterPoliciesParams contains all the parameters to send to the API endpoint

for the list edge router policies operation.

Typically these are written to a http.Request.

func NewListEdgeRouterPoliciesParams

func NewListEdgeRouterPoliciesParams() *ListEdgeRouterPoliciesParams

NewListEdgeRouterPoliciesParams creates a new ListEdgeRouterPoliciesParams 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 NewListEdgeRouterPoliciesParamsWithContext

func NewListEdgeRouterPoliciesParamsWithContext(ctx context.Context) *ListEdgeRouterPoliciesParams

NewListEdgeRouterPoliciesParamsWithContext creates a new ListEdgeRouterPoliciesParams object with the ability to set a context for a request.

func NewListEdgeRouterPoliciesParamsWithHTTPClient

func NewListEdgeRouterPoliciesParamsWithHTTPClient(client *http.Client) *ListEdgeRouterPoliciesParams

NewListEdgeRouterPoliciesParamsWithHTTPClient creates a new ListEdgeRouterPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewListEdgeRouterPoliciesParamsWithTimeout

func NewListEdgeRouterPoliciesParamsWithTimeout(timeout time.Duration) *ListEdgeRouterPoliciesParams

NewListEdgeRouterPoliciesParamsWithTimeout creates a new ListEdgeRouterPoliciesParams object with the ability to set a timeout on a request.

func (*ListEdgeRouterPoliciesParams) SetContext

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

SetContext adds the context to the list edge router policies params

func (*ListEdgeRouterPoliciesParams) SetDefaults

func (o *ListEdgeRouterPoliciesParams) SetDefaults()

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

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

func (*ListEdgeRouterPoliciesParams) SetFilter

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

SetFilter adds the filter to the list edge router policies params

func (*ListEdgeRouterPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list edge router policies params

func (*ListEdgeRouterPoliciesParams) SetLimit

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

SetLimit adds the limit to the list edge router policies params

func (*ListEdgeRouterPoliciesParams) SetOffset

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

SetOffset adds the offset to the list edge router policies params

func (*ListEdgeRouterPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the list edge router policies params

func (*ListEdgeRouterPoliciesParams) WithContext

WithContext adds the context to the list edge router policies params

func (*ListEdgeRouterPoliciesParams) WithDefaults

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

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

func (*ListEdgeRouterPoliciesParams) WithFilter

WithFilter adds the filter to the list edge router policies params

func (*ListEdgeRouterPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list edge router policies params

func (*ListEdgeRouterPoliciesParams) WithLimit

WithLimit adds the limit to the list edge router policies params

func (*ListEdgeRouterPoliciesParams) WithOffset

WithOffset adds the offset to the list edge router policies params

func (*ListEdgeRouterPoliciesParams) WithTimeout

WithTimeout adds the timeout to the list edge router policies params

func (*ListEdgeRouterPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListEdgeRouterPoliciesReader

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

ListEdgeRouterPoliciesReader is a Reader for the ListEdgeRouterPolicies structure.

func (*ListEdgeRouterPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListEdgeRouterPoliciesTooManyRequests added in v0.26.0

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

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

func NewListEdgeRouterPoliciesTooManyRequests added in v0.26.0

func NewListEdgeRouterPoliciesTooManyRequests() *ListEdgeRouterPoliciesTooManyRequests

NewListEdgeRouterPoliciesTooManyRequests creates a ListEdgeRouterPoliciesTooManyRequests with default headers values

func (*ListEdgeRouterPoliciesTooManyRequests) Error added in v0.26.0

func (*ListEdgeRouterPoliciesTooManyRequests) GetPayload added in v0.26.0

type ListEdgeRouterPoliciesUnauthorized

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

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

func NewListEdgeRouterPoliciesUnauthorized

func NewListEdgeRouterPoliciesUnauthorized() *ListEdgeRouterPoliciesUnauthorized

NewListEdgeRouterPoliciesUnauthorized creates a ListEdgeRouterPoliciesUnauthorized with default headers values

func (*ListEdgeRouterPoliciesUnauthorized) Error

func (*ListEdgeRouterPoliciesUnauthorized) GetPayload

type ListEdgeRouterPolicyEdgeRoutersNotFound

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

The requested resource does not exist

func NewListEdgeRouterPolicyEdgeRoutersNotFound

func NewListEdgeRouterPolicyEdgeRoutersNotFound() *ListEdgeRouterPolicyEdgeRoutersNotFound

NewListEdgeRouterPolicyEdgeRoutersNotFound creates a ListEdgeRouterPolicyEdgeRoutersNotFound with default headers values

func (*ListEdgeRouterPolicyEdgeRoutersNotFound) Error

func (*ListEdgeRouterPolicyEdgeRoutersNotFound) GetPayload

type ListEdgeRouterPolicyEdgeRoutersOK

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

A list of edge routers

func NewListEdgeRouterPolicyEdgeRoutersOK

func NewListEdgeRouterPolicyEdgeRoutersOK() *ListEdgeRouterPolicyEdgeRoutersOK

NewListEdgeRouterPolicyEdgeRoutersOK creates a ListEdgeRouterPolicyEdgeRoutersOK with default headers values

func (*ListEdgeRouterPolicyEdgeRoutersOK) Error

func (*ListEdgeRouterPolicyEdgeRoutersOK) GetPayload

type ListEdgeRouterPolicyEdgeRoutersParams

type ListEdgeRouterPolicyEdgeRoutersParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

ListEdgeRouterPolicyEdgeRoutersParams contains all the parameters to send to the API endpoint

for the list edge router policy edge routers operation.

Typically these are written to a http.Request.

func NewListEdgeRouterPolicyEdgeRoutersParams

func NewListEdgeRouterPolicyEdgeRoutersParams() *ListEdgeRouterPolicyEdgeRoutersParams

NewListEdgeRouterPolicyEdgeRoutersParams creates a new ListEdgeRouterPolicyEdgeRoutersParams 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 NewListEdgeRouterPolicyEdgeRoutersParamsWithContext

func NewListEdgeRouterPolicyEdgeRoutersParamsWithContext(ctx context.Context) *ListEdgeRouterPolicyEdgeRoutersParams

NewListEdgeRouterPolicyEdgeRoutersParamsWithContext creates a new ListEdgeRouterPolicyEdgeRoutersParams object with the ability to set a context for a request.

func NewListEdgeRouterPolicyEdgeRoutersParamsWithHTTPClient

func NewListEdgeRouterPolicyEdgeRoutersParamsWithHTTPClient(client *http.Client) *ListEdgeRouterPolicyEdgeRoutersParams

NewListEdgeRouterPolicyEdgeRoutersParamsWithHTTPClient creates a new ListEdgeRouterPolicyEdgeRoutersParams object with the ability to set a custom HTTPClient for a request.

func NewListEdgeRouterPolicyEdgeRoutersParamsWithTimeout

func NewListEdgeRouterPolicyEdgeRoutersParamsWithTimeout(timeout time.Duration) *ListEdgeRouterPolicyEdgeRoutersParams

NewListEdgeRouterPolicyEdgeRoutersParamsWithTimeout creates a new ListEdgeRouterPolicyEdgeRoutersParams object with the ability to set a timeout on a request.

func (*ListEdgeRouterPolicyEdgeRoutersParams) SetContext

SetContext adds the context to the list edge router policy edge routers params

func (*ListEdgeRouterPolicyEdgeRoutersParams) SetDefaults

func (o *ListEdgeRouterPolicyEdgeRoutersParams) SetDefaults()

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

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

func (*ListEdgeRouterPolicyEdgeRoutersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list edge router policy edge routers params

func (*ListEdgeRouterPolicyEdgeRoutersParams) SetID

SetID adds the id to the list edge router policy edge routers params

func (*ListEdgeRouterPolicyEdgeRoutersParams) SetTimeout

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

SetTimeout adds the timeout to the list edge router policy edge routers params

func (*ListEdgeRouterPolicyEdgeRoutersParams) WithContext

WithContext adds the context to the list edge router policy edge routers params

func (*ListEdgeRouterPolicyEdgeRoutersParams) WithDefaults

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

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

func (*ListEdgeRouterPolicyEdgeRoutersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list edge router policy edge routers params

func (*ListEdgeRouterPolicyEdgeRoutersParams) WithID

WithID adds the id to the list edge router policy edge routers params

func (*ListEdgeRouterPolicyEdgeRoutersParams) WithTimeout

WithTimeout adds the timeout to the list edge router policy edge routers params

func (*ListEdgeRouterPolicyEdgeRoutersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListEdgeRouterPolicyEdgeRoutersReader

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

ListEdgeRouterPolicyEdgeRoutersReader is a Reader for the ListEdgeRouterPolicyEdgeRouters structure.

func (*ListEdgeRouterPolicyEdgeRoutersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListEdgeRouterPolicyEdgeRoutersTooManyRequests added in v0.26.0

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

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

func NewListEdgeRouterPolicyEdgeRoutersTooManyRequests added in v0.26.0

func NewListEdgeRouterPolicyEdgeRoutersTooManyRequests() *ListEdgeRouterPolicyEdgeRoutersTooManyRequests

NewListEdgeRouterPolicyEdgeRoutersTooManyRequests creates a ListEdgeRouterPolicyEdgeRoutersTooManyRequests with default headers values

func (*ListEdgeRouterPolicyEdgeRoutersTooManyRequests) Error added in v0.26.0

func (*ListEdgeRouterPolicyEdgeRoutersTooManyRequests) GetPayload added in v0.26.0

type ListEdgeRouterPolicyEdgeRoutersUnauthorized

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

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

func NewListEdgeRouterPolicyEdgeRoutersUnauthorized

func NewListEdgeRouterPolicyEdgeRoutersUnauthorized() *ListEdgeRouterPolicyEdgeRoutersUnauthorized

NewListEdgeRouterPolicyEdgeRoutersUnauthorized creates a ListEdgeRouterPolicyEdgeRoutersUnauthorized with default headers values

func (*ListEdgeRouterPolicyEdgeRoutersUnauthorized) Error

func (*ListEdgeRouterPolicyEdgeRoutersUnauthorized) GetPayload

type ListEdgeRouterPolicyIdentitiesNotFound

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

The requested resource does not exist

func NewListEdgeRouterPolicyIdentitiesNotFound

func NewListEdgeRouterPolicyIdentitiesNotFound() *ListEdgeRouterPolicyIdentitiesNotFound

NewListEdgeRouterPolicyIdentitiesNotFound creates a ListEdgeRouterPolicyIdentitiesNotFound with default headers values

func (*ListEdgeRouterPolicyIdentitiesNotFound) Error

func (*ListEdgeRouterPolicyIdentitiesNotFound) GetPayload

type ListEdgeRouterPolicyIdentitiesOK

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

A list of identities

func NewListEdgeRouterPolicyIdentitiesOK

func NewListEdgeRouterPolicyIdentitiesOK() *ListEdgeRouterPolicyIdentitiesOK

NewListEdgeRouterPolicyIdentitiesOK creates a ListEdgeRouterPolicyIdentitiesOK with default headers values

func (*ListEdgeRouterPolicyIdentitiesOK) Error

func (*ListEdgeRouterPolicyIdentitiesOK) GetPayload

type ListEdgeRouterPolicyIdentitiesParams

type ListEdgeRouterPolicyIdentitiesParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

ListEdgeRouterPolicyIdentitiesParams contains all the parameters to send to the API endpoint

for the list edge router policy identities operation.

Typically these are written to a http.Request.

func NewListEdgeRouterPolicyIdentitiesParams

func NewListEdgeRouterPolicyIdentitiesParams() *ListEdgeRouterPolicyIdentitiesParams

NewListEdgeRouterPolicyIdentitiesParams creates a new ListEdgeRouterPolicyIdentitiesParams 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 NewListEdgeRouterPolicyIdentitiesParamsWithContext

func NewListEdgeRouterPolicyIdentitiesParamsWithContext(ctx context.Context) *ListEdgeRouterPolicyIdentitiesParams

NewListEdgeRouterPolicyIdentitiesParamsWithContext creates a new ListEdgeRouterPolicyIdentitiesParams object with the ability to set a context for a request.

func NewListEdgeRouterPolicyIdentitiesParamsWithHTTPClient

func NewListEdgeRouterPolicyIdentitiesParamsWithHTTPClient(client *http.Client) *ListEdgeRouterPolicyIdentitiesParams

NewListEdgeRouterPolicyIdentitiesParamsWithHTTPClient creates a new ListEdgeRouterPolicyIdentitiesParams object with the ability to set a custom HTTPClient for a request.

func NewListEdgeRouterPolicyIdentitiesParamsWithTimeout

func NewListEdgeRouterPolicyIdentitiesParamsWithTimeout(timeout time.Duration) *ListEdgeRouterPolicyIdentitiesParams

NewListEdgeRouterPolicyIdentitiesParamsWithTimeout creates a new ListEdgeRouterPolicyIdentitiesParams object with the ability to set a timeout on a request.

func (*ListEdgeRouterPolicyIdentitiesParams) SetContext

SetContext adds the context to the list edge router policy identities params

func (*ListEdgeRouterPolicyIdentitiesParams) SetDefaults

func (o *ListEdgeRouterPolicyIdentitiesParams) SetDefaults()

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

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

func (*ListEdgeRouterPolicyIdentitiesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list edge router policy identities params

func (*ListEdgeRouterPolicyIdentitiesParams) SetID

SetID adds the id to the list edge router policy identities params

func (*ListEdgeRouterPolicyIdentitiesParams) SetTimeout

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

SetTimeout adds the timeout to the list edge router policy identities params

func (*ListEdgeRouterPolicyIdentitiesParams) WithContext

WithContext adds the context to the list edge router policy identities params

func (*ListEdgeRouterPolicyIdentitiesParams) WithDefaults

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

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

func (*ListEdgeRouterPolicyIdentitiesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list edge router policy identities params

func (*ListEdgeRouterPolicyIdentitiesParams) WithID

WithID adds the id to the list edge router policy identities params

func (*ListEdgeRouterPolicyIdentitiesParams) WithTimeout

WithTimeout adds the timeout to the list edge router policy identities params

func (*ListEdgeRouterPolicyIdentitiesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListEdgeRouterPolicyIdentitiesReader

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

ListEdgeRouterPolicyIdentitiesReader is a Reader for the ListEdgeRouterPolicyIdentities structure.

func (*ListEdgeRouterPolicyIdentitiesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListEdgeRouterPolicyIdentitiesTooManyRequests added in v0.26.0

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

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

func NewListEdgeRouterPolicyIdentitiesTooManyRequests added in v0.26.0

func NewListEdgeRouterPolicyIdentitiesTooManyRequests() *ListEdgeRouterPolicyIdentitiesTooManyRequests

NewListEdgeRouterPolicyIdentitiesTooManyRequests creates a ListEdgeRouterPolicyIdentitiesTooManyRequests with default headers values

func (*ListEdgeRouterPolicyIdentitiesTooManyRequests) Error added in v0.26.0

func (*ListEdgeRouterPolicyIdentitiesTooManyRequests) GetPayload added in v0.26.0

type ListEdgeRouterPolicyIdentitiesUnauthorized

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

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

func NewListEdgeRouterPolicyIdentitiesUnauthorized

func NewListEdgeRouterPolicyIdentitiesUnauthorized() *ListEdgeRouterPolicyIdentitiesUnauthorized

NewListEdgeRouterPolicyIdentitiesUnauthorized creates a ListEdgeRouterPolicyIdentitiesUnauthorized with default headers values

func (*ListEdgeRouterPolicyIdentitiesUnauthorized) Error

func (*ListEdgeRouterPolicyIdentitiesUnauthorized) GetPayload

type PatchEdgeRouterPolicyBadRequest

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

func NewPatchEdgeRouterPolicyBadRequest() *PatchEdgeRouterPolicyBadRequest

NewPatchEdgeRouterPolicyBadRequest creates a PatchEdgeRouterPolicyBadRequest with default headers values

func (*PatchEdgeRouterPolicyBadRequest) Error

func (*PatchEdgeRouterPolicyBadRequest) GetPayload

type PatchEdgeRouterPolicyNotFound

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

The requested resource does not exist

func NewPatchEdgeRouterPolicyNotFound

func NewPatchEdgeRouterPolicyNotFound() *PatchEdgeRouterPolicyNotFound

NewPatchEdgeRouterPolicyNotFound creates a PatchEdgeRouterPolicyNotFound with default headers values

func (*PatchEdgeRouterPolicyNotFound) Error

func (*PatchEdgeRouterPolicyNotFound) GetPayload

type PatchEdgeRouterPolicyOK

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

The patch request was successful and the resource has been altered

func NewPatchEdgeRouterPolicyOK

func NewPatchEdgeRouterPolicyOK() *PatchEdgeRouterPolicyOK

NewPatchEdgeRouterPolicyOK creates a PatchEdgeRouterPolicyOK with default headers values

func (*PatchEdgeRouterPolicyOK) Error

func (o *PatchEdgeRouterPolicyOK) Error() string

func (*PatchEdgeRouterPolicyOK) GetPayload

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

type PatchEdgeRouterPolicyParams

type PatchEdgeRouterPolicyParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

	/* Policy.

	   An edge router policy patch object
	*/
	Policy *rest_model.EdgeRouterPolicyPatch

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

PatchEdgeRouterPolicyParams contains all the parameters to send to the API endpoint

for the patch edge router policy operation.

Typically these are written to a http.Request.

func NewPatchEdgeRouterPolicyParams

func NewPatchEdgeRouterPolicyParams() *PatchEdgeRouterPolicyParams

NewPatchEdgeRouterPolicyParams creates a new PatchEdgeRouterPolicyParams 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 NewPatchEdgeRouterPolicyParamsWithContext

func NewPatchEdgeRouterPolicyParamsWithContext(ctx context.Context) *PatchEdgeRouterPolicyParams

NewPatchEdgeRouterPolicyParamsWithContext creates a new PatchEdgeRouterPolicyParams object with the ability to set a context for a request.

func NewPatchEdgeRouterPolicyParamsWithHTTPClient

func NewPatchEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *PatchEdgeRouterPolicyParams

NewPatchEdgeRouterPolicyParamsWithHTTPClient creates a new PatchEdgeRouterPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewPatchEdgeRouterPolicyParamsWithTimeout

func NewPatchEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *PatchEdgeRouterPolicyParams

NewPatchEdgeRouterPolicyParamsWithTimeout creates a new PatchEdgeRouterPolicyParams object with the ability to set a timeout on a request.

func (*PatchEdgeRouterPolicyParams) SetContext

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

SetContext adds the context to the patch edge router policy params

func (*PatchEdgeRouterPolicyParams) SetDefaults

func (o *PatchEdgeRouterPolicyParams) SetDefaults()

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

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

func (*PatchEdgeRouterPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch edge router policy params

func (*PatchEdgeRouterPolicyParams) SetID

func (o *PatchEdgeRouterPolicyParams) SetID(id string)

SetID adds the id to the patch edge router policy params

func (*PatchEdgeRouterPolicyParams) SetPolicy

SetPolicy adds the policy to the patch edge router policy params

func (*PatchEdgeRouterPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the patch edge router policy params

func (*PatchEdgeRouterPolicyParams) WithContext

WithContext adds the context to the patch edge router policy params

func (*PatchEdgeRouterPolicyParams) WithDefaults

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

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

func (*PatchEdgeRouterPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch edge router policy params

func (*PatchEdgeRouterPolicyParams) WithID

WithID adds the id to the patch edge router policy params

func (*PatchEdgeRouterPolicyParams) WithPolicy

WithPolicy adds the policy to the patch edge router policy params

func (*PatchEdgeRouterPolicyParams) WithTimeout

WithTimeout adds the timeout to the patch edge router policy params

func (*PatchEdgeRouterPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchEdgeRouterPolicyReader

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

PatchEdgeRouterPolicyReader is a Reader for the PatchEdgeRouterPolicy structure.

func (*PatchEdgeRouterPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchEdgeRouterPolicyTooManyRequests added in v0.26.0

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

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

func NewPatchEdgeRouterPolicyTooManyRequests added in v0.26.0

func NewPatchEdgeRouterPolicyTooManyRequests() *PatchEdgeRouterPolicyTooManyRequests

NewPatchEdgeRouterPolicyTooManyRequests creates a PatchEdgeRouterPolicyTooManyRequests with default headers values

func (*PatchEdgeRouterPolicyTooManyRequests) Error added in v0.26.0

func (*PatchEdgeRouterPolicyTooManyRequests) GetPayload added in v0.26.0

type PatchEdgeRouterPolicyUnauthorized

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

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

func NewPatchEdgeRouterPolicyUnauthorized

func NewPatchEdgeRouterPolicyUnauthorized() *PatchEdgeRouterPolicyUnauthorized

NewPatchEdgeRouterPolicyUnauthorized creates a PatchEdgeRouterPolicyUnauthorized with default headers values

func (*PatchEdgeRouterPolicyUnauthorized) Error

func (*PatchEdgeRouterPolicyUnauthorized) GetPayload

type UpdateEdgeRouterPolicyBadRequest

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

func NewUpdateEdgeRouterPolicyBadRequest() *UpdateEdgeRouterPolicyBadRequest

NewUpdateEdgeRouterPolicyBadRequest creates a UpdateEdgeRouterPolicyBadRequest with default headers values

func (*UpdateEdgeRouterPolicyBadRequest) Error

func (*UpdateEdgeRouterPolicyBadRequest) GetPayload

type UpdateEdgeRouterPolicyNotFound

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

The requested resource does not exist

func NewUpdateEdgeRouterPolicyNotFound

func NewUpdateEdgeRouterPolicyNotFound() *UpdateEdgeRouterPolicyNotFound

NewUpdateEdgeRouterPolicyNotFound creates a UpdateEdgeRouterPolicyNotFound with default headers values

func (*UpdateEdgeRouterPolicyNotFound) Error

func (*UpdateEdgeRouterPolicyNotFound) GetPayload

type UpdateEdgeRouterPolicyOK

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

The update request was successful and the resource has been altered

func NewUpdateEdgeRouterPolicyOK

func NewUpdateEdgeRouterPolicyOK() *UpdateEdgeRouterPolicyOK

NewUpdateEdgeRouterPolicyOK creates a UpdateEdgeRouterPolicyOK with default headers values

func (*UpdateEdgeRouterPolicyOK) Error

func (o *UpdateEdgeRouterPolicyOK) Error() string

func (*UpdateEdgeRouterPolicyOK) GetPayload

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

type UpdateEdgeRouterPolicyParams

type UpdateEdgeRouterPolicyParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

	/* Policy.

	   An edge router policy update object
	*/
	Policy *rest_model.EdgeRouterPolicyUpdate

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

UpdateEdgeRouterPolicyParams contains all the parameters to send to the API endpoint

for the update edge router policy operation.

Typically these are written to a http.Request.

func NewUpdateEdgeRouterPolicyParams

func NewUpdateEdgeRouterPolicyParams() *UpdateEdgeRouterPolicyParams

NewUpdateEdgeRouterPolicyParams creates a new UpdateEdgeRouterPolicyParams 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 NewUpdateEdgeRouterPolicyParamsWithContext

func NewUpdateEdgeRouterPolicyParamsWithContext(ctx context.Context) *UpdateEdgeRouterPolicyParams

NewUpdateEdgeRouterPolicyParamsWithContext creates a new UpdateEdgeRouterPolicyParams object with the ability to set a context for a request.

func NewUpdateEdgeRouterPolicyParamsWithHTTPClient

func NewUpdateEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *UpdateEdgeRouterPolicyParams

NewUpdateEdgeRouterPolicyParamsWithHTTPClient creates a new UpdateEdgeRouterPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateEdgeRouterPolicyParamsWithTimeout

func NewUpdateEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *UpdateEdgeRouterPolicyParams

NewUpdateEdgeRouterPolicyParamsWithTimeout creates a new UpdateEdgeRouterPolicyParams object with the ability to set a timeout on a request.

func (*UpdateEdgeRouterPolicyParams) SetContext

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

SetContext adds the context to the update edge router policy params

func (*UpdateEdgeRouterPolicyParams) SetDefaults

func (o *UpdateEdgeRouterPolicyParams) SetDefaults()

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

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

func (*UpdateEdgeRouterPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update edge router policy params

func (*UpdateEdgeRouterPolicyParams) SetID

func (o *UpdateEdgeRouterPolicyParams) SetID(id string)

SetID adds the id to the update edge router policy params

func (*UpdateEdgeRouterPolicyParams) SetPolicy

SetPolicy adds the policy to the update edge router policy params

func (*UpdateEdgeRouterPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the update edge router policy params

func (*UpdateEdgeRouterPolicyParams) WithContext

WithContext adds the context to the update edge router policy params

func (*UpdateEdgeRouterPolicyParams) WithDefaults

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

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

func (*UpdateEdgeRouterPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update edge router policy params

func (*UpdateEdgeRouterPolicyParams) WithID

WithID adds the id to the update edge router policy params

func (*UpdateEdgeRouterPolicyParams) WithPolicy

WithPolicy adds the policy to the update edge router policy params

func (*UpdateEdgeRouterPolicyParams) WithTimeout

WithTimeout adds the timeout to the update edge router policy params

func (*UpdateEdgeRouterPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateEdgeRouterPolicyReader

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

UpdateEdgeRouterPolicyReader is a Reader for the UpdateEdgeRouterPolicy structure.

func (*UpdateEdgeRouterPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateEdgeRouterPolicyTooManyRequests added in v0.26.0

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

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

func NewUpdateEdgeRouterPolicyTooManyRequests added in v0.26.0

func NewUpdateEdgeRouterPolicyTooManyRequests() *UpdateEdgeRouterPolicyTooManyRequests

NewUpdateEdgeRouterPolicyTooManyRequests creates a UpdateEdgeRouterPolicyTooManyRequests with default headers values

func (*UpdateEdgeRouterPolicyTooManyRequests) Error added in v0.26.0

func (*UpdateEdgeRouterPolicyTooManyRequests) GetPayload added in v0.26.0

type UpdateEdgeRouterPolicyUnauthorized

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

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

func NewUpdateEdgeRouterPolicyUnauthorized

func NewUpdateEdgeRouterPolicyUnauthorized() *UpdateEdgeRouterPolicyUnauthorized

NewUpdateEdgeRouterPolicyUnauthorized creates a UpdateEdgeRouterPolicyUnauthorized with default headers values

func (*UpdateEdgeRouterPolicyUnauthorized) Error

func (*UpdateEdgeRouterPolicyUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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