Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateServiceEdgeRouterPolicy(params *CreateServiceEdgeRouterPolicyParams, ...) (*CreateServiceEdgeRouterPolicyOK, 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 ClientService
- type CreateServiceEdgeRouterPolicyBadRequest
- type CreateServiceEdgeRouterPolicyOK
- 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) SetBody(body *rest_model.ServiceEdgeRouterPolicyCreate)
- func (o *CreateServiceEdgeRouterPolicyParams) SetContext(ctx context.Context)
- func (o *CreateServiceEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
- func (o *CreateServiceEdgeRouterPolicyParams) SetTimeout(timeout time.Duration)
- func (o *CreateServiceEdgeRouterPolicyParams) WithBody(body *rest_model.ServiceEdgeRouterPolicyCreate) *CreateServiceEdgeRouterPolicyParams
- func (o *CreateServiceEdgeRouterPolicyParams) WithContext(ctx context.Context) *CreateServiceEdgeRouterPolicyParams
- func (o *CreateServiceEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *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) 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) 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) 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) 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 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) 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) 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) 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) 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) 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) 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) SetBody(body *rest_model.ServiceEdgeRouterPolicyPatch)
- func (o *PatchServiceEdgeRouterPolicyParams) SetContext(ctx context.Context)
- func (o *PatchServiceEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
- func (o *PatchServiceEdgeRouterPolicyParams) SetID(id string)
- func (o *PatchServiceEdgeRouterPolicyParams) SetTimeout(timeout time.Duration)
- func (o *PatchServiceEdgeRouterPolicyParams) WithBody(body *rest_model.ServiceEdgeRouterPolicyPatch) *PatchServiceEdgeRouterPolicyParams
- func (o *PatchServiceEdgeRouterPolicyParams) WithContext(ctx context.Context) *PatchServiceEdgeRouterPolicyParams
- func (o *PatchServiceEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *PatchServiceEdgeRouterPolicyParams
- func (o *PatchServiceEdgeRouterPolicyParams) WithID(id string) *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) SetBody(body *rest_model.ServiceEdgeRouterPolicyUpdate)
- func (o *UpdateServiceEdgeRouterPolicyParams) SetContext(ctx context.Context)
- func (o *UpdateServiceEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
- func (o *UpdateServiceEdgeRouterPolicyParams) SetID(id string)
- func (o *UpdateServiceEdgeRouterPolicyParams) SetTimeout(timeout time.Duration)
- func (o *UpdateServiceEdgeRouterPolicyParams) WithBody(body *rest_model.ServiceEdgeRouterPolicyUpdate) *UpdateServiceEdgeRouterPolicyParams
- func (o *UpdateServiceEdgeRouterPolicyParams) WithContext(ctx context.Context) *UpdateServiceEdgeRouterPolicyParams
- func (o *UpdateServiceEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *UpdateServiceEdgeRouterPolicyParams
- func (o *UpdateServiceEdgeRouterPolicyParams) WithID(id string) *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) (*CreateServiceEdgeRouterPolicyOK, 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) (*DeleteServiceEdgeRouterPolicyOK, error)
DeleteServiceEdgeRouterPolicy deletes a service edge policy
Delete a service edge policy by id. Requires admin access.
func (*Client) DetailServiceEdgeRouterPolicy ¶
func (a *Client) DetailServiceEdgeRouterPolicy(params *DetailServiceEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DetailServiceEdgeRouterPolicyOK, error)
DetailServiceEdgeRouterPolicy retrieves a single service edge policy
Retrieves a single service edge policy by id. Requires admin access.
func (*Client) ListServiceEdgeRouterPolicies ¶
func (a *Client) ListServiceEdgeRouterPolicies(params *ListServiceEdgeRouterPoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListServiceEdgeRouterPoliciesOK, error)
ListServiceEdgeRouterPolicies lists service edge router policies
Retrieves a list of service edge router policy resources; supports filtering, sorting, and pagination. Requires admin access.
func (*Client) ListServiceEdgeRouterPolicyEdgeRouters ¶
func (a *Client) ListServiceEdgeRouterPolicyEdgeRouters(params *ListServiceEdgeRouterPolicyEdgeRoutersParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*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) (*PatchServiceEdgeRouterPolicyOK, error)
PatchServiceEdgeRouterPolicy updates the supplied fields on a service edge policy
Update the supplied fields on a service edge policy. Requires admin access.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateServiceEdgeRouterPolicy ¶
func (a *Client) UpdateServiceEdgeRouterPolicy(params *UpdateServiceEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateServiceEdgeRouterPolicyOK, error)
UpdateServiceEdgeRouterPolicy updates all fields on a service edge policy
Update all fields on a service edge policy by id. Requires admin access.
type ClientService ¶
type ClientService interface { CreateServiceEdgeRouterPolicy(params *CreateServiceEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateServiceEdgeRouterPolicyOK, error) DeleteServiceEdgeRouterPolicy(params *DeleteServiceEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServiceEdgeRouterPolicyOK, error) DetailServiceEdgeRouterPolicy(params *DetailServiceEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DetailServiceEdgeRouterPolicyOK, error) ListServiceEdgeRouterPolicies(params *ListServiceEdgeRouterPoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListServiceEdgeRouterPoliciesOK, error) ListServiceEdgeRouterPolicyEdgeRouters(params *ListServiceEdgeRouterPolicyEdgeRoutersParams, authInfo runtime.ClientAuthInfoWriter) (*ListServiceEdgeRouterPolicyEdgeRoutersOK, error) ListServiceEdgeRouterPolicyServices(params *ListServiceEdgeRouterPolicyServicesParams, authInfo runtime.ClientAuthInfoWriter) (*ListServiceEdgeRouterPolicyServicesOK, error) PatchServiceEdgeRouterPolicy(params *PatchServiceEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PatchServiceEdgeRouterPolicyOK, error) UpdateServiceEdgeRouterPolicy(params *UpdateServiceEdgeRouterPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*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 handles this case with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewCreateServiceEdgeRouterPolicyBadRequest ¶
func NewCreateServiceEdgeRouterPolicyBadRequest() *CreateServiceEdgeRouterPolicyBadRequest
NewCreateServiceEdgeRouterPolicyBadRequest creates a CreateServiceEdgeRouterPolicyBadRequest with default headers values
func (*CreateServiceEdgeRouterPolicyBadRequest) Error ¶
func (o *CreateServiceEdgeRouterPolicyBadRequest) Error() string
func (*CreateServiceEdgeRouterPolicyBadRequest) GetPayload ¶
func (o *CreateServiceEdgeRouterPolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type CreateServiceEdgeRouterPolicyOK ¶
type CreateServiceEdgeRouterPolicyOK struct {
Payload *rest_model.CreateEnvelope
}
CreateServiceEdgeRouterPolicyOK handles this case with default header values.
The create request was successful and the resource has been added at the following location
func NewCreateServiceEdgeRouterPolicyOK ¶
func NewCreateServiceEdgeRouterPolicyOK() *CreateServiceEdgeRouterPolicyOK
NewCreateServiceEdgeRouterPolicyOK creates a CreateServiceEdgeRouterPolicyOK with default headers values
func (*CreateServiceEdgeRouterPolicyOK) Error ¶
func (o *CreateServiceEdgeRouterPolicyOK) Error() string
func (*CreateServiceEdgeRouterPolicyOK) GetPayload ¶
func (o *CreateServiceEdgeRouterPolicyOK) GetPayload() *rest_model.CreateEnvelope
type CreateServiceEdgeRouterPolicyParams ¶
type CreateServiceEdgeRouterPolicyParams struct { /*Body A service edge router policy to create */ Body *rest_model.ServiceEdgeRouterPolicyCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateServiceEdgeRouterPolicyParams contains all the parameters to send to the API endpoint for the create service edge router policy operation typically these are written to a http.Request
func NewCreateServiceEdgeRouterPolicyParams ¶
func NewCreateServiceEdgeRouterPolicyParams() *CreateServiceEdgeRouterPolicyParams
NewCreateServiceEdgeRouterPolicyParams creates a new CreateServiceEdgeRouterPolicyParams object with the default values initialized.
func NewCreateServiceEdgeRouterPolicyParamsWithContext ¶
func NewCreateServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *CreateServiceEdgeRouterPolicyParams
NewCreateServiceEdgeRouterPolicyParamsWithContext creates a new CreateServiceEdgeRouterPolicyParams object with the default values initialized, and the ability to set a context for a request
func NewCreateServiceEdgeRouterPolicyParamsWithHTTPClient ¶
func NewCreateServiceEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *CreateServiceEdgeRouterPolicyParams
NewCreateServiceEdgeRouterPolicyParamsWithHTTPClient creates a new CreateServiceEdgeRouterPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateServiceEdgeRouterPolicyParamsWithTimeout ¶
func NewCreateServiceEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *CreateServiceEdgeRouterPolicyParams
NewCreateServiceEdgeRouterPolicyParamsWithTimeout creates a new CreateServiceEdgeRouterPolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateServiceEdgeRouterPolicyParams) SetBody ¶
func (o *CreateServiceEdgeRouterPolicyParams) SetBody(body *rest_model.ServiceEdgeRouterPolicyCreate)
SetBody adds the body to the create service edge router policy params
func (*CreateServiceEdgeRouterPolicyParams) SetContext ¶
func (o *CreateServiceEdgeRouterPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the create service edge router policy params
func (*CreateServiceEdgeRouterPolicyParams) SetHTTPClient ¶
func (o *CreateServiceEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create service edge router policy params
func (*CreateServiceEdgeRouterPolicyParams) SetTimeout ¶
func (o *CreateServiceEdgeRouterPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create service edge router policy params
func (*CreateServiceEdgeRouterPolicyParams) WithBody ¶
func (o *CreateServiceEdgeRouterPolicyParams) WithBody(body *rest_model.ServiceEdgeRouterPolicyCreate) *CreateServiceEdgeRouterPolicyParams
WithBody adds the body 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) WithHTTPClient ¶
func (o *CreateServiceEdgeRouterPolicyParams) WithHTTPClient(client *http.Client) *CreateServiceEdgeRouterPolicyParams
WithHTTPClient adds the HTTPClient 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 handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewCreateServiceEdgeRouterPolicyUnauthorized ¶
func NewCreateServiceEdgeRouterPolicyUnauthorized() *CreateServiceEdgeRouterPolicyUnauthorized
NewCreateServiceEdgeRouterPolicyUnauthorized creates a CreateServiceEdgeRouterPolicyUnauthorized with default headers values
func (*CreateServiceEdgeRouterPolicyUnauthorized) Error ¶
func (o *CreateServiceEdgeRouterPolicyUnauthorized) Error() string
func (*CreateServiceEdgeRouterPolicyUnauthorized) GetPayload ¶
func (o *CreateServiceEdgeRouterPolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DeleteServiceEdgeRouterPolicyBadRequest ¶
type DeleteServiceEdgeRouterPolicyBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteServiceEdgeRouterPolicyBadRequest handles this case with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewDeleteServiceEdgeRouterPolicyBadRequest ¶
func NewDeleteServiceEdgeRouterPolicyBadRequest() *DeleteServiceEdgeRouterPolicyBadRequest
NewDeleteServiceEdgeRouterPolicyBadRequest creates a DeleteServiceEdgeRouterPolicyBadRequest with default headers values
func (*DeleteServiceEdgeRouterPolicyBadRequest) Error ¶
func (o *DeleteServiceEdgeRouterPolicyBadRequest) Error() string
func (*DeleteServiceEdgeRouterPolicyBadRequest) GetPayload ¶
func (o *DeleteServiceEdgeRouterPolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type DeleteServiceEdgeRouterPolicyConflict ¶
type DeleteServiceEdgeRouterPolicyConflict struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteServiceEdgeRouterPolicyConflict handles this case with default header values.
The resource requested to be removed/altered cannot be as it is referenced by another object.
func NewDeleteServiceEdgeRouterPolicyConflict ¶
func NewDeleteServiceEdgeRouterPolicyConflict() *DeleteServiceEdgeRouterPolicyConflict
NewDeleteServiceEdgeRouterPolicyConflict creates a DeleteServiceEdgeRouterPolicyConflict with default headers values
func (*DeleteServiceEdgeRouterPolicyConflict) Error ¶
func (o *DeleteServiceEdgeRouterPolicyConflict) Error() string
func (*DeleteServiceEdgeRouterPolicyConflict) GetPayload ¶
func (o *DeleteServiceEdgeRouterPolicyConflict) GetPayload() *rest_model.APIErrorEnvelope
type DeleteServiceEdgeRouterPolicyOK ¶
type DeleteServiceEdgeRouterPolicyOK struct {
Payload *rest_model.Empty
}
DeleteServiceEdgeRouterPolicyOK handles this case with default header values.
The delete request was successful and the resource has been removed
func NewDeleteServiceEdgeRouterPolicyOK ¶
func NewDeleteServiceEdgeRouterPolicyOK() *DeleteServiceEdgeRouterPolicyOK
NewDeleteServiceEdgeRouterPolicyOK creates a DeleteServiceEdgeRouterPolicyOK with default headers values
func (*DeleteServiceEdgeRouterPolicyOK) Error ¶
func (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 values initialized.
func NewDeleteServiceEdgeRouterPolicyParamsWithContext ¶
func NewDeleteServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *DeleteServiceEdgeRouterPolicyParams
NewDeleteServiceEdgeRouterPolicyParamsWithContext creates a new DeleteServiceEdgeRouterPolicyParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteServiceEdgeRouterPolicyParamsWithHTTPClient ¶
func NewDeleteServiceEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *DeleteServiceEdgeRouterPolicyParams
NewDeleteServiceEdgeRouterPolicyParamsWithHTTPClient creates a new DeleteServiceEdgeRouterPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteServiceEdgeRouterPolicyParamsWithTimeout ¶
func NewDeleteServiceEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *DeleteServiceEdgeRouterPolicyParams
NewDeleteServiceEdgeRouterPolicyParamsWithTimeout creates a new DeleteServiceEdgeRouterPolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteServiceEdgeRouterPolicyParams) SetContext ¶
func (o *DeleteServiceEdgeRouterPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete service edge router policy params
func (*DeleteServiceEdgeRouterPolicyParams) SetHTTPClient ¶
func (o *DeleteServiceEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete service edge router policy params
func (*DeleteServiceEdgeRouterPolicyParams) SetID ¶
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) 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 handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDeleteServiceEdgeRouterPolicyUnauthorized ¶
func NewDeleteServiceEdgeRouterPolicyUnauthorized() *DeleteServiceEdgeRouterPolicyUnauthorized
NewDeleteServiceEdgeRouterPolicyUnauthorized creates a DeleteServiceEdgeRouterPolicyUnauthorized with default headers values
func (*DeleteServiceEdgeRouterPolicyUnauthorized) Error ¶
func (o *DeleteServiceEdgeRouterPolicyUnauthorized) Error() string
func (*DeleteServiceEdgeRouterPolicyUnauthorized) GetPayload ¶
func (o *DeleteServiceEdgeRouterPolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DetailServiceEdgeRouterPolicyNotFound ¶
type DetailServiceEdgeRouterPolicyNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
DetailServiceEdgeRouterPolicyNotFound handles this case with default header values.
The requested resource does not exist
func NewDetailServiceEdgeRouterPolicyNotFound ¶
func NewDetailServiceEdgeRouterPolicyNotFound() *DetailServiceEdgeRouterPolicyNotFound
NewDetailServiceEdgeRouterPolicyNotFound creates a DetailServiceEdgeRouterPolicyNotFound with default headers values
func (*DetailServiceEdgeRouterPolicyNotFound) Error ¶
func (o *DetailServiceEdgeRouterPolicyNotFound) Error() string
func (*DetailServiceEdgeRouterPolicyNotFound) GetPayload ¶
func (o *DetailServiceEdgeRouterPolicyNotFound) GetPayload() *rest_model.APIErrorEnvelope
type DetailServiceEdgeRouterPolicyOK ¶
type DetailServiceEdgeRouterPolicyOK struct {
Payload *rest_model.DetailServiceEdgePolicyEnvelope
}
DetailServiceEdgeRouterPolicyOK handles this case with default header values.
A single service edge router policy
func NewDetailServiceEdgeRouterPolicyOK ¶
func NewDetailServiceEdgeRouterPolicyOK() *DetailServiceEdgeRouterPolicyOK
NewDetailServiceEdgeRouterPolicyOK creates a DetailServiceEdgeRouterPolicyOK with default headers values
func (*DetailServiceEdgeRouterPolicyOK) Error ¶
func (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 values initialized.
func NewDetailServiceEdgeRouterPolicyParamsWithContext ¶
func NewDetailServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *DetailServiceEdgeRouterPolicyParams
NewDetailServiceEdgeRouterPolicyParamsWithContext creates a new DetailServiceEdgeRouterPolicyParams object with the default values initialized, and the ability to set a context for a request
func NewDetailServiceEdgeRouterPolicyParamsWithHTTPClient ¶
func NewDetailServiceEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *DetailServiceEdgeRouterPolicyParams
NewDetailServiceEdgeRouterPolicyParamsWithHTTPClient creates a new DetailServiceEdgeRouterPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDetailServiceEdgeRouterPolicyParamsWithTimeout ¶
func NewDetailServiceEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *DetailServiceEdgeRouterPolicyParams
NewDetailServiceEdgeRouterPolicyParamsWithTimeout creates a new DetailServiceEdgeRouterPolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*DetailServiceEdgeRouterPolicyParams) SetContext ¶
func (o *DetailServiceEdgeRouterPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the detail service edge router policy params
func (*DetailServiceEdgeRouterPolicyParams) SetHTTPClient ¶
func (o *DetailServiceEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail service edge router policy params
func (*DetailServiceEdgeRouterPolicyParams) SetID ¶
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) 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 handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDetailServiceEdgeRouterPolicyUnauthorized ¶
func NewDetailServiceEdgeRouterPolicyUnauthorized() *DetailServiceEdgeRouterPolicyUnauthorized
NewDetailServiceEdgeRouterPolicyUnauthorized creates a DetailServiceEdgeRouterPolicyUnauthorized with default headers values
func (*DetailServiceEdgeRouterPolicyUnauthorized) Error ¶
func (o *DetailServiceEdgeRouterPolicyUnauthorized) Error() string
func (*DetailServiceEdgeRouterPolicyUnauthorized) GetPayload ¶
func (o *DetailServiceEdgeRouterPolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListServiceEdgeRouterPoliciesOK ¶
type ListServiceEdgeRouterPoliciesOK struct {
Payload *rest_model.ListServiceEdgeRouterPoliciesEnvelope
}
ListServiceEdgeRouterPoliciesOK handles this case with default header values.
A list of service edge router policies
func NewListServiceEdgeRouterPoliciesOK ¶
func NewListServiceEdgeRouterPoliciesOK() *ListServiceEdgeRouterPoliciesOK
NewListServiceEdgeRouterPoliciesOK creates a ListServiceEdgeRouterPoliciesOK with default headers values
func (*ListServiceEdgeRouterPoliciesOK) Error ¶
func (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 values initialized.
func NewListServiceEdgeRouterPoliciesParamsWithContext ¶
func NewListServiceEdgeRouterPoliciesParamsWithContext(ctx context.Context) *ListServiceEdgeRouterPoliciesParams
NewListServiceEdgeRouterPoliciesParamsWithContext creates a new ListServiceEdgeRouterPoliciesParams object with the default values initialized, and the ability to set a context for a request
func NewListServiceEdgeRouterPoliciesParamsWithHTTPClient ¶
func NewListServiceEdgeRouterPoliciesParamsWithHTTPClient(client *http.Client) *ListServiceEdgeRouterPoliciesParams
NewListServiceEdgeRouterPoliciesParamsWithHTTPClient creates a new ListServiceEdgeRouterPoliciesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListServiceEdgeRouterPoliciesParamsWithTimeout ¶
func NewListServiceEdgeRouterPoliciesParamsWithTimeout(timeout time.Duration) *ListServiceEdgeRouterPoliciesParams
NewListServiceEdgeRouterPoliciesParamsWithTimeout creates a new ListServiceEdgeRouterPoliciesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListServiceEdgeRouterPoliciesParams) SetContext ¶
func (o *ListServiceEdgeRouterPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the list service edge router policies params
func (*ListServiceEdgeRouterPoliciesParams) SetFilter ¶
func (o *ListServiceEdgeRouterPoliciesParams) SetFilter(filter *string)
SetFilter adds the filter to the list service edge router policies params
func (*ListServiceEdgeRouterPoliciesParams) SetHTTPClient ¶
func (o *ListServiceEdgeRouterPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list service edge router policies params
func (*ListServiceEdgeRouterPoliciesParams) SetLimit ¶
func (o *ListServiceEdgeRouterPoliciesParams) SetLimit(limit *int64)
SetLimit adds the limit to the list service edge router policies params
func (*ListServiceEdgeRouterPoliciesParams) SetOffset ¶
func (o *ListServiceEdgeRouterPoliciesParams) SetOffset(offset *int64)
SetOffset adds the offset to the list service edge router policies params
func (*ListServiceEdgeRouterPoliciesParams) SetTimeout ¶
func (o *ListServiceEdgeRouterPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list service edge router policies params
func (*ListServiceEdgeRouterPoliciesParams) WithContext ¶
func (o *ListServiceEdgeRouterPoliciesParams) WithContext(ctx context.Context) *ListServiceEdgeRouterPoliciesParams
WithContext adds the context to the list service edge router policies params
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 handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListServiceEdgeRouterPoliciesUnauthorized ¶
func NewListServiceEdgeRouterPoliciesUnauthorized() *ListServiceEdgeRouterPoliciesUnauthorized
NewListServiceEdgeRouterPoliciesUnauthorized creates a ListServiceEdgeRouterPoliciesUnauthorized with default headers values
func (*ListServiceEdgeRouterPoliciesUnauthorized) Error ¶
func (o *ListServiceEdgeRouterPoliciesUnauthorized) Error() string
func (*ListServiceEdgeRouterPoliciesUnauthorized) GetPayload ¶
func (o *ListServiceEdgeRouterPoliciesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListServiceEdgeRouterPolicyEdgeRoutersNotFound ¶
type ListServiceEdgeRouterPolicyEdgeRoutersNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
ListServiceEdgeRouterPolicyEdgeRoutersNotFound handles this case with default header values.
The requested resource does not exist
func NewListServiceEdgeRouterPolicyEdgeRoutersNotFound ¶
func NewListServiceEdgeRouterPolicyEdgeRoutersNotFound() *ListServiceEdgeRouterPolicyEdgeRoutersNotFound
NewListServiceEdgeRouterPolicyEdgeRoutersNotFound creates a ListServiceEdgeRouterPolicyEdgeRoutersNotFound with default headers values
func (*ListServiceEdgeRouterPolicyEdgeRoutersNotFound) Error ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersNotFound) Error() string
func (*ListServiceEdgeRouterPolicyEdgeRoutersNotFound) GetPayload ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersNotFound) GetPayload() *rest_model.APIErrorEnvelope
type ListServiceEdgeRouterPolicyEdgeRoutersOK ¶
type ListServiceEdgeRouterPolicyEdgeRoutersOK struct {
Payload *rest_model.ListEdgeRoutersEnvelope
}
ListServiceEdgeRouterPolicyEdgeRoutersOK handles this case with default header values.
A list of edge routers
func NewListServiceEdgeRouterPolicyEdgeRoutersOK ¶
func NewListServiceEdgeRouterPolicyEdgeRoutersOK() *ListServiceEdgeRouterPolicyEdgeRoutersOK
NewListServiceEdgeRouterPolicyEdgeRoutersOK creates a ListServiceEdgeRouterPolicyEdgeRoutersOK with default headers values
func (*ListServiceEdgeRouterPolicyEdgeRoutersOK) Error ¶
func (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 values initialized.
func NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithContext ¶
func NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithContext(ctx context.Context) *ListServiceEdgeRouterPolicyEdgeRoutersParams
NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithContext creates a new ListServiceEdgeRouterPolicyEdgeRoutersParams object with the default values initialized, and the ability to set a context for a request
func NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithHTTPClient ¶
func NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithHTTPClient(client *http.Client) *ListServiceEdgeRouterPolicyEdgeRoutersParams
NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithHTTPClient creates a new ListServiceEdgeRouterPolicyEdgeRoutersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithTimeout ¶
func NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithTimeout(timeout time.Duration) *ListServiceEdgeRouterPolicyEdgeRoutersParams
NewListServiceEdgeRouterPolicyEdgeRoutersParamsWithTimeout creates a new ListServiceEdgeRouterPolicyEdgeRoutersParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) SetContext ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) SetContext(ctx context.Context)
SetContext adds the context to the list service edge router policy edge routers params
func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) SetHTTPClient ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list service edge router policy edge routers params
func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) SetID ¶
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) 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 handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListServiceEdgeRouterPolicyEdgeRoutersUnauthorized ¶
func NewListServiceEdgeRouterPolicyEdgeRoutersUnauthorized() *ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized
NewListServiceEdgeRouterPolicyEdgeRoutersUnauthorized creates a ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized with default headers values
func (*ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized) Error ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized) Error() string
func (*ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized) GetPayload ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListServiceEdgeRouterPolicyServicesNotFound ¶
type ListServiceEdgeRouterPolicyServicesNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
ListServiceEdgeRouterPolicyServicesNotFound handles this case with default header values.
The requested resource does not exist
func NewListServiceEdgeRouterPolicyServicesNotFound ¶
func NewListServiceEdgeRouterPolicyServicesNotFound() *ListServiceEdgeRouterPolicyServicesNotFound
NewListServiceEdgeRouterPolicyServicesNotFound creates a ListServiceEdgeRouterPolicyServicesNotFound with default headers values
func (*ListServiceEdgeRouterPolicyServicesNotFound) Error ¶
func (o *ListServiceEdgeRouterPolicyServicesNotFound) Error() string
func (*ListServiceEdgeRouterPolicyServicesNotFound) GetPayload ¶
func (o *ListServiceEdgeRouterPolicyServicesNotFound) GetPayload() *rest_model.APIErrorEnvelope
type ListServiceEdgeRouterPolicyServicesOK ¶
type ListServiceEdgeRouterPolicyServicesOK struct {
Payload *rest_model.ListServicesEnvelope
}
ListServiceEdgeRouterPolicyServicesOK handles this case with default header values.
A list of services
func NewListServiceEdgeRouterPolicyServicesOK ¶
func NewListServiceEdgeRouterPolicyServicesOK() *ListServiceEdgeRouterPolicyServicesOK
NewListServiceEdgeRouterPolicyServicesOK creates a ListServiceEdgeRouterPolicyServicesOK with default headers values
func (*ListServiceEdgeRouterPolicyServicesOK) Error ¶
func (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 values initialized.
func NewListServiceEdgeRouterPolicyServicesParamsWithContext ¶
func NewListServiceEdgeRouterPolicyServicesParamsWithContext(ctx context.Context) *ListServiceEdgeRouterPolicyServicesParams
NewListServiceEdgeRouterPolicyServicesParamsWithContext creates a new ListServiceEdgeRouterPolicyServicesParams object with the default values initialized, and the ability to set a context for a request
func NewListServiceEdgeRouterPolicyServicesParamsWithHTTPClient ¶
func NewListServiceEdgeRouterPolicyServicesParamsWithHTTPClient(client *http.Client) *ListServiceEdgeRouterPolicyServicesParams
NewListServiceEdgeRouterPolicyServicesParamsWithHTTPClient creates a new ListServiceEdgeRouterPolicyServicesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListServiceEdgeRouterPolicyServicesParamsWithTimeout ¶
func NewListServiceEdgeRouterPolicyServicesParamsWithTimeout(timeout time.Duration) *ListServiceEdgeRouterPolicyServicesParams
NewListServiceEdgeRouterPolicyServicesParamsWithTimeout creates a new ListServiceEdgeRouterPolicyServicesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListServiceEdgeRouterPolicyServicesParams) SetContext ¶
func (o *ListServiceEdgeRouterPolicyServicesParams) SetContext(ctx context.Context)
SetContext adds the context to the list service edge router policy services params
func (*ListServiceEdgeRouterPolicyServicesParams) SetHTTPClient ¶
func (o *ListServiceEdgeRouterPolicyServicesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list service edge router policy services params
func (*ListServiceEdgeRouterPolicyServicesParams) SetID ¶
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) 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 handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListServiceEdgeRouterPolicyServicesUnauthorized ¶
func NewListServiceEdgeRouterPolicyServicesUnauthorized() *ListServiceEdgeRouterPolicyServicesUnauthorized
NewListServiceEdgeRouterPolicyServicesUnauthorized creates a ListServiceEdgeRouterPolicyServicesUnauthorized with default headers values
func (*ListServiceEdgeRouterPolicyServicesUnauthorized) Error ¶
func (o *ListServiceEdgeRouterPolicyServicesUnauthorized) Error() string
func (*ListServiceEdgeRouterPolicyServicesUnauthorized) GetPayload ¶
func (o *ListServiceEdgeRouterPolicyServicesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type PatchServiceEdgeRouterPolicyBadRequest ¶
type PatchServiceEdgeRouterPolicyBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
PatchServiceEdgeRouterPolicyBadRequest handles this case with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewPatchServiceEdgeRouterPolicyBadRequest ¶
func NewPatchServiceEdgeRouterPolicyBadRequest() *PatchServiceEdgeRouterPolicyBadRequest
NewPatchServiceEdgeRouterPolicyBadRequest creates a PatchServiceEdgeRouterPolicyBadRequest with default headers values
func (*PatchServiceEdgeRouterPolicyBadRequest) Error ¶
func (o *PatchServiceEdgeRouterPolicyBadRequest) Error() string
func (*PatchServiceEdgeRouterPolicyBadRequest) GetPayload ¶
func (o *PatchServiceEdgeRouterPolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type PatchServiceEdgeRouterPolicyNotFound ¶
type PatchServiceEdgeRouterPolicyNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
PatchServiceEdgeRouterPolicyNotFound handles this case with default header values.
The requested resource does not exist
func NewPatchServiceEdgeRouterPolicyNotFound ¶
func NewPatchServiceEdgeRouterPolicyNotFound() *PatchServiceEdgeRouterPolicyNotFound
NewPatchServiceEdgeRouterPolicyNotFound creates a PatchServiceEdgeRouterPolicyNotFound with default headers values
func (*PatchServiceEdgeRouterPolicyNotFound) Error ¶
func (o *PatchServiceEdgeRouterPolicyNotFound) Error() string
func (*PatchServiceEdgeRouterPolicyNotFound) GetPayload ¶
func (o *PatchServiceEdgeRouterPolicyNotFound) GetPayload() *rest_model.APIErrorEnvelope
type PatchServiceEdgeRouterPolicyOK ¶
type PatchServiceEdgeRouterPolicyOK struct {
Payload *rest_model.Empty
}
PatchServiceEdgeRouterPolicyOK handles this case with default header values.
The patch request was successful and the resource has been altered
func NewPatchServiceEdgeRouterPolicyOK ¶
func NewPatchServiceEdgeRouterPolicyOK() *PatchServiceEdgeRouterPolicyOK
NewPatchServiceEdgeRouterPolicyOK creates a PatchServiceEdgeRouterPolicyOK with default headers values
func (*PatchServiceEdgeRouterPolicyOK) Error ¶
func (o *PatchServiceEdgeRouterPolicyOK) Error() string
func (*PatchServiceEdgeRouterPolicyOK) GetPayload ¶
func (o *PatchServiceEdgeRouterPolicyOK) GetPayload() *rest_model.Empty
type PatchServiceEdgeRouterPolicyParams ¶
type PatchServiceEdgeRouterPolicyParams struct { /*Body A service edge router policy patch object */ Body *rest_model.ServiceEdgeRouterPolicyPatch /*ID The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchServiceEdgeRouterPolicyParams contains all the parameters to send to the API endpoint for the patch service edge router policy operation typically these are written to a http.Request
func NewPatchServiceEdgeRouterPolicyParams ¶
func NewPatchServiceEdgeRouterPolicyParams() *PatchServiceEdgeRouterPolicyParams
NewPatchServiceEdgeRouterPolicyParams creates a new PatchServiceEdgeRouterPolicyParams object with the default values initialized.
func NewPatchServiceEdgeRouterPolicyParamsWithContext ¶
func NewPatchServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *PatchServiceEdgeRouterPolicyParams
NewPatchServiceEdgeRouterPolicyParamsWithContext creates a new PatchServiceEdgeRouterPolicyParams object with the default values initialized, and the ability to set a context for a request
func NewPatchServiceEdgeRouterPolicyParamsWithHTTPClient ¶
func NewPatchServiceEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *PatchServiceEdgeRouterPolicyParams
NewPatchServiceEdgeRouterPolicyParamsWithHTTPClient creates a new PatchServiceEdgeRouterPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchServiceEdgeRouterPolicyParamsWithTimeout ¶
func NewPatchServiceEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *PatchServiceEdgeRouterPolicyParams
NewPatchServiceEdgeRouterPolicyParamsWithTimeout creates a new PatchServiceEdgeRouterPolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchServiceEdgeRouterPolicyParams) SetBody ¶
func (o *PatchServiceEdgeRouterPolicyParams) SetBody(body *rest_model.ServiceEdgeRouterPolicyPatch)
SetBody adds the body to the patch service edge router policy params
func (*PatchServiceEdgeRouterPolicyParams) SetContext ¶
func (o *PatchServiceEdgeRouterPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the patch service edge router policy params
func (*PatchServiceEdgeRouterPolicyParams) SetHTTPClient ¶
func (o *PatchServiceEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch service edge router policy params
func (*PatchServiceEdgeRouterPolicyParams) SetID ¶
func (o *PatchServiceEdgeRouterPolicyParams) SetID(id string)
SetID adds the id 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) WithBody ¶
func (o *PatchServiceEdgeRouterPolicyParams) WithBody(body *rest_model.ServiceEdgeRouterPolicyPatch) *PatchServiceEdgeRouterPolicyParams
WithBody adds the body 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) 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) 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 handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewPatchServiceEdgeRouterPolicyUnauthorized ¶
func NewPatchServiceEdgeRouterPolicyUnauthorized() *PatchServiceEdgeRouterPolicyUnauthorized
NewPatchServiceEdgeRouterPolicyUnauthorized creates a PatchServiceEdgeRouterPolicyUnauthorized with default headers values
func (*PatchServiceEdgeRouterPolicyUnauthorized) Error ¶
func (o *PatchServiceEdgeRouterPolicyUnauthorized) Error() string
func (*PatchServiceEdgeRouterPolicyUnauthorized) GetPayload ¶
func (o *PatchServiceEdgeRouterPolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type UpdateServiceEdgeRouterPolicyBadRequest ¶
type UpdateServiceEdgeRouterPolicyBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateServiceEdgeRouterPolicyBadRequest handles this case with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewUpdateServiceEdgeRouterPolicyBadRequest ¶
func NewUpdateServiceEdgeRouterPolicyBadRequest() *UpdateServiceEdgeRouterPolicyBadRequest
NewUpdateServiceEdgeRouterPolicyBadRequest creates a UpdateServiceEdgeRouterPolicyBadRequest with default headers values
func (*UpdateServiceEdgeRouterPolicyBadRequest) Error ¶
func (o *UpdateServiceEdgeRouterPolicyBadRequest) Error() string
func (*UpdateServiceEdgeRouterPolicyBadRequest) GetPayload ¶
func (o *UpdateServiceEdgeRouterPolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type UpdateServiceEdgeRouterPolicyNotFound ¶
type UpdateServiceEdgeRouterPolicyNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateServiceEdgeRouterPolicyNotFound handles this case with default header values.
The requested resource does not exist
func NewUpdateServiceEdgeRouterPolicyNotFound ¶
func NewUpdateServiceEdgeRouterPolicyNotFound() *UpdateServiceEdgeRouterPolicyNotFound
NewUpdateServiceEdgeRouterPolicyNotFound creates a UpdateServiceEdgeRouterPolicyNotFound with default headers values
func (*UpdateServiceEdgeRouterPolicyNotFound) Error ¶
func (o *UpdateServiceEdgeRouterPolicyNotFound) Error() string
func (*UpdateServiceEdgeRouterPolicyNotFound) GetPayload ¶
func (o *UpdateServiceEdgeRouterPolicyNotFound) GetPayload() *rest_model.APIErrorEnvelope
type UpdateServiceEdgeRouterPolicyOK ¶
type UpdateServiceEdgeRouterPolicyOK struct {
Payload *rest_model.Empty
}
UpdateServiceEdgeRouterPolicyOK handles this case with default header values.
The update request was successful and the resource has been altered
func NewUpdateServiceEdgeRouterPolicyOK ¶
func NewUpdateServiceEdgeRouterPolicyOK() *UpdateServiceEdgeRouterPolicyOK
NewUpdateServiceEdgeRouterPolicyOK creates a UpdateServiceEdgeRouterPolicyOK with default headers values
func (*UpdateServiceEdgeRouterPolicyOK) Error ¶
func (o *UpdateServiceEdgeRouterPolicyOK) Error() string
func (*UpdateServiceEdgeRouterPolicyOK) GetPayload ¶
func (o *UpdateServiceEdgeRouterPolicyOK) GetPayload() *rest_model.Empty
type UpdateServiceEdgeRouterPolicyParams ¶
type UpdateServiceEdgeRouterPolicyParams struct { /*Body A service edge router policy update object */ Body *rest_model.ServiceEdgeRouterPolicyUpdate /*ID The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateServiceEdgeRouterPolicyParams contains all the parameters to send to the API endpoint for the update service edge router policy operation typically these are written to a http.Request
func NewUpdateServiceEdgeRouterPolicyParams ¶
func NewUpdateServiceEdgeRouterPolicyParams() *UpdateServiceEdgeRouterPolicyParams
NewUpdateServiceEdgeRouterPolicyParams creates a new UpdateServiceEdgeRouterPolicyParams object with the default values initialized.
func NewUpdateServiceEdgeRouterPolicyParamsWithContext ¶
func NewUpdateServiceEdgeRouterPolicyParamsWithContext(ctx context.Context) *UpdateServiceEdgeRouterPolicyParams
NewUpdateServiceEdgeRouterPolicyParamsWithContext creates a new UpdateServiceEdgeRouterPolicyParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateServiceEdgeRouterPolicyParamsWithHTTPClient ¶
func NewUpdateServiceEdgeRouterPolicyParamsWithHTTPClient(client *http.Client) *UpdateServiceEdgeRouterPolicyParams
NewUpdateServiceEdgeRouterPolicyParamsWithHTTPClient creates a new UpdateServiceEdgeRouterPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateServiceEdgeRouterPolicyParamsWithTimeout ¶
func NewUpdateServiceEdgeRouterPolicyParamsWithTimeout(timeout time.Duration) *UpdateServiceEdgeRouterPolicyParams
NewUpdateServiceEdgeRouterPolicyParamsWithTimeout creates a new UpdateServiceEdgeRouterPolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateServiceEdgeRouterPolicyParams) SetBody ¶
func (o *UpdateServiceEdgeRouterPolicyParams) SetBody(body *rest_model.ServiceEdgeRouterPolicyUpdate)
SetBody adds the body to the update service edge router policy params
func (*UpdateServiceEdgeRouterPolicyParams) SetContext ¶
func (o *UpdateServiceEdgeRouterPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the update service edge router policy params
func (*UpdateServiceEdgeRouterPolicyParams) SetHTTPClient ¶
func (o *UpdateServiceEdgeRouterPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update service edge router policy params
func (*UpdateServiceEdgeRouterPolicyParams) SetID ¶
func (o *UpdateServiceEdgeRouterPolicyParams) SetID(id string)
SetID adds the id 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) WithBody ¶
func (o *UpdateServiceEdgeRouterPolicyParams) WithBody(body *rest_model.ServiceEdgeRouterPolicyUpdate) *UpdateServiceEdgeRouterPolicyParams
WithBody adds the body 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) 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) 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 handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewUpdateServiceEdgeRouterPolicyUnauthorized ¶
func NewUpdateServiceEdgeRouterPolicyUnauthorized() *UpdateServiceEdgeRouterPolicyUnauthorized
NewUpdateServiceEdgeRouterPolicyUnauthorized creates a UpdateServiceEdgeRouterPolicyUnauthorized with default headers values
func (*UpdateServiceEdgeRouterPolicyUnauthorized) Error ¶
func (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