service_edge_router_policy

package
v0.19.90 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 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) (*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) (*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) (*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

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) (*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) (*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 ClientService

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 handles this case with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewCreateServiceEdgeRouterPolicyBadRequest

func NewCreateServiceEdgeRouterPolicyBadRequest() *CreateServiceEdgeRouterPolicyBadRequest

NewCreateServiceEdgeRouterPolicyBadRequest creates a CreateServiceEdgeRouterPolicyBadRequest with default headers values

func (*CreateServiceEdgeRouterPolicyBadRequest) Error

func (*CreateServiceEdgeRouterPolicyBadRequest) GetPayload

type CreateServiceEdgeRouterPolicyCreated added in v0.17.52

type CreateServiceEdgeRouterPolicyCreated struct {
	Payload *rest_model.CreateEnvelope
}

CreateServiceEdgeRouterPolicyCreated handles this case with default header values.

The create request was successful and the resource has been added at the following location

func NewCreateServiceEdgeRouterPolicyCreated added in v0.17.52

func NewCreateServiceEdgeRouterPolicyCreated() *CreateServiceEdgeRouterPolicyCreated

NewCreateServiceEdgeRouterPolicyCreated creates a CreateServiceEdgeRouterPolicyCreated with default headers values

func (*CreateServiceEdgeRouterPolicyCreated) Error added in v0.17.52

func (*CreateServiceEdgeRouterPolicyCreated) GetPayload added in v0.17.52

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 values initialized.

func NewCreateServiceEdgeRouterPolicyParamsWithContext

func NewCreateServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *CreateServiceEdgeRouterPolicyParams

NewCreateServiceEdgeRouterPolicyParamsWithContext creates a new CreateServiceEdgeRouterPolicyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient

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

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

func (*CreateServiceEdgeRouterPolicyParams) SetPolicy added in v0.19.6

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) WithHTTPClient

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

func (*CreateServiceEdgeRouterPolicyParams) WithPolicy added in v0.19.6

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 handles this case 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 handles this case with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func 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 handles this case 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 handles this case 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 values initialized.

func NewDeleteServiceEdgeRouterPolicyParamsWithContext

func NewDeleteServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *DeleteServiceEdgeRouterPolicyParams

NewDeleteServiceEdgeRouterPolicyParamsWithContext creates a new DeleteServiceEdgeRouterPolicyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 handles this case 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 values initialized.

func NewDetailServiceEdgeRouterPolicyParamsWithContext

func NewDetailServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *DetailServiceEdgeRouterPolicyParams

NewDetailServiceEdgeRouterPolicyParamsWithContext creates a new DetailServiceEdgeRouterPolicyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 ListServiceEdgeRouterPoliciesOK

type ListServiceEdgeRouterPoliciesOK struct {
	Payload *rest_model.ListServiceEdgeRouterPoliciesEnvelope
}

ListServiceEdgeRouterPoliciesOK handles this case 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 values initialized.

func NewListServiceEdgeRouterPoliciesParamsWithContext

func NewListServiceEdgeRouterPoliciesParamsWithContext(ctx context.Context) *ListServiceEdgeRouterPoliciesParams

NewListServiceEdgeRouterPoliciesParamsWithContext creates a new ListServiceEdgeRouterPoliciesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 handles this case 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 values initialized.

func NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithContext

func NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithContext(ctx context.Context) *ListServiceEdgeRouterPolicyEdgeRoutersParams

NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithContext creates a new ListServiceEdgeRouterPolicyEdgeRoutersParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 handles this case 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 values initialized.

func NewListServiceEdgeRouterPolicyServicesParamsWithContext

func NewListServiceEdgeRouterPolicyServicesParamsWithContext(ctx context.Context) *ListServiceEdgeRouterPolicyServicesParams

NewListServiceEdgeRouterPolicyServicesParamsWithContext creates a new ListServiceEdgeRouterPolicyServicesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func 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 handles this case 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 handles this case 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 values initialized.

func NewPatchServiceEdgeRouterPolicyParamsWithContext

func NewPatchServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *PatchServiceEdgeRouterPolicyParams

NewPatchServiceEdgeRouterPolicyParamsWithContext creates a new PatchServiceEdgeRouterPolicyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 added in v0.19.6

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) 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 added in v0.19.6

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 handles this case 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 handles this case with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func 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 handles this case 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 handles this case 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 values initialized.

func NewUpdateServiceEdgeRouterPolicyParamsWithContext

func NewUpdateServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *UpdateServiceEdgeRouterPolicyParams

NewUpdateServiceEdgeRouterPolicyParamsWithContext creates a new UpdateServiceEdgeRouterPolicyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 added in v0.19.6

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) 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 added in v0.19.6

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 handles this case 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