Documentation ¶
Index ¶
- Constants
- type CreateEdgeRouterPolicy
- type CreateEdgeRouterPolicyBadRequest
- func (o *CreateEdgeRouterPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateEdgeRouterPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateEdgeRouterPolicyBadRequest
- func (o *CreateEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateEdgeRouterPolicyCreated
- func (o *CreateEdgeRouterPolicyCreated) SetPayload(payload *rest_model.CreateEnvelope)
- func (o *CreateEdgeRouterPolicyCreated) WithPayload(payload *rest_model.CreateEnvelope) *CreateEdgeRouterPolicyCreated
- func (o *CreateEdgeRouterPolicyCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateEdgeRouterPolicyHandler
- type CreateEdgeRouterPolicyHandlerFunc
- type CreateEdgeRouterPolicyParams
- type CreateEdgeRouterPolicyTooManyRequests
- func (o *CreateEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateEdgeRouterPolicyTooManyRequests
- func (o *CreateEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateEdgeRouterPolicyURL
- func (o *CreateEdgeRouterPolicyURL) Build() (*url.URL, error)
- func (o *CreateEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateEdgeRouterPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateEdgeRouterPolicyURL) SetBasePath(bp string)
- func (o *CreateEdgeRouterPolicyURL) String() string
- func (o *CreateEdgeRouterPolicyURL) StringFull(scheme, host string) string
- func (o *CreateEdgeRouterPolicyURL) WithBasePath(bp string) *CreateEdgeRouterPolicyURL
- type CreateEdgeRouterPolicyUnauthorized
- func (o *CreateEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateEdgeRouterPolicyUnauthorized
- func (o *CreateEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteEdgeRouterPolicy
- type DeleteEdgeRouterPolicyBadRequest
- func (o *DeleteEdgeRouterPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteEdgeRouterPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteEdgeRouterPolicyBadRequest
- func (o *DeleteEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteEdgeRouterPolicyConflict
- func (o *DeleteEdgeRouterPolicyConflict) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteEdgeRouterPolicyConflict) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteEdgeRouterPolicyConflict
- func (o *DeleteEdgeRouterPolicyConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteEdgeRouterPolicyHandler
- type DeleteEdgeRouterPolicyHandlerFunc
- type DeleteEdgeRouterPolicyOK
- type DeleteEdgeRouterPolicyParams
- type DeleteEdgeRouterPolicyTooManyRequests
- func (o *DeleteEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteEdgeRouterPolicyTooManyRequests
- func (o *DeleteEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteEdgeRouterPolicyURL
- func (o *DeleteEdgeRouterPolicyURL) Build() (*url.URL, error)
- func (o *DeleteEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteEdgeRouterPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteEdgeRouterPolicyURL) SetBasePath(bp string)
- func (o *DeleteEdgeRouterPolicyURL) String() string
- func (o *DeleteEdgeRouterPolicyURL) StringFull(scheme, host string) string
- func (o *DeleteEdgeRouterPolicyURL) WithBasePath(bp string) *DeleteEdgeRouterPolicyURL
- type DeleteEdgeRouterPolicyUnauthorized
- func (o *DeleteEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteEdgeRouterPolicyUnauthorized
- func (o *DeleteEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailEdgeRouterPolicy
- type DetailEdgeRouterPolicyHandler
- type DetailEdgeRouterPolicyHandlerFunc
- type DetailEdgeRouterPolicyNotFound
- func (o *DetailEdgeRouterPolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailEdgeRouterPolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailEdgeRouterPolicyNotFound
- func (o *DetailEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailEdgeRouterPolicyOK
- func (o *DetailEdgeRouterPolicyOK) SetPayload(payload *rest_model.DetailEdgeRouterPolicyEnvelope)
- func (o *DetailEdgeRouterPolicyOK) WithPayload(payload *rest_model.DetailEdgeRouterPolicyEnvelope) *DetailEdgeRouterPolicyOK
- func (o *DetailEdgeRouterPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailEdgeRouterPolicyParams
- type DetailEdgeRouterPolicyTooManyRequests
- func (o *DetailEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailEdgeRouterPolicyTooManyRequests
- func (o *DetailEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailEdgeRouterPolicyURL
- func (o *DetailEdgeRouterPolicyURL) Build() (*url.URL, error)
- func (o *DetailEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DetailEdgeRouterPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *DetailEdgeRouterPolicyURL) SetBasePath(bp string)
- func (o *DetailEdgeRouterPolicyURL) String() string
- func (o *DetailEdgeRouterPolicyURL) StringFull(scheme, host string) string
- func (o *DetailEdgeRouterPolicyURL) WithBasePath(bp string) *DetailEdgeRouterPolicyURL
- type DetailEdgeRouterPolicyUnauthorized
- func (o *DetailEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailEdgeRouterPolicyUnauthorized
- func (o *DetailEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListEdgeRouterPolicies
- type ListEdgeRouterPoliciesBadRequest
- func (o *ListEdgeRouterPoliciesBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListEdgeRouterPoliciesBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPoliciesBadRequest
- func (o *ListEdgeRouterPoliciesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListEdgeRouterPoliciesHandler
- type ListEdgeRouterPoliciesHandlerFunc
- type ListEdgeRouterPoliciesOK
- func (o *ListEdgeRouterPoliciesOK) SetPayload(payload *rest_model.ListEdgeRouterPoliciesEnvelope)
- func (o *ListEdgeRouterPoliciesOK) WithPayload(payload *rest_model.ListEdgeRouterPoliciesEnvelope) *ListEdgeRouterPoliciesOK
- func (o *ListEdgeRouterPoliciesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListEdgeRouterPoliciesParams
- type ListEdgeRouterPoliciesTooManyRequests
- func (o *ListEdgeRouterPoliciesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListEdgeRouterPoliciesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPoliciesTooManyRequests
- func (o *ListEdgeRouterPoliciesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListEdgeRouterPoliciesURL
- func (o *ListEdgeRouterPoliciesURL) Build() (*url.URL, error)
- func (o *ListEdgeRouterPoliciesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListEdgeRouterPoliciesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListEdgeRouterPoliciesURL) SetBasePath(bp string)
- func (o *ListEdgeRouterPoliciesURL) String() string
- func (o *ListEdgeRouterPoliciesURL) StringFull(scheme, host string) string
- func (o *ListEdgeRouterPoliciesURL) WithBasePath(bp string) *ListEdgeRouterPoliciesURL
- type ListEdgeRouterPoliciesUnauthorized
- func (o *ListEdgeRouterPoliciesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListEdgeRouterPoliciesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPoliciesUnauthorized
- func (o *ListEdgeRouterPoliciesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListEdgeRouterPolicyEdgeRouters
- type ListEdgeRouterPolicyEdgeRoutersHandler
- type ListEdgeRouterPolicyEdgeRoutersHandlerFunc
- type ListEdgeRouterPolicyEdgeRoutersNotFound
- func (o *ListEdgeRouterPolicyEdgeRoutersNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListEdgeRouterPolicyEdgeRoutersNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPolicyEdgeRoutersNotFound
- func (o *ListEdgeRouterPolicyEdgeRoutersNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListEdgeRouterPolicyEdgeRoutersOK
- func (o *ListEdgeRouterPolicyEdgeRoutersOK) SetPayload(payload *rest_model.ListEdgeRoutersEnvelope)
- func (o *ListEdgeRouterPolicyEdgeRoutersOK) WithPayload(payload *rest_model.ListEdgeRoutersEnvelope) *ListEdgeRouterPolicyEdgeRoutersOK
- func (o *ListEdgeRouterPolicyEdgeRoutersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListEdgeRouterPolicyEdgeRoutersParams
- type ListEdgeRouterPolicyEdgeRoutersTooManyRequests
- func (o *ListEdgeRouterPolicyEdgeRoutersTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListEdgeRouterPolicyEdgeRoutersTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPolicyEdgeRoutersTooManyRequests
- func (o *ListEdgeRouterPolicyEdgeRoutersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListEdgeRouterPolicyEdgeRoutersURL
- func (o *ListEdgeRouterPolicyEdgeRoutersURL) Build() (*url.URL, error)
- func (o *ListEdgeRouterPolicyEdgeRoutersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListEdgeRouterPolicyEdgeRoutersURL) Must(u *url.URL, err error) *url.URL
- func (o *ListEdgeRouterPolicyEdgeRoutersURL) SetBasePath(bp string)
- func (o *ListEdgeRouterPolicyEdgeRoutersURL) String() string
- func (o *ListEdgeRouterPolicyEdgeRoutersURL) StringFull(scheme, host string) string
- func (o *ListEdgeRouterPolicyEdgeRoutersURL) WithBasePath(bp string) *ListEdgeRouterPolicyEdgeRoutersURL
- type ListEdgeRouterPolicyEdgeRoutersUnauthorized
- func (o *ListEdgeRouterPolicyEdgeRoutersUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListEdgeRouterPolicyEdgeRoutersUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPolicyEdgeRoutersUnauthorized
- func (o *ListEdgeRouterPolicyEdgeRoutersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListEdgeRouterPolicyIdentities
- type ListEdgeRouterPolicyIdentitiesHandler
- type ListEdgeRouterPolicyIdentitiesHandlerFunc
- type ListEdgeRouterPolicyIdentitiesNotFound
- func (o *ListEdgeRouterPolicyIdentitiesNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListEdgeRouterPolicyIdentitiesNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPolicyIdentitiesNotFound
- func (o *ListEdgeRouterPolicyIdentitiesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListEdgeRouterPolicyIdentitiesOK
- func (o *ListEdgeRouterPolicyIdentitiesOK) SetPayload(payload *rest_model.ListIdentitiesEnvelope)
- func (o *ListEdgeRouterPolicyIdentitiesOK) WithPayload(payload *rest_model.ListIdentitiesEnvelope) *ListEdgeRouterPolicyIdentitiesOK
- func (o *ListEdgeRouterPolicyIdentitiesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListEdgeRouterPolicyIdentitiesParams
- type ListEdgeRouterPolicyIdentitiesTooManyRequests
- func (o *ListEdgeRouterPolicyIdentitiesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListEdgeRouterPolicyIdentitiesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPolicyIdentitiesTooManyRequests
- func (o *ListEdgeRouterPolicyIdentitiesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListEdgeRouterPolicyIdentitiesURL
- func (o *ListEdgeRouterPolicyIdentitiesURL) Build() (*url.URL, error)
- func (o *ListEdgeRouterPolicyIdentitiesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListEdgeRouterPolicyIdentitiesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListEdgeRouterPolicyIdentitiesURL) SetBasePath(bp string)
- func (o *ListEdgeRouterPolicyIdentitiesURL) String() string
- func (o *ListEdgeRouterPolicyIdentitiesURL) StringFull(scheme, host string) string
- func (o *ListEdgeRouterPolicyIdentitiesURL) WithBasePath(bp string) *ListEdgeRouterPolicyIdentitiesURL
- type ListEdgeRouterPolicyIdentitiesUnauthorized
- func (o *ListEdgeRouterPolicyIdentitiesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListEdgeRouterPolicyIdentitiesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPolicyIdentitiesUnauthorized
- func (o *ListEdgeRouterPolicyIdentitiesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchEdgeRouterPolicy
- type PatchEdgeRouterPolicyBadRequest
- func (o *PatchEdgeRouterPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchEdgeRouterPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchEdgeRouterPolicyBadRequest
- func (o *PatchEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchEdgeRouterPolicyHandler
- type PatchEdgeRouterPolicyHandlerFunc
- type PatchEdgeRouterPolicyNotFound
- func (o *PatchEdgeRouterPolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchEdgeRouterPolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchEdgeRouterPolicyNotFound
- func (o *PatchEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchEdgeRouterPolicyOK
- type PatchEdgeRouterPolicyParams
- type PatchEdgeRouterPolicyTooManyRequests
- func (o *PatchEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchEdgeRouterPolicyTooManyRequests
- func (o *PatchEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchEdgeRouterPolicyURL
- func (o *PatchEdgeRouterPolicyURL) Build() (*url.URL, error)
- func (o *PatchEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchEdgeRouterPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchEdgeRouterPolicyURL) SetBasePath(bp string)
- func (o *PatchEdgeRouterPolicyURL) String() string
- func (o *PatchEdgeRouterPolicyURL) StringFull(scheme, host string) string
- func (o *PatchEdgeRouterPolicyURL) WithBasePath(bp string) *PatchEdgeRouterPolicyURL
- type PatchEdgeRouterPolicyUnauthorized
- func (o *PatchEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchEdgeRouterPolicyUnauthorized
- func (o *PatchEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateEdgeRouterPolicy
- type UpdateEdgeRouterPolicyBadRequest
- func (o *UpdateEdgeRouterPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateEdgeRouterPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateEdgeRouterPolicyBadRequest
- func (o *UpdateEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateEdgeRouterPolicyHandler
- type UpdateEdgeRouterPolicyHandlerFunc
- type UpdateEdgeRouterPolicyNotFound
- func (o *UpdateEdgeRouterPolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateEdgeRouterPolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateEdgeRouterPolicyNotFound
- func (o *UpdateEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateEdgeRouterPolicyOK
- type UpdateEdgeRouterPolicyParams
- type UpdateEdgeRouterPolicyTooManyRequests
- func (o *UpdateEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateEdgeRouterPolicyTooManyRequests
- func (o *UpdateEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateEdgeRouterPolicyURL
- func (o *UpdateEdgeRouterPolicyURL) Build() (*url.URL, error)
- func (o *UpdateEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateEdgeRouterPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateEdgeRouterPolicyURL) SetBasePath(bp string)
- func (o *UpdateEdgeRouterPolicyURL) String() string
- func (o *UpdateEdgeRouterPolicyURL) StringFull(scheme, host string) string
- func (o *UpdateEdgeRouterPolicyURL) WithBasePath(bp string) *UpdateEdgeRouterPolicyURL
- type UpdateEdgeRouterPolicyUnauthorized
- func (o *UpdateEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateEdgeRouterPolicyUnauthorized
- func (o *UpdateEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const CreateEdgeRouterPolicyBadRequestCode int = 400
CreateEdgeRouterPolicyBadRequestCode is the HTTP code returned for type CreateEdgeRouterPolicyBadRequest
const CreateEdgeRouterPolicyCreatedCode int = 201
CreateEdgeRouterPolicyCreatedCode is the HTTP code returned for type CreateEdgeRouterPolicyCreated
const CreateEdgeRouterPolicyTooManyRequestsCode int = 429
CreateEdgeRouterPolicyTooManyRequestsCode is the HTTP code returned for type CreateEdgeRouterPolicyTooManyRequests
CreateEdgeRouterPolicyUnauthorizedCode is the HTTP code returned for type CreateEdgeRouterPolicyUnauthorized
const DeleteEdgeRouterPolicyBadRequestCode int = 400
DeleteEdgeRouterPolicyBadRequestCode is the HTTP code returned for type DeleteEdgeRouterPolicyBadRequest
const DeleteEdgeRouterPolicyConflictCode int = 409
DeleteEdgeRouterPolicyConflictCode is the HTTP code returned for type DeleteEdgeRouterPolicyConflict
const DeleteEdgeRouterPolicyOKCode int = 200
DeleteEdgeRouterPolicyOKCode is the HTTP code returned for type DeleteEdgeRouterPolicyOK
const DeleteEdgeRouterPolicyTooManyRequestsCode int = 429
DeleteEdgeRouterPolicyTooManyRequestsCode is the HTTP code returned for type DeleteEdgeRouterPolicyTooManyRequests
DeleteEdgeRouterPolicyUnauthorizedCode is the HTTP code returned for type DeleteEdgeRouterPolicyUnauthorized
const DetailEdgeRouterPolicyNotFoundCode int = 404
DetailEdgeRouterPolicyNotFoundCode is the HTTP code returned for type DetailEdgeRouterPolicyNotFound
const DetailEdgeRouterPolicyOKCode int = 200
DetailEdgeRouterPolicyOKCode is the HTTP code returned for type DetailEdgeRouterPolicyOK
const DetailEdgeRouterPolicyTooManyRequestsCode int = 429
DetailEdgeRouterPolicyTooManyRequestsCode is the HTTP code returned for type DetailEdgeRouterPolicyTooManyRequests
DetailEdgeRouterPolicyUnauthorizedCode is the HTTP code returned for type DetailEdgeRouterPolicyUnauthorized
const ListEdgeRouterPoliciesBadRequestCode int = 400
ListEdgeRouterPoliciesBadRequestCode is the HTTP code returned for type ListEdgeRouterPoliciesBadRequest
const ListEdgeRouterPoliciesOKCode int = 200
ListEdgeRouterPoliciesOKCode is the HTTP code returned for type ListEdgeRouterPoliciesOK
const ListEdgeRouterPoliciesTooManyRequestsCode int = 429
ListEdgeRouterPoliciesTooManyRequestsCode is the HTTP code returned for type ListEdgeRouterPoliciesTooManyRequests
ListEdgeRouterPoliciesUnauthorizedCode is the HTTP code returned for type ListEdgeRouterPoliciesUnauthorized
const ListEdgeRouterPolicyEdgeRoutersNotFoundCode int = 404
ListEdgeRouterPolicyEdgeRoutersNotFoundCode is the HTTP code returned for type ListEdgeRouterPolicyEdgeRoutersNotFound
const ListEdgeRouterPolicyEdgeRoutersOKCode int = 200
ListEdgeRouterPolicyEdgeRoutersOKCode is the HTTP code returned for type ListEdgeRouterPolicyEdgeRoutersOK
const ListEdgeRouterPolicyEdgeRoutersTooManyRequestsCode int = 429
ListEdgeRouterPolicyEdgeRoutersTooManyRequestsCode is the HTTP code returned for type ListEdgeRouterPolicyEdgeRoutersTooManyRequests
ListEdgeRouterPolicyEdgeRoutersUnauthorizedCode is the HTTP code returned for type ListEdgeRouterPolicyEdgeRoutersUnauthorized
const ListEdgeRouterPolicyIdentitiesNotFoundCode int = 404
ListEdgeRouterPolicyIdentitiesNotFoundCode is the HTTP code returned for type ListEdgeRouterPolicyIdentitiesNotFound
const ListEdgeRouterPolicyIdentitiesOKCode int = 200
ListEdgeRouterPolicyIdentitiesOKCode is the HTTP code returned for type ListEdgeRouterPolicyIdentitiesOK
const ListEdgeRouterPolicyIdentitiesTooManyRequestsCode int = 429
ListEdgeRouterPolicyIdentitiesTooManyRequestsCode is the HTTP code returned for type ListEdgeRouterPolicyIdentitiesTooManyRequests
ListEdgeRouterPolicyIdentitiesUnauthorizedCode is the HTTP code returned for type ListEdgeRouterPolicyIdentitiesUnauthorized
const PatchEdgeRouterPolicyBadRequestCode int = 400
PatchEdgeRouterPolicyBadRequestCode is the HTTP code returned for type PatchEdgeRouterPolicyBadRequest
const PatchEdgeRouterPolicyNotFoundCode int = 404
PatchEdgeRouterPolicyNotFoundCode is the HTTP code returned for type PatchEdgeRouterPolicyNotFound
const PatchEdgeRouterPolicyOKCode int = 200
PatchEdgeRouterPolicyOKCode is the HTTP code returned for type PatchEdgeRouterPolicyOK
const PatchEdgeRouterPolicyTooManyRequestsCode int = 429
PatchEdgeRouterPolicyTooManyRequestsCode is the HTTP code returned for type PatchEdgeRouterPolicyTooManyRequests
PatchEdgeRouterPolicyUnauthorizedCode is the HTTP code returned for type PatchEdgeRouterPolicyUnauthorized
const UpdateEdgeRouterPolicyBadRequestCode int = 400
UpdateEdgeRouterPolicyBadRequestCode is the HTTP code returned for type UpdateEdgeRouterPolicyBadRequest
const UpdateEdgeRouterPolicyNotFoundCode int = 404
UpdateEdgeRouterPolicyNotFoundCode is the HTTP code returned for type UpdateEdgeRouterPolicyNotFound
const UpdateEdgeRouterPolicyOKCode int = 200
UpdateEdgeRouterPolicyOKCode is the HTTP code returned for type UpdateEdgeRouterPolicyOK
const UpdateEdgeRouterPolicyTooManyRequestsCode int = 429
UpdateEdgeRouterPolicyTooManyRequestsCode is the HTTP code returned for type UpdateEdgeRouterPolicyTooManyRequests
UpdateEdgeRouterPolicyUnauthorizedCode is the HTTP code returned for type UpdateEdgeRouterPolicyUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateEdgeRouterPolicy ¶
type CreateEdgeRouterPolicy struct { Context *middleware.Context Handler CreateEdgeRouterPolicyHandler }
CreateEdgeRouterPolicy swagger:route POST /edge-router-policies Edge Router Policy createEdgeRouterPolicy
Create an edge router policy resource ¶
Create an edge router policy resource. Requires admin access.
func NewCreateEdgeRouterPolicy ¶
func NewCreateEdgeRouterPolicy(ctx *middleware.Context, handler CreateEdgeRouterPolicyHandler) *CreateEdgeRouterPolicy
NewCreateEdgeRouterPolicy creates a new http.Handler for the create edge router policy operation
func (*CreateEdgeRouterPolicy) ServeHTTP ¶
func (o *CreateEdgeRouterPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateEdgeRouterPolicyBadRequest ¶
type CreateEdgeRouterPolicyBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
CreateEdgeRouterPolicyBadRequest 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
swagger:response createEdgeRouterPolicyBadRequest
func NewCreateEdgeRouterPolicyBadRequest ¶
func NewCreateEdgeRouterPolicyBadRequest() *CreateEdgeRouterPolicyBadRequest
NewCreateEdgeRouterPolicyBadRequest creates CreateEdgeRouterPolicyBadRequest with default headers values
func (*CreateEdgeRouterPolicyBadRequest) SetPayload ¶
func (o *CreateEdgeRouterPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create edge router policy bad request response
func (*CreateEdgeRouterPolicyBadRequest) WithPayload ¶
func (o *CreateEdgeRouterPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateEdgeRouterPolicyBadRequest
WithPayload adds the payload to the create edge router policy bad request response
func (*CreateEdgeRouterPolicyBadRequest) WriteResponse ¶
func (o *CreateEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateEdgeRouterPolicyCreated ¶
type CreateEdgeRouterPolicyCreated struct { /* In: Body */ Payload *rest_model.CreateEnvelope `json:"body,omitempty"` }
CreateEdgeRouterPolicyCreated The create request was successful and the resource has been added at the following location
swagger:response createEdgeRouterPolicyCreated
func NewCreateEdgeRouterPolicyCreated ¶
func NewCreateEdgeRouterPolicyCreated() *CreateEdgeRouterPolicyCreated
NewCreateEdgeRouterPolicyCreated creates CreateEdgeRouterPolicyCreated with default headers values
func (*CreateEdgeRouterPolicyCreated) SetPayload ¶
func (o *CreateEdgeRouterPolicyCreated) SetPayload(payload *rest_model.CreateEnvelope)
SetPayload sets the payload to the create edge router policy created response
func (*CreateEdgeRouterPolicyCreated) WithPayload ¶
func (o *CreateEdgeRouterPolicyCreated) WithPayload(payload *rest_model.CreateEnvelope) *CreateEdgeRouterPolicyCreated
WithPayload adds the payload to the create edge router policy created response
func (*CreateEdgeRouterPolicyCreated) WriteResponse ¶
func (o *CreateEdgeRouterPolicyCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateEdgeRouterPolicyHandler ¶
type CreateEdgeRouterPolicyHandler interface {
Handle(CreateEdgeRouterPolicyParams, interface{}) middleware.Responder
}
CreateEdgeRouterPolicyHandler interface for that can handle valid create edge router policy params
type CreateEdgeRouterPolicyHandlerFunc ¶
type CreateEdgeRouterPolicyHandlerFunc func(CreateEdgeRouterPolicyParams, interface{}) middleware.Responder
CreateEdgeRouterPolicyHandlerFunc turns a function with the right signature into a create edge router policy handler
func (CreateEdgeRouterPolicyHandlerFunc) Handle ¶
func (fn CreateEdgeRouterPolicyHandlerFunc) Handle(params CreateEdgeRouterPolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreateEdgeRouterPolicyParams ¶
type CreateEdgeRouterPolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An edge router policy to create Required: true In: body */ Policy *rest_model.EdgeRouterPolicyCreate }
CreateEdgeRouterPolicyParams contains all the bound params for the create edge router policy operation typically these are obtained from a http.Request
swagger:parameters createEdgeRouterPolicy
func NewCreateEdgeRouterPolicyParams ¶
func NewCreateEdgeRouterPolicyParams() CreateEdgeRouterPolicyParams
NewCreateEdgeRouterPolicyParams creates a new CreateEdgeRouterPolicyParams object
There are no default values defined in the spec.
func (*CreateEdgeRouterPolicyParams) BindRequest ¶
func (o *CreateEdgeRouterPolicyParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateEdgeRouterPolicyParams() beforehand.
type CreateEdgeRouterPolicyTooManyRequests ¶ added in v0.26.0
type CreateEdgeRouterPolicyTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
CreateEdgeRouterPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response createEdgeRouterPolicyTooManyRequests
func NewCreateEdgeRouterPolicyTooManyRequests ¶ added in v0.26.0
func NewCreateEdgeRouterPolicyTooManyRequests() *CreateEdgeRouterPolicyTooManyRequests
NewCreateEdgeRouterPolicyTooManyRequests creates CreateEdgeRouterPolicyTooManyRequests with default headers values
func (*CreateEdgeRouterPolicyTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *CreateEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create edge router policy too many requests response
func (*CreateEdgeRouterPolicyTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *CreateEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateEdgeRouterPolicyTooManyRequests
WithPayload adds the payload to the create edge router policy too many requests response
func (*CreateEdgeRouterPolicyTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *CreateEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateEdgeRouterPolicyURL ¶
type CreateEdgeRouterPolicyURL struct {
// contains filtered or unexported fields
}
CreateEdgeRouterPolicyURL generates an URL for the create edge router policy operation
func (*CreateEdgeRouterPolicyURL) Build ¶
func (o *CreateEdgeRouterPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateEdgeRouterPolicyURL) BuildFull ¶
func (o *CreateEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateEdgeRouterPolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateEdgeRouterPolicyURL) SetBasePath ¶
func (o *CreateEdgeRouterPolicyURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateEdgeRouterPolicyURL) String ¶
func (o *CreateEdgeRouterPolicyURL) String() string
String returns the string representation of the path with query string
func (*CreateEdgeRouterPolicyURL) StringFull ¶
func (o *CreateEdgeRouterPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateEdgeRouterPolicyURL) WithBasePath ¶
func (o *CreateEdgeRouterPolicyURL) WithBasePath(bp string) *CreateEdgeRouterPolicyURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateEdgeRouterPolicyUnauthorized ¶
type CreateEdgeRouterPolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
CreateEdgeRouterPolicyUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response createEdgeRouterPolicyUnauthorized
func NewCreateEdgeRouterPolicyUnauthorized ¶
func NewCreateEdgeRouterPolicyUnauthorized() *CreateEdgeRouterPolicyUnauthorized
NewCreateEdgeRouterPolicyUnauthorized creates CreateEdgeRouterPolicyUnauthorized with default headers values
func (*CreateEdgeRouterPolicyUnauthorized) SetPayload ¶
func (o *CreateEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create edge router policy unauthorized response
func (*CreateEdgeRouterPolicyUnauthorized) WithPayload ¶
func (o *CreateEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateEdgeRouterPolicyUnauthorized
WithPayload adds the payload to the create edge router policy unauthorized response
func (*CreateEdgeRouterPolicyUnauthorized) WriteResponse ¶
func (o *CreateEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteEdgeRouterPolicy ¶
type DeleteEdgeRouterPolicy struct { Context *middleware.Context Handler DeleteEdgeRouterPolicyHandler }
DeleteEdgeRouterPolicy swagger:route DELETE /edge-router-policies/{id} Edge Router Policy deleteEdgeRouterPolicy
Delete an edge router policy ¶
Delete an edge router policy by id. Requires admin access.
func NewDeleteEdgeRouterPolicy ¶
func NewDeleteEdgeRouterPolicy(ctx *middleware.Context, handler DeleteEdgeRouterPolicyHandler) *DeleteEdgeRouterPolicy
NewDeleteEdgeRouterPolicy creates a new http.Handler for the delete edge router policy operation
func (*DeleteEdgeRouterPolicy) ServeHTTP ¶
func (o *DeleteEdgeRouterPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteEdgeRouterPolicyBadRequest ¶
type DeleteEdgeRouterPolicyBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteEdgeRouterPolicyBadRequest 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
swagger:response deleteEdgeRouterPolicyBadRequest
func NewDeleteEdgeRouterPolicyBadRequest ¶
func NewDeleteEdgeRouterPolicyBadRequest() *DeleteEdgeRouterPolicyBadRequest
NewDeleteEdgeRouterPolicyBadRequest creates DeleteEdgeRouterPolicyBadRequest with default headers values
func (*DeleteEdgeRouterPolicyBadRequest) SetPayload ¶
func (o *DeleteEdgeRouterPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete edge router policy bad request response
func (*DeleteEdgeRouterPolicyBadRequest) WithPayload ¶
func (o *DeleteEdgeRouterPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteEdgeRouterPolicyBadRequest
WithPayload adds the payload to the delete edge router policy bad request response
func (*DeleteEdgeRouterPolicyBadRequest) WriteResponse ¶
func (o *DeleteEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteEdgeRouterPolicyConflict ¶
type DeleteEdgeRouterPolicyConflict struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteEdgeRouterPolicyConflict The resource requested to be removed/altered cannot be as it is referenced by another object.
swagger:response deleteEdgeRouterPolicyConflict
func NewDeleteEdgeRouterPolicyConflict ¶
func NewDeleteEdgeRouterPolicyConflict() *DeleteEdgeRouterPolicyConflict
NewDeleteEdgeRouterPolicyConflict creates DeleteEdgeRouterPolicyConflict with default headers values
func (*DeleteEdgeRouterPolicyConflict) SetPayload ¶
func (o *DeleteEdgeRouterPolicyConflict) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete edge router policy conflict response
func (*DeleteEdgeRouterPolicyConflict) WithPayload ¶
func (o *DeleteEdgeRouterPolicyConflict) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteEdgeRouterPolicyConflict
WithPayload adds the payload to the delete edge router policy conflict response
func (*DeleteEdgeRouterPolicyConflict) WriteResponse ¶
func (o *DeleteEdgeRouterPolicyConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteEdgeRouterPolicyHandler ¶
type DeleteEdgeRouterPolicyHandler interface {
Handle(DeleteEdgeRouterPolicyParams, interface{}) middleware.Responder
}
DeleteEdgeRouterPolicyHandler interface for that can handle valid delete edge router policy params
type DeleteEdgeRouterPolicyHandlerFunc ¶
type DeleteEdgeRouterPolicyHandlerFunc func(DeleteEdgeRouterPolicyParams, interface{}) middleware.Responder
DeleteEdgeRouterPolicyHandlerFunc turns a function with the right signature into a delete edge router policy handler
func (DeleteEdgeRouterPolicyHandlerFunc) Handle ¶
func (fn DeleteEdgeRouterPolicyHandlerFunc) Handle(params DeleteEdgeRouterPolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteEdgeRouterPolicyOK ¶
type DeleteEdgeRouterPolicyOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
DeleteEdgeRouterPolicyOK The delete request was successful and the resource has been removed
swagger:response deleteEdgeRouterPolicyOK
func NewDeleteEdgeRouterPolicyOK ¶
func NewDeleteEdgeRouterPolicyOK() *DeleteEdgeRouterPolicyOK
NewDeleteEdgeRouterPolicyOK creates DeleteEdgeRouterPolicyOK with default headers values
func (*DeleteEdgeRouterPolicyOK) SetPayload ¶
func (o *DeleteEdgeRouterPolicyOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the delete edge router policy o k response
func (*DeleteEdgeRouterPolicyOK) WithPayload ¶
func (o *DeleteEdgeRouterPolicyOK) WithPayload(payload *rest_model.Empty) *DeleteEdgeRouterPolicyOK
WithPayload adds the payload to the delete edge router policy o k response
func (*DeleteEdgeRouterPolicyOK) WriteResponse ¶
func (o *DeleteEdgeRouterPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteEdgeRouterPolicyParams ¶
type DeleteEdgeRouterPolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DeleteEdgeRouterPolicyParams contains all the bound params for the delete edge router policy operation typically these are obtained from a http.Request
swagger:parameters deleteEdgeRouterPolicy
func NewDeleteEdgeRouterPolicyParams ¶
func NewDeleteEdgeRouterPolicyParams() DeleteEdgeRouterPolicyParams
NewDeleteEdgeRouterPolicyParams creates a new DeleteEdgeRouterPolicyParams object
There are no default values defined in the spec.
func (*DeleteEdgeRouterPolicyParams) BindRequest ¶
func (o *DeleteEdgeRouterPolicyParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteEdgeRouterPolicyParams() beforehand.
type DeleteEdgeRouterPolicyTooManyRequests ¶ added in v0.26.0
type DeleteEdgeRouterPolicyTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteEdgeRouterPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response deleteEdgeRouterPolicyTooManyRequests
func NewDeleteEdgeRouterPolicyTooManyRequests ¶ added in v0.26.0
func NewDeleteEdgeRouterPolicyTooManyRequests() *DeleteEdgeRouterPolicyTooManyRequests
NewDeleteEdgeRouterPolicyTooManyRequests creates DeleteEdgeRouterPolicyTooManyRequests with default headers values
func (*DeleteEdgeRouterPolicyTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *DeleteEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete edge router policy too many requests response
func (*DeleteEdgeRouterPolicyTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *DeleteEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteEdgeRouterPolicyTooManyRequests
WithPayload adds the payload to the delete edge router policy too many requests response
func (*DeleteEdgeRouterPolicyTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *DeleteEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteEdgeRouterPolicyURL ¶
type DeleteEdgeRouterPolicyURL struct { ID string // contains filtered or unexported fields }
DeleteEdgeRouterPolicyURL generates an URL for the delete edge router policy operation
func (*DeleteEdgeRouterPolicyURL) Build ¶
func (o *DeleteEdgeRouterPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteEdgeRouterPolicyURL) BuildFull ¶
func (o *DeleteEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteEdgeRouterPolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteEdgeRouterPolicyURL) SetBasePath ¶
func (o *DeleteEdgeRouterPolicyURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteEdgeRouterPolicyURL) String ¶
func (o *DeleteEdgeRouterPolicyURL) String() string
String returns the string representation of the path with query string
func (*DeleteEdgeRouterPolicyURL) StringFull ¶
func (o *DeleteEdgeRouterPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteEdgeRouterPolicyURL) WithBasePath ¶
func (o *DeleteEdgeRouterPolicyURL) WithBasePath(bp string) *DeleteEdgeRouterPolicyURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteEdgeRouterPolicyUnauthorized ¶
type DeleteEdgeRouterPolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DeleteEdgeRouterPolicyUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response deleteEdgeRouterPolicyUnauthorized
func NewDeleteEdgeRouterPolicyUnauthorized ¶
func NewDeleteEdgeRouterPolicyUnauthorized() *DeleteEdgeRouterPolicyUnauthorized
NewDeleteEdgeRouterPolicyUnauthorized creates DeleteEdgeRouterPolicyUnauthorized with default headers values
func (*DeleteEdgeRouterPolicyUnauthorized) SetPayload ¶
func (o *DeleteEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete edge router policy unauthorized response
func (*DeleteEdgeRouterPolicyUnauthorized) WithPayload ¶
func (o *DeleteEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteEdgeRouterPolicyUnauthorized
WithPayload adds the payload to the delete edge router policy unauthorized response
func (*DeleteEdgeRouterPolicyUnauthorized) WriteResponse ¶
func (o *DeleteEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailEdgeRouterPolicy ¶
type DetailEdgeRouterPolicy struct { Context *middleware.Context Handler DetailEdgeRouterPolicyHandler }
DetailEdgeRouterPolicy swagger:route GET /edge-router-policies/{id} Edge Router Policy detailEdgeRouterPolicy
Retrieves a single edge router policy ¶
Retrieves a single edge router policy by id. Requires admin access.
func NewDetailEdgeRouterPolicy ¶
func NewDetailEdgeRouterPolicy(ctx *middleware.Context, handler DetailEdgeRouterPolicyHandler) *DetailEdgeRouterPolicy
NewDetailEdgeRouterPolicy creates a new http.Handler for the detail edge router policy operation
func (*DetailEdgeRouterPolicy) ServeHTTP ¶
func (o *DetailEdgeRouterPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DetailEdgeRouterPolicyHandler ¶
type DetailEdgeRouterPolicyHandler interface {
Handle(DetailEdgeRouterPolicyParams, interface{}) middleware.Responder
}
DetailEdgeRouterPolicyHandler interface for that can handle valid detail edge router policy params
type DetailEdgeRouterPolicyHandlerFunc ¶
type DetailEdgeRouterPolicyHandlerFunc func(DetailEdgeRouterPolicyParams, interface{}) middleware.Responder
DetailEdgeRouterPolicyHandlerFunc turns a function with the right signature into a detail edge router policy handler
func (DetailEdgeRouterPolicyHandlerFunc) Handle ¶
func (fn DetailEdgeRouterPolicyHandlerFunc) Handle(params DetailEdgeRouterPolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DetailEdgeRouterPolicyNotFound ¶
type DetailEdgeRouterPolicyNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailEdgeRouterPolicyNotFound The requested resource does not exist
swagger:response detailEdgeRouterPolicyNotFound
func NewDetailEdgeRouterPolicyNotFound ¶
func NewDetailEdgeRouterPolicyNotFound() *DetailEdgeRouterPolicyNotFound
NewDetailEdgeRouterPolicyNotFound creates DetailEdgeRouterPolicyNotFound with default headers values
func (*DetailEdgeRouterPolicyNotFound) SetPayload ¶
func (o *DetailEdgeRouterPolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail edge router policy not found response
func (*DetailEdgeRouterPolicyNotFound) WithPayload ¶
func (o *DetailEdgeRouterPolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailEdgeRouterPolicyNotFound
WithPayload adds the payload to the detail edge router policy not found response
func (*DetailEdgeRouterPolicyNotFound) WriteResponse ¶
func (o *DetailEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailEdgeRouterPolicyOK ¶
type DetailEdgeRouterPolicyOK struct { /* In: Body */ Payload *rest_model.DetailEdgeRouterPolicyEnvelope `json:"body,omitempty"` }
DetailEdgeRouterPolicyOK A single edge router policy
swagger:response detailEdgeRouterPolicyOK
func NewDetailEdgeRouterPolicyOK ¶
func NewDetailEdgeRouterPolicyOK() *DetailEdgeRouterPolicyOK
NewDetailEdgeRouterPolicyOK creates DetailEdgeRouterPolicyOK with default headers values
func (*DetailEdgeRouterPolicyOK) SetPayload ¶
func (o *DetailEdgeRouterPolicyOK) SetPayload(payload *rest_model.DetailEdgeRouterPolicyEnvelope)
SetPayload sets the payload to the detail edge router policy o k response
func (*DetailEdgeRouterPolicyOK) WithPayload ¶
func (o *DetailEdgeRouterPolicyOK) WithPayload(payload *rest_model.DetailEdgeRouterPolicyEnvelope) *DetailEdgeRouterPolicyOK
WithPayload adds the payload to the detail edge router policy o k response
func (*DetailEdgeRouterPolicyOK) WriteResponse ¶
func (o *DetailEdgeRouterPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailEdgeRouterPolicyParams ¶
type DetailEdgeRouterPolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DetailEdgeRouterPolicyParams contains all the bound params for the detail edge router policy operation typically these are obtained from a http.Request
swagger:parameters detailEdgeRouterPolicy
func NewDetailEdgeRouterPolicyParams ¶
func NewDetailEdgeRouterPolicyParams() DetailEdgeRouterPolicyParams
NewDetailEdgeRouterPolicyParams creates a new DetailEdgeRouterPolicyParams object
There are no default values defined in the spec.
func (*DetailEdgeRouterPolicyParams) BindRequest ¶
func (o *DetailEdgeRouterPolicyParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDetailEdgeRouterPolicyParams() beforehand.
type DetailEdgeRouterPolicyTooManyRequests ¶ added in v0.26.0
type DetailEdgeRouterPolicyTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailEdgeRouterPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response detailEdgeRouterPolicyTooManyRequests
func NewDetailEdgeRouterPolicyTooManyRequests ¶ added in v0.26.0
func NewDetailEdgeRouterPolicyTooManyRequests() *DetailEdgeRouterPolicyTooManyRequests
NewDetailEdgeRouterPolicyTooManyRequests creates DetailEdgeRouterPolicyTooManyRequests with default headers values
func (*DetailEdgeRouterPolicyTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *DetailEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail edge router policy too many requests response
func (*DetailEdgeRouterPolicyTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *DetailEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailEdgeRouterPolicyTooManyRequests
WithPayload adds the payload to the detail edge router policy too many requests response
func (*DetailEdgeRouterPolicyTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *DetailEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailEdgeRouterPolicyURL ¶
type DetailEdgeRouterPolicyURL struct { ID string // contains filtered or unexported fields }
DetailEdgeRouterPolicyURL generates an URL for the detail edge router policy operation
func (*DetailEdgeRouterPolicyURL) Build ¶
func (o *DetailEdgeRouterPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*DetailEdgeRouterPolicyURL) BuildFull ¶
func (o *DetailEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DetailEdgeRouterPolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DetailEdgeRouterPolicyURL) SetBasePath ¶
func (o *DetailEdgeRouterPolicyURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DetailEdgeRouterPolicyURL) String ¶
func (o *DetailEdgeRouterPolicyURL) String() string
String returns the string representation of the path with query string
func (*DetailEdgeRouterPolicyURL) StringFull ¶
func (o *DetailEdgeRouterPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DetailEdgeRouterPolicyURL) WithBasePath ¶
func (o *DetailEdgeRouterPolicyURL) WithBasePath(bp string) *DetailEdgeRouterPolicyURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DetailEdgeRouterPolicyUnauthorized ¶
type DetailEdgeRouterPolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DetailEdgeRouterPolicyUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response detailEdgeRouterPolicyUnauthorized
func NewDetailEdgeRouterPolicyUnauthorized ¶
func NewDetailEdgeRouterPolicyUnauthorized() *DetailEdgeRouterPolicyUnauthorized
NewDetailEdgeRouterPolicyUnauthorized creates DetailEdgeRouterPolicyUnauthorized with default headers values
func (*DetailEdgeRouterPolicyUnauthorized) SetPayload ¶
func (o *DetailEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail edge router policy unauthorized response
func (*DetailEdgeRouterPolicyUnauthorized) WithPayload ¶
func (o *DetailEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailEdgeRouterPolicyUnauthorized
WithPayload adds the payload to the detail edge router policy unauthorized response
func (*DetailEdgeRouterPolicyUnauthorized) WriteResponse ¶
func (o *DetailEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEdgeRouterPolicies ¶
type ListEdgeRouterPolicies struct { Context *middleware.Context Handler ListEdgeRouterPoliciesHandler }
ListEdgeRouterPolicies swagger:route GET /edge-router-policies Edge Router Policy listEdgeRouterPolicies
List edge router policies ¶
Retrieves a list of edge router policy resources; supports filtering, sorting, and pagination. Requires admin access.
func NewListEdgeRouterPolicies ¶
func NewListEdgeRouterPolicies(ctx *middleware.Context, handler ListEdgeRouterPoliciesHandler) *ListEdgeRouterPolicies
NewListEdgeRouterPolicies creates a new http.Handler for the list edge router policies operation
func (*ListEdgeRouterPolicies) ServeHTTP ¶
func (o *ListEdgeRouterPolicies) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListEdgeRouterPoliciesBadRequest ¶
type ListEdgeRouterPoliciesBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListEdgeRouterPoliciesBadRequest 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
swagger:response listEdgeRouterPoliciesBadRequest
func NewListEdgeRouterPoliciesBadRequest ¶
func NewListEdgeRouterPoliciesBadRequest() *ListEdgeRouterPoliciesBadRequest
NewListEdgeRouterPoliciesBadRequest creates ListEdgeRouterPoliciesBadRequest with default headers values
func (*ListEdgeRouterPoliciesBadRequest) SetPayload ¶
func (o *ListEdgeRouterPoliciesBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list edge router policies bad request response
func (*ListEdgeRouterPoliciesBadRequest) WithPayload ¶
func (o *ListEdgeRouterPoliciesBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPoliciesBadRequest
WithPayload adds the payload to the list edge router policies bad request response
func (*ListEdgeRouterPoliciesBadRequest) WriteResponse ¶
func (o *ListEdgeRouterPoliciesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEdgeRouterPoliciesHandler ¶
type ListEdgeRouterPoliciesHandler interface {
Handle(ListEdgeRouterPoliciesParams, interface{}) middleware.Responder
}
ListEdgeRouterPoliciesHandler interface for that can handle valid list edge router policies params
type ListEdgeRouterPoliciesHandlerFunc ¶
type ListEdgeRouterPoliciesHandlerFunc func(ListEdgeRouterPoliciesParams, interface{}) middleware.Responder
ListEdgeRouterPoliciesHandlerFunc turns a function with the right signature into a list edge router policies handler
func (ListEdgeRouterPoliciesHandlerFunc) Handle ¶
func (fn ListEdgeRouterPoliciesHandlerFunc) Handle(params ListEdgeRouterPoliciesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListEdgeRouterPoliciesOK ¶
type ListEdgeRouterPoliciesOK struct { /* In: Body */ Payload *rest_model.ListEdgeRouterPoliciesEnvelope `json:"body,omitempty"` }
ListEdgeRouterPoliciesOK A list of edge router policies
swagger:response listEdgeRouterPoliciesOK
func NewListEdgeRouterPoliciesOK ¶
func NewListEdgeRouterPoliciesOK() *ListEdgeRouterPoliciesOK
NewListEdgeRouterPoliciesOK creates ListEdgeRouterPoliciesOK with default headers values
func (*ListEdgeRouterPoliciesOK) SetPayload ¶
func (o *ListEdgeRouterPoliciesOK) SetPayload(payload *rest_model.ListEdgeRouterPoliciesEnvelope)
SetPayload sets the payload to the list edge router policies o k response
func (*ListEdgeRouterPoliciesOK) WithPayload ¶
func (o *ListEdgeRouterPoliciesOK) WithPayload(payload *rest_model.ListEdgeRouterPoliciesEnvelope) *ListEdgeRouterPoliciesOK
WithPayload adds the payload to the list edge router policies o k response
func (*ListEdgeRouterPoliciesOK) WriteResponse ¶
func (o *ListEdgeRouterPoliciesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEdgeRouterPoliciesParams ¶
type ListEdgeRouterPoliciesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListEdgeRouterPoliciesParams contains all the bound params for the list edge router policies operation typically these are obtained from a http.Request
swagger:parameters listEdgeRouterPolicies
func NewListEdgeRouterPoliciesParams ¶
func NewListEdgeRouterPoliciesParams() ListEdgeRouterPoliciesParams
NewListEdgeRouterPoliciesParams creates a new ListEdgeRouterPoliciesParams object
There are no default values defined in the spec.
func (*ListEdgeRouterPoliciesParams) BindRequest ¶
func (o *ListEdgeRouterPoliciesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListEdgeRouterPoliciesParams() beforehand.
type ListEdgeRouterPoliciesTooManyRequests ¶ added in v0.26.0
type ListEdgeRouterPoliciesTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListEdgeRouterPoliciesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response listEdgeRouterPoliciesTooManyRequests
func NewListEdgeRouterPoliciesTooManyRequests ¶ added in v0.26.0
func NewListEdgeRouterPoliciesTooManyRequests() *ListEdgeRouterPoliciesTooManyRequests
NewListEdgeRouterPoliciesTooManyRequests creates ListEdgeRouterPoliciesTooManyRequests with default headers values
func (*ListEdgeRouterPoliciesTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *ListEdgeRouterPoliciesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list edge router policies too many requests response
func (*ListEdgeRouterPoliciesTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *ListEdgeRouterPoliciesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPoliciesTooManyRequests
WithPayload adds the payload to the list edge router policies too many requests response
func (*ListEdgeRouterPoliciesTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *ListEdgeRouterPoliciesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEdgeRouterPoliciesURL ¶
type ListEdgeRouterPoliciesURL struct { Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListEdgeRouterPoliciesURL generates an URL for the list edge router policies operation
func (*ListEdgeRouterPoliciesURL) Build ¶
func (o *ListEdgeRouterPoliciesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListEdgeRouterPoliciesURL) BuildFull ¶
func (o *ListEdgeRouterPoliciesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListEdgeRouterPoliciesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListEdgeRouterPoliciesURL) SetBasePath ¶
func (o *ListEdgeRouterPoliciesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListEdgeRouterPoliciesURL) String ¶
func (o *ListEdgeRouterPoliciesURL) String() string
String returns the string representation of the path with query string
func (*ListEdgeRouterPoliciesURL) StringFull ¶
func (o *ListEdgeRouterPoliciesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListEdgeRouterPoliciesURL) WithBasePath ¶
func (o *ListEdgeRouterPoliciesURL) WithBasePath(bp string) *ListEdgeRouterPoliciesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListEdgeRouterPoliciesUnauthorized ¶
type ListEdgeRouterPoliciesUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListEdgeRouterPoliciesUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response listEdgeRouterPoliciesUnauthorized
func NewListEdgeRouterPoliciesUnauthorized ¶
func NewListEdgeRouterPoliciesUnauthorized() *ListEdgeRouterPoliciesUnauthorized
NewListEdgeRouterPoliciesUnauthorized creates ListEdgeRouterPoliciesUnauthorized with default headers values
func (*ListEdgeRouterPoliciesUnauthorized) SetPayload ¶
func (o *ListEdgeRouterPoliciesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list edge router policies unauthorized response
func (*ListEdgeRouterPoliciesUnauthorized) WithPayload ¶
func (o *ListEdgeRouterPoliciesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPoliciesUnauthorized
WithPayload adds the payload to the list edge router policies unauthorized response
func (*ListEdgeRouterPoliciesUnauthorized) WriteResponse ¶
func (o *ListEdgeRouterPoliciesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEdgeRouterPolicyEdgeRouters ¶
type ListEdgeRouterPolicyEdgeRouters struct { Context *middleware.Context Handler ListEdgeRouterPolicyEdgeRoutersHandler }
ListEdgeRouterPolicyEdgeRouters swagger:route GET /edge-router-policies/{id}/edge-routers Edge Router Policy listEdgeRouterPolicyEdgeRouters
List 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 NewListEdgeRouterPolicyEdgeRouters ¶
func NewListEdgeRouterPolicyEdgeRouters(ctx *middleware.Context, handler ListEdgeRouterPolicyEdgeRoutersHandler) *ListEdgeRouterPolicyEdgeRouters
NewListEdgeRouterPolicyEdgeRouters creates a new http.Handler for the list edge router policy edge routers operation
func (*ListEdgeRouterPolicyEdgeRouters) ServeHTTP ¶
func (o *ListEdgeRouterPolicyEdgeRouters) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListEdgeRouterPolicyEdgeRoutersHandler ¶
type ListEdgeRouterPolicyEdgeRoutersHandler interface {
Handle(ListEdgeRouterPolicyEdgeRoutersParams, interface{}) middleware.Responder
}
ListEdgeRouterPolicyEdgeRoutersHandler interface for that can handle valid list edge router policy edge routers params
type ListEdgeRouterPolicyEdgeRoutersHandlerFunc ¶
type ListEdgeRouterPolicyEdgeRoutersHandlerFunc func(ListEdgeRouterPolicyEdgeRoutersParams, interface{}) middleware.Responder
ListEdgeRouterPolicyEdgeRoutersHandlerFunc turns a function with the right signature into a list edge router policy edge routers handler
func (ListEdgeRouterPolicyEdgeRoutersHandlerFunc) Handle ¶
func (fn ListEdgeRouterPolicyEdgeRoutersHandlerFunc) Handle(params ListEdgeRouterPolicyEdgeRoutersParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListEdgeRouterPolicyEdgeRoutersNotFound ¶
type ListEdgeRouterPolicyEdgeRoutersNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListEdgeRouterPolicyEdgeRoutersNotFound The requested resource does not exist
swagger:response listEdgeRouterPolicyEdgeRoutersNotFound
func NewListEdgeRouterPolicyEdgeRoutersNotFound ¶
func NewListEdgeRouterPolicyEdgeRoutersNotFound() *ListEdgeRouterPolicyEdgeRoutersNotFound
NewListEdgeRouterPolicyEdgeRoutersNotFound creates ListEdgeRouterPolicyEdgeRoutersNotFound with default headers values
func (*ListEdgeRouterPolicyEdgeRoutersNotFound) SetPayload ¶
func (o *ListEdgeRouterPolicyEdgeRoutersNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list edge router policy edge routers not found response
func (*ListEdgeRouterPolicyEdgeRoutersNotFound) WithPayload ¶
func (o *ListEdgeRouterPolicyEdgeRoutersNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPolicyEdgeRoutersNotFound
WithPayload adds the payload to the list edge router policy edge routers not found response
func (*ListEdgeRouterPolicyEdgeRoutersNotFound) WriteResponse ¶
func (o *ListEdgeRouterPolicyEdgeRoutersNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEdgeRouterPolicyEdgeRoutersOK ¶
type ListEdgeRouterPolicyEdgeRoutersOK struct { /* In: Body */ Payload *rest_model.ListEdgeRoutersEnvelope `json:"body,omitempty"` }
ListEdgeRouterPolicyEdgeRoutersOK A list of edge routers
swagger:response listEdgeRouterPolicyEdgeRoutersOK
func NewListEdgeRouterPolicyEdgeRoutersOK ¶
func NewListEdgeRouterPolicyEdgeRoutersOK() *ListEdgeRouterPolicyEdgeRoutersOK
NewListEdgeRouterPolicyEdgeRoutersOK creates ListEdgeRouterPolicyEdgeRoutersOK with default headers values
func (*ListEdgeRouterPolicyEdgeRoutersOK) SetPayload ¶
func (o *ListEdgeRouterPolicyEdgeRoutersOK) SetPayload(payload *rest_model.ListEdgeRoutersEnvelope)
SetPayload sets the payload to the list edge router policy edge routers o k response
func (*ListEdgeRouterPolicyEdgeRoutersOK) WithPayload ¶
func (o *ListEdgeRouterPolicyEdgeRoutersOK) WithPayload(payload *rest_model.ListEdgeRoutersEnvelope) *ListEdgeRouterPolicyEdgeRoutersOK
WithPayload adds the payload to the list edge router policy edge routers o k response
func (*ListEdgeRouterPolicyEdgeRoutersOK) WriteResponse ¶
func (o *ListEdgeRouterPolicyEdgeRoutersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEdgeRouterPolicyEdgeRoutersParams ¶
type ListEdgeRouterPolicyEdgeRoutersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
ListEdgeRouterPolicyEdgeRoutersParams contains all the bound params for the list edge router policy edge routers operation typically these are obtained from a http.Request
swagger:parameters listEdgeRouterPolicyEdgeRouters
func NewListEdgeRouterPolicyEdgeRoutersParams ¶
func NewListEdgeRouterPolicyEdgeRoutersParams() ListEdgeRouterPolicyEdgeRoutersParams
NewListEdgeRouterPolicyEdgeRoutersParams creates a new ListEdgeRouterPolicyEdgeRoutersParams object
There are no default values defined in the spec.
func (*ListEdgeRouterPolicyEdgeRoutersParams) BindRequest ¶
func (o *ListEdgeRouterPolicyEdgeRoutersParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListEdgeRouterPolicyEdgeRoutersParams() beforehand.
type ListEdgeRouterPolicyEdgeRoutersTooManyRequests ¶ added in v0.26.0
type ListEdgeRouterPolicyEdgeRoutersTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListEdgeRouterPolicyEdgeRoutersTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response listEdgeRouterPolicyEdgeRoutersTooManyRequests
func NewListEdgeRouterPolicyEdgeRoutersTooManyRequests ¶ added in v0.26.0
func NewListEdgeRouterPolicyEdgeRoutersTooManyRequests() *ListEdgeRouterPolicyEdgeRoutersTooManyRequests
NewListEdgeRouterPolicyEdgeRoutersTooManyRequests creates ListEdgeRouterPolicyEdgeRoutersTooManyRequests with default headers values
func (*ListEdgeRouterPolicyEdgeRoutersTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *ListEdgeRouterPolicyEdgeRoutersTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list edge router policy edge routers too many requests response
func (*ListEdgeRouterPolicyEdgeRoutersTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *ListEdgeRouterPolicyEdgeRoutersTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPolicyEdgeRoutersTooManyRequests
WithPayload adds the payload to the list edge router policy edge routers too many requests response
func (*ListEdgeRouterPolicyEdgeRoutersTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *ListEdgeRouterPolicyEdgeRoutersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEdgeRouterPolicyEdgeRoutersURL ¶
type ListEdgeRouterPolicyEdgeRoutersURL struct { ID string // contains filtered or unexported fields }
ListEdgeRouterPolicyEdgeRoutersURL generates an URL for the list edge router policy edge routers operation
func (*ListEdgeRouterPolicyEdgeRoutersURL) Build ¶
func (o *ListEdgeRouterPolicyEdgeRoutersURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListEdgeRouterPolicyEdgeRoutersURL) BuildFull ¶
func (o *ListEdgeRouterPolicyEdgeRoutersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListEdgeRouterPolicyEdgeRoutersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListEdgeRouterPolicyEdgeRoutersURL) SetBasePath ¶
func (o *ListEdgeRouterPolicyEdgeRoutersURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListEdgeRouterPolicyEdgeRoutersURL) String ¶
func (o *ListEdgeRouterPolicyEdgeRoutersURL) String() string
String returns the string representation of the path with query string
func (*ListEdgeRouterPolicyEdgeRoutersURL) StringFull ¶
func (o *ListEdgeRouterPolicyEdgeRoutersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListEdgeRouterPolicyEdgeRoutersURL) WithBasePath ¶
func (o *ListEdgeRouterPolicyEdgeRoutersURL) WithBasePath(bp string) *ListEdgeRouterPolicyEdgeRoutersURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListEdgeRouterPolicyEdgeRoutersUnauthorized ¶
type ListEdgeRouterPolicyEdgeRoutersUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListEdgeRouterPolicyEdgeRoutersUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response listEdgeRouterPolicyEdgeRoutersUnauthorized
func NewListEdgeRouterPolicyEdgeRoutersUnauthorized ¶
func NewListEdgeRouterPolicyEdgeRoutersUnauthorized() *ListEdgeRouterPolicyEdgeRoutersUnauthorized
NewListEdgeRouterPolicyEdgeRoutersUnauthorized creates ListEdgeRouterPolicyEdgeRoutersUnauthorized with default headers values
func (*ListEdgeRouterPolicyEdgeRoutersUnauthorized) SetPayload ¶
func (o *ListEdgeRouterPolicyEdgeRoutersUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list edge router policy edge routers unauthorized response
func (*ListEdgeRouterPolicyEdgeRoutersUnauthorized) WithPayload ¶
func (o *ListEdgeRouterPolicyEdgeRoutersUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPolicyEdgeRoutersUnauthorized
WithPayload adds the payload to the list edge router policy edge routers unauthorized response
func (*ListEdgeRouterPolicyEdgeRoutersUnauthorized) WriteResponse ¶
func (o *ListEdgeRouterPolicyEdgeRoutersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEdgeRouterPolicyIdentities ¶
type ListEdgeRouterPolicyIdentities struct { Context *middleware.Context Handler ListEdgeRouterPolicyIdentitiesHandler }
ListEdgeRouterPolicyIdentities swagger:route GET /edge-router-policies/{id}/identities Edge Router Policy listEdgeRouterPolicyIdentities
List 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 NewListEdgeRouterPolicyIdentities ¶
func NewListEdgeRouterPolicyIdentities(ctx *middleware.Context, handler ListEdgeRouterPolicyIdentitiesHandler) *ListEdgeRouterPolicyIdentities
NewListEdgeRouterPolicyIdentities creates a new http.Handler for the list edge router policy identities operation
func (*ListEdgeRouterPolicyIdentities) ServeHTTP ¶
func (o *ListEdgeRouterPolicyIdentities) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListEdgeRouterPolicyIdentitiesHandler ¶
type ListEdgeRouterPolicyIdentitiesHandler interface {
Handle(ListEdgeRouterPolicyIdentitiesParams, interface{}) middleware.Responder
}
ListEdgeRouterPolicyIdentitiesHandler interface for that can handle valid list edge router policy identities params
type ListEdgeRouterPolicyIdentitiesHandlerFunc ¶
type ListEdgeRouterPolicyIdentitiesHandlerFunc func(ListEdgeRouterPolicyIdentitiesParams, interface{}) middleware.Responder
ListEdgeRouterPolicyIdentitiesHandlerFunc turns a function with the right signature into a list edge router policy identities handler
func (ListEdgeRouterPolicyIdentitiesHandlerFunc) Handle ¶
func (fn ListEdgeRouterPolicyIdentitiesHandlerFunc) Handle(params ListEdgeRouterPolicyIdentitiesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListEdgeRouterPolicyIdentitiesNotFound ¶
type ListEdgeRouterPolicyIdentitiesNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListEdgeRouterPolicyIdentitiesNotFound The requested resource does not exist
swagger:response listEdgeRouterPolicyIdentitiesNotFound
func NewListEdgeRouterPolicyIdentitiesNotFound ¶
func NewListEdgeRouterPolicyIdentitiesNotFound() *ListEdgeRouterPolicyIdentitiesNotFound
NewListEdgeRouterPolicyIdentitiesNotFound creates ListEdgeRouterPolicyIdentitiesNotFound with default headers values
func (*ListEdgeRouterPolicyIdentitiesNotFound) SetPayload ¶
func (o *ListEdgeRouterPolicyIdentitiesNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list edge router policy identities not found response
func (*ListEdgeRouterPolicyIdentitiesNotFound) WithPayload ¶
func (o *ListEdgeRouterPolicyIdentitiesNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPolicyIdentitiesNotFound
WithPayload adds the payload to the list edge router policy identities not found response
func (*ListEdgeRouterPolicyIdentitiesNotFound) WriteResponse ¶
func (o *ListEdgeRouterPolicyIdentitiesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEdgeRouterPolicyIdentitiesOK ¶
type ListEdgeRouterPolicyIdentitiesOK struct { /* In: Body */ Payload *rest_model.ListIdentitiesEnvelope `json:"body,omitempty"` }
ListEdgeRouterPolicyIdentitiesOK A list of identities
swagger:response listEdgeRouterPolicyIdentitiesOK
func NewListEdgeRouterPolicyIdentitiesOK ¶
func NewListEdgeRouterPolicyIdentitiesOK() *ListEdgeRouterPolicyIdentitiesOK
NewListEdgeRouterPolicyIdentitiesOK creates ListEdgeRouterPolicyIdentitiesOK with default headers values
func (*ListEdgeRouterPolicyIdentitiesOK) SetPayload ¶
func (o *ListEdgeRouterPolicyIdentitiesOK) SetPayload(payload *rest_model.ListIdentitiesEnvelope)
SetPayload sets the payload to the list edge router policy identities o k response
func (*ListEdgeRouterPolicyIdentitiesOK) WithPayload ¶
func (o *ListEdgeRouterPolicyIdentitiesOK) WithPayload(payload *rest_model.ListIdentitiesEnvelope) *ListEdgeRouterPolicyIdentitiesOK
WithPayload adds the payload to the list edge router policy identities o k response
func (*ListEdgeRouterPolicyIdentitiesOK) WriteResponse ¶
func (o *ListEdgeRouterPolicyIdentitiesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEdgeRouterPolicyIdentitiesParams ¶
type ListEdgeRouterPolicyIdentitiesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
ListEdgeRouterPolicyIdentitiesParams contains all the bound params for the list edge router policy identities operation typically these are obtained from a http.Request
swagger:parameters listEdgeRouterPolicyIdentities
func NewListEdgeRouterPolicyIdentitiesParams ¶
func NewListEdgeRouterPolicyIdentitiesParams() ListEdgeRouterPolicyIdentitiesParams
NewListEdgeRouterPolicyIdentitiesParams creates a new ListEdgeRouterPolicyIdentitiesParams object
There are no default values defined in the spec.
func (*ListEdgeRouterPolicyIdentitiesParams) BindRequest ¶
func (o *ListEdgeRouterPolicyIdentitiesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListEdgeRouterPolicyIdentitiesParams() beforehand.
type ListEdgeRouterPolicyIdentitiesTooManyRequests ¶ added in v0.26.0
type ListEdgeRouterPolicyIdentitiesTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListEdgeRouterPolicyIdentitiesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response listEdgeRouterPolicyIdentitiesTooManyRequests
func NewListEdgeRouterPolicyIdentitiesTooManyRequests ¶ added in v0.26.0
func NewListEdgeRouterPolicyIdentitiesTooManyRequests() *ListEdgeRouterPolicyIdentitiesTooManyRequests
NewListEdgeRouterPolicyIdentitiesTooManyRequests creates ListEdgeRouterPolicyIdentitiesTooManyRequests with default headers values
func (*ListEdgeRouterPolicyIdentitiesTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *ListEdgeRouterPolicyIdentitiesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list edge router policy identities too many requests response
func (*ListEdgeRouterPolicyIdentitiesTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *ListEdgeRouterPolicyIdentitiesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPolicyIdentitiesTooManyRequests
WithPayload adds the payload to the list edge router policy identities too many requests response
func (*ListEdgeRouterPolicyIdentitiesTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *ListEdgeRouterPolicyIdentitiesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListEdgeRouterPolicyIdentitiesURL ¶
type ListEdgeRouterPolicyIdentitiesURL struct { ID string // contains filtered or unexported fields }
ListEdgeRouterPolicyIdentitiesURL generates an URL for the list edge router policy identities operation
func (*ListEdgeRouterPolicyIdentitiesURL) Build ¶
func (o *ListEdgeRouterPolicyIdentitiesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListEdgeRouterPolicyIdentitiesURL) BuildFull ¶
func (o *ListEdgeRouterPolicyIdentitiesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListEdgeRouterPolicyIdentitiesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListEdgeRouterPolicyIdentitiesURL) SetBasePath ¶
func (o *ListEdgeRouterPolicyIdentitiesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListEdgeRouterPolicyIdentitiesURL) String ¶
func (o *ListEdgeRouterPolicyIdentitiesURL) String() string
String returns the string representation of the path with query string
func (*ListEdgeRouterPolicyIdentitiesURL) StringFull ¶
func (o *ListEdgeRouterPolicyIdentitiesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListEdgeRouterPolicyIdentitiesURL) WithBasePath ¶
func (o *ListEdgeRouterPolicyIdentitiesURL) WithBasePath(bp string) *ListEdgeRouterPolicyIdentitiesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListEdgeRouterPolicyIdentitiesUnauthorized ¶
type ListEdgeRouterPolicyIdentitiesUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListEdgeRouterPolicyIdentitiesUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response listEdgeRouterPolicyIdentitiesUnauthorized
func NewListEdgeRouterPolicyIdentitiesUnauthorized ¶
func NewListEdgeRouterPolicyIdentitiesUnauthorized() *ListEdgeRouterPolicyIdentitiesUnauthorized
NewListEdgeRouterPolicyIdentitiesUnauthorized creates ListEdgeRouterPolicyIdentitiesUnauthorized with default headers values
func (*ListEdgeRouterPolicyIdentitiesUnauthorized) SetPayload ¶
func (o *ListEdgeRouterPolicyIdentitiesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list edge router policy identities unauthorized response
func (*ListEdgeRouterPolicyIdentitiesUnauthorized) WithPayload ¶
func (o *ListEdgeRouterPolicyIdentitiesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPolicyIdentitiesUnauthorized
WithPayload adds the payload to the list edge router policy identities unauthorized response
func (*ListEdgeRouterPolicyIdentitiesUnauthorized) WriteResponse ¶
func (o *ListEdgeRouterPolicyIdentitiesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchEdgeRouterPolicy ¶
type PatchEdgeRouterPolicy struct { Context *middleware.Context Handler PatchEdgeRouterPolicyHandler }
PatchEdgeRouterPolicy swagger:route PATCH /edge-router-policies/{id} Edge Router Policy patchEdgeRouterPolicy
Update the supplied fields on an edge router policy ¶
Update the supplied fields on an edge router policy. Requires admin access.
func NewPatchEdgeRouterPolicy ¶
func NewPatchEdgeRouterPolicy(ctx *middleware.Context, handler PatchEdgeRouterPolicyHandler) *PatchEdgeRouterPolicy
NewPatchEdgeRouterPolicy creates a new http.Handler for the patch edge router policy operation
func (*PatchEdgeRouterPolicy) ServeHTTP ¶
func (o *PatchEdgeRouterPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchEdgeRouterPolicyBadRequest ¶
type PatchEdgeRouterPolicyBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchEdgeRouterPolicyBadRequest 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
swagger:response patchEdgeRouterPolicyBadRequest
func NewPatchEdgeRouterPolicyBadRequest ¶
func NewPatchEdgeRouterPolicyBadRequest() *PatchEdgeRouterPolicyBadRequest
NewPatchEdgeRouterPolicyBadRequest creates PatchEdgeRouterPolicyBadRequest with default headers values
func (*PatchEdgeRouterPolicyBadRequest) SetPayload ¶
func (o *PatchEdgeRouterPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch edge router policy bad request response
func (*PatchEdgeRouterPolicyBadRequest) WithPayload ¶
func (o *PatchEdgeRouterPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchEdgeRouterPolicyBadRequest
WithPayload adds the payload to the patch edge router policy bad request response
func (*PatchEdgeRouterPolicyBadRequest) WriteResponse ¶
func (o *PatchEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchEdgeRouterPolicyHandler ¶
type PatchEdgeRouterPolicyHandler interface {
Handle(PatchEdgeRouterPolicyParams, interface{}) middleware.Responder
}
PatchEdgeRouterPolicyHandler interface for that can handle valid patch edge router policy params
type PatchEdgeRouterPolicyHandlerFunc ¶
type PatchEdgeRouterPolicyHandlerFunc func(PatchEdgeRouterPolicyParams, interface{}) middleware.Responder
PatchEdgeRouterPolicyHandlerFunc turns a function with the right signature into a patch edge router policy handler
func (PatchEdgeRouterPolicyHandlerFunc) Handle ¶
func (fn PatchEdgeRouterPolicyHandlerFunc) Handle(params PatchEdgeRouterPolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PatchEdgeRouterPolicyNotFound ¶
type PatchEdgeRouterPolicyNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchEdgeRouterPolicyNotFound The requested resource does not exist
swagger:response patchEdgeRouterPolicyNotFound
func NewPatchEdgeRouterPolicyNotFound ¶
func NewPatchEdgeRouterPolicyNotFound() *PatchEdgeRouterPolicyNotFound
NewPatchEdgeRouterPolicyNotFound creates PatchEdgeRouterPolicyNotFound with default headers values
func (*PatchEdgeRouterPolicyNotFound) SetPayload ¶
func (o *PatchEdgeRouterPolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch edge router policy not found response
func (*PatchEdgeRouterPolicyNotFound) WithPayload ¶
func (o *PatchEdgeRouterPolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchEdgeRouterPolicyNotFound
WithPayload adds the payload to the patch edge router policy not found response
func (*PatchEdgeRouterPolicyNotFound) WriteResponse ¶
func (o *PatchEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchEdgeRouterPolicyOK ¶
type PatchEdgeRouterPolicyOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
PatchEdgeRouterPolicyOK The patch request was successful and the resource has been altered
swagger:response patchEdgeRouterPolicyOK
func NewPatchEdgeRouterPolicyOK ¶
func NewPatchEdgeRouterPolicyOK() *PatchEdgeRouterPolicyOK
NewPatchEdgeRouterPolicyOK creates PatchEdgeRouterPolicyOK with default headers values
func (*PatchEdgeRouterPolicyOK) SetPayload ¶
func (o *PatchEdgeRouterPolicyOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the patch edge router policy o k response
func (*PatchEdgeRouterPolicyOK) WithPayload ¶
func (o *PatchEdgeRouterPolicyOK) WithPayload(payload *rest_model.Empty) *PatchEdgeRouterPolicyOK
WithPayload adds the payload to the patch edge router policy o k response
func (*PatchEdgeRouterPolicyOK) WriteResponse ¶
func (o *PatchEdgeRouterPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchEdgeRouterPolicyParams ¶
type PatchEdgeRouterPolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string /*An edge router policy patch object Required: true In: body */ Policy *rest_model.EdgeRouterPolicyPatch }
PatchEdgeRouterPolicyParams contains all the bound params for the patch edge router policy operation typically these are obtained from a http.Request
swagger:parameters patchEdgeRouterPolicy
func NewPatchEdgeRouterPolicyParams ¶
func NewPatchEdgeRouterPolicyParams() PatchEdgeRouterPolicyParams
NewPatchEdgeRouterPolicyParams creates a new PatchEdgeRouterPolicyParams object
There are no default values defined in the spec.
func (*PatchEdgeRouterPolicyParams) BindRequest ¶
func (o *PatchEdgeRouterPolicyParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPatchEdgeRouterPolicyParams() beforehand.
type PatchEdgeRouterPolicyTooManyRequests ¶ added in v0.26.0
type PatchEdgeRouterPolicyTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchEdgeRouterPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response patchEdgeRouterPolicyTooManyRequests
func NewPatchEdgeRouterPolicyTooManyRequests ¶ added in v0.26.0
func NewPatchEdgeRouterPolicyTooManyRequests() *PatchEdgeRouterPolicyTooManyRequests
NewPatchEdgeRouterPolicyTooManyRequests creates PatchEdgeRouterPolicyTooManyRequests with default headers values
func (*PatchEdgeRouterPolicyTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *PatchEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch edge router policy too many requests response
func (*PatchEdgeRouterPolicyTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *PatchEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchEdgeRouterPolicyTooManyRequests
WithPayload adds the payload to the patch edge router policy too many requests response
func (*PatchEdgeRouterPolicyTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *PatchEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchEdgeRouterPolicyURL ¶
type PatchEdgeRouterPolicyURL struct { ID string // contains filtered or unexported fields }
PatchEdgeRouterPolicyURL generates an URL for the patch edge router policy operation
func (*PatchEdgeRouterPolicyURL) Build ¶
func (o *PatchEdgeRouterPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*PatchEdgeRouterPolicyURL) BuildFull ¶
func (o *PatchEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PatchEdgeRouterPolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PatchEdgeRouterPolicyURL) SetBasePath ¶
func (o *PatchEdgeRouterPolicyURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PatchEdgeRouterPolicyURL) String ¶
func (o *PatchEdgeRouterPolicyURL) String() string
String returns the string representation of the path with query string
func (*PatchEdgeRouterPolicyURL) StringFull ¶
func (o *PatchEdgeRouterPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PatchEdgeRouterPolicyURL) WithBasePath ¶
func (o *PatchEdgeRouterPolicyURL) WithBasePath(bp string) *PatchEdgeRouterPolicyURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PatchEdgeRouterPolicyUnauthorized ¶
type PatchEdgeRouterPolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
PatchEdgeRouterPolicyUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response patchEdgeRouterPolicyUnauthorized
func NewPatchEdgeRouterPolicyUnauthorized ¶
func NewPatchEdgeRouterPolicyUnauthorized() *PatchEdgeRouterPolicyUnauthorized
NewPatchEdgeRouterPolicyUnauthorized creates PatchEdgeRouterPolicyUnauthorized with default headers values
func (*PatchEdgeRouterPolicyUnauthorized) SetPayload ¶
func (o *PatchEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch edge router policy unauthorized response
func (*PatchEdgeRouterPolicyUnauthorized) WithPayload ¶
func (o *PatchEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchEdgeRouterPolicyUnauthorized
WithPayload adds the payload to the patch edge router policy unauthorized response
func (*PatchEdgeRouterPolicyUnauthorized) WriteResponse ¶
func (o *PatchEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateEdgeRouterPolicy ¶
type UpdateEdgeRouterPolicy struct { Context *middleware.Context Handler UpdateEdgeRouterPolicyHandler }
UpdateEdgeRouterPolicy swagger:route PUT /edge-router-policies/{id} Edge Router Policy updateEdgeRouterPolicy
Update all fields on an edge router policy ¶
Update all fields on an edge router policy by id. Requires admin access.
func NewUpdateEdgeRouterPolicy ¶
func NewUpdateEdgeRouterPolicy(ctx *middleware.Context, handler UpdateEdgeRouterPolicyHandler) *UpdateEdgeRouterPolicy
NewUpdateEdgeRouterPolicy creates a new http.Handler for the update edge router policy operation
func (*UpdateEdgeRouterPolicy) ServeHTTP ¶
func (o *UpdateEdgeRouterPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateEdgeRouterPolicyBadRequest ¶
type UpdateEdgeRouterPolicyBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateEdgeRouterPolicyBadRequest 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
swagger:response updateEdgeRouterPolicyBadRequest
func NewUpdateEdgeRouterPolicyBadRequest ¶
func NewUpdateEdgeRouterPolicyBadRequest() *UpdateEdgeRouterPolicyBadRequest
NewUpdateEdgeRouterPolicyBadRequest creates UpdateEdgeRouterPolicyBadRequest with default headers values
func (*UpdateEdgeRouterPolicyBadRequest) SetPayload ¶
func (o *UpdateEdgeRouterPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update edge router policy bad request response
func (*UpdateEdgeRouterPolicyBadRequest) WithPayload ¶
func (o *UpdateEdgeRouterPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateEdgeRouterPolicyBadRequest
WithPayload adds the payload to the update edge router policy bad request response
func (*UpdateEdgeRouterPolicyBadRequest) WriteResponse ¶
func (o *UpdateEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateEdgeRouterPolicyHandler ¶
type UpdateEdgeRouterPolicyHandler interface {
Handle(UpdateEdgeRouterPolicyParams, interface{}) middleware.Responder
}
UpdateEdgeRouterPolicyHandler interface for that can handle valid update edge router policy params
type UpdateEdgeRouterPolicyHandlerFunc ¶
type UpdateEdgeRouterPolicyHandlerFunc func(UpdateEdgeRouterPolicyParams, interface{}) middleware.Responder
UpdateEdgeRouterPolicyHandlerFunc turns a function with the right signature into a update edge router policy handler
func (UpdateEdgeRouterPolicyHandlerFunc) Handle ¶
func (fn UpdateEdgeRouterPolicyHandlerFunc) Handle(params UpdateEdgeRouterPolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateEdgeRouterPolicyNotFound ¶
type UpdateEdgeRouterPolicyNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateEdgeRouterPolicyNotFound The requested resource does not exist
swagger:response updateEdgeRouterPolicyNotFound
func NewUpdateEdgeRouterPolicyNotFound ¶
func NewUpdateEdgeRouterPolicyNotFound() *UpdateEdgeRouterPolicyNotFound
NewUpdateEdgeRouterPolicyNotFound creates UpdateEdgeRouterPolicyNotFound with default headers values
func (*UpdateEdgeRouterPolicyNotFound) SetPayload ¶
func (o *UpdateEdgeRouterPolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update edge router policy not found response
func (*UpdateEdgeRouterPolicyNotFound) WithPayload ¶
func (o *UpdateEdgeRouterPolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateEdgeRouterPolicyNotFound
WithPayload adds the payload to the update edge router policy not found response
func (*UpdateEdgeRouterPolicyNotFound) WriteResponse ¶
func (o *UpdateEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateEdgeRouterPolicyOK ¶
type UpdateEdgeRouterPolicyOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
UpdateEdgeRouterPolicyOK The update request was successful and the resource has been altered
swagger:response updateEdgeRouterPolicyOK
func NewUpdateEdgeRouterPolicyOK ¶
func NewUpdateEdgeRouterPolicyOK() *UpdateEdgeRouterPolicyOK
NewUpdateEdgeRouterPolicyOK creates UpdateEdgeRouterPolicyOK with default headers values
func (*UpdateEdgeRouterPolicyOK) SetPayload ¶
func (o *UpdateEdgeRouterPolicyOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the update edge router policy o k response
func (*UpdateEdgeRouterPolicyOK) WithPayload ¶
func (o *UpdateEdgeRouterPolicyOK) WithPayload(payload *rest_model.Empty) *UpdateEdgeRouterPolicyOK
WithPayload adds the payload to the update edge router policy o k response
func (*UpdateEdgeRouterPolicyOK) WriteResponse ¶
func (o *UpdateEdgeRouterPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateEdgeRouterPolicyParams ¶
type UpdateEdgeRouterPolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string /*An edge router policy update object Required: true In: body */ Policy *rest_model.EdgeRouterPolicyUpdate }
UpdateEdgeRouterPolicyParams contains all the bound params for the update edge router policy operation typically these are obtained from a http.Request
swagger:parameters updateEdgeRouterPolicy
func NewUpdateEdgeRouterPolicyParams ¶
func NewUpdateEdgeRouterPolicyParams() UpdateEdgeRouterPolicyParams
NewUpdateEdgeRouterPolicyParams creates a new UpdateEdgeRouterPolicyParams object
There are no default values defined in the spec.
func (*UpdateEdgeRouterPolicyParams) BindRequest ¶
func (o *UpdateEdgeRouterPolicyParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateEdgeRouterPolicyParams() beforehand.
type UpdateEdgeRouterPolicyTooManyRequests ¶ added in v0.26.0
type UpdateEdgeRouterPolicyTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateEdgeRouterPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response updateEdgeRouterPolicyTooManyRequests
func NewUpdateEdgeRouterPolicyTooManyRequests ¶ added in v0.26.0
func NewUpdateEdgeRouterPolicyTooManyRequests() *UpdateEdgeRouterPolicyTooManyRequests
NewUpdateEdgeRouterPolicyTooManyRequests creates UpdateEdgeRouterPolicyTooManyRequests with default headers values
func (*UpdateEdgeRouterPolicyTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *UpdateEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update edge router policy too many requests response
func (*UpdateEdgeRouterPolicyTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *UpdateEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateEdgeRouterPolicyTooManyRequests
WithPayload adds the payload to the update edge router policy too many requests response
func (*UpdateEdgeRouterPolicyTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *UpdateEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateEdgeRouterPolicyURL ¶
type UpdateEdgeRouterPolicyURL struct { ID string // contains filtered or unexported fields }
UpdateEdgeRouterPolicyURL generates an URL for the update edge router policy operation
func (*UpdateEdgeRouterPolicyURL) Build ¶
func (o *UpdateEdgeRouterPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateEdgeRouterPolicyURL) BuildFull ¶
func (o *UpdateEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateEdgeRouterPolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateEdgeRouterPolicyURL) SetBasePath ¶
func (o *UpdateEdgeRouterPolicyURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateEdgeRouterPolicyURL) String ¶
func (o *UpdateEdgeRouterPolicyURL) String() string
String returns the string representation of the path with query string
func (*UpdateEdgeRouterPolicyURL) StringFull ¶
func (o *UpdateEdgeRouterPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateEdgeRouterPolicyURL) WithBasePath ¶
func (o *UpdateEdgeRouterPolicyURL) WithBasePath(bp string) *UpdateEdgeRouterPolicyURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateEdgeRouterPolicyUnauthorized ¶
type UpdateEdgeRouterPolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
UpdateEdgeRouterPolicyUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response updateEdgeRouterPolicyUnauthorized
func NewUpdateEdgeRouterPolicyUnauthorized ¶
func NewUpdateEdgeRouterPolicyUnauthorized() *UpdateEdgeRouterPolicyUnauthorized
NewUpdateEdgeRouterPolicyUnauthorized creates UpdateEdgeRouterPolicyUnauthorized with default headers values
func (*UpdateEdgeRouterPolicyUnauthorized) SetPayload ¶
func (o *UpdateEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update edge router policy unauthorized response
func (*UpdateEdgeRouterPolicyUnauthorized) WithPayload ¶
func (o *UpdateEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateEdgeRouterPolicyUnauthorized
WithPayload adds the payload to the update edge router policy unauthorized response
func (*UpdateEdgeRouterPolicyUnauthorized) WriteResponse ¶
func (o *UpdateEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_edge_router_policy.go
- create_edge_router_policy_parameters.go
- create_edge_router_policy_responses.go
- create_edge_router_policy_urlbuilder.go
- delete_edge_router_policy.go
- delete_edge_router_policy_parameters.go
- delete_edge_router_policy_responses.go
- delete_edge_router_policy_urlbuilder.go
- detail_edge_router_policy.go
- detail_edge_router_policy_parameters.go
- detail_edge_router_policy_responses.go
- detail_edge_router_policy_urlbuilder.go
- list_edge_router_policies.go
- list_edge_router_policies_parameters.go
- list_edge_router_policies_responses.go
- list_edge_router_policies_urlbuilder.go
- list_edge_router_policy_edge_routers.go
- list_edge_router_policy_edge_routers_parameters.go
- list_edge_router_policy_edge_routers_responses.go
- list_edge_router_policy_edge_routers_urlbuilder.go
- list_edge_router_policy_identities.go
- list_edge_router_policy_identities_parameters.go
- list_edge_router_policy_identities_responses.go
- list_edge_router_policy_identities_urlbuilder.go
- patch_edge_router_policy.go
- patch_edge_router_policy_parameters.go
- patch_edge_router_policy_responses.go
- patch_edge_router_policy_urlbuilder.go
- update_edge_router_policy.go
- update_edge_router_policy_parameters.go
- update_edge_router_policy_responses.go
- update_edge_router_policy_urlbuilder.go