Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateServiceEdgeRouterPolicy(params *CreateServiceEdgeRouterPolicyParams, ...) (*CreateServiceEdgeRouterPolicyCreated, error)
- func (a *Client) DeleteServiceEdgeRouterPolicy(params *DeleteServiceEdgeRouterPolicyParams, ...) (*DeleteServiceEdgeRouterPolicyOK, error)
- func (a *Client) DetailServiceEdgeRouterPolicy(params *DetailServiceEdgeRouterPolicyParams, ...) (*DetailServiceEdgeRouterPolicyOK, error)
- func (a *Client) ListServiceEdgeRouterPolicies(params *ListServiceEdgeRouterPoliciesParams, ...) (*ListServiceEdgeRouterPoliciesOK, error)
- func (a *Client) ListServiceEdgeRouterPolicyEdgeRouters(params *ListServiceEdgeRouterPolicyEdgeRoutersParams, ...) (*ListServiceEdgeRouterPolicyEdgeRoutersOK, error)
- func (a *Client) ListServiceEdgeRouterPolicyServices(params *ListServiceEdgeRouterPolicyServicesParams, ...) (*ListServiceEdgeRouterPolicyServicesOK, error)
- func (a *Client) PatchServiceEdgeRouterPolicy(params *PatchServiceEdgeRouterPolicyParams, ...) (*PatchServiceEdgeRouterPolicyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateServiceEdgeRouterPolicy(params *UpdateServiceEdgeRouterPolicyParams, ...) (*UpdateServiceEdgeRouterPolicyOK, error)
- type ClientOption
- type ClientService
- type CreateServiceEdgeRouterPolicyBadRequest
- type CreateServiceEdgeRouterPolicyCreated
- type CreateServiceEdgeRouterPolicyParams
- func NewCreateServiceEdgeRouterPolicyParams() *CreateServiceEdgeRouterPolicyParams
- func NewCreateServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *CreateServiceEdgeRouterPolicyParams
- func NewCreateServiceEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *CreateServiceEdgeRouterPolicyParams
- func NewCreateServiceEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *CreateServiceEdgeRouterPolicyParams
- func (o *CreateServiceEdgeRouterPolicyParams) SetContext(ctx context.Context)
- func (o *CreateServiceEdgeRouterPolicyParams) SetDefaults()
- func (o *CreateServiceEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
- func (o *CreateServiceEdgeRouterPolicyParams) SetPolicy(policy *rest_model.ServiceEdgeRouterPolicyCreate)
- func (o *CreateServiceEdgeRouterPolicyParams) SetTimeout(timeout time.Duration)
- func (o *CreateServiceEdgeRouterPolicyParams) WithContext(ctx context.Context) *CreateServiceEdgeRouterPolicyParams
- func (o *CreateServiceEdgeRouterPolicyParams) WithDefaults() *CreateServiceEdgeRouterPolicyParams
- func (o *CreateServiceEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *CreateServiceEdgeRouterPolicyParams
- func (o *CreateServiceEdgeRouterPolicyParams) WithPolicy(policy *rest_model.ServiceEdgeRouterPolicyCreate) *CreateServiceEdgeRouterPolicyParams
- func (o *CreateServiceEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *CreateServiceEdgeRouterPolicyParams
- func (o *CreateServiceEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateServiceEdgeRouterPolicyReader
- type CreateServiceEdgeRouterPolicyUnauthorized
- type DeleteServiceEdgeRouterPolicyBadRequest
- type DeleteServiceEdgeRouterPolicyConflict
- type DeleteServiceEdgeRouterPolicyOK
- type DeleteServiceEdgeRouterPolicyParams
- func NewDeleteServiceEdgeRouterPolicyParams() *DeleteServiceEdgeRouterPolicyParams
- func NewDeleteServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *DeleteServiceEdgeRouterPolicyParams
- func NewDeleteServiceEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *DeleteServiceEdgeRouterPolicyParams
- func NewDeleteServiceEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *DeleteServiceEdgeRouterPolicyParams
- func (o *DeleteServiceEdgeRouterPolicyParams) SetContext(ctx context.Context)
- func (o *DeleteServiceEdgeRouterPolicyParams) SetDefaults()
- func (o *DeleteServiceEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteServiceEdgeRouterPolicyParams) SetID(id string)
- func (o *DeleteServiceEdgeRouterPolicyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteServiceEdgeRouterPolicyParams) WithContext(ctx context.Context) *DeleteServiceEdgeRouterPolicyParams
- func (o *DeleteServiceEdgeRouterPolicyParams) WithDefaults() *DeleteServiceEdgeRouterPolicyParams
- func (o *DeleteServiceEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *DeleteServiceEdgeRouterPolicyParams
- func (o *DeleteServiceEdgeRouterPolicyParams) WithID(id string) *DeleteServiceEdgeRouterPolicyParams
- func (o *DeleteServiceEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *DeleteServiceEdgeRouterPolicyParams
- func (o *DeleteServiceEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteServiceEdgeRouterPolicyReader
- type DeleteServiceEdgeRouterPolicyUnauthorized
- type DetailServiceEdgeRouterPolicyNotFound
- type DetailServiceEdgeRouterPolicyOK
- type DetailServiceEdgeRouterPolicyParams
- func NewDetailServiceEdgeRouterPolicyParams() *DetailServiceEdgeRouterPolicyParams
- func NewDetailServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *DetailServiceEdgeRouterPolicyParams
- func NewDetailServiceEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *DetailServiceEdgeRouterPolicyParams
- func NewDetailServiceEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *DetailServiceEdgeRouterPolicyParams
- func (o *DetailServiceEdgeRouterPolicyParams) SetContext(ctx context.Context)
- func (o *DetailServiceEdgeRouterPolicyParams) SetDefaults()
- func (o *DetailServiceEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
- func (o *DetailServiceEdgeRouterPolicyParams) SetID(id string)
- func (o *DetailServiceEdgeRouterPolicyParams) SetTimeout(timeout time.Duration)
- func (o *DetailServiceEdgeRouterPolicyParams) WithContext(ctx context.Context) *DetailServiceEdgeRouterPolicyParams
- func (o *DetailServiceEdgeRouterPolicyParams) WithDefaults() *DetailServiceEdgeRouterPolicyParams
- func (o *DetailServiceEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *DetailServiceEdgeRouterPolicyParams
- func (o *DetailServiceEdgeRouterPolicyParams) WithID(id string) *DetailServiceEdgeRouterPolicyParams
- func (o *DetailServiceEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *DetailServiceEdgeRouterPolicyParams
- func (o *DetailServiceEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailServiceEdgeRouterPolicyReader
- type DetailServiceEdgeRouterPolicyUnauthorized
- type ListServiceEdgeRouterPoliciesBadRequest
- type ListServiceEdgeRouterPoliciesOK
- type ListServiceEdgeRouterPoliciesParams
- func NewListServiceEdgeRouterPoliciesParams() *ListServiceEdgeRouterPoliciesParams
- func NewListServiceEdgeRouterPoliciesParamsWithContext(ctx context.Context) *ListServiceEdgeRouterPoliciesParams
- func NewListServiceEdgeRouterPoliciesParamsWithHTTPClient(client *http.Client) *ListServiceEdgeRouterPoliciesParams
- func NewListServiceEdgeRouterPoliciesParamsWithTimeout(timeout time.Duration) *ListServiceEdgeRouterPoliciesParams
- func (o *ListServiceEdgeRouterPoliciesParams) SetContext(ctx context.Context)
- func (o *ListServiceEdgeRouterPoliciesParams) SetDefaults()
- func (o *ListServiceEdgeRouterPoliciesParams) SetFilter(filter *string)
- func (o *ListServiceEdgeRouterPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *ListServiceEdgeRouterPoliciesParams) SetLimit(limit *int64)
- func (o *ListServiceEdgeRouterPoliciesParams) SetOffset(offset *int64)
- func (o *ListServiceEdgeRouterPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *ListServiceEdgeRouterPoliciesParams) WithContext(ctx context.Context) *ListServiceEdgeRouterPoliciesParams
- func (o *ListServiceEdgeRouterPoliciesParams) WithDefaults() *ListServiceEdgeRouterPoliciesParams
- func (o *ListServiceEdgeRouterPoliciesParams) WithFilter(filter *string) *ListServiceEdgeRouterPoliciesParams
- func (o *ListServiceEdgeRouterPoliciesParams) WithHTTPClient(client *http.Client) *ListServiceEdgeRouterPoliciesParams
- func (o *ListServiceEdgeRouterPoliciesParams) WithLimit(limit *int64) *ListServiceEdgeRouterPoliciesParams
- func (o *ListServiceEdgeRouterPoliciesParams) WithOffset(offset *int64) *ListServiceEdgeRouterPoliciesParams
- func (o *ListServiceEdgeRouterPoliciesParams) WithTimeout(timeout time.Duration) *ListServiceEdgeRouterPoliciesParams
- func (o *ListServiceEdgeRouterPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServiceEdgeRouterPoliciesReader
- type ListServiceEdgeRouterPoliciesUnauthorized
- type ListServiceEdgeRouterPolicyEdgeRoutersNotFound
- type ListServiceEdgeRouterPolicyEdgeRoutersOK
- type ListServiceEdgeRouterPolicyEdgeRoutersParams
- func NewListServiceEdgeRouterPolicyEdgeRoutersParams() *ListServiceEdgeRouterPolicyEdgeRoutersParams
- func NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithContext(ctx context.Context) *ListServiceEdgeRouterPolicyEdgeRoutersParams
- func NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithHTTPClient(client *http.Client) *ListServiceEdgeRouterPolicyEdgeRoutersParams
- func NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithTimeout(timeout time.Duration) *ListServiceEdgeRouterPolicyEdgeRoutersParams
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) SetContext(ctx context.Context)
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) SetDefaults()
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) SetHTTPClient(client *http.Client)
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) SetID(id string)
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) SetTimeout(timeout time.Duration)
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) WithContext(ctx context.Context) *ListServiceEdgeRouterPolicyEdgeRoutersParams
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) WithDefaults() *ListServiceEdgeRouterPolicyEdgeRoutersParams
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) WithHTTPClient(client *http.Client) *ListServiceEdgeRouterPolicyEdgeRoutersParams
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) WithID(id string) *ListServiceEdgeRouterPolicyEdgeRoutersParams
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) WithTimeout(timeout time.Duration) *ListServiceEdgeRouterPolicyEdgeRoutersParams
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServiceEdgeRouterPolicyEdgeRoutersReader
- type ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized
- type ListServiceEdgeRouterPolicyServicesNotFound
- type ListServiceEdgeRouterPolicyServicesOK
- type ListServiceEdgeRouterPolicyServicesParams
- func NewListServiceEdgeRouterPolicyServicesParams() *ListServiceEdgeRouterPolicyServicesParams
- func NewListServiceEdgeRouterPolicyServicesParamsWithContext(ctx context.Context) *ListServiceEdgeRouterPolicyServicesParams
- func NewListServiceEdgeRouterPolicyServicesParamsWithHTTPClient(client *http.Client) *ListServiceEdgeRouterPolicyServicesParams
- func NewListServiceEdgeRouterPolicyServicesParamsWithTimeout(timeout time.Duration) *ListServiceEdgeRouterPolicyServicesParams
- func (o *ListServiceEdgeRouterPolicyServicesParams) SetContext(ctx context.Context)
- func (o *ListServiceEdgeRouterPolicyServicesParams) SetDefaults()
- func (o *ListServiceEdgeRouterPolicyServicesParams) SetHTTPClient(client *http.Client)
- func (o *ListServiceEdgeRouterPolicyServicesParams) SetID(id string)
- func (o *ListServiceEdgeRouterPolicyServicesParams) SetTimeout(timeout time.Duration)
- func (o *ListServiceEdgeRouterPolicyServicesParams) WithContext(ctx context.Context) *ListServiceEdgeRouterPolicyServicesParams
- func (o *ListServiceEdgeRouterPolicyServicesParams) WithDefaults() *ListServiceEdgeRouterPolicyServicesParams
- func (o *ListServiceEdgeRouterPolicyServicesParams) WithHTTPClient(client *http.Client) *ListServiceEdgeRouterPolicyServicesParams
- func (o *ListServiceEdgeRouterPolicyServicesParams) WithID(id string) *ListServiceEdgeRouterPolicyServicesParams
- func (o *ListServiceEdgeRouterPolicyServicesParams) WithTimeout(timeout time.Duration) *ListServiceEdgeRouterPolicyServicesParams
- func (o *ListServiceEdgeRouterPolicyServicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServiceEdgeRouterPolicyServicesReader
- type ListServiceEdgeRouterPolicyServicesUnauthorized
- type PatchServiceEdgeRouterPolicyBadRequest
- type PatchServiceEdgeRouterPolicyNotFound
- type PatchServiceEdgeRouterPolicyOK
- type PatchServiceEdgeRouterPolicyParams
- func NewPatchServiceEdgeRouterPolicyParams() *PatchServiceEdgeRouterPolicyParams
- func NewPatchServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *PatchServiceEdgeRouterPolicyParams
- func NewPatchServiceEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *PatchServiceEdgeRouterPolicyParams
- func NewPatchServiceEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *PatchServiceEdgeRouterPolicyParams
- func (o *PatchServiceEdgeRouterPolicyParams) SetContext(ctx context.Context)
- func (o *PatchServiceEdgeRouterPolicyParams) SetDefaults()
- func (o *PatchServiceEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
- func (o *PatchServiceEdgeRouterPolicyParams) SetID(id string)
- func (o *PatchServiceEdgeRouterPolicyParams) SetPolicy(policy *rest_model.ServiceEdgeRouterPolicyPatch)
- func (o *PatchServiceEdgeRouterPolicyParams) SetTimeout(timeout time.Duration)
- func (o *PatchServiceEdgeRouterPolicyParams) WithContext(ctx context.Context) *PatchServiceEdgeRouterPolicyParams
- func (o *PatchServiceEdgeRouterPolicyParams) WithDefaults() *PatchServiceEdgeRouterPolicyParams
- func (o *PatchServiceEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *PatchServiceEdgeRouterPolicyParams
- func (o *PatchServiceEdgeRouterPolicyParams) WithID(id string) *PatchServiceEdgeRouterPolicyParams
- func (o *PatchServiceEdgeRouterPolicyParams) WithPolicy(policy *rest_model.ServiceEdgeRouterPolicyPatch) *PatchServiceEdgeRouterPolicyParams
- func (o *PatchServiceEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *PatchServiceEdgeRouterPolicyParams
- func (o *PatchServiceEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchServiceEdgeRouterPolicyReader
- type PatchServiceEdgeRouterPolicyUnauthorized
- type UpdateServiceEdgeRouterPolicyBadRequest
- type UpdateServiceEdgeRouterPolicyNotFound
- type UpdateServiceEdgeRouterPolicyOK
- type UpdateServiceEdgeRouterPolicyParams
- func NewUpdateServiceEdgeRouterPolicyParams() *UpdateServiceEdgeRouterPolicyParams
- func NewUpdateServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *UpdateServiceEdgeRouterPolicyParams
- func NewUpdateServiceEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *UpdateServiceEdgeRouterPolicyParams
- func NewUpdateServiceEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *UpdateServiceEdgeRouterPolicyParams
- func (o *UpdateServiceEdgeRouterPolicyParams) SetContext(ctx context.Context)
- func (o *UpdateServiceEdgeRouterPolicyParams) SetDefaults()
- func (o *UpdateServiceEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
- func (o *UpdateServiceEdgeRouterPolicyParams) SetID(id string)
- func (o *UpdateServiceEdgeRouterPolicyParams) SetPolicy(policy *rest_model.ServiceEdgeRouterPolicyUpdate)
- func (o *UpdateServiceEdgeRouterPolicyParams) SetTimeout(timeout time.Duration)
- func (o *UpdateServiceEdgeRouterPolicyParams) WithContext(ctx context.Context) *UpdateServiceEdgeRouterPolicyParams
- func (o *UpdateServiceEdgeRouterPolicyParams) WithDefaults() *UpdateServiceEdgeRouterPolicyParams
- func (o *UpdateServiceEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *UpdateServiceEdgeRouterPolicyParams
- func (o *UpdateServiceEdgeRouterPolicyParams) WithID(id string) *UpdateServiceEdgeRouterPolicyParams
- func (o *UpdateServiceEdgeRouterPolicyParams) WithPolicy(policy *rest_model.ServiceEdgeRouterPolicyUpdate) *UpdateServiceEdgeRouterPolicyParams
- func (o *UpdateServiceEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *UpdateServiceEdgeRouterPolicyParams
- func (o *UpdateServiceEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateServiceEdgeRouterPolicyReader
- type UpdateServiceEdgeRouterPolicyUnauthorized
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 ¶
func (a *Client) CreateServiceEdgeRouterPolicy(params *CreateServiceEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServiceEdgeRouterPolicyCreated, error)
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 ¶
func (a *Client) ListServiceEdgeRouterPolicyEdgeRouters(params *ListServiceEdgeRouterPolicyEdgeRoutersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceEdgeRouterPolicyEdgeRoutersOK, error)
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 (o *CreateServiceEdgeRouterPolicyBadRequest) Error() string
func (*CreateServiceEdgeRouterPolicyBadRequest) GetPayload ¶
func (o *CreateServiceEdgeRouterPolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
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 (o *CreateServiceEdgeRouterPolicyCreated) Error() string
func (*CreateServiceEdgeRouterPolicyCreated) GetPayload ¶
func (o *CreateServiceEdgeRouterPolicyCreated) GetPayload() *rest_model.CreateEnvelope
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 ¶
func (o *CreateServiceEdgeRouterPolicyParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateServiceEdgeRouterPolicyParams) SetPolicy(policy *rest_model.ServiceEdgeRouterPolicyCreate)
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 ¶
func (o *CreateServiceEdgeRouterPolicyParams) WithContext(ctx context.Context) *CreateServiceEdgeRouterPolicyParams
WithContext adds the context to the create service edge router policy params
func (*CreateServiceEdgeRouterPolicyParams) WithDefaults ¶
func (o *CreateServiceEdgeRouterPolicyParams) WithDefaults() *CreateServiceEdgeRouterPolicyParams
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 ¶
func (o *CreateServiceEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *CreateServiceEdgeRouterPolicyParams
WithHTTPClient adds the HTTPClient to the create service edge router policy params
func (*CreateServiceEdgeRouterPolicyParams) WithPolicy ¶
func (o *CreateServiceEdgeRouterPolicyParams) WithPolicy(policy *rest_model.ServiceEdgeRouterPolicyCreate) *CreateServiceEdgeRouterPolicyParams
WithPolicy adds the policy to the create service edge router policy params
func (*CreateServiceEdgeRouterPolicyParams) WithTimeout ¶
func (o *CreateServiceEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *CreateServiceEdgeRouterPolicyParams
WithTimeout adds the timeout to the create service edge router policy params
func (*CreateServiceEdgeRouterPolicyParams) WriteToRequest ¶
func (o *CreateServiceEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *CreateServiceEdgeRouterPolicyUnauthorized) Error() string
func (*CreateServiceEdgeRouterPolicyUnauthorized) GetPayload ¶
func (o *CreateServiceEdgeRouterPolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 (o *DeleteServiceEdgeRouterPolicyBadRequest) Error() string
func (*DeleteServiceEdgeRouterPolicyBadRequest) GetPayload ¶
func (o *DeleteServiceEdgeRouterPolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
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 (o *DeleteServiceEdgeRouterPolicyConflict) Error() string
func (*DeleteServiceEdgeRouterPolicyConflict) GetPayload ¶
func (o *DeleteServiceEdgeRouterPolicyConflict) GetPayload() *rest_model.APIErrorEnvelope
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 (o *DeleteServiceEdgeRouterPolicyOK) Error() string
func (*DeleteServiceEdgeRouterPolicyOK) GetPayload ¶
func (o *DeleteServiceEdgeRouterPolicyOK) GetPayload() *rest_model.Empty
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 ¶
func (o *DeleteServiceEdgeRouterPolicyParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteServiceEdgeRouterPolicyParams) SetID(id string)
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 ¶
func (o *DeleteServiceEdgeRouterPolicyParams) WithContext(ctx context.Context) *DeleteServiceEdgeRouterPolicyParams
WithContext adds the context to the delete service edge router policy params
func (*DeleteServiceEdgeRouterPolicyParams) WithDefaults ¶
func (o *DeleteServiceEdgeRouterPolicyParams) WithDefaults() *DeleteServiceEdgeRouterPolicyParams
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 ¶
func (o *DeleteServiceEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *DeleteServiceEdgeRouterPolicyParams
WithHTTPClient adds the HTTPClient to the delete service edge router policy params
func (*DeleteServiceEdgeRouterPolicyParams) WithID ¶
func (o *DeleteServiceEdgeRouterPolicyParams) WithID(id string) *DeleteServiceEdgeRouterPolicyParams
WithID adds the id to the delete service edge router policy params
func (*DeleteServiceEdgeRouterPolicyParams) WithTimeout ¶
func (o *DeleteServiceEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *DeleteServiceEdgeRouterPolicyParams
WithTimeout adds the timeout to the delete service edge router policy params
func (*DeleteServiceEdgeRouterPolicyParams) WriteToRequest ¶
func (o *DeleteServiceEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *DeleteServiceEdgeRouterPolicyUnauthorized) Error() string
func (*DeleteServiceEdgeRouterPolicyUnauthorized) GetPayload ¶
func (o *DeleteServiceEdgeRouterPolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 (o *DetailServiceEdgeRouterPolicyNotFound) Error() string
func (*DetailServiceEdgeRouterPolicyNotFound) GetPayload ¶
func (o *DetailServiceEdgeRouterPolicyNotFound) GetPayload() *rest_model.APIErrorEnvelope
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 (o *DetailServiceEdgeRouterPolicyOK) Error() string
func (*DetailServiceEdgeRouterPolicyOK) GetPayload ¶
func (o *DetailServiceEdgeRouterPolicyOK) GetPayload() *rest_model.DetailServiceEdgePolicyEnvelope
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 ¶
func (o *DetailServiceEdgeRouterPolicyParams) SetContext(ctx context.Context)
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 ¶
func (o *DetailServiceEdgeRouterPolicyParams) SetID(id string)
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 ¶
func (o *DetailServiceEdgeRouterPolicyParams) WithContext(ctx context.Context) *DetailServiceEdgeRouterPolicyParams
WithContext adds the context to the detail service edge router policy params
func (*DetailServiceEdgeRouterPolicyParams) WithDefaults ¶
func (o *DetailServiceEdgeRouterPolicyParams) WithDefaults() *DetailServiceEdgeRouterPolicyParams
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 ¶
func (o *DetailServiceEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *DetailServiceEdgeRouterPolicyParams
WithHTTPClient adds the HTTPClient to the detail service edge router policy params
func (*DetailServiceEdgeRouterPolicyParams) WithID ¶
func (o *DetailServiceEdgeRouterPolicyParams) WithID(id string) *DetailServiceEdgeRouterPolicyParams
WithID adds the id to the detail service edge router policy params
func (*DetailServiceEdgeRouterPolicyParams) WithTimeout ¶
func (o *DetailServiceEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *DetailServiceEdgeRouterPolicyParams
WithTimeout adds the timeout to the detail service edge router policy params
func (*DetailServiceEdgeRouterPolicyParams) WriteToRequest ¶
func (o *DetailServiceEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *DetailServiceEdgeRouterPolicyUnauthorized) Error() string
func (*DetailServiceEdgeRouterPolicyUnauthorized) GetPayload ¶
func (o *DetailServiceEdgeRouterPolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListServiceEdgeRouterPoliciesBadRequest ¶
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 ¶
func NewListServiceEdgeRouterPoliciesBadRequest() *ListServiceEdgeRouterPoliciesBadRequest
NewListServiceEdgeRouterPoliciesBadRequest creates a ListServiceEdgeRouterPoliciesBadRequest with default headers values
func (*ListServiceEdgeRouterPoliciesBadRequest) Error ¶
func (o *ListServiceEdgeRouterPoliciesBadRequest) Error() string
func (*ListServiceEdgeRouterPoliciesBadRequest) GetPayload ¶
func (o *ListServiceEdgeRouterPoliciesBadRequest) GetPayload() *rest_model.APIErrorEnvelope
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 (o *ListServiceEdgeRouterPoliciesOK) Error() string
func (*ListServiceEdgeRouterPoliciesOK) GetPayload ¶
func (o *ListServiceEdgeRouterPoliciesOK) GetPayload() *rest_model.ListServiceEdgeRouterPoliciesEnvelope
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 ¶
func (o *ListServiceEdgeRouterPoliciesParams) SetContext(ctx context.Context)
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 ¶
func (o *ListServiceEdgeRouterPoliciesParams) WithContext(ctx context.Context) *ListServiceEdgeRouterPoliciesParams
WithContext adds the context to the list service edge router policies params
func (*ListServiceEdgeRouterPoliciesParams) WithDefaults ¶
func (o *ListServiceEdgeRouterPoliciesParams) WithDefaults() *ListServiceEdgeRouterPoliciesParams
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 ¶
func (o *ListServiceEdgeRouterPoliciesParams) WithFilter(filter *string) *ListServiceEdgeRouterPoliciesParams
WithFilter adds the filter to the list service edge router policies params
func (*ListServiceEdgeRouterPoliciesParams) WithHTTPClient ¶
func (o *ListServiceEdgeRouterPoliciesParams) WithHTTPClient(client *http.Client) *ListServiceEdgeRouterPoliciesParams
WithHTTPClient adds the HTTPClient to the list service edge router policies params
func (*ListServiceEdgeRouterPoliciesParams) WithLimit ¶
func (o *ListServiceEdgeRouterPoliciesParams) WithLimit(limit *int64) *ListServiceEdgeRouterPoliciesParams
WithLimit adds the limit to the list service edge router policies params
func (*ListServiceEdgeRouterPoliciesParams) WithOffset ¶
func (o *ListServiceEdgeRouterPoliciesParams) WithOffset(offset *int64) *ListServiceEdgeRouterPoliciesParams
WithOffset adds the offset to the list service edge router policies params
func (*ListServiceEdgeRouterPoliciesParams) WithTimeout ¶
func (o *ListServiceEdgeRouterPoliciesParams) WithTimeout(timeout time.Duration) *ListServiceEdgeRouterPoliciesParams
WithTimeout adds the timeout to the list service edge router policies params
func (*ListServiceEdgeRouterPoliciesParams) WriteToRequest ¶
func (o *ListServiceEdgeRouterPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *ListServiceEdgeRouterPoliciesUnauthorized) Error() string
func (*ListServiceEdgeRouterPoliciesUnauthorized) GetPayload ¶
func (o *ListServiceEdgeRouterPoliciesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 (o *ListServiceEdgeRouterPolicyEdgeRoutersNotFound) Error() string
func (*ListServiceEdgeRouterPolicyEdgeRoutersNotFound) GetPayload ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersNotFound) GetPayload() *rest_model.APIErrorEnvelope
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 (o *ListServiceEdgeRouterPolicyEdgeRoutersOK) Error() string
func (*ListServiceEdgeRouterPolicyEdgeRoutersOK) GetPayload ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersOK) GetPayload() *rest_model.ListEdgeRoutersEnvelope
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 ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) SetContext(ctx context.Context)
SetContext adds the context to the list service edge router policy edge routers params
func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) SetDefaults ¶
func (o *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 ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) SetID(id string)
SetID adds the id to the list service edge router policy edge routers params
func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) SetTimeout ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list service edge router policy edge routers params
func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) WithContext ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) WithContext(ctx context.Context) *ListServiceEdgeRouterPolicyEdgeRoutersParams
WithContext adds the context to the list service edge router policy edge routers params
func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) WithDefaults ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) WithDefaults() *ListServiceEdgeRouterPolicyEdgeRoutersParams
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 ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) WithHTTPClient(client *http.Client) *ListServiceEdgeRouterPolicyEdgeRoutersParams
WithHTTPClient adds the HTTPClient to the list service edge router policy edge routers params
func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) WithID ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) WithID(id string) *ListServiceEdgeRouterPolicyEdgeRoutersParams
WithID adds the id to the list service edge router policy edge routers params
func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) WithTimeout ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) WithTimeout(timeout time.Duration) *ListServiceEdgeRouterPolicyEdgeRoutersParams
WithTimeout adds the timeout to the list service edge router policy edge routers params
func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) WriteToRequest ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized) Error() string
func (*ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized) GetPayload ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 (o *ListServiceEdgeRouterPolicyServicesNotFound) Error() string
func (*ListServiceEdgeRouterPolicyServicesNotFound) GetPayload ¶
func (o *ListServiceEdgeRouterPolicyServicesNotFound) GetPayload() *rest_model.APIErrorEnvelope
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 (o *ListServiceEdgeRouterPolicyServicesOK) Error() string
func (*ListServiceEdgeRouterPolicyServicesOK) GetPayload ¶
func (o *ListServiceEdgeRouterPolicyServicesOK) GetPayload() *rest_model.ListServicesEnvelope
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 ¶
func (o *ListServiceEdgeRouterPolicyServicesParams) SetContext(ctx context.Context)
SetContext adds the context to the list service edge router policy services params
func (*ListServiceEdgeRouterPolicyServicesParams) SetDefaults ¶
func (o *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 ¶
func (o *ListServiceEdgeRouterPolicyServicesParams) SetID(id string)
SetID adds the id to the list service edge router policy services params
func (*ListServiceEdgeRouterPolicyServicesParams) SetTimeout ¶
func (o *ListServiceEdgeRouterPolicyServicesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list service edge router policy services params
func (*ListServiceEdgeRouterPolicyServicesParams) WithContext ¶
func (o *ListServiceEdgeRouterPolicyServicesParams) WithContext(ctx context.Context) *ListServiceEdgeRouterPolicyServicesParams
WithContext adds the context to the list service edge router policy services params
func (*ListServiceEdgeRouterPolicyServicesParams) WithDefaults ¶
func (o *ListServiceEdgeRouterPolicyServicesParams) WithDefaults() *ListServiceEdgeRouterPolicyServicesParams
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 ¶
func (o *ListServiceEdgeRouterPolicyServicesParams) WithHTTPClient(client *http.Client) *ListServiceEdgeRouterPolicyServicesParams
WithHTTPClient adds the HTTPClient to the list service edge router policy services params
func (*ListServiceEdgeRouterPolicyServicesParams) WithID ¶
func (o *ListServiceEdgeRouterPolicyServicesParams) WithID(id string) *ListServiceEdgeRouterPolicyServicesParams
WithID adds the id to the list service edge router policy services params
func (*ListServiceEdgeRouterPolicyServicesParams) WithTimeout ¶
func (o *ListServiceEdgeRouterPolicyServicesParams) WithTimeout(timeout time.Duration) *ListServiceEdgeRouterPolicyServicesParams
WithTimeout adds the timeout to the list service edge router policy services params
func (*ListServiceEdgeRouterPolicyServicesParams) WriteToRequest ¶
func (o *ListServiceEdgeRouterPolicyServicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *ListServiceEdgeRouterPolicyServicesUnauthorized) Error() string
func (*ListServiceEdgeRouterPolicyServicesUnauthorized) GetPayload ¶
func (o *ListServiceEdgeRouterPolicyServicesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 (o *PatchServiceEdgeRouterPolicyBadRequest) Error() string
func (*PatchServiceEdgeRouterPolicyBadRequest) GetPayload ¶
func (o *PatchServiceEdgeRouterPolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
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 (o *PatchServiceEdgeRouterPolicyNotFound) Error() string
func (*PatchServiceEdgeRouterPolicyNotFound) GetPayload ¶
func (o *PatchServiceEdgeRouterPolicyNotFound) GetPayload() *rest_model.APIErrorEnvelope
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 (o *PatchServiceEdgeRouterPolicyOK) Error() string
func (*PatchServiceEdgeRouterPolicyOK) GetPayload ¶
func (o *PatchServiceEdgeRouterPolicyOK) GetPayload() *rest_model.Empty
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 ¶
func (o *PatchServiceEdgeRouterPolicyParams) SetContext(ctx context.Context)
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 ¶
func (o *PatchServiceEdgeRouterPolicyParams) SetID(id string)
SetID adds the id to the patch service edge router policy params
func (*PatchServiceEdgeRouterPolicyParams) SetPolicy ¶
func (o *PatchServiceEdgeRouterPolicyParams) SetPolicy(policy *rest_model.ServiceEdgeRouterPolicyPatch)
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 ¶
func (o *PatchServiceEdgeRouterPolicyParams) WithContext(ctx context.Context) *PatchServiceEdgeRouterPolicyParams
WithContext adds the context to the patch service edge router policy params
func (*PatchServiceEdgeRouterPolicyParams) WithDefaults ¶
func (o *PatchServiceEdgeRouterPolicyParams) WithDefaults() *PatchServiceEdgeRouterPolicyParams
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 ¶
func (o *PatchServiceEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *PatchServiceEdgeRouterPolicyParams
WithHTTPClient adds the HTTPClient to the patch service edge router policy params
func (*PatchServiceEdgeRouterPolicyParams) WithID ¶
func (o *PatchServiceEdgeRouterPolicyParams) WithID(id string) *PatchServiceEdgeRouterPolicyParams
WithID adds the id to the patch service edge router policy params
func (*PatchServiceEdgeRouterPolicyParams) WithPolicy ¶
func (o *PatchServiceEdgeRouterPolicyParams) WithPolicy(policy *rest_model.ServiceEdgeRouterPolicyPatch) *PatchServiceEdgeRouterPolicyParams
WithPolicy adds the policy to the patch service edge router policy params
func (*PatchServiceEdgeRouterPolicyParams) WithTimeout ¶
func (o *PatchServiceEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *PatchServiceEdgeRouterPolicyParams
WithTimeout adds the timeout to the patch service edge router policy params
func (*PatchServiceEdgeRouterPolicyParams) WriteToRequest ¶
func (o *PatchServiceEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *PatchServiceEdgeRouterPolicyUnauthorized) Error() string
func (*PatchServiceEdgeRouterPolicyUnauthorized) GetPayload ¶
func (o *PatchServiceEdgeRouterPolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 (o *UpdateServiceEdgeRouterPolicyBadRequest) Error() string
func (*UpdateServiceEdgeRouterPolicyBadRequest) GetPayload ¶
func (o *UpdateServiceEdgeRouterPolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
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 (o *UpdateServiceEdgeRouterPolicyNotFound) Error() string
func (*UpdateServiceEdgeRouterPolicyNotFound) GetPayload ¶
func (o *UpdateServiceEdgeRouterPolicyNotFound) GetPayload() *rest_model.APIErrorEnvelope
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 (o *UpdateServiceEdgeRouterPolicyOK) Error() string
func (*UpdateServiceEdgeRouterPolicyOK) GetPayload ¶
func (o *UpdateServiceEdgeRouterPolicyOK) GetPayload() *rest_model.Empty
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 ¶
func (o *UpdateServiceEdgeRouterPolicyParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateServiceEdgeRouterPolicyParams) SetID(id string)
SetID adds the id to the update service edge router policy params
func (*UpdateServiceEdgeRouterPolicyParams) SetPolicy ¶
func (o *UpdateServiceEdgeRouterPolicyParams) SetPolicy(policy *rest_model.ServiceEdgeRouterPolicyUpdate)
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 ¶
func (o *UpdateServiceEdgeRouterPolicyParams) WithContext(ctx context.Context) *UpdateServiceEdgeRouterPolicyParams
WithContext adds the context to the update service edge router policy params
func (*UpdateServiceEdgeRouterPolicyParams) WithDefaults ¶
func (o *UpdateServiceEdgeRouterPolicyParams) WithDefaults() *UpdateServiceEdgeRouterPolicyParams
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 ¶
func (o *UpdateServiceEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *UpdateServiceEdgeRouterPolicyParams
WithHTTPClient adds the HTTPClient to the update service edge router policy params
func (*UpdateServiceEdgeRouterPolicyParams) WithID ¶
func (o *UpdateServiceEdgeRouterPolicyParams) WithID(id string) *UpdateServiceEdgeRouterPolicyParams
WithID adds the id to the update service edge router policy params
func (*UpdateServiceEdgeRouterPolicyParams) WithPolicy ¶
func (o *UpdateServiceEdgeRouterPolicyParams) WithPolicy(policy *rest_model.ServiceEdgeRouterPolicyUpdate) *UpdateServiceEdgeRouterPolicyParams
WithPolicy adds the policy to the update service edge router policy params
func (*UpdateServiceEdgeRouterPolicyParams) WithTimeout ¶
func (o *UpdateServiceEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *UpdateServiceEdgeRouterPolicyParams
WithTimeout adds the timeout to the update service edge router policy params
func (*UpdateServiceEdgeRouterPolicyParams) WriteToRequest ¶
func (o *UpdateServiceEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *UpdateServiceEdgeRouterPolicyUnauthorized) Error() string
func (*UpdateServiceEdgeRouterPolicyUnauthorized) GetPayload ¶
func (o *UpdateServiceEdgeRouterPolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
Source Files ¶
- create_service_edge_router_policy_parameters.go
- create_service_edge_router_policy_responses.go
- delete_service_edge_router_policy_parameters.go
- delete_service_edge_router_policy_responses.go
- detail_service_edge_router_policy_parameters.go
- detail_service_edge_router_policy_responses.go
- list_service_edge_router_policies_parameters.go
- list_service_edge_router_policies_responses.go
- list_service_edge_router_policy_edge_routers_parameters.go
- list_service_edge_router_policy_edge_routers_responses.go
- list_service_edge_router_policy_services_parameters.go
- list_service_edge_router_policy_services_responses.go
- patch_service_edge_router_policy_parameters.go
- patch_service_edge_router_policy_responses.go
- service_edge_router_policy_client.go
- update_service_edge_router_policy_parameters.go
- update_service_edge_router_policy_responses.go