service_edge_router_policy

package
v0.21.132 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 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 service edge router policy API

func (*Client) CreateServiceEdgeRouterPolicy

CreateServiceEdgeRouterPolicy creates a service edge router policy resource

Create a service edge router policy resource. Requires admin access.

func (*Client) DeleteServiceEdgeRouterPolicy

func (a *Client) DeleteServiceEdgeRouterPolicy(params *DeleteServiceEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceEdgeRouterPolicyOK, error)

DeleteServiceEdgeRouterPolicy deletes a service edge policy

Delete a service edge policy by id. Requires admin access.

func (*Client) DetailServiceEdgeRouterPolicy

func (a *Client) DetailServiceEdgeRouterPolicy(params *DetailServiceEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailServiceEdgeRouterPolicyOK, error)

DetailServiceEdgeRouterPolicy retrieves a single service edge policy

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

func (*Client) ListServiceEdgeRouterPolicies

func (a *Client) ListServiceEdgeRouterPolicies(params *ListServiceEdgeRouterPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceEdgeRouterPoliciesOK, error)

ListServiceEdgeRouterPolicies lists service edge router policies

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

func (*Client) ListServiceEdgeRouterPolicyEdgeRouters

ListServiceEdgeRouterPolicyEdgeRouters lists the edge routers that a service edge router policy applies to

List the edge routers that a service edge router policy applies to

func (*Client) ListServiceEdgeRouterPolicyServices

func (a *Client) ListServiceEdgeRouterPolicyServices(params *ListServiceEdgeRouterPolicyServicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceEdgeRouterPolicyServicesOK, error)

ListServiceEdgeRouterPolicyServices lists the services that a service edge router policy applies to

List the services that a service edge router policy applies to

func (*Client) PatchServiceEdgeRouterPolicy

func (a *Client) PatchServiceEdgeRouterPolicy(params *PatchServiceEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchServiceEdgeRouterPolicyOK, error)

PatchServiceEdgeRouterPolicy updates the supplied fields on a service edge policy

Update the supplied fields on a service edge policy. Requires admin access.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateServiceEdgeRouterPolicy

func (a *Client) UpdateServiceEdgeRouterPolicy(params *UpdateServiceEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServiceEdgeRouterPolicyOK, error)

UpdateServiceEdgeRouterPolicy updates all fields on a service edge policy

Update all fields on a service edge 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 {
	CreateServiceEdgeRouterPolicy(params *CreateServiceEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServiceEdgeRouterPolicyCreated, error)

	DeleteServiceEdgeRouterPolicy(params *DeleteServiceEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceEdgeRouterPolicyOK, error)

	DetailServiceEdgeRouterPolicy(params *DetailServiceEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailServiceEdgeRouterPolicyOK, error)

	ListServiceEdgeRouterPolicies(params *ListServiceEdgeRouterPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceEdgeRouterPoliciesOK, error)

	ListServiceEdgeRouterPolicyEdgeRouters(params *ListServiceEdgeRouterPolicyEdgeRoutersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceEdgeRouterPolicyEdgeRoutersOK, error)

	ListServiceEdgeRouterPolicyServices(params *ListServiceEdgeRouterPolicyServicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceEdgeRouterPolicyServicesOK, error)

	PatchServiceEdgeRouterPolicy(params *PatchServiceEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchServiceEdgeRouterPolicyOK, error)

	UpdateServiceEdgeRouterPolicy(params *UpdateServiceEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServiceEdgeRouterPolicyOK, 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 service edge router policy API client.

type CreateServiceEdgeRouterPolicyBadRequest

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

func NewCreateServiceEdgeRouterPolicyBadRequest() *CreateServiceEdgeRouterPolicyBadRequest

NewCreateServiceEdgeRouterPolicyBadRequest creates a CreateServiceEdgeRouterPolicyBadRequest with default headers values

func (*CreateServiceEdgeRouterPolicyBadRequest) Error

func (*CreateServiceEdgeRouterPolicyBadRequest) GetPayload

type CreateServiceEdgeRouterPolicyCreated

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

func NewCreateServiceEdgeRouterPolicyCreated() *CreateServiceEdgeRouterPolicyCreated

NewCreateServiceEdgeRouterPolicyCreated creates a CreateServiceEdgeRouterPolicyCreated with default headers values

func (*CreateServiceEdgeRouterPolicyCreated) Error

func (*CreateServiceEdgeRouterPolicyCreated) GetPayload

type CreateServiceEdgeRouterPolicyParams

type CreateServiceEdgeRouterPolicyParams struct {

	/* Policy.

	   A service edge router policy to create
	*/
	Policy *rest_model.ServiceEdgeRouterPolicyCreate

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

CreateServiceEdgeRouterPolicyParams contains all the parameters to send to the API endpoint

for the create service edge router policy operation.

Typically these are written to a http.Request.

func NewCreateServiceEdgeRouterPolicyParams

func NewCreateServiceEdgeRouterPolicyParams() *CreateServiceEdgeRouterPolicyParams

NewCreateServiceEdgeRouterPolicyParams creates a new CreateServiceEdgeRouterPolicyParams 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 NewCreateServiceEdgeRouterPolicyParamsWithContext

func NewCreateServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *CreateServiceEdgeRouterPolicyParams

NewCreateServiceEdgeRouterPolicyParamsWithContext creates a new CreateServiceEdgeRouterPolicyParams object with the ability to set a context for a request.

func NewCreateServiceEdgeRouterPolicyParamsWithHTTPClient

func NewCreateServiceEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *CreateServiceEdgeRouterPolicyParams

NewCreateServiceEdgeRouterPolicyParamsWithHTTPClient creates a new CreateServiceEdgeRouterPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewCreateServiceEdgeRouterPolicyParamsWithTimeout

func NewCreateServiceEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *CreateServiceEdgeRouterPolicyParams

NewCreateServiceEdgeRouterPolicyParamsWithTimeout creates a new CreateServiceEdgeRouterPolicyParams object with the ability to set a timeout on a request.

func (*CreateServiceEdgeRouterPolicyParams) SetContext

SetContext adds the context to the create service edge router policy params

func (*CreateServiceEdgeRouterPolicyParams) SetDefaults

func (o *CreateServiceEdgeRouterPolicyParams) SetDefaults()

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

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

func (*CreateServiceEdgeRouterPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create service edge router policy params

func (*CreateServiceEdgeRouterPolicyParams) SetPolicy

SetPolicy adds the policy to the create service edge router policy params

func (*CreateServiceEdgeRouterPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the create service edge router policy params

func (*CreateServiceEdgeRouterPolicyParams) WithContext

WithContext adds the context to the create service edge router policy params

func (*CreateServiceEdgeRouterPolicyParams) WithDefaults

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

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

func (*CreateServiceEdgeRouterPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create service edge router policy params

func (*CreateServiceEdgeRouterPolicyParams) WithPolicy

WithPolicy adds the policy to the create service edge router policy params

func (*CreateServiceEdgeRouterPolicyParams) WithTimeout

WithTimeout adds the timeout to the create service edge router policy params

func (*CreateServiceEdgeRouterPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateServiceEdgeRouterPolicyReader

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

CreateServiceEdgeRouterPolicyReader is a Reader for the CreateServiceEdgeRouterPolicy structure.

func (*CreateServiceEdgeRouterPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateServiceEdgeRouterPolicyUnauthorized

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

func NewCreateServiceEdgeRouterPolicyUnauthorized() *CreateServiceEdgeRouterPolicyUnauthorized

NewCreateServiceEdgeRouterPolicyUnauthorized creates a CreateServiceEdgeRouterPolicyUnauthorized with default headers values

func (*CreateServiceEdgeRouterPolicyUnauthorized) Error

func (*CreateServiceEdgeRouterPolicyUnauthorized) GetPayload

type DeleteServiceEdgeRouterPolicyBadRequest

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

func NewDeleteServiceEdgeRouterPolicyBadRequest() *DeleteServiceEdgeRouterPolicyBadRequest

NewDeleteServiceEdgeRouterPolicyBadRequest creates a DeleteServiceEdgeRouterPolicyBadRequest with default headers values

func (*DeleteServiceEdgeRouterPolicyBadRequest) Error

func (*DeleteServiceEdgeRouterPolicyBadRequest) GetPayload

type DeleteServiceEdgeRouterPolicyConflict

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

func NewDeleteServiceEdgeRouterPolicyConflict() *DeleteServiceEdgeRouterPolicyConflict

NewDeleteServiceEdgeRouterPolicyConflict creates a DeleteServiceEdgeRouterPolicyConflict with default headers values

func (*DeleteServiceEdgeRouterPolicyConflict) Error

func (*DeleteServiceEdgeRouterPolicyConflict) GetPayload

type DeleteServiceEdgeRouterPolicyOK

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

The delete request was successful and the resource has been removed

func NewDeleteServiceEdgeRouterPolicyOK

func NewDeleteServiceEdgeRouterPolicyOK() *DeleteServiceEdgeRouterPolicyOK

NewDeleteServiceEdgeRouterPolicyOK creates a DeleteServiceEdgeRouterPolicyOK with default headers values

func (*DeleteServiceEdgeRouterPolicyOK) Error

func (*DeleteServiceEdgeRouterPolicyOK) GetPayload

type DeleteServiceEdgeRouterPolicyParams

type DeleteServiceEdgeRouterPolicyParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DeleteServiceEdgeRouterPolicyParams contains all the parameters to send to the API endpoint

for the delete service edge router policy operation.

Typically these are written to a http.Request.

func NewDeleteServiceEdgeRouterPolicyParams

func NewDeleteServiceEdgeRouterPolicyParams() *DeleteServiceEdgeRouterPolicyParams

NewDeleteServiceEdgeRouterPolicyParams creates a new DeleteServiceEdgeRouterPolicyParams 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 NewDeleteServiceEdgeRouterPolicyParamsWithContext

func NewDeleteServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *DeleteServiceEdgeRouterPolicyParams

NewDeleteServiceEdgeRouterPolicyParamsWithContext creates a new DeleteServiceEdgeRouterPolicyParams object with the ability to set a context for a request.

func NewDeleteServiceEdgeRouterPolicyParamsWithHTTPClient

func NewDeleteServiceEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *DeleteServiceEdgeRouterPolicyParams

NewDeleteServiceEdgeRouterPolicyParamsWithHTTPClient creates a new DeleteServiceEdgeRouterPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteServiceEdgeRouterPolicyParamsWithTimeout

func NewDeleteServiceEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *DeleteServiceEdgeRouterPolicyParams

NewDeleteServiceEdgeRouterPolicyParamsWithTimeout creates a new DeleteServiceEdgeRouterPolicyParams object with the ability to set a timeout on a request.

func (*DeleteServiceEdgeRouterPolicyParams) SetContext

SetContext adds the context to the delete service edge router policy params

func (*DeleteServiceEdgeRouterPolicyParams) SetDefaults

func (o *DeleteServiceEdgeRouterPolicyParams) SetDefaults()

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

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

func (*DeleteServiceEdgeRouterPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete service edge router policy params

func (*DeleteServiceEdgeRouterPolicyParams) SetID

SetID adds the id to the delete service edge router policy params

func (*DeleteServiceEdgeRouterPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the delete service edge router policy params

func (*DeleteServiceEdgeRouterPolicyParams) WithContext

WithContext adds the context to the delete service edge router policy params

func (*DeleteServiceEdgeRouterPolicyParams) WithDefaults

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

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

func (*DeleteServiceEdgeRouterPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete service edge router policy params

func (*DeleteServiceEdgeRouterPolicyParams) WithID

WithID adds the id to the delete service edge router policy params

func (*DeleteServiceEdgeRouterPolicyParams) WithTimeout

WithTimeout adds the timeout to the delete service edge router policy params

func (*DeleteServiceEdgeRouterPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteServiceEdgeRouterPolicyReader

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

DeleteServiceEdgeRouterPolicyReader is a Reader for the DeleteServiceEdgeRouterPolicy structure.

func (*DeleteServiceEdgeRouterPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteServiceEdgeRouterPolicyUnauthorized

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

func NewDeleteServiceEdgeRouterPolicyUnauthorized() *DeleteServiceEdgeRouterPolicyUnauthorized

NewDeleteServiceEdgeRouterPolicyUnauthorized creates a DeleteServiceEdgeRouterPolicyUnauthorized with default headers values

func (*DeleteServiceEdgeRouterPolicyUnauthorized) Error

func (*DeleteServiceEdgeRouterPolicyUnauthorized) GetPayload

type DetailServiceEdgeRouterPolicyNotFound

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

The requested resource does not exist

func NewDetailServiceEdgeRouterPolicyNotFound

func NewDetailServiceEdgeRouterPolicyNotFound() *DetailServiceEdgeRouterPolicyNotFound

NewDetailServiceEdgeRouterPolicyNotFound creates a DetailServiceEdgeRouterPolicyNotFound with default headers values

func (*DetailServiceEdgeRouterPolicyNotFound) Error

func (*DetailServiceEdgeRouterPolicyNotFound) GetPayload

type DetailServiceEdgeRouterPolicyOK

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

A single service edge router policy

func NewDetailServiceEdgeRouterPolicyOK

func NewDetailServiceEdgeRouterPolicyOK() *DetailServiceEdgeRouterPolicyOK

NewDetailServiceEdgeRouterPolicyOK creates a DetailServiceEdgeRouterPolicyOK with default headers values

func (*DetailServiceEdgeRouterPolicyOK) Error

func (*DetailServiceEdgeRouterPolicyOK) GetPayload

type DetailServiceEdgeRouterPolicyParams

type DetailServiceEdgeRouterPolicyParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DetailServiceEdgeRouterPolicyParams contains all the parameters to send to the API endpoint

for the detail service edge router policy operation.

Typically these are written to a http.Request.

func NewDetailServiceEdgeRouterPolicyParams

func NewDetailServiceEdgeRouterPolicyParams() *DetailServiceEdgeRouterPolicyParams

NewDetailServiceEdgeRouterPolicyParams creates a new DetailServiceEdgeRouterPolicyParams 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 NewDetailServiceEdgeRouterPolicyParamsWithContext

func NewDetailServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *DetailServiceEdgeRouterPolicyParams

NewDetailServiceEdgeRouterPolicyParamsWithContext creates a new DetailServiceEdgeRouterPolicyParams object with the ability to set a context for a request.

func NewDetailServiceEdgeRouterPolicyParamsWithHTTPClient

func NewDetailServiceEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *DetailServiceEdgeRouterPolicyParams

NewDetailServiceEdgeRouterPolicyParamsWithHTTPClient creates a new DetailServiceEdgeRouterPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewDetailServiceEdgeRouterPolicyParamsWithTimeout

func NewDetailServiceEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *DetailServiceEdgeRouterPolicyParams

NewDetailServiceEdgeRouterPolicyParamsWithTimeout creates a new DetailServiceEdgeRouterPolicyParams object with the ability to set a timeout on a request.

func (*DetailServiceEdgeRouterPolicyParams) SetContext

SetContext adds the context to the detail service edge router policy params

func (*DetailServiceEdgeRouterPolicyParams) SetDefaults

func (o *DetailServiceEdgeRouterPolicyParams) SetDefaults()

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

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

func (*DetailServiceEdgeRouterPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the detail service edge router policy params

func (*DetailServiceEdgeRouterPolicyParams) SetID

SetID adds the id to the detail service edge router policy params

func (*DetailServiceEdgeRouterPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the detail service edge router policy params

func (*DetailServiceEdgeRouterPolicyParams) WithContext

WithContext adds the context to the detail service edge router policy params

func (*DetailServiceEdgeRouterPolicyParams) WithDefaults

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

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

func (*DetailServiceEdgeRouterPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the detail service edge router policy params

func (*DetailServiceEdgeRouterPolicyParams) WithID

WithID adds the id to the detail service edge router policy params

func (*DetailServiceEdgeRouterPolicyParams) WithTimeout

WithTimeout adds the timeout to the detail service edge router policy params

func (*DetailServiceEdgeRouterPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DetailServiceEdgeRouterPolicyReader

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

DetailServiceEdgeRouterPolicyReader is a Reader for the DetailServiceEdgeRouterPolicy structure.

func (*DetailServiceEdgeRouterPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DetailServiceEdgeRouterPolicyUnauthorized

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

func NewDetailServiceEdgeRouterPolicyUnauthorized() *DetailServiceEdgeRouterPolicyUnauthorized

NewDetailServiceEdgeRouterPolicyUnauthorized creates a DetailServiceEdgeRouterPolicyUnauthorized with default headers values

func (*DetailServiceEdgeRouterPolicyUnauthorized) Error

func (*DetailServiceEdgeRouterPolicyUnauthorized) GetPayload

type ListServiceEdgeRouterPoliciesBadRequest added in v0.19.176

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

func NewListServiceEdgeRouterPoliciesBadRequest() *ListServiceEdgeRouterPoliciesBadRequest

NewListServiceEdgeRouterPoliciesBadRequest creates a ListServiceEdgeRouterPoliciesBadRequest with default headers values

func (*ListServiceEdgeRouterPoliciesBadRequest) Error added in v0.19.176

func (*ListServiceEdgeRouterPoliciesBadRequest) GetPayload added in v0.19.176

type ListServiceEdgeRouterPoliciesOK

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

A list of service edge router policies

func NewListServiceEdgeRouterPoliciesOK

func NewListServiceEdgeRouterPoliciesOK() *ListServiceEdgeRouterPoliciesOK

NewListServiceEdgeRouterPoliciesOK creates a ListServiceEdgeRouterPoliciesOK with default headers values

func (*ListServiceEdgeRouterPoliciesOK) Error

func (*ListServiceEdgeRouterPoliciesOK) GetPayload

type ListServiceEdgeRouterPoliciesParams

type ListServiceEdgeRouterPoliciesParams struct {

	// Filter.
	Filter *string

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

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

ListServiceEdgeRouterPoliciesParams contains all the parameters to send to the API endpoint

for the list service edge router policies operation.

Typically these are written to a http.Request.

func NewListServiceEdgeRouterPoliciesParams

func NewListServiceEdgeRouterPoliciesParams() *ListServiceEdgeRouterPoliciesParams

NewListServiceEdgeRouterPoliciesParams creates a new ListServiceEdgeRouterPoliciesParams 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 NewListServiceEdgeRouterPoliciesParamsWithContext

func NewListServiceEdgeRouterPoliciesParamsWithContext(ctx context.Context) *ListServiceEdgeRouterPoliciesParams

NewListServiceEdgeRouterPoliciesParamsWithContext creates a new ListServiceEdgeRouterPoliciesParams object with the ability to set a context for a request.

func NewListServiceEdgeRouterPoliciesParamsWithHTTPClient

func NewListServiceEdgeRouterPoliciesParamsWithHTTPClient(client *http.Client) *ListServiceEdgeRouterPoliciesParams

NewListServiceEdgeRouterPoliciesParamsWithHTTPClient creates a new ListServiceEdgeRouterPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewListServiceEdgeRouterPoliciesParamsWithTimeout

func NewListServiceEdgeRouterPoliciesParamsWithTimeout(timeout time.Duration) *ListServiceEdgeRouterPoliciesParams

NewListServiceEdgeRouterPoliciesParamsWithTimeout creates a new ListServiceEdgeRouterPoliciesParams object with the ability to set a timeout on a request.

func (*ListServiceEdgeRouterPoliciesParams) SetContext

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

func (*ListServiceEdgeRouterPoliciesParams) SetDefaults

func (o *ListServiceEdgeRouterPoliciesParams) SetDefaults()

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

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

func (*ListServiceEdgeRouterPoliciesParams) SetFilter

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

SetFilter adds the filter to the list service edge router policies params

func (*ListServiceEdgeRouterPoliciesParams) SetHTTPClient

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

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

func (*ListServiceEdgeRouterPoliciesParams) SetLimit

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

SetLimit adds the limit to the list service edge router policies params

func (*ListServiceEdgeRouterPoliciesParams) SetOffset

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

SetOffset adds the offset to the list service edge router policies params

func (*ListServiceEdgeRouterPoliciesParams) SetTimeout

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

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

func (*ListServiceEdgeRouterPoliciesParams) WithContext

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

func (*ListServiceEdgeRouterPoliciesParams) WithDefaults

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

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

func (*ListServiceEdgeRouterPoliciesParams) WithFilter

WithFilter adds the filter to the list service edge router policies params

func (*ListServiceEdgeRouterPoliciesParams) WithHTTPClient

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

func (*ListServiceEdgeRouterPoliciesParams) WithLimit

WithLimit adds the limit to the list service edge router policies params

func (*ListServiceEdgeRouterPoliciesParams) WithOffset

WithOffset adds the offset to the list service edge router policies params

func (*ListServiceEdgeRouterPoliciesParams) WithTimeout

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

func (*ListServiceEdgeRouterPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListServiceEdgeRouterPoliciesReader

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

ListServiceEdgeRouterPoliciesReader is a Reader for the ListServiceEdgeRouterPolicies structure.

func (*ListServiceEdgeRouterPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListServiceEdgeRouterPoliciesUnauthorized

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

func NewListServiceEdgeRouterPoliciesUnauthorized() *ListServiceEdgeRouterPoliciesUnauthorized

NewListServiceEdgeRouterPoliciesUnauthorized creates a ListServiceEdgeRouterPoliciesUnauthorized with default headers values

func (*ListServiceEdgeRouterPoliciesUnauthorized) Error

func (*ListServiceEdgeRouterPoliciesUnauthorized) GetPayload

type ListServiceEdgeRouterPolicyEdgeRoutersNotFound

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

The requested resource does not exist

func NewListServiceEdgeRouterPolicyEdgeRoutersNotFound

func NewListServiceEdgeRouterPolicyEdgeRoutersNotFound() *ListServiceEdgeRouterPolicyEdgeRoutersNotFound

NewListServiceEdgeRouterPolicyEdgeRoutersNotFound creates a ListServiceEdgeRouterPolicyEdgeRoutersNotFound with default headers values

func (*ListServiceEdgeRouterPolicyEdgeRoutersNotFound) Error

func (*ListServiceEdgeRouterPolicyEdgeRoutersNotFound) GetPayload

type ListServiceEdgeRouterPolicyEdgeRoutersOK

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

A list of edge routers

func NewListServiceEdgeRouterPolicyEdgeRoutersOK

func NewListServiceEdgeRouterPolicyEdgeRoutersOK() *ListServiceEdgeRouterPolicyEdgeRoutersOK

NewListServiceEdgeRouterPolicyEdgeRoutersOK creates a ListServiceEdgeRouterPolicyEdgeRoutersOK with default headers values

func (*ListServiceEdgeRouterPolicyEdgeRoutersOK) Error

func (*ListServiceEdgeRouterPolicyEdgeRoutersOK) GetPayload

type ListServiceEdgeRouterPolicyEdgeRoutersParams

type ListServiceEdgeRouterPolicyEdgeRoutersParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

ListServiceEdgeRouterPolicyEdgeRoutersParams contains all the parameters to send to the API endpoint

for the list service edge router policy edge routers operation.

Typically these are written to a http.Request.

func NewListServiceEdgeRouterPolicyEdgeRoutersParams

func NewListServiceEdgeRouterPolicyEdgeRoutersParams() *ListServiceEdgeRouterPolicyEdgeRoutersParams

NewListServiceEdgeRouterPolicyEdgeRoutersParams creates a new ListServiceEdgeRouterPolicyEdgeRoutersParams 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 NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithContext

func NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithContext(ctx context.Context) *ListServiceEdgeRouterPolicyEdgeRoutersParams

NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithContext creates a new ListServiceEdgeRouterPolicyEdgeRoutersParams object with the ability to set a context for a request.

func NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithHTTPClient

func NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithHTTPClient(client *http.Client) *ListServiceEdgeRouterPolicyEdgeRoutersParams

NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithHTTPClient creates a new ListServiceEdgeRouterPolicyEdgeRoutersParams object with the ability to set a custom HTTPClient for a request.

func NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithTimeout

func NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithTimeout(timeout time.Duration) *ListServiceEdgeRouterPolicyEdgeRoutersParams

NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithTimeout creates a new ListServiceEdgeRouterPolicyEdgeRoutersParams object with the ability to set a timeout on a request.

func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) SetContext

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

func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) SetDefaults

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

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

func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) SetHTTPClient

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

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

func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) SetID

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

func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) SetTimeout

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

func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) WithContext

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

func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) WithDefaults

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

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

func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) WithHTTPClient

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

func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) WithID

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

func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) WithTimeout

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

func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListServiceEdgeRouterPolicyEdgeRoutersReader

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

ListServiceEdgeRouterPolicyEdgeRoutersReader is a Reader for the ListServiceEdgeRouterPolicyEdgeRouters structure.

func (*ListServiceEdgeRouterPolicyEdgeRoutersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized

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

func NewListServiceEdgeRouterPolicyEdgeRoutersUnauthorized() *ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized

NewListServiceEdgeRouterPolicyEdgeRoutersUnauthorized creates a ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized with default headers values

func (*ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized) Error

func (*ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized) GetPayload

type ListServiceEdgeRouterPolicyServicesNotFound

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

The requested resource does not exist

func NewListServiceEdgeRouterPolicyServicesNotFound

func NewListServiceEdgeRouterPolicyServicesNotFound() *ListServiceEdgeRouterPolicyServicesNotFound

NewListServiceEdgeRouterPolicyServicesNotFound creates a ListServiceEdgeRouterPolicyServicesNotFound with default headers values

func (*ListServiceEdgeRouterPolicyServicesNotFound) Error

func (*ListServiceEdgeRouterPolicyServicesNotFound) GetPayload

type ListServiceEdgeRouterPolicyServicesOK

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

A list of services

func NewListServiceEdgeRouterPolicyServicesOK

func NewListServiceEdgeRouterPolicyServicesOK() *ListServiceEdgeRouterPolicyServicesOK

NewListServiceEdgeRouterPolicyServicesOK creates a ListServiceEdgeRouterPolicyServicesOK with default headers values

func (*ListServiceEdgeRouterPolicyServicesOK) Error

func (*ListServiceEdgeRouterPolicyServicesOK) GetPayload

type ListServiceEdgeRouterPolicyServicesParams

type ListServiceEdgeRouterPolicyServicesParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

ListServiceEdgeRouterPolicyServicesParams contains all the parameters to send to the API endpoint

for the list service edge router policy services operation.

Typically these are written to a http.Request.

func NewListServiceEdgeRouterPolicyServicesParams

func NewListServiceEdgeRouterPolicyServicesParams() *ListServiceEdgeRouterPolicyServicesParams

NewListServiceEdgeRouterPolicyServicesParams creates a new ListServiceEdgeRouterPolicyServicesParams 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 NewListServiceEdgeRouterPolicyServicesParamsWithContext

func NewListServiceEdgeRouterPolicyServicesParamsWithContext(ctx context.Context) *ListServiceEdgeRouterPolicyServicesParams

NewListServiceEdgeRouterPolicyServicesParamsWithContext creates a new ListServiceEdgeRouterPolicyServicesParams object with the ability to set a context for a request.

func NewListServiceEdgeRouterPolicyServicesParamsWithHTTPClient

func NewListServiceEdgeRouterPolicyServicesParamsWithHTTPClient(client *http.Client) *ListServiceEdgeRouterPolicyServicesParams

NewListServiceEdgeRouterPolicyServicesParamsWithHTTPClient creates a new ListServiceEdgeRouterPolicyServicesParams object with the ability to set a custom HTTPClient for a request.

func NewListServiceEdgeRouterPolicyServicesParamsWithTimeout

func NewListServiceEdgeRouterPolicyServicesParamsWithTimeout(timeout time.Duration) *ListServiceEdgeRouterPolicyServicesParams

NewListServiceEdgeRouterPolicyServicesParamsWithTimeout creates a new ListServiceEdgeRouterPolicyServicesParams object with the ability to set a timeout on a request.

func (*ListServiceEdgeRouterPolicyServicesParams) SetContext

SetContext adds the context to the list service edge router policy services params

func (*ListServiceEdgeRouterPolicyServicesParams) SetDefaults

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

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

func (*ListServiceEdgeRouterPolicyServicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list service edge router policy services params

func (*ListServiceEdgeRouterPolicyServicesParams) SetID

SetID adds the id to the list service edge router policy services params

func (*ListServiceEdgeRouterPolicyServicesParams) SetTimeout

SetTimeout adds the timeout to the list service edge router policy services params

func (*ListServiceEdgeRouterPolicyServicesParams) WithContext

WithContext adds the context to the list service edge router policy services params

func (*ListServiceEdgeRouterPolicyServicesParams) WithDefaults

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

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

func (*ListServiceEdgeRouterPolicyServicesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list service edge router policy services params

func (*ListServiceEdgeRouterPolicyServicesParams) WithID

WithID adds the id to the list service edge router policy services params

func (*ListServiceEdgeRouterPolicyServicesParams) WithTimeout

WithTimeout adds the timeout to the list service edge router policy services params

func (*ListServiceEdgeRouterPolicyServicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListServiceEdgeRouterPolicyServicesReader

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

ListServiceEdgeRouterPolicyServicesReader is a Reader for the ListServiceEdgeRouterPolicyServices structure.

func (*ListServiceEdgeRouterPolicyServicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListServiceEdgeRouterPolicyServicesUnauthorized

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

func NewListServiceEdgeRouterPolicyServicesUnauthorized() *ListServiceEdgeRouterPolicyServicesUnauthorized

NewListServiceEdgeRouterPolicyServicesUnauthorized creates a ListServiceEdgeRouterPolicyServicesUnauthorized with default headers values

func (*ListServiceEdgeRouterPolicyServicesUnauthorized) Error

func (*ListServiceEdgeRouterPolicyServicesUnauthorized) GetPayload

type PatchServiceEdgeRouterPolicyBadRequest

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

func NewPatchServiceEdgeRouterPolicyBadRequest() *PatchServiceEdgeRouterPolicyBadRequest

NewPatchServiceEdgeRouterPolicyBadRequest creates a PatchServiceEdgeRouterPolicyBadRequest with default headers values

func (*PatchServiceEdgeRouterPolicyBadRequest) Error

func (*PatchServiceEdgeRouterPolicyBadRequest) GetPayload

type PatchServiceEdgeRouterPolicyNotFound

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

The requested resource does not exist

func NewPatchServiceEdgeRouterPolicyNotFound

func NewPatchServiceEdgeRouterPolicyNotFound() *PatchServiceEdgeRouterPolicyNotFound

NewPatchServiceEdgeRouterPolicyNotFound creates a PatchServiceEdgeRouterPolicyNotFound with default headers values

func (*PatchServiceEdgeRouterPolicyNotFound) Error

func (*PatchServiceEdgeRouterPolicyNotFound) GetPayload

type PatchServiceEdgeRouterPolicyOK

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

The patch request was successful and the resource has been altered

func NewPatchServiceEdgeRouterPolicyOK

func NewPatchServiceEdgeRouterPolicyOK() *PatchServiceEdgeRouterPolicyOK

NewPatchServiceEdgeRouterPolicyOK creates a PatchServiceEdgeRouterPolicyOK with default headers values

func (*PatchServiceEdgeRouterPolicyOK) Error

func (*PatchServiceEdgeRouterPolicyOK) GetPayload

type PatchServiceEdgeRouterPolicyParams

type PatchServiceEdgeRouterPolicyParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

	/* Policy.

	   A service edge router policy patch object
	*/
	Policy *rest_model.ServiceEdgeRouterPolicyPatch

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

PatchServiceEdgeRouterPolicyParams contains all the parameters to send to the API endpoint

for the patch service edge router policy operation.

Typically these are written to a http.Request.

func NewPatchServiceEdgeRouterPolicyParams

func NewPatchServiceEdgeRouterPolicyParams() *PatchServiceEdgeRouterPolicyParams

NewPatchServiceEdgeRouterPolicyParams creates a new PatchServiceEdgeRouterPolicyParams 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 NewPatchServiceEdgeRouterPolicyParamsWithContext

func NewPatchServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *PatchServiceEdgeRouterPolicyParams

NewPatchServiceEdgeRouterPolicyParamsWithContext creates a new PatchServiceEdgeRouterPolicyParams object with the ability to set a context for a request.

func NewPatchServiceEdgeRouterPolicyParamsWithHTTPClient

func NewPatchServiceEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *PatchServiceEdgeRouterPolicyParams

NewPatchServiceEdgeRouterPolicyParamsWithHTTPClient creates a new PatchServiceEdgeRouterPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewPatchServiceEdgeRouterPolicyParamsWithTimeout

func NewPatchServiceEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *PatchServiceEdgeRouterPolicyParams

NewPatchServiceEdgeRouterPolicyParamsWithTimeout creates a new PatchServiceEdgeRouterPolicyParams object with the ability to set a timeout on a request.

func (*PatchServiceEdgeRouterPolicyParams) SetContext

SetContext adds the context to the patch service edge router policy params

func (*PatchServiceEdgeRouterPolicyParams) SetDefaults

func (o *PatchServiceEdgeRouterPolicyParams) SetDefaults()

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

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

func (*PatchServiceEdgeRouterPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch service edge router policy params

func (*PatchServiceEdgeRouterPolicyParams) SetID

SetID adds the id to the patch service edge router policy params

func (*PatchServiceEdgeRouterPolicyParams) SetPolicy

SetPolicy adds the policy to the patch service edge router policy params

func (*PatchServiceEdgeRouterPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the patch service edge router policy params

func (*PatchServiceEdgeRouterPolicyParams) WithContext

WithContext adds the context to the patch service edge router policy params

func (*PatchServiceEdgeRouterPolicyParams) WithDefaults

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

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

func (*PatchServiceEdgeRouterPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch service edge router policy params

func (*PatchServiceEdgeRouterPolicyParams) WithID

WithID adds the id to the patch service edge router policy params

func (*PatchServiceEdgeRouterPolicyParams) WithPolicy

WithPolicy adds the policy to the patch service edge router policy params

func (*PatchServiceEdgeRouterPolicyParams) WithTimeout

WithTimeout adds the timeout to the patch service edge router policy params

func (*PatchServiceEdgeRouterPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchServiceEdgeRouterPolicyReader

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

PatchServiceEdgeRouterPolicyReader is a Reader for the PatchServiceEdgeRouterPolicy structure.

func (*PatchServiceEdgeRouterPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchServiceEdgeRouterPolicyUnauthorized

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

func NewPatchServiceEdgeRouterPolicyUnauthorized() *PatchServiceEdgeRouterPolicyUnauthorized

NewPatchServiceEdgeRouterPolicyUnauthorized creates a PatchServiceEdgeRouterPolicyUnauthorized with default headers values

func (*PatchServiceEdgeRouterPolicyUnauthorized) Error

func (*PatchServiceEdgeRouterPolicyUnauthorized) GetPayload

type UpdateServiceEdgeRouterPolicyBadRequest

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

func NewUpdateServiceEdgeRouterPolicyBadRequest() *UpdateServiceEdgeRouterPolicyBadRequest

NewUpdateServiceEdgeRouterPolicyBadRequest creates a UpdateServiceEdgeRouterPolicyBadRequest with default headers values

func (*UpdateServiceEdgeRouterPolicyBadRequest) Error

func (*UpdateServiceEdgeRouterPolicyBadRequest) GetPayload

type UpdateServiceEdgeRouterPolicyNotFound

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

The requested resource does not exist

func NewUpdateServiceEdgeRouterPolicyNotFound

func NewUpdateServiceEdgeRouterPolicyNotFound() *UpdateServiceEdgeRouterPolicyNotFound

NewUpdateServiceEdgeRouterPolicyNotFound creates a UpdateServiceEdgeRouterPolicyNotFound with default headers values

func (*UpdateServiceEdgeRouterPolicyNotFound) Error

func (*UpdateServiceEdgeRouterPolicyNotFound) GetPayload

type UpdateServiceEdgeRouterPolicyOK

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

The update request was successful and the resource has been altered

func NewUpdateServiceEdgeRouterPolicyOK

func NewUpdateServiceEdgeRouterPolicyOK() *UpdateServiceEdgeRouterPolicyOK

NewUpdateServiceEdgeRouterPolicyOK creates a UpdateServiceEdgeRouterPolicyOK with default headers values

func (*UpdateServiceEdgeRouterPolicyOK) Error

func (*UpdateServiceEdgeRouterPolicyOK) GetPayload

type UpdateServiceEdgeRouterPolicyParams

type UpdateServiceEdgeRouterPolicyParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

	/* Policy.

	   A service edge router policy update object
	*/
	Policy *rest_model.ServiceEdgeRouterPolicyUpdate

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

UpdateServiceEdgeRouterPolicyParams contains all the parameters to send to the API endpoint

for the update service edge router policy operation.

Typically these are written to a http.Request.

func NewUpdateServiceEdgeRouterPolicyParams

func NewUpdateServiceEdgeRouterPolicyParams() *UpdateServiceEdgeRouterPolicyParams

NewUpdateServiceEdgeRouterPolicyParams creates a new UpdateServiceEdgeRouterPolicyParams 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 NewUpdateServiceEdgeRouterPolicyParamsWithContext

func NewUpdateServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *UpdateServiceEdgeRouterPolicyParams

NewUpdateServiceEdgeRouterPolicyParamsWithContext creates a new UpdateServiceEdgeRouterPolicyParams object with the ability to set a context for a request.

func NewUpdateServiceEdgeRouterPolicyParamsWithHTTPClient

func NewUpdateServiceEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *UpdateServiceEdgeRouterPolicyParams

NewUpdateServiceEdgeRouterPolicyParamsWithHTTPClient creates a new UpdateServiceEdgeRouterPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateServiceEdgeRouterPolicyParamsWithTimeout

func NewUpdateServiceEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *UpdateServiceEdgeRouterPolicyParams

NewUpdateServiceEdgeRouterPolicyParamsWithTimeout creates a new UpdateServiceEdgeRouterPolicyParams object with the ability to set a timeout on a request.

func (*UpdateServiceEdgeRouterPolicyParams) SetContext

SetContext adds the context to the update service edge router policy params

func (*UpdateServiceEdgeRouterPolicyParams) SetDefaults

func (o *UpdateServiceEdgeRouterPolicyParams) SetDefaults()

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

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

func (*UpdateServiceEdgeRouterPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update service edge router policy params

func (*UpdateServiceEdgeRouterPolicyParams) SetID

SetID adds the id to the update service edge router policy params

func (*UpdateServiceEdgeRouterPolicyParams) SetPolicy

SetPolicy adds the policy to the update service edge router policy params

func (*UpdateServiceEdgeRouterPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the update service edge router policy params

func (*UpdateServiceEdgeRouterPolicyParams) WithContext

WithContext adds the context to the update service edge router policy params

func (*UpdateServiceEdgeRouterPolicyParams) WithDefaults

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

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

func (*UpdateServiceEdgeRouterPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update service edge router policy params

func (*UpdateServiceEdgeRouterPolicyParams) WithID

WithID adds the id to the update service edge router policy params

func (*UpdateServiceEdgeRouterPolicyParams) WithPolicy

WithPolicy adds the policy to the update service edge router policy params

func (*UpdateServiceEdgeRouterPolicyParams) WithTimeout

WithTimeout adds the timeout to the update service edge router policy params

func (*UpdateServiceEdgeRouterPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateServiceEdgeRouterPolicyReader

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

UpdateServiceEdgeRouterPolicyReader is a Reader for the UpdateServiceEdgeRouterPolicy structure.

func (*UpdateServiceEdgeRouterPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateServiceEdgeRouterPolicyUnauthorized

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

func NewUpdateServiceEdgeRouterPolicyUnauthorized() *UpdateServiceEdgeRouterPolicyUnauthorized

NewUpdateServiceEdgeRouterPolicyUnauthorized creates a UpdateServiceEdgeRouterPolicyUnauthorized with default headers values

func (*UpdateServiceEdgeRouterPolicyUnauthorized) Error

func (*UpdateServiceEdgeRouterPolicyUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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