Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateEdgeRouterPolicy(params *CreateEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateEdgeRouterPolicyCreated, error)
- func (a *Client) DeleteEdgeRouterPolicy(params *DeleteEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteEdgeRouterPolicyOK, error)
- func (a *Client) DetailEdgeRouterPolicy(params *DetailEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailEdgeRouterPolicyOK, error)
- func (a *Client) ListEdgeRouterPolicies(params *ListEdgeRouterPoliciesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListEdgeRouterPoliciesOK, error)
- func (a *Client) ListEdgeRouterPolicyEdgeRouters(params *ListEdgeRouterPolicyEdgeRoutersParams, ...) (*ListEdgeRouterPolicyEdgeRoutersOK, error)
- func (a *Client) ListEdgeRouterPolicyIdentities(params *ListEdgeRouterPolicyIdentitiesParams, ...) (*ListEdgeRouterPolicyIdentitiesOK, error)
- func (a *Client) PatchEdgeRouterPolicy(params *PatchEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchEdgeRouterPolicyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateEdgeRouterPolicy(params *UpdateEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateEdgeRouterPolicyOK, error)
- type ClientOption
- type ClientService
- type CreateEdgeRouterPolicyBadRequest
- type CreateEdgeRouterPolicyCreated
- type CreateEdgeRouterPolicyParams
- func NewCreateEdgeRouterPolicyParams() *CreateEdgeRouterPolicyParams
- func NewCreateEdgeRouterPolicyParamsWithContext(ctx context.Context) *CreateEdgeRouterPolicyParams
- func NewCreateEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *CreateEdgeRouterPolicyParams
- func NewCreateEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *CreateEdgeRouterPolicyParams
- func (o *CreateEdgeRouterPolicyParams) SetContext(ctx context.Context)
- func (o *CreateEdgeRouterPolicyParams) SetDefaults()
- func (o *CreateEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
- func (o *CreateEdgeRouterPolicyParams) SetPolicy(policy *rest_model.EdgeRouterPolicyCreate)
- func (o *CreateEdgeRouterPolicyParams) SetTimeout(timeout time.Duration)
- func (o *CreateEdgeRouterPolicyParams) WithContext(ctx context.Context) *CreateEdgeRouterPolicyParams
- func (o *CreateEdgeRouterPolicyParams) WithDefaults() *CreateEdgeRouterPolicyParams
- func (o *CreateEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *CreateEdgeRouterPolicyParams
- func (o *CreateEdgeRouterPolicyParams) WithPolicy(policy *rest_model.EdgeRouterPolicyCreate) *CreateEdgeRouterPolicyParams
- func (o *CreateEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *CreateEdgeRouterPolicyParams
- func (o *CreateEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateEdgeRouterPolicyReader
- type CreateEdgeRouterPolicyUnauthorized
- type DeleteEdgeRouterPolicyBadRequest
- type DeleteEdgeRouterPolicyConflict
- type DeleteEdgeRouterPolicyOK
- type DeleteEdgeRouterPolicyParams
- func NewDeleteEdgeRouterPolicyParams() *DeleteEdgeRouterPolicyParams
- func NewDeleteEdgeRouterPolicyParamsWithContext(ctx context.Context) *DeleteEdgeRouterPolicyParams
- func NewDeleteEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *DeleteEdgeRouterPolicyParams
- func NewDeleteEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *DeleteEdgeRouterPolicyParams
- func (o *DeleteEdgeRouterPolicyParams) SetContext(ctx context.Context)
- func (o *DeleteEdgeRouterPolicyParams) SetDefaults()
- func (o *DeleteEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteEdgeRouterPolicyParams) SetID(id string)
- func (o *DeleteEdgeRouterPolicyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteEdgeRouterPolicyParams) WithContext(ctx context.Context) *DeleteEdgeRouterPolicyParams
- func (o *DeleteEdgeRouterPolicyParams) WithDefaults() *DeleteEdgeRouterPolicyParams
- func (o *DeleteEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *DeleteEdgeRouterPolicyParams
- func (o *DeleteEdgeRouterPolicyParams) WithID(id string) *DeleteEdgeRouterPolicyParams
- func (o *DeleteEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *DeleteEdgeRouterPolicyParams
- func (o *DeleteEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteEdgeRouterPolicyReader
- type DeleteEdgeRouterPolicyUnauthorized
- type DetailEdgeRouterPolicyNotFound
- type DetailEdgeRouterPolicyOK
- type DetailEdgeRouterPolicyParams
- func NewDetailEdgeRouterPolicyParams() *DetailEdgeRouterPolicyParams
- func NewDetailEdgeRouterPolicyParamsWithContext(ctx context.Context) *DetailEdgeRouterPolicyParams
- func NewDetailEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *DetailEdgeRouterPolicyParams
- func NewDetailEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *DetailEdgeRouterPolicyParams
- func (o *DetailEdgeRouterPolicyParams) SetContext(ctx context.Context)
- func (o *DetailEdgeRouterPolicyParams) SetDefaults()
- func (o *DetailEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
- func (o *DetailEdgeRouterPolicyParams) SetID(id string)
- func (o *DetailEdgeRouterPolicyParams) SetTimeout(timeout time.Duration)
- func (o *DetailEdgeRouterPolicyParams) WithContext(ctx context.Context) *DetailEdgeRouterPolicyParams
- func (o *DetailEdgeRouterPolicyParams) WithDefaults() *DetailEdgeRouterPolicyParams
- func (o *DetailEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *DetailEdgeRouterPolicyParams
- func (o *DetailEdgeRouterPolicyParams) WithID(id string) *DetailEdgeRouterPolicyParams
- func (o *DetailEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *DetailEdgeRouterPolicyParams
- func (o *DetailEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailEdgeRouterPolicyReader
- type DetailEdgeRouterPolicyUnauthorized
- type ListEdgeRouterPoliciesBadRequest
- type ListEdgeRouterPoliciesOK
- type ListEdgeRouterPoliciesParams
- func NewListEdgeRouterPoliciesParams() *ListEdgeRouterPoliciesParams
- func NewListEdgeRouterPoliciesParamsWithContext(ctx context.Context) *ListEdgeRouterPoliciesParams
- func NewListEdgeRouterPoliciesParamsWithHTTPClient(client *http.Client) *ListEdgeRouterPoliciesParams
- func NewListEdgeRouterPoliciesParamsWithTimeout(timeout time.Duration) *ListEdgeRouterPoliciesParams
- func (o *ListEdgeRouterPoliciesParams) SetContext(ctx context.Context)
- func (o *ListEdgeRouterPoliciesParams) SetDefaults()
- func (o *ListEdgeRouterPoliciesParams) SetFilter(filter *string)
- func (o *ListEdgeRouterPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *ListEdgeRouterPoliciesParams) SetLimit(limit *int64)
- func (o *ListEdgeRouterPoliciesParams) SetOffset(offset *int64)
- func (o *ListEdgeRouterPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *ListEdgeRouterPoliciesParams) WithContext(ctx context.Context) *ListEdgeRouterPoliciesParams
- func (o *ListEdgeRouterPoliciesParams) WithDefaults() *ListEdgeRouterPoliciesParams
- func (o *ListEdgeRouterPoliciesParams) WithFilter(filter *string) *ListEdgeRouterPoliciesParams
- func (o *ListEdgeRouterPoliciesParams) WithHTTPClient(client *http.Client) *ListEdgeRouterPoliciesParams
- func (o *ListEdgeRouterPoliciesParams) WithLimit(limit *int64) *ListEdgeRouterPoliciesParams
- func (o *ListEdgeRouterPoliciesParams) WithOffset(offset *int64) *ListEdgeRouterPoliciesParams
- func (o *ListEdgeRouterPoliciesParams) WithTimeout(timeout time.Duration) *ListEdgeRouterPoliciesParams
- func (o *ListEdgeRouterPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListEdgeRouterPoliciesReader
- type ListEdgeRouterPoliciesUnauthorized
- type ListEdgeRouterPolicyEdgeRoutersNotFound
- type ListEdgeRouterPolicyEdgeRoutersOK
- type ListEdgeRouterPolicyEdgeRoutersParams
- func NewListEdgeRouterPolicyEdgeRoutersParams() *ListEdgeRouterPolicyEdgeRoutersParams
- func NewListEdgeRouterPolicyEdgeRoutersParamsWithContext(ctx context.Context) *ListEdgeRouterPolicyEdgeRoutersParams
- func NewListEdgeRouterPolicyEdgeRoutersParamsWithHTTPClient(client *http.Client) *ListEdgeRouterPolicyEdgeRoutersParams
- func NewListEdgeRouterPolicyEdgeRoutersParamsWithTimeout(timeout time.Duration) *ListEdgeRouterPolicyEdgeRoutersParams
- func (o *ListEdgeRouterPolicyEdgeRoutersParams) SetContext(ctx context.Context)
- func (o *ListEdgeRouterPolicyEdgeRoutersParams) SetDefaults()
- func (o *ListEdgeRouterPolicyEdgeRoutersParams) SetHTTPClient(client *http.Client)
- func (o *ListEdgeRouterPolicyEdgeRoutersParams) SetID(id string)
- func (o *ListEdgeRouterPolicyEdgeRoutersParams) SetTimeout(timeout time.Duration)
- func (o *ListEdgeRouterPolicyEdgeRoutersParams) WithContext(ctx context.Context) *ListEdgeRouterPolicyEdgeRoutersParams
- func (o *ListEdgeRouterPolicyEdgeRoutersParams) WithDefaults() *ListEdgeRouterPolicyEdgeRoutersParams
- func (o *ListEdgeRouterPolicyEdgeRoutersParams) WithHTTPClient(client *http.Client) *ListEdgeRouterPolicyEdgeRoutersParams
- func (o *ListEdgeRouterPolicyEdgeRoutersParams) WithID(id string) *ListEdgeRouterPolicyEdgeRoutersParams
- func (o *ListEdgeRouterPolicyEdgeRoutersParams) WithTimeout(timeout time.Duration) *ListEdgeRouterPolicyEdgeRoutersParams
- func (o *ListEdgeRouterPolicyEdgeRoutersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListEdgeRouterPolicyEdgeRoutersReader
- type ListEdgeRouterPolicyEdgeRoutersUnauthorized
- type ListEdgeRouterPolicyIdentitiesNotFound
- type ListEdgeRouterPolicyIdentitiesOK
- type ListEdgeRouterPolicyIdentitiesParams
- func NewListEdgeRouterPolicyIdentitiesParams() *ListEdgeRouterPolicyIdentitiesParams
- func NewListEdgeRouterPolicyIdentitiesParamsWithContext(ctx context.Context) *ListEdgeRouterPolicyIdentitiesParams
- func NewListEdgeRouterPolicyIdentitiesParamsWithHTTPClient(client *http.Client) *ListEdgeRouterPolicyIdentitiesParams
- func NewListEdgeRouterPolicyIdentitiesParamsWithTimeout(timeout time.Duration) *ListEdgeRouterPolicyIdentitiesParams
- func (o *ListEdgeRouterPolicyIdentitiesParams) SetContext(ctx context.Context)
- func (o *ListEdgeRouterPolicyIdentitiesParams) SetDefaults()
- func (o *ListEdgeRouterPolicyIdentitiesParams) SetHTTPClient(client *http.Client)
- func (o *ListEdgeRouterPolicyIdentitiesParams) SetID(id string)
- func (o *ListEdgeRouterPolicyIdentitiesParams) SetTimeout(timeout time.Duration)
- func (o *ListEdgeRouterPolicyIdentitiesParams) WithContext(ctx context.Context) *ListEdgeRouterPolicyIdentitiesParams
- func (o *ListEdgeRouterPolicyIdentitiesParams) WithDefaults() *ListEdgeRouterPolicyIdentitiesParams
- func (o *ListEdgeRouterPolicyIdentitiesParams) WithHTTPClient(client *http.Client) *ListEdgeRouterPolicyIdentitiesParams
- func (o *ListEdgeRouterPolicyIdentitiesParams) WithID(id string) *ListEdgeRouterPolicyIdentitiesParams
- func (o *ListEdgeRouterPolicyIdentitiesParams) WithTimeout(timeout time.Duration) *ListEdgeRouterPolicyIdentitiesParams
- func (o *ListEdgeRouterPolicyIdentitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListEdgeRouterPolicyIdentitiesReader
- type ListEdgeRouterPolicyIdentitiesUnauthorized
- type PatchEdgeRouterPolicyBadRequest
- type PatchEdgeRouterPolicyNotFound
- type PatchEdgeRouterPolicyOK
- type PatchEdgeRouterPolicyParams
- func NewPatchEdgeRouterPolicyParams() *PatchEdgeRouterPolicyParams
- func NewPatchEdgeRouterPolicyParamsWithContext(ctx context.Context) *PatchEdgeRouterPolicyParams
- func NewPatchEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *PatchEdgeRouterPolicyParams
- func NewPatchEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *PatchEdgeRouterPolicyParams
- func (o *PatchEdgeRouterPolicyParams) SetContext(ctx context.Context)
- func (o *PatchEdgeRouterPolicyParams) SetDefaults()
- func (o *PatchEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
- func (o *PatchEdgeRouterPolicyParams) SetID(id string)
- func (o *PatchEdgeRouterPolicyParams) SetPolicy(policy *rest_model.EdgeRouterPolicyPatch)
- func (o *PatchEdgeRouterPolicyParams) SetTimeout(timeout time.Duration)
- func (o *PatchEdgeRouterPolicyParams) WithContext(ctx context.Context) *PatchEdgeRouterPolicyParams
- func (o *PatchEdgeRouterPolicyParams) WithDefaults() *PatchEdgeRouterPolicyParams
- func (o *PatchEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *PatchEdgeRouterPolicyParams
- func (o *PatchEdgeRouterPolicyParams) WithID(id string) *PatchEdgeRouterPolicyParams
- func (o *PatchEdgeRouterPolicyParams) WithPolicy(policy *rest_model.EdgeRouterPolicyPatch) *PatchEdgeRouterPolicyParams
- func (o *PatchEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *PatchEdgeRouterPolicyParams
- func (o *PatchEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchEdgeRouterPolicyReader
- type PatchEdgeRouterPolicyUnauthorized
- type UpdateEdgeRouterPolicyBadRequest
- type UpdateEdgeRouterPolicyNotFound
- type UpdateEdgeRouterPolicyOK
- type UpdateEdgeRouterPolicyParams
- func NewUpdateEdgeRouterPolicyParams() *UpdateEdgeRouterPolicyParams
- func NewUpdateEdgeRouterPolicyParamsWithContext(ctx context.Context) *UpdateEdgeRouterPolicyParams
- func NewUpdateEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *UpdateEdgeRouterPolicyParams
- func NewUpdateEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *UpdateEdgeRouterPolicyParams
- func (o *UpdateEdgeRouterPolicyParams) SetContext(ctx context.Context)
- func (o *UpdateEdgeRouterPolicyParams) SetDefaults()
- func (o *UpdateEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
- func (o *UpdateEdgeRouterPolicyParams) SetID(id string)
- func (o *UpdateEdgeRouterPolicyParams) SetPolicy(policy *rest_model.EdgeRouterPolicyUpdate)
- func (o *UpdateEdgeRouterPolicyParams) SetTimeout(timeout time.Duration)
- func (o *UpdateEdgeRouterPolicyParams) WithContext(ctx context.Context) *UpdateEdgeRouterPolicyParams
- func (o *UpdateEdgeRouterPolicyParams) WithDefaults() *UpdateEdgeRouterPolicyParams
- func (o *UpdateEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *UpdateEdgeRouterPolicyParams
- func (o *UpdateEdgeRouterPolicyParams) WithID(id string) *UpdateEdgeRouterPolicyParams
- func (o *UpdateEdgeRouterPolicyParams) WithPolicy(policy *rest_model.EdgeRouterPolicyUpdate) *UpdateEdgeRouterPolicyParams
- func (o *UpdateEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *UpdateEdgeRouterPolicyParams
- func (o *UpdateEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateEdgeRouterPolicyReader
- type UpdateEdgeRouterPolicyUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for edge router policy API
func (*Client) CreateEdgeRouterPolicy ¶
func (a *Client) CreateEdgeRouterPolicy(params *CreateEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEdgeRouterPolicyCreated, error)
CreateEdgeRouterPolicy creates an edge router policy resource
Create an edge router policy resource. Requires admin access.
func (*Client) DeleteEdgeRouterPolicy ¶
func (a *Client) DeleteEdgeRouterPolicy(params *DeleteEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEdgeRouterPolicyOK, error)
DeleteEdgeRouterPolicy deletes an edge router policy
Delete an edge router policy by id. Requires admin access.
func (*Client) DetailEdgeRouterPolicy ¶
func (a *Client) DetailEdgeRouterPolicy(params *DetailEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailEdgeRouterPolicyOK, error)
DetailEdgeRouterPolicy retrieves a single edge router policy
Retrieves a single edge router policy by id. Requires admin access.
func (*Client) ListEdgeRouterPolicies ¶
func (a *Client) ListEdgeRouterPolicies(params *ListEdgeRouterPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterPoliciesOK, error)
ListEdgeRouterPolicies lists edge router policies
Retrieves a list of edge router policy resources; supports filtering, sorting, and pagination. Requires admin access.
func (*Client) ListEdgeRouterPolicyEdgeRouters ¶
func (a *Client) ListEdgeRouterPolicyEdgeRouters(params *ListEdgeRouterPolicyEdgeRoutersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterPolicyEdgeRoutersOK, error)
ListEdgeRouterPolicyEdgeRouters lists edge routers a policy affects
Retrieves a list of edge routers an edge router policy resources affects; supports filtering, sorting, and pagination. Requires admin access.
func (*Client) ListEdgeRouterPolicyIdentities ¶
func (a *Client) ListEdgeRouterPolicyIdentities(params *ListEdgeRouterPolicyIdentitiesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterPolicyIdentitiesOK, error)
ListEdgeRouterPolicyIdentities lists identities an edge router policy affects
Retrieves a list of identities an edge router policy resources affects; supports filtering, sorting, and pagination. Requires admin access.
func (*Client) PatchEdgeRouterPolicy ¶
func (a *Client) PatchEdgeRouterPolicy(params *PatchEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchEdgeRouterPolicyOK, error)
PatchEdgeRouterPolicy updates the supplied fields on an edge router policy
Update the supplied fields on an edge router policy. Requires admin access.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateEdgeRouterPolicy ¶
func (a *Client) UpdateEdgeRouterPolicy(params *UpdateEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEdgeRouterPolicyOK, error)
UpdateEdgeRouterPolicy updates all fields on an edge router policy
Update all fields on an edge router policy by id. Requires admin access.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateEdgeRouterPolicy(params *CreateEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEdgeRouterPolicyCreated, error) DeleteEdgeRouterPolicy(params *DeleteEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEdgeRouterPolicyOK, error) DetailEdgeRouterPolicy(params *DetailEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailEdgeRouterPolicyOK, error) ListEdgeRouterPolicies(params *ListEdgeRouterPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterPoliciesOK, error) ListEdgeRouterPolicyEdgeRouters(params *ListEdgeRouterPolicyEdgeRoutersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterPolicyEdgeRoutersOK, error) ListEdgeRouterPolicyIdentities(params *ListEdgeRouterPolicyIdentitiesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterPolicyIdentitiesOK, error) PatchEdgeRouterPolicy(params *PatchEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchEdgeRouterPolicyOK, error) UpdateEdgeRouterPolicy(params *UpdateEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEdgeRouterPolicyOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new edge router policy API client.
type CreateEdgeRouterPolicyBadRequest ¶
type CreateEdgeRouterPolicyBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
CreateEdgeRouterPolicyBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewCreateEdgeRouterPolicyBadRequest ¶
func NewCreateEdgeRouterPolicyBadRequest() *CreateEdgeRouterPolicyBadRequest
NewCreateEdgeRouterPolicyBadRequest creates a CreateEdgeRouterPolicyBadRequest with default headers values
func (*CreateEdgeRouterPolicyBadRequest) Error ¶
func (o *CreateEdgeRouterPolicyBadRequest) Error() string
func (*CreateEdgeRouterPolicyBadRequest) GetPayload ¶
func (o *CreateEdgeRouterPolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type CreateEdgeRouterPolicyCreated ¶
type CreateEdgeRouterPolicyCreated struct {
Payload *rest_model.CreateEnvelope
}
CreateEdgeRouterPolicyCreated describes a response with status code 201, with default header values.
The create request was successful and the resource has been added at the following location
func NewCreateEdgeRouterPolicyCreated ¶
func NewCreateEdgeRouterPolicyCreated() *CreateEdgeRouterPolicyCreated
NewCreateEdgeRouterPolicyCreated creates a CreateEdgeRouterPolicyCreated with default headers values
func (*CreateEdgeRouterPolicyCreated) Error ¶
func (o *CreateEdgeRouterPolicyCreated) Error() string
func (*CreateEdgeRouterPolicyCreated) GetPayload ¶
func (o *CreateEdgeRouterPolicyCreated) GetPayload() *rest_model.CreateEnvelope
type CreateEdgeRouterPolicyParams ¶
type CreateEdgeRouterPolicyParams struct { /* Policy. An edge router policy to create */ Policy *rest_model.EdgeRouterPolicyCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateEdgeRouterPolicyParams contains all the parameters to send to the API endpoint
for the create edge router policy operation. Typically these are written to a http.Request.
func NewCreateEdgeRouterPolicyParams ¶
func NewCreateEdgeRouterPolicyParams() *CreateEdgeRouterPolicyParams
NewCreateEdgeRouterPolicyParams creates a new CreateEdgeRouterPolicyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateEdgeRouterPolicyParamsWithContext ¶
func NewCreateEdgeRouterPolicyParamsWithContext(ctx context.Context) *CreateEdgeRouterPolicyParams
NewCreateEdgeRouterPolicyParamsWithContext creates a new CreateEdgeRouterPolicyParams object with the ability to set a context for a request.
func NewCreateEdgeRouterPolicyParamsWithHTTPClient ¶
func NewCreateEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *CreateEdgeRouterPolicyParams
NewCreateEdgeRouterPolicyParamsWithHTTPClient creates a new CreateEdgeRouterPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewCreateEdgeRouterPolicyParamsWithTimeout ¶
func NewCreateEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *CreateEdgeRouterPolicyParams
NewCreateEdgeRouterPolicyParamsWithTimeout creates a new CreateEdgeRouterPolicyParams object with the ability to set a timeout on a request.
func (*CreateEdgeRouterPolicyParams) SetContext ¶
func (o *CreateEdgeRouterPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the create edge router policy params
func (*CreateEdgeRouterPolicyParams) SetDefaults ¶
func (o *CreateEdgeRouterPolicyParams) SetDefaults()
SetDefaults hydrates default values in the create edge router policy params (not the query body).
All values with no default are reset to their zero value.
func (*CreateEdgeRouterPolicyParams) SetHTTPClient ¶
func (o *CreateEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create edge router policy params
func (*CreateEdgeRouterPolicyParams) SetPolicy ¶
func (o *CreateEdgeRouterPolicyParams) SetPolicy(policy *rest_model.EdgeRouterPolicyCreate)
SetPolicy adds the policy to the create edge router policy params
func (*CreateEdgeRouterPolicyParams) SetTimeout ¶
func (o *CreateEdgeRouterPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create edge router policy params
func (*CreateEdgeRouterPolicyParams) WithContext ¶
func (o *CreateEdgeRouterPolicyParams) WithContext(ctx context.Context) *CreateEdgeRouterPolicyParams
WithContext adds the context to the create edge router policy params
func (*CreateEdgeRouterPolicyParams) WithDefaults ¶
func (o *CreateEdgeRouterPolicyParams) WithDefaults() *CreateEdgeRouterPolicyParams
WithDefaults hydrates default values in the create edge router policy params (not the query body).
All values with no default are reset to their zero value.
func (*CreateEdgeRouterPolicyParams) WithHTTPClient ¶
func (o *CreateEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *CreateEdgeRouterPolicyParams
WithHTTPClient adds the HTTPClient to the create edge router policy params
func (*CreateEdgeRouterPolicyParams) WithPolicy ¶
func (o *CreateEdgeRouterPolicyParams) WithPolicy(policy *rest_model.EdgeRouterPolicyCreate) *CreateEdgeRouterPolicyParams
WithPolicy adds the policy to the create edge router policy params
func (*CreateEdgeRouterPolicyParams) WithTimeout ¶
func (o *CreateEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *CreateEdgeRouterPolicyParams
WithTimeout adds the timeout to the create edge router policy params
func (*CreateEdgeRouterPolicyParams) WriteToRequest ¶
func (o *CreateEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateEdgeRouterPolicyReader ¶
type CreateEdgeRouterPolicyReader struct {
// contains filtered or unexported fields
}
CreateEdgeRouterPolicyReader is a Reader for the CreateEdgeRouterPolicy structure.
func (*CreateEdgeRouterPolicyReader) ReadResponse ¶
func (o *CreateEdgeRouterPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateEdgeRouterPolicyUnauthorized ¶
type CreateEdgeRouterPolicyUnauthorized struct {
}CreateEdgeRouterPolicyUnauthorized 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 NewCreateEdgeRouterPolicyUnauthorized ¶
func NewCreateEdgeRouterPolicyUnauthorized() *CreateEdgeRouterPolicyUnauthorized
NewCreateEdgeRouterPolicyUnauthorized creates a CreateEdgeRouterPolicyUnauthorized with default headers values
func (*CreateEdgeRouterPolicyUnauthorized) Error ¶
func (o *CreateEdgeRouterPolicyUnauthorized) Error() string
func (*CreateEdgeRouterPolicyUnauthorized) GetPayload ¶
func (o *CreateEdgeRouterPolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DeleteEdgeRouterPolicyBadRequest ¶
type DeleteEdgeRouterPolicyBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteEdgeRouterPolicyBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewDeleteEdgeRouterPolicyBadRequest ¶
func NewDeleteEdgeRouterPolicyBadRequest() *DeleteEdgeRouterPolicyBadRequest
NewDeleteEdgeRouterPolicyBadRequest creates a DeleteEdgeRouterPolicyBadRequest with default headers values
func (*DeleteEdgeRouterPolicyBadRequest) Error ¶
func (o *DeleteEdgeRouterPolicyBadRequest) Error() string
func (*DeleteEdgeRouterPolicyBadRequest) GetPayload ¶
func (o *DeleteEdgeRouterPolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type DeleteEdgeRouterPolicyConflict ¶
type DeleteEdgeRouterPolicyConflict struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteEdgeRouterPolicyConflict describes a response with status code 409, with default header values.
The resource requested to be removed/altered cannot be as it is referenced by another object.
func NewDeleteEdgeRouterPolicyConflict ¶
func NewDeleteEdgeRouterPolicyConflict() *DeleteEdgeRouterPolicyConflict
NewDeleteEdgeRouterPolicyConflict creates a DeleteEdgeRouterPolicyConflict with default headers values
func (*DeleteEdgeRouterPolicyConflict) Error ¶
func (o *DeleteEdgeRouterPolicyConflict) Error() string
func (*DeleteEdgeRouterPolicyConflict) GetPayload ¶
func (o *DeleteEdgeRouterPolicyConflict) GetPayload() *rest_model.APIErrorEnvelope
type DeleteEdgeRouterPolicyOK ¶
type DeleteEdgeRouterPolicyOK struct {
Payload *rest_model.Empty
}
DeleteEdgeRouterPolicyOK describes a response with status code 200, with default header values.
The delete request was successful and the resource has been removed
func NewDeleteEdgeRouterPolicyOK ¶
func NewDeleteEdgeRouterPolicyOK() *DeleteEdgeRouterPolicyOK
NewDeleteEdgeRouterPolicyOK creates a DeleteEdgeRouterPolicyOK with default headers values
func (*DeleteEdgeRouterPolicyOK) Error ¶
func (o *DeleteEdgeRouterPolicyOK) Error() string
func (*DeleteEdgeRouterPolicyOK) GetPayload ¶
func (o *DeleteEdgeRouterPolicyOK) GetPayload() *rest_model.Empty
type DeleteEdgeRouterPolicyParams ¶
type DeleteEdgeRouterPolicyParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteEdgeRouterPolicyParams contains all the parameters to send to the API endpoint
for the delete edge router policy operation. Typically these are written to a http.Request.
func NewDeleteEdgeRouterPolicyParams ¶
func NewDeleteEdgeRouterPolicyParams() *DeleteEdgeRouterPolicyParams
NewDeleteEdgeRouterPolicyParams creates a new DeleteEdgeRouterPolicyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteEdgeRouterPolicyParamsWithContext ¶
func NewDeleteEdgeRouterPolicyParamsWithContext(ctx context.Context) *DeleteEdgeRouterPolicyParams
NewDeleteEdgeRouterPolicyParamsWithContext creates a new DeleteEdgeRouterPolicyParams object with the ability to set a context for a request.
func NewDeleteEdgeRouterPolicyParamsWithHTTPClient ¶
func NewDeleteEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *DeleteEdgeRouterPolicyParams
NewDeleteEdgeRouterPolicyParamsWithHTTPClient creates a new DeleteEdgeRouterPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteEdgeRouterPolicyParamsWithTimeout ¶
func NewDeleteEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *DeleteEdgeRouterPolicyParams
NewDeleteEdgeRouterPolicyParamsWithTimeout creates a new DeleteEdgeRouterPolicyParams object with the ability to set a timeout on a request.
func (*DeleteEdgeRouterPolicyParams) SetContext ¶
func (o *DeleteEdgeRouterPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete edge router policy params
func (*DeleteEdgeRouterPolicyParams) SetDefaults ¶
func (o *DeleteEdgeRouterPolicyParams) SetDefaults()
SetDefaults hydrates default values in the delete edge router policy params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteEdgeRouterPolicyParams) SetHTTPClient ¶
func (o *DeleteEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete edge router policy params
func (*DeleteEdgeRouterPolicyParams) SetID ¶
func (o *DeleteEdgeRouterPolicyParams) SetID(id string)
SetID adds the id to the delete edge router policy params
func (*DeleteEdgeRouterPolicyParams) SetTimeout ¶
func (o *DeleteEdgeRouterPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete edge router policy params
func (*DeleteEdgeRouterPolicyParams) WithContext ¶
func (o *DeleteEdgeRouterPolicyParams) WithContext(ctx context.Context) *DeleteEdgeRouterPolicyParams
WithContext adds the context to the delete edge router policy params
func (*DeleteEdgeRouterPolicyParams) WithDefaults ¶
func (o *DeleteEdgeRouterPolicyParams) WithDefaults() *DeleteEdgeRouterPolicyParams
WithDefaults hydrates default values in the delete edge router policy params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteEdgeRouterPolicyParams) WithHTTPClient ¶
func (o *DeleteEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *DeleteEdgeRouterPolicyParams
WithHTTPClient adds the HTTPClient to the delete edge router policy params
func (*DeleteEdgeRouterPolicyParams) WithID ¶
func (o *DeleteEdgeRouterPolicyParams) WithID(id string) *DeleteEdgeRouterPolicyParams
WithID adds the id to the delete edge router policy params
func (*DeleteEdgeRouterPolicyParams) WithTimeout ¶
func (o *DeleteEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *DeleteEdgeRouterPolicyParams
WithTimeout adds the timeout to the delete edge router policy params
func (*DeleteEdgeRouterPolicyParams) WriteToRequest ¶
func (o *DeleteEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteEdgeRouterPolicyReader ¶
type DeleteEdgeRouterPolicyReader struct {
// contains filtered or unexported fields
}
DeleteEdgeRouterPolicyReader is a Reader for the DeleteEdgeRouterPolicy structure.
func (*DeleteEdgeRouterPolicyReader) ReadResponse ¶
func (o *DeleteEdgeRouterPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteEdgeRouterPolicyUnauthorized ¶
type DeleteEdgeRouterPolicyUnauthorized struct {
}DeleteEdgeRouterPolicyUnauthorized 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 NewDeleteEdgeRouterPolicyUnauthorized ¶
func NewDeleteEdgeRouterPolicyUnauthorized() *DeleteEdgeRouterPolicyUnauthorized
NewDeleteEdgeRouterPolicyUnauthorized creates a DeleteEdgeRouterPolicyUnauthorized with default headers values
func (*DeleteEdgeRouterPolicyUnauthorized) Error ¶
func (o *DeleteEdgeRouterPolicyUnauthorized) Error() string
func (*DeleteEdgeRouterPolicyUnauthorized) GetPayload ¶
func (o *DeleteEdgeRouterPolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DetailEdgeRouterPolicyNotFound ¶
type DetailEdgeRouterPolicyNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
DetailEdgeRouterPolicyNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDetailEdgeRouterPolicyNotFound ¶
func NewDetailEdgeRouterPolicyNotFound() *DetailEdgeRouterPolicyNotFound
NewDetailEdgeRouterPolicyNotFound creates a DetailEdgeRouterPolicyNotFound with default headers values
func (*DetailEdgeRouterPolicyNotFound) Error ¶
func (o *DetailEdgeRouterPolicyNotFound) Error() string
func (*DetailEdgeRouterPolicyNotFound) GetPayload ¶
func (o *DetailEdgeRouterPolicyNotFound) GetPayload() *rest_model.APIErrorEnvelope
type DetailEdgeRouterPolicyOK ¶
type DetailEdgeRouterPolicyOK struct {
Payload *rest_model.DetailEdgeRouterPolicyEnvelope
}
DetailEdgeRouterPolicyOK describes a response with status code 200, with default header values.
A single edge router policy
func NewDetailEdgeRouterPolicyOK ¶
func NewDetailEdgeRouterPolicyOK() *DetailEdgeRouterPolicyOK
NewDetailEdgeRouterPolicyOK creates a DetailEdgeRouterPolicyOK with default headers values
func (*DetailEdgeRouterPolicyOK) Error ¶
func (o *DetailEdgeRouterPolicyOK) Error() string
func (*DetailEdgeRouterPolicyOK) GetPayload ¶
func (o *DetailEdgeRouterPolicyOK) GetPayload() *rest_model.DetailEdgeRouterPolicyEnvelope
type DetailEdgeRouterPolicyParams ¶
type DetailEdgeRouterPolicyParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DetailEdgeRouterPolicyParams contains all the parameters to send to the API endpoint
for the detail edge router policy operation. Typically these are written to a http.Request.
func NewDetailEdgeRouterPolicyParams ¶
func NewDetailEdgeRouterPolicyParams() *DetailEdgeRouterPolicyParams
NewDetailEdgeRouterPolicyParams creates a new DetailEdgeRouterPolicyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDetailEdgeRouterPolicyParamsWithContext ¶
func NewDetailEdgeRouterPolicyParamsWithContext(ctx context.Context) *DetailEdgeRouterPolicyParams
NewDetailEdgeRouterPolicyParamsWithContext creates a new DetailEdgeRouterPolicyParams object with the ability to set a context for a request.
func NewDetailEdgeRouterPolicyParamsWithHTTPClient ¶
func NewDetailEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *DetailEdgeRouterPolicyParams
NewDetailEdgeRouterPolicyParamsWithHTTPClient creates a new DetailEdgeRouterPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewDetailEdgeRouterPolicyParamsWithTimeout ¶
func NewDetailEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *DetailEdgeRouterPolicyParams
NewDetailEdgeRouterPolicyParamsWithTimeout creates a new DetailEdgeRouterPolicyParams object with the ability to set a timeout on a request.
func (*DetailEdgeRouterPolicyParams) SetContext ¶
func (o *DetailEdgeRouterPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the detail edge router policy params
func (*DetailEdgeRouterPolicyParams) SetDefaults ¶
func (o *DetailEdgeRouterPolicyParams) SetDefaults()
SetDefaults hydrates default values in the detail edge router policy params (not the query body).
All values with no default are reset to their zero value.
func (*DetailEdgeRouterPolicyParams) SetHTTPClient ¶
func (o *DetailEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail edge router policy params
func (*DetailEdgeRouterPolicyParams) SetID ¶
func (o *DetailEdgeRouterPolicyParams) SetID(id string)
SetID adds the id to the detail edge router policy params
func (*DetailEdgeRouterPolicyParams) SetTimeout ¶
func (o *DetailEdgeRouterPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail edge router policy params
func (*DetailEdgeRouterPolicyParams) WithContext ¶
func (o *DetailEdgeRouterPolicyParams) WithContext(ctx context.Context) *DetailEdgeRouterPolicyParams
WithContext adds the context to the detail edge router policy params
func (*DetailEdgeRouterPolicyParams) WithDefaults ¶
func (o *DetailEdgeRouterPolicyParams) WithDefaults() *DetailEdgeRouterPolicyParams
WithDefaults hydrates default values in the detail edge router policy params (not the query body).
All values with no default are reset to their zero value.
func (*DetailEdgeRouterPolicyParams) WithHTTPClient ¶
func (o *DetailEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *DetailEdgeRouterPolicyParams
WithHTTPClient adds the HTTPClient to the detail edge router policy params
func (*DetailEdgeRouterPolicyParams) WithID ¶
func (o *DetailEdgeRouterPolicyParams) WithID(id string) *DetailEdgeRouterPolicyParams
WithID adds the id to the detail edge router policy params
func (*DetailEdgeRouterPolicyParams) WithTimeout ¶
func (o *DetailEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *DetailEdgeRouterPolicyParams
WithTimeout adds the timeout to the detail edge router policy params
func (*DetailEdgeRouterPolicyParams) WriteToRequest ¶
func (o *DetailEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailEdgeRouterPolicyReader ¶
type DetailEdgeRouterPolicyReader struct {
// contains filtered or unexported fields
}
DetailEdgeRouterPolicyReader is a Reader for the DetailEdgeRouterPolicy structure.
func (*DetailEdgeRouterPolicyReader) ReadResponse ¶
func (o *DetailEdgeRouterPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DetailEdgeRouterPolicyUnauthorized ¶
type DetailEdgeRouterPolicyUnauthorized struct {
}DetailEdgeRouterPolicyUnauthorized 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 NewDetailEdgeRouterPolicyUnauthorized ¶
func NewDetailEdgeRouterPolicyUnauthorized() *DetailEdgeRouterPolicyUnauthorized
NewDetailEdgeRouterPolicyUnauthorized creates a DetailEdgeRouterPolicyUnauthorized with default headers values
func (*DetailEdgeRouterPolicyUnauthorized) Error ¶
func (o *DetailEdgeRouterPolicyUnauthorized) Error() string
func (*DetailEdgeRouterPolicyUnauthorized) GetPayload ¶
func (o *DetailEdgeRouterPolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListEdgeRouterPoliciesBadRequest ¶ added in v0.19.176
type ListEdgeRouterPoliciesBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
ListEdgeRouterPoliciesBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewListEdgeRouterPoliciesBadRequest ¶ added in v0.19.176
func NewListEdgeRouterPoliciesBadRequest() *ListEdgeRouterPoliciesBadRequest
NewListEdgeRouterPoliciesBadRequest creates a ListEdgeRouterPoliciesBadRequest with default headers values
func (*ListEdgeRouterPoliciesBadRequest) Error ¶ added in v0.19.176
func (o *ListEdgeRouterPoliciesBadRequest) Error() string
func (*ListEdgeRouterPoliciesBadRequest) GetPayload ¶ added in v0.19.176
func (o *ListEdgeRouterPoliciesBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type ListEdgeRouterPoliciesOK ¶
type ListEdgeRouterPoliciesOK struct {
Payload *rest_model.ListEdgeRouterPoliciesEnvelope
}
ListEdgeRouterPoliciesOK describes a response with status code 200, with default header values.
A list of edge router policies
func NewListEdgeRouterPoliciesOK ¶
func NewListEdgeRouterPoliciesOK() *ListEdgeRouterPoliciesOK
NewListEdgeRouterPoliciesOK creates a ListEdgeRouterPoliciesOK with default headers values
func (*ListEdgeRouterPoliciesOK) Error ¶
func (o *ListEdgeRouterPoliciesOK) Error() string
func (*ListEdgeRouterPoliciesOK) GetPayload ¶
func (o *ListEdgeRouterPoliciesOK) GetPayload() *rest_model.ListEdgeRouterPoliciesEnvelope
type ListEdgeRouterPoliciesParams ¶
type ListEdgeRouterPoliciesParams struct { // Filter. Filter *string // Limit. Limit *int64 // Offset. Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListEdgeRouterPoliciesParams contains all the parameters to send to the API endpoint
for the list edge router policies operation. Typically these are written to a http.Request.
func NewListEdgeRouterPoliciesParams ¶
func NewListEdgeRouterPoliciesParams() *ListEdgeRouterPoliciesParams
NewListEdgeRouterPoliciesParams creates a new ListEdgeRouterPoliciesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListEdgeRouterPoliciesParamsWithContext ¶
func NewListEdgeRouterPoliciesParamsWithContext(ctx context.Context) *ListEdgeRouterPoliciesParams
NewListEdgeRouterPoliciesParamsWithContext creates a new ListEdgeRouterPoliciesParams object with the ability to set a context for a request.
func NewListEdgeRouterPoliciesParamsWithHTTPClient ¶
func NewListEdgeRouterPoliciesParamsWithHTTPClient(client *http.Client) *ListEdgeRouterPoliciesParams
NewListEdgeRouterPoliciesParamsWithHTTPClient creates a new ListEdgeRouterPoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewListEdgeRouterPoliciesParamsWithTimeout ¶
func NewListEdgeRouterPoliciesParamsWithTimeout(timeout time.Duration) *ListEdgeRouterPoliciesParams
NewListEdgeRouterPoliciesParamsWithTimeout creates a new ListEdgeRouterPoliciesParams object with the ability to set a timeout on a request.
func (*ListEdgeRouterPoliciesParams) SetContext ¶
func (o *ListEdgeRouterPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the list edge router policies params
func (*ListEdgeRouterPoliciesParams) SetDefaults ¶
func (o *ListEdgeRouterPoliciesParams) SetDefaults()
SetDefaults hydrates default values in the list edge router policies params (not the query body).
All values with no default are reset to their zero value.
func (*ListEdgeRouterPoliciesParams) SetFilter ¶
func (o *ListEdgeRouterPoliciesParams) SetFilter(filter *string)
SetFilter adds the filter to the list edge router policies params
func (*ListEdgeRouterPoliciesParams) SetHTTPClient ¶
func (o *ListEdgeRouterPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list edge router policies params
func (*ListEdgeRouterPoliciesParams) SetLimit ¶
func (o *ListEdgeRouterPoliciesParams) SetLimit(limit *int64)
SetLimit adds the limit to the list edge router policies params
func (*ListEdgeRouterPoliciesParams) SetOffset ¶
func (o *ListEdgeRouterPoliciesParams) SetOffset(offset *int64)
SetOffset adds the offset to the list edge router policies params
func (*ListEdgeRouterPoliciesParams) SetTimeout ¶
func (o *ListEdgeRouterPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list edge router policies params
func (*ListEdgeRouterPoliciesParams) WithContext ¶
func (o *ListEdgeRouterPoliciesParams) WithContext(ctx context.Context) *ListEdgeRouterPoliciesParams
WithContext adds the context to the list edge router policies params
func (*ListEdgeRouterPoliciesParams) WithDefaults ¶
func (o *ListEdgeRouterPoliciesParams) WithDefaults() *ListEdgeRouterPoliciesParams
WithDefaults hydrates default values in the list edge router policies params (not the query body).
All values with no default are reset to their zero value.
func (*ListEdgeRouterPoliciesParams) WithFilter ¶
func (o *ListEdgeRouterPoliciesParams) WithFilter(filter *string) *ListEdgeRouterPoliciesParams
WithFilter adds the filter to the list edge router policies params
func (*ListEdgeRouterPoliciesParams) WithHTTPClient ¶
func (o *ListEdgeRouterPoliciesParams) WithHTTPClient(client *http.Client) *ListEdgeRouterPoliciesParams
WithHTTPClient adds the HTTPClient to the list edge router policies params
func (*ListEdgeRouterPoliciesParams) WithLimit ¶
func (o *ListEdgeRouterPoliciesParams) WithLimit(limit *int64) *ListEdgeRouterPoliciesParams
WithLimit adds the limit to the list edge router policies params
func (*ListEdgeRouterPoliciesParams) WithOffset ¶
func (o *ListEdgeRouterPoliciesParams) WithOffset(offset *int64) *ListEdgeRouterPoliciesParams
WithOffset adds the offset to the list edge router policies params
func (*ListEdgeRouterPoliciesParams) WithTimeout ¶
func (o *ListEdgeRouterPoliciesParams) WithTimeout(timeout time.Duration) *ListEdgeRouterPoliciesParams
WithTimeout adds the timeout to the list edge router policies params
func (*ListEdgeRouterPoliciesParams) WriteToRequest ¶
func (o *ListEdgeRouterPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListEdgeRouterPoliciesReader ¶
type ListEdgeRouterPoliciesReader struct {
// contains filtered or unexported fields
}
ListEdgeRouterPoliciesReader is a Reader for the ListEdgeRouterPolicies structure.
func (*ListEdgeRouterPoliciesReader) ReadResponse ¶
func (o *ListEdgeRouterPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListEdgeRouterPoliciesUnauthorized ¶
type ListEdgeRouterPoliciesUnauthorized struct {
}ListEdgeRouterPoliciesUnauthorized 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 NewListEdgeRouterPoliciesUnauthorized ¶
func NewListEdgeRouterPoliciesUnauthorized() *ListEdgeRouterPoliciesUnauthorized
NewListEdgeRouterPoliciesUnauthorized creates a ListEdgeRouterPoliciesUnauthorized with default headers values
func (*ListEdgeRouterPoliciesUnauthorized) Error ¶
func (o *ListEdgeRouterPoliciesUnauthorized) Error() string
func (*ListEdgeRouterPoliciesUnauthorized) GetPayload ¶
func (o *ListEdgeRouterPoliciesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListEdgeRouterPolicyEdgeRoutersNotFound ¶
type ListEdgeRouterPolicyEdgeRoutersNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
ListEdgeRouterPolicyEdgeRoutersNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewListEdgeRouterPolicyEdgeRoutersNotFound ¶
func NewListEdgeRouterPolicyEdgeRoutersNotFound() *ListEdgeRouterPolicyEdgeRoutersNotFound
NewListEdgeRouterPolicyEdgeRoutersNotFound creates a ListEdgeRouterPolicyEdgeRoutersNotFound with default headers values
func (*ListEdgeRouterPolicyEdgeRoutersNotFound) Error ¶
func (o *ListEdgeRouterPolicyEdgeRoutersNotFound) Error() string
func (*ListEdgeRouterPolicyEdgeRoutersNotFound) GetPayload ¶
func (o *ListEdgeRouterPolicyEdgeRoutersNotFound) GetPayload() *rest_model.APIErrorEnvelope
type ListEdgeRouterPolicyEdgeRoutersOK ¶
type ListEdgeRouterPolicyEdgeRoutersOK struct {
Payload *rest_model.ListEdgeRoutersEnvelope
}
ListEdgeRouterPolicyEdgeRoutersOK describes a response with status code 200, with default header values.
A list of edge routers
func NewListEdgeRouterPolicyEdgeRoutersOK ¶
func NewListEdgeRouterPolicyEdgeRoutersOK() *ListEdgeRouterPolicyEdgeRoutersOK
NewListEdgeRouterPolicyEdgeRoutersOK creates a ListEdgeRouterPolicyEdgeRoutersOK with default headers values
func (*ListEdgeRouterPolicyEdgeRoutersOK) Error ¶
func (o *ListEdgeRouterPolicyEdgeRoutersOK) Error() string
func (*ListEdgeRouterPolicyEdgeRoutersOK) GetPayload ¶
func (o *ListEdgeRouterPolicyEdgeRoutersOK) GetPayload() *rest_model.ListEdgeRoutersEnvelope
type ListEdgeRouterPolicyEdgeRoutersParams ¶
type ListEdgeRouterPolicyEdgeRoutersParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListEdgeRouterPolicyEdgeRoutersParams contains all the parameters to send to the API endpoint
for the list edge router policy edge routers operation. Typically these are written to a http.Request.
func NewListEdgeRouterPolicyEdgeRoutersParams ¶
func NewListEdgeRouterPolicyEdgeRoutersParams() *ListEdgeRouterPolicyEdgeRoutersParams
NewListEdgeRouterPolicyEdgeRoutersParams creates a new ListEdgeRouterPolicyEdgeRoutersParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListEdgeRouterPolicyEdgeRoutersParamsWithContext ¶
func NewListEdgeRouterPolicyEdgeRoutersParamsWithContext(ctx context.Context) *ListEdgeRouterPolicyEdgeRoutersParams
NewListEdgeRouterPolicyEdgeRoutersParamsWithContext creates a new ListEdgeRouterPolicyEdgeRoutersParams object with the ability to set a context for a request.
func NewListEdgeRouterPolicyEdgeRoutersParamsWithHTTPClient ¶
func NewListEdgeRouterPolicyEdgeRoutersParamsWithHTTPClient(client *http.Client) *ListEdgeRouterPolicyEdgeRoutersParams
NewListEdgeRouterPolicyEdgeRoutersParamsWithHTTPClient creates a new ListEdgeRouterPolicyEdgeRoutersParams object with the ability to set a custom HTTPClient for a request.
func NewListEdgeRouterPolicyEdgeRoutersParamsWithTimeout ¶
func NewListEdgeRouterPolicyEdgeRoutersParamsWithTimeout(timeout time.Duration) *ListEdgeRouterPolicyEdgeRoutersParams
NewListEdgeRouterPolicyEdgeRoutersParamsWithTimeout creates a new ListEdgeRouterPolicyEdgeRoutersParams object with the ability to set a timeout on a request.
func (*ListEdgeRouterPolicyEdgeRoutersParams) SetContext ¶
func (o *ListEdgeRouterPolicyEdgeRoutersParams) SetContext(ctx context.Context)
SetContext adds the context to the list edge router policy edge routers params
func (*ListEdgeRouterPolicyEdgeRoutersParams) SetDefaults ¶
func (o *ListEdgeRouterPolicyEdgeRoutersParams) SetDefaults()
SetDefaults hydrates default values in the list edge router policy edge routers params (not the query body).
All values with no default are reset to their zero value.
func (*ListEdgeRouterPolicyEdgeRoutersParams) SetHTTPClient ¶
func (o *ListEdgeRouterPolicyEdgeRoutersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list edge router policy edge routers params
func (*ListEdgeRouterPolicyEdgeRoutersParams) SetID ¶
func (o *ListEdgeRouterPolicyEdgeRoutersParams) SetID(id string)
SetID adds the id to the list edge router policy edge routers params
func (*ListEdgeRouterPolicyEdgeRoutersParams) SetTimeout ¶
func (o *ListEdgeRouterPolicyEdgeRoutersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list edge router policy edge routers params
func (*ListEdgeRouterPolicyEdgeRoutersParams) WithContext ¶
func (o *ListEdgeRouterPolicyEdgeRoutersParams) WithContext(ctx context.Context) *ListEdgeRouterPolicyEdgeRoutersParams
WithContext adds the context to the list edge router policy edge routers params
func (*ListEdgeRouterPolicyEdgeRoutersParams) WithDefaults ¶
func (o *ListEdgeRouterPolicyEdgeRoutersParams) WithDefaults() *ListEdgeRouterPolicyEdgeRoutersParams
WithDefaults hydrates default values in the list edge router policy edge routers params (not the query body).
All values with no default are reset to their zero value.
func (*ListEdgeRouterPolicyEdgeRoutersParams) WithHTTPClient ¶
func (o *ListEdgeRouterPolicyEdgeRoutersParams) WithHTTPClient(client *http.Client) *ListEdgeRouterPolicyEdgeRoutersParams
WithHTTPClient adds the HTTPClient to the list edge router policy edge routers params
func (*ListEdgeRouterPolicyEdgeRoutersParams) WithID ¶
func (o *ListEdgeRouterPolicyEdgeRoutersParams) WithID(id string) *ListEdgeRouterPolicyEdgeRoutersParams
WithID adds the id to the list edge router policy edge routers params
func (*ListEdgeRouterPolicyEdgeRoutersParams) WithTimeout ¶
func (o *ListEdgeRouterPolicyEdgeRoutersParams) WithTimeout(timeout time.Duration) *ListEdgeRouterPolicyEdgeRoutersParams
WithTimeout adds the timeout to the list edge router policy edge routers params
func (*ListEdgeRouterPolicyEdgeRoutersParams) WriteToRequest ¶
func (o *ListEdgeRouterPolicyEdgeRoutersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListEdgeRouterPolicyEdgeRoutersReader ¶
type ListEdgeRouterPolicyEdgeRoutersReader struct {
// contains filtered or unexported fields
}
ListEdgeRouterPolicyEdgeRoutersReader is a Reader for the ListEdgeRouterPolicyEdgeRouters structure.
func (*ListEdgeRouterPolicyEdgeRoutersReader) ReadResponse ¶
func (o *ListEdgeRouterPolicyEdgeRoutersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListEdgeRouterPolicyEdgeRoutersUnauthorized ¶
type ListEdgeRouterPolicyEdgeRoutersUnauthorized struct {
}ListEdgeRouterPolicyEdgeRoutersUnauthorized 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 NewListEdgeRouterPolicyEdgeRoutersUnauthorized ¶
func NewListEdgeRouterPolicyEdgeRoutersUnauthorized() *ListEdgeRouterPolicyEdgeRoutersUnauthorized
NewListEdgeRouterPolicyEdgeRoutersUnauthorized creates a ListEdgeRouterPolicyEdgeRoutersUnauthorized with default headers values
func (*ListEdgeRouterPolicyEdgeRoutersUnauthorized) Error ¶
func (o *ListEdgeRouterPolicyEdgeRoutersUnauthorized) Error() string
func (*ListEdgeRouterPolicyEdgeRoutersUnauthorized) GetPayload ¶
func (o *ListEdgeRouterPolicyEdgeRoutersUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListEdgeRouterPolicyIdentitiesNotFound ¶
type ListEdgeRouterPolicyIdentitiesNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
ListEdgeRouterPolicyIdentitiesNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewListEdgeRouterPolicyIdentitiesNotFound ¶
func NewListEdgeRouterPolicyIdentitiesNotFound() *ListEdgeRouterPolicyIdentitiesNotFound
NewListEdgeRouterPolicyIdentitiesNotFound creates a ListEdgeRouterPolicyIdentitiesNotFound with default headers values
func (*ListEdgeRouterPolicyIdentitiesNotFound) Error ¶
func (o *ListEdgeRouterPolicyIdentitiesNotFound) Error() string
func (*ListEdgeRouterPolicyIdentitiesNotFound) GetPayload ¶
func (o *ListEdgeRouterPolicyIdentitiesNotFound) GetPayload() *rest_model.APIErrorEnvelope
type ListEdgeRouterPolicyIdentitiesOK ¶
type ListEdgeRouterPolicyIdentitiesOK struct {
Payload *rest_model.ListIdentitiesEnvelope
}
ListEdgeRouterPolicyIdentitiesOK describes a response with status code 200, with default header values.
A list of identities
func NewListEdgeRouterPolicyIdentitiesOK ¶
func NewListEdgeRouterPolicyIdentitiesOK() *ListEdgeRouterPolicyIdentitiesOK
NewListEdgeRouterPolicyIdentitiesOK creates a ListEdgeRouterPolicyIdentitiesOK with default headers values
func (*ListEdgeRouterPolicyIdentitiesOK) Error ¶
func (o *ListEdgeRouterPolicyIdentitiesOK) Error() string
func (*ListEdgeRouterPolicyIdentitiesOK) GetPayload ¶
func (o *ListEdgeRouterPolicyIdentitiesOK) GetPayload() *rest_model.ListIdentitiesEnvelope
type ListEdgeRouterPolicyIdentitiesParams ¶
type ListEdgeRouterPolicyIdentitiesParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListEdgeRouterPolicyIdentitiesParams contains all the parameters to send to the API endpoint
for the list edge router policy identities operation. Typically these are written to a http.Request.
func NewListEdgeRouterPolicyIdentitiesParams ¶
func NewListEdgeRouterPolicyIdentitiesParams() *ListEdgeRouterPolicyIdentitiesParams
NewListEdgeRouterPolicyIdentitiesParams creates a new ListEdgeRouterPolicyIdentitiesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListEdgeRouterPolicyIdentitiesParamsWithContext ¶
func NewListEdgeRouterPolicyIdentitiesParamsWithContext(ctx context.Context) *ListEdgeRouterPolicyIdentitiesParams
NewListEdgeRouterPolicyIdentitiesParamsWithContext creates a new ListEdgeRouterPolicyIdentitiesParams object with the ability to set a context for a request.
func NewListEdgeRouterPolicyIdentitiesParamsWithHTTPClient ¶
func NewListEdgeRouterPolicyIdentitiesParamsWithHTTPClient(client *http.Client) *ListEdgeRouterPolicyIdentitiesParams
NewListEdgeRouterPolicyIdentitiesParamsWithHTTPClient creates a new ListEdgeRouterPolicyIdentitiesParams object with the ability to set a custom HTTPClient for a request.
func NewListEdgeRouterPolicyIdentitiesParamsWithTimeout ¶
func NewListEdgeRouterPolicyIdentitiesParamsWithTimeout(timeout time.Duration) *ListEdgeRouterPolicyIdentitiesParams
NewListEdgeRouterPolicyIdentitiesParamsWithTimeout creates a new ListEdgeRouterPolicyIdentitiesParams object with the ability to set a timeout on a request.
func (*ListEdgeRouterPolicyIdentitiesParams) SetContext ¶
func (o *ListEdgeRouterPolicyIdentitiesParams) SetContext(ctx context.Context)
SetContext adds the context to the list edge router policy identities params
func (*ListEdgeRouterPolicyIdentitiesParams) SetDefaults ¶
func (o *ListEdgeRouterPolicyIdentitiesParams) SetDefaults()
SetDefaults hydrates default values in the list edge router policy identities params (not the query body).
All values with no default are reset to their zero value.
func (*ListEdgeRouterPolicyIdentitiesParams) SetHTTPClient ¶
func (o *ListEdgeRouterPolicyIdentitiesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list edge router policy identities params
func (*ListEdgeRouterPolicyIdentitiesParams) SetID ¶
func (o *ListEdgeRouterPolicyIdentitiesParams) SetID(id string)
SetID adds the id to the list edge router policy identities params
func (*ListEdgeRouterPolicyIdentitiesParams) SetTimeout ¶
func (o *ListEdgeRouterPolicyIdentitiesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list edge router policy identities params
func (*ListEdgeRouterPolicyIdentitiesParams) WithContext ¶
func (o *ListEdgeRouterPolicyIdentitiesParams) WithContext(ctx context.Context) *ListEdgeRouterPolicyIdentitiesParams
WithContext adds the context to the list edge router policy identities params
func (*ListEdgeRouterPolicyIdentitiesParams) WithDefaults ¶
func (o *ListEdgeRouterPolicyIdentitiesParams) WithDefaults() *ListEdgeRouterPolicyIdentitiesParams
WithDefaults hydrates default values in the list edge router policy identities params (not the query body).
All values with no default are reset to their zero value.
func (*ListEdgeRouterPolicyIdentitiesParams) WithHTTPClient ¶
func (o *ListEdgeRouterPolicyIdentitiesParams) WithHTTPClient(client *http.Client) *ListEdgeRouterPolicyIdentitiesParams
WithHTTPClient adds the HTTPClient to the list edge router policy identities params
func (*ListEdgeRouterPolicyIdentitiesParams) WithID ¶
func (o *ListEdgeRouterPolicyIdentitiesParams) WithID(id string) *ListEdgeRouterPolicyIdentitiesParams
WithID adds the id to the list edge router policy identities params
func (*ListEdgeRouterPolicyIdentitiesParams) WithTimeout ¶
func (o *ListEdgeRouterPolicyIdentitiesParams) WithTimeout(timeout time.Duration) *ListEdgeRouterPolicyIdentitiesParams
WithTimeout adds the timeout to the list edge router policy identities params
func (*ListEdgeRouterPolicyIdentitiesParams) WriteToRequest ¶
func (o *ListEdgeRouterPolicyIdentitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListEdgeRouterPolicyIdentitiesReader ¶
type ListEdgeRouterPolicyIdentitiesReader struct {
// contains filtered or unexported fields
}
ListEdgeRouterPolicyIdentitiesReader is a Reader for the ListEdgeRouterPolicyIdentities structure.
func (*ListEdgeRouterPolicyIdentitiesReader) ReadResponse ¶
func (o *ListEdgeRouterPolicyIdentitiesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListEdgeRouterPolicyIdentitiesUnauthorized ¶
type ListEdgeRouterPolicyIdentitiesUnauthorized struct {
}ListEdgeRouterPolicyIdentitiesUnauthorized 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 NewListEdgeRouterPolicyIdentitiesUnauthorized ¶
func NewListEdgeRouterPolicyIdentitiesUnauthorized() *ListEdgeRouterPolicyIdentitiesUnauthorized
NewListEdgeRouterPolicyIdentitiesUnauthorized creates a ListEdgeRouterPolicyIdentitiesUnauthorized with default headers values
func (*ListEdgeRouterPolicyIdentitiesUnauthorized) Error ¶
func (o *ListEdgeRouterPolicyIdentitiesUnauthorized) Error() string
func (*ListEdgeRouterPolicyIdentitiesUnauthorized) GetPayload ¶
func (o *ListEdgeRouterPolicyIdentitiesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type PatchEdgeRouterPolicyBadRequest ¶
type PatchEdgeRouterPolicyBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
PatchEdgeRouterPolicyBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewPatchEdgeRouterPolicyBadRequest ¶
func NewPatchEdgeRouterPolicyBadRequest() *PatchEdgeRouterPolicyBadRequest
NewPatchEdgeRouterPolicyBadRequest creates a PatchEdgeRouterPolicyBadRequest with default headers values
func (*PatchEdgeRouterPolicyBadRequest) Error ¶
func (o *PatchEdgeRouterPolicyBadRequest) Error() string
func (*PatchEdgeRouterPolicyBadRequest) GetPayload ¶
func (o *PatchEdgeRouterPolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type PatchEdgeRouterPolicyNotFound ¶
type PatchEdgeRouterPolicyNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
PatchEdgeRouterPolicyNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewPatchEdgeRouterPolicyNotFound ¶
func NewPatchEdgeRouterPolicyNotFound() *PatchEdgeRouterPolicyNotFound
NewPatchEdgeRouterPolicyNotFound creates a PatchEdgeRouterPolicyNotFound with default headers values
func (*PatchEdgeRouterPolicyNotFound) Error ¶
func (o *PatchEdgeRouterPolicyNotFound) Error() string
func (*PatchEdgeRouterPolicyNotFound) GetPayload ¶
func (o *PatchEdgeRouterPolicyNotFound) GetPayload() *rest_model.APIErrorEnvelope
type PatchEdgeRouterPolicyOK ¶
type PatchEdgeRouterPolicyOK struct {
Payload *rest_model.Empty
}
PatchEdgeRouterPolicyOK describes a response with status code 200, with default header values.
The patch request was successful and the resource has been altered
func NewPatchEdgeRouterPolicyOK ¶
func NewPatchEdgeRouterPolicyOK() *PatchEdgeRouterPolicyOK
NewPatchEdgeRouterPolicyOK creates a PatchEdgeRouterPolicyOK with default headers values
func (*PatchEdgeRouterPolicyOK) Error ¶
func (o *PatchEdgeRouterPolicyOK) Error() string
func (*PatchEdgeRouterPolicyOK) GetPayload ¶
func (o *PatchEdgeRouterPolicyOK) GetPayload() *rest_model.Empty
type PatchEdgeRouterPolicyParams ¶
type PatchEdgeRouterPolicyParams struct { /* ID. The id of the requested resource */ ID string /* Policy. An edge router policy patch object */ Policy *rest_model.EdgeRouterPolicyPatch Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchEdgeRouterPolicyParams contains all the parameters to send to the API endpoint
for the patch edge router policy operation. Typically these are written to a http.Request.
func NewPatchEdgeRouterPolicyParams ¶
func NewPatchEdgeRouterPolicyParams() *PatchEdgeRouterPolicyParams
NewPatchEdgeRouterPolicyParams creates a new PatchEdgeRouterPolicyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchEdgeRouterPolicyParamsWithContext ¶
func NewPatchEdgeRouterPolicyParamsWithContext(ctx context.Context) *PatchEdgeRouterPolicyParams
NewPatchEdgeRouterPolicyParamsWithContext creates a new PatchEdgeRouterPolicyParams object with the ability to set a context for a request.
func NewPatchEdgeRouterPolicyParamsWithHTTPClient ¶
func NewPatchEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *PatchEdgeRouterPolicyParams
NewPatchEdgeRouterPolicyParamsWithHTTPClient creates a new PatchEdgeRouterPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewPatchEdgeRouterPolicyParamsWithTimeout ¶
func NewPatchEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *PatchEdgeRouterPolicyParams
NewPatchEdgeRouterPolicyParamsWithTimeout creates a new PatchEdgeRouterPolicyParams object with the ability to set a timeout on a request.
func (*PatchEdgeRouterPolicyParams) SetContext ¶
func (o *PatchEdgeRouterPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the patch edge router policy params
func (*PatchEdgeRouterPolicyParams) SetDefaults ¶
func (o *PatchEdgeRouterPolicyParams) SetDefaults()
SetDefaults hydrates default values in the patch edge router policy params (not the query body).
All values with no default are reset to their zero value.
func (*PatchEdgeRouterPolicyParams) SetHTTPClient ¶
func (o *PatchEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch edge router policy params
func (*PatchEdgeRouterPolicyParams) SetID ¶
func (o *PatchEdgeRouterPolicyParams) SetID(id string)
SetID adds the id to the patch edge router policy params
func (*PatchEdgeRouterPolicyParams) SetPolicy ¶
func (o *PatchEdgeRouterPolicyParams) SetPolicy(policy *rest_model.EdgeRouterPolicyPatch)
SetPolicy adds the policy to the patch edge router policy params
func (*PatchEdgeRouterPolicyParams) SetTimeout ¶
func (o *PatchEdgeRouterPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch edge router policy params
func (*PatchEdgeRouterPolicyParams) WithContext ¶
func (o *PatchEdgeRouterPolicyParams) WithContext(ctx context.Context) *PatchEdgeRouterPolicyParams
WithContext adds the context to the patch edge router policy params
func (*PatchEdgeRouterPolicyParams) WithDefaults ¶
func (o *PatchEdgeRouterPolicyParams) WithDefaults() *PatchEdgeRouterPolicyParams
WithDefaults hydrates default values in the patch edge router policy params (not the query body).
All values with no default are reset to their zero value.
func (*PatchEdgeRouterPolicyParams) WithHTTPClient ¶
func (o *PatchEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *PatchEdgeRouterPolicyParams
WithHTTPClient adds the HTTPClient to the patch edge router policy params
func (*PatchEdgeRouterPolicyParams) WithID ¶
func (o *PatchEdgeRouterPolicyParams) WithID(id string) *PatchEdgeRouterPolicyParams
WithID adds the id to the patch edge router policy params
func (*PatchEdgeRouterPolicyParams) WithPolicy ¶
func (o *PatchEdgeRouterPolicyParams) WithPolicy(policy *rest_model.EdgeRouterPolicyPatch) *PatchEdgeRouterPolicyParams
WithPolicy adds the policy to the patch edge router policy params
func (*PatchEdgeRouterPolicyParams) WithTimeout ¶
func (o *PatchEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *PatchEdgeRouterPolicyParams
WithTimeout adds the timeout to the patch edge router policy params
func (*PatchEdgeRouterPolicyParams) WriteToRequest ¶
func (o *PatchEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchEdgeRouterPolicyReader ¶
type PatchEdgeRouterPolicyReader struct {
// contains filtered or unexported fields
}
PatchEdgeRouterPolicyReader is a Reader for the PatchEdgeRouterPolicy structure.
func (*PatchEdgeRouterPolicyReader) ReadResponse ¶
func (o *PatchEdgeRouterPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchEdgeRouterPolicyUnauthorized ¶
type PatchEdgeRouterPolicyUnauthorized struct {
}PatchEdgeRouterPolicyUnauthorized 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 NewPatchEdgeRouterPolicyUnauthorized ¶
func NewPatchEdgeRouterPolicyUnauthorized() *PatchEdgeRouterPolicyUnauthorized
NewPatchEdgeRouterPolicyUnauthorized creates a PatchEdgeRouterPolicyUnauthorized with default headers values
func (*PatchEdgeRouterPolicyUnauthorized) Error ¶
func (o *PatchEdgeRouterPolicyUnauthorized) Error() string
func (*PatchEdgeRouterPolicyUnauthorized) GetPayload ¶
func (o *PatchEdgeRouterPolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type UpdateEdgeRouterPolicyBadRequest ¶
type UpdateEdgeRouterPolicyBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateEdgeRouterPolicyBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewUpdateEdgeRouterPolicyBadRequest ¶
func NewUpdateEdgeRouterPolicyBadRequest() *UpdateEdgeRouterPolicyBadRequest
NewUpdateEdgeRouterPolicyBadRequest creates a UpdateEdgeRouterPolicyBadRequest with default headers values
func (*UpdateEdgeRouterPolicyBadRequest) Error ¶
func (o *UpdateEdgeRouterPolicyBadRequest) Error() string
func (*UpdateEdgeRouterPolicyBadRequest) GetPayload ¶
func (o *UpdateEdgeRouterPolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type UpdateEdgeRouterPolicyNotFound ¶
type UpdateEdgeRouterPolicyNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateEdgeRouterPolicyNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewUpdateEdgeRouterPolicyNotFound ¶
func NewUpdateEdgeRouterPolicyNotFound() *UpdateEdgeRouterPolicyNotFound
NewUpdateEdgeRouterPolicyNotFound creates a UpdateEdgeRouterPolicyNotFound with default headers values
func (*UpdateEdgeRouterPolicyNotFound) Error ¶
func (o *UpdateEdgeRouterPolicyNotFound) Error() string
func (*UpdateEdgeRouterPolicyNotFound) GetPayload ¶
func (o *UpdateEdgeRouterPolicyNotFound) GetPayload() *rest_model.APIErrorEnvelope
type UpdateEdgeRouterPolicyOK ¶
type UpdateEdgeRouterPolicyOK struct {
Payload *rest_model.Empty
}
UpdateEdgeRouterPolicyOK describes a response with status code 200, with default header values.
The update request was successful and the resource has been altered
func NewUpdateEdgeRouterPolicyOK ¶
func NewUpdateEdgeRouterPolicyOK() *UpdateEdgeRouterPolicyOK
NewUpdateEdgeRouterPolicyOK creates a UpdateEdgeRouterPolicyOK with default headers values
func (*UpdateEdgeRouterPolicyOK) Error ¶
func (o *UpdateEdgeRouterPolicyOK) Error() string
func (*UpdateEdgeRouterPolicyOK) GetPayload ¶
func (o *UpdateEdgeRouterPolicyOK) GetPayload() *rest_model.Empty
type UpdateEdgeRouterPolicyParams ¶
type UpdateEdgeRouterPolicyParams struct { /* ID. The id of the requested resource */ ID string /* Policy. An edge router policy update object */ Policy *rest_model.EdgeRouterPolicyUpdate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateEdgeRouterPolicyParams contains all the parameters to send to the API endpoint
for the update edge router policy operation. Typically these are written to a http.Request.
func NewUpdateEdgeRouterPolicyParams ¶
func NewUpdateEdgeRouterPolicyParams() *UpdateEdgeRouterPolicyParams
NewUpdateEdgeRouterPolicyParams creates a new UpdateEdgeRouterPolicyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateEdgeRouterPolicyParamsWithContext ¶
func NewUpdateEdgeRouterPolicyParamsWithContext(ctx context.Context) *UpdateEdgeRouterPolicyParams
NewUpdateEdgeRouterPolicyParamsWithContext creates a new UpdateEdgeRouterPolicyParams object with the ability to set a context for a request.
func NewUpdateEdgeRouterPolicyParamsWithHTTPClient ¶
func NewUpdateEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *UpdateEdgeRouterPolicyParams
NewUpdateEdgeRouterPolicyParamsWithHTTPClient creates a new UpdateEdgeRouterPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateEdgeRouterPolicyParamsWithTimeout ¶
func NewUpdateEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *UpdateEdgeRouterPolicyParams
NewUpdateEdgeRouterPolicyParamsWithTimeout creates a new UpdateEdgeRouterPolicyParams object with the ability to set a timeout on a request.
func (*UpdateEdgeRouterPolicyParams) SetContext ¶
func (o *UpdateEdgeRouterPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the update edge router policy params
func (*UpdateEdgeRouterPolicyParams) SetDefaults ¶
func (o *UpdateEdgeRouterPolicyParams) SetDefaults()
SetDefaults hydrates default values in the update edge router policy params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateEdgeRouterPolicyParams) SetHTTPClient ¶
func (o *UpdateEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update edge router policy params
func (*UpdateEdgeRouterPolicyParams) SetID ¶
func (o *UpdateEdgeRouterPolicyParams) SetID(id string)
SetID adds the id to the update edge router policy params
func (*UpdateEdgeRouterPolicyParams) SetPolicy ¶
func (o *UpdateEdgeRouterPolicyParams) SetPolicy(policy *rest_model.EdgeRouterPolicyUpdate)
SetPolicy adds the policy to the update edge router policy params
func (*UpdateEdgeRouterPolicyParams) SetTimeout ¶
func (o *UpdateEdgeRouterPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update edge router policy params
func (*UpdateEdgeRouterPolicyParams) WithContext ¶
func (o *UpdateEdgeRouterPolicyParams) WithContext(ctx context.Context) *UpdateEdgeRouterPolicyParams
WithContext adds the context to the update edge router policy params
func (*UpdateEdgeRouterPolicyParams) WithDefaults ¶
func (o *UpdateEdgeRouterPolicyParams) WithDefaults() *UpdateEdgeRouterPolicyParams
WithDefaults hydrates default values in the update edge router policy params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateEdgeRouterPolicyParams) WithHTTPClient ¶
func (o *UpdateEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *UpdateEdgeRouterPolicyParams
WithHTTPClient adds the HTTPClient to the update edge router policy params
func (*UpdateEdgeRouterPolicyParams) WithID ¶
func (o *UpdateEdgeRouterPolicyParams) WithID(id string) *UpdateEdgeRouterPolicyParams
WithID adds the id to the update edge router policy params
func (*UpdateEdgeRouterPolicyParams) WithPolicy ¶
func (o *UpdateEdgeRouterPolicyParams) WithPolicy(policy *rest_model.EdgeRouterPolicyUpdate) *UpdateEdgeRouterPolicyParams
WithPolicy adds the policy to the update edge router policy params
func (*UpdateEdgeRouterPolicyParams) WithTimeout ¶
func (o *UpdateEdgeRouterPolicyParams) WithTimeout(timeout time.Duration) *UpdateEdgeRouterPolicyParams
WithTimeout adds the timeout to the update edge router policy params
func (*UpdateEdgeRouterPolicyParams) WriteToRequest ¶
func (o *UpdateEdgeRouterPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateEdgeRouterPolicyReader ¶
type UpdateEdgeRouterPolicyReader struct {
// contains filtered or unexported fields
}
UpdateEdgeRouterPolicyReader is a Reader for the UpdateEdgeRouterPolicy structure.
func (*UpdateEdgeRouterPolicyReader) ReadResponse ¶
func (o *UpdateEdgeRouterPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateEdgeRouterPolicyUnauthorized ¶
type UpdateEdgeRouterPolicyUnauthorized struct {
}UpdateEdgeRouterPolicyUnauthorized 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 NewUpdateEdgeRouterPolicyUnauthorized ¶
func NewUpdateEdgeRouterPolicyUnauthorized() *UpdateEdgeRouterPolicyUnauthorized
NewUpdateEdgeRouterPolicyUnauthorized creates a UpdateEdgeRouterPolicyUnauthorized with default headers values
func (*UpdateEdgeRouterPolicyUnauthorized) Error ¶
func (o *UpdateEdgeRouterPolicyUnauthorized) Error() string
func (*UpdateEdgeRouterPolicyUnauthorized) GetPayload ¶
func (o *UpdateEdgeRouterPolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
Source Files ¶
- create_edge_router_policy_parameters.go
- create_edge_router_policy_responses.go
- delete_edge_router_policy_parameters.go
- delete_edge_router_policy_responses.go
- detail_edge_router_policy_parameters.go
- detail_edge_router_policy_responses.go
- edge_router_policy_client.go
- list_edge_router_policies_parameters.go
- list_edge_router_policies_responses.go
- list_edge_router_policy_edge_routers_parameters.go
- list_edge_router_policy_edge_routers_responses.go
- list_edge_router_policy_identities_parameters.go
- list_edge_router_policy_identities_responses.go
- patch_edge_router_policy_parameters.go
- patch_edge_router_policy_responses.go
- update_edge_router_policy_parameters.go
- update_edge_router_policy_responses.go