Documentation ¶
Index ¶
- Constants
- type CreateServiceEdgeRouterPolicy
- type CreateServiceEdgeRouterPolicyBadRequest
- func (o *CreateServiceEdgeRouterPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateServiceEdgeRouterPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateServiceEdgeRouterPolicyBadRequest
- func (o *CreateServiceEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateServiceEdgeRouterPolicyCreated
- func (o *CreateServiceEdgeRouterPolicyCreated) SetPayload(payload *rest_model.CreateEnvelope)
- func (o *CreateServiceEdgeRouterPolicyCreated) WithPayload(payload *rest_model.CreateEnvelope) *CreateServiceEdgeRouterPolicyCreated
- func (o *CreateServiceEdgeRouterPolicyCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateServiceEdgeRouterPolicyHandler
- type CreateServiceEdgeRouterPolicyHandlerFunc
- type CreateServiceEdgeRouterPolicyParams
- type CreateServiceEdgeRouterPolicyURL
- func (o *CreateServiceEdgeRouterPolicyURL) Build() (*url.URL, error)
- func (o *CreateServiceEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateServiceEdgeRouterPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateServiceEdgeRouterPolicyURL) SetBasePath(bp string)
- func (o *CreateServiceEdgeRouterPolicyURL) String() string
- func (o *CreateServiceEdgeRouterPolicyURL) StringFull(scheme, host string) string
- func (o *CreateServiceEdgeRouterPolicyURL) WithBasePath(bp string) *CreateServiceEdgeRouterPolicyURL
- type CreateServiceEdgeRouterPolicyUnauthorized
- func (o *CreateServiceEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateServiceEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateServiceEdgeRouterPolicyUnauthorized
- func (o *CreateServiceEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteServiceEdgeRouterPolicy
- type DeleteServiceEdgeRouterPolicyBadRequest
- func (o *DeleteServiceEdgeRouterPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteServiceEdgeRouterPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServiceEdgeRouterPolicyBadRequest
- func (o *DeleteServiceEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteServiceEdgeRouterPolicyConflict
- func (o *DeleteServiceEdgeRouterPolicyConflict) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteServiceEdgeRouterPolicyConflict) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServiceEdgeRouterPolicyConflict
- func (o *DeleteServiceEdgeRouterPolicyConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteServiceEdgeRouterPolicyHandler
- type DeleteServiceEdgeRouterPolicyHandlerFunc
- type DeleteServiceEdgeRouterPolicyOK
- func (o *DeleteServiceEdgeRouterPolicyOK) SetPayload(payload *rest_model.Empty)
- func (o *DeleteServiceEdgeRouterPolicyOK) WithPayload(payload *rest_model.Empty) *DeleteServiceEdgeRouterPolicyOK
- func (o *DeleteServiceEdgeRouterPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteServiceEdgeRouterPolicyParams
- type DeleteServiceEdgeRouterPolicyURL
- func (o *DeleteServiceEdgeRouterPolicyURL) Build() (*url.URL, error)
- func (o *DeleteServiceEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteServiceEdgeRouterPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteServiceEdgeRouterPolicyURL) SetBasePath(bp string)
- func (o *DeleteServiceEdgeRouterPolicyURL) String() string
- func (o *DeleteServiceEdgeRouterPolicyURL) StringFull(scheme, host string) string
- func (o *DeleteServiceEdgeRouterPolicyURL) WithBasePath(bp string) *DeleteServiceEdgeRouterPolicyURL
- type DeleteServiceEdgeRouterPolicyUnauthorized
- func (o *DeleteServiceEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteServiceEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServiceEdgeRouterPolicyUnauthorized
- func (o *DeleteServiceEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailServiceEdgeRouterPolicy
- type DetailServiceEdgeRouterPolicyHandler
- type DetailServiceEdgeRouterPolicyHandlerFunc
- type DetailServiceEdgeRouterPolicyNotFound
- func (o *DetailServiceEdgeRouterPolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailServiceEdgeRouterPolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailServiceEdgeRouterPolicyNotFound
- func (o *DetailServiceEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailServiceEdgeRouterPolicyOK
- func (o *DetailServiceEdgeRouterPolicyOK) SetPayload(payload *rest_model.DetailServiceEdgePolicyEnvelope)
- func (o *DetailServiceEdgeRouterPolicyOK) WithPayload(payload *rest_model.DetailServiceEdgePolicyEnvelope) *DetailServiceEdgeRouterPolicyOK
- func (o *DetailServiceEdgeRouterPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailServiceEdgeRouterPolicyParams
- type DetailServiceEdgeRouterPolicyURL
- func (o *DetailServiceEdgeRouterPolicyURL) Build() (*url.URL, error)
- func (o *DetailServiceEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DetailServiceEdgeRouterPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *DetailServiceEdgeRouterPolicyURL) SetBasePath(bp string)
- func (o *DetailServiceEdgeRouterPolicyURL) String() string
- func (o *DetailServiceEdgeRouterPolicyURL) StringFull(scheme, host string) string
- func (o *DetailServiceEdgeRouterPolicyURL) WithBasePath(bp string) *DetailServiceEdgeRouterPolicyURL
- type DetailServiceEdgeRouterPolicyUnauthorized
- func (o *DetailServiceEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailServiceEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailServiceEdgeRouterPolicyUnauthorized
- func (o *DetailServiceEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceEdgeRouterPolicies
- type ListServiceEdgeRouterPoliciesBadRequest
- func (o *ListServiceEdgeRouterPoliciesBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceEdgeRouterPoliciesBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRouterPoliciesBadRequest
- func (o *ListServiceEdgeRouterPoliciesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceEdgeRouterPoliciesHandler
- type ListServiceEdgeRouterPoliciesHandlerFunc
- type ListServiceEdgeRouterPoliciesOK
- func (o *ListServiceEdgeRouterPoliciesOK) SetPayload(payload *rest_model.ListServiceEdgeRouterPoliciesEnvelope)
- func (o *ListServiceEdgeRouterPoliciesOK) WithPayload(payload *rest_model.ListServiceEdgeRouterPoliciesEnvelope) *ListServiceEdgeRouterPoliciesOK
- func (o *ListServiceEdgeRouterPoliciesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceEdgeRouterPoliciesParams
- type ListServiceEdgeRouterPoliciesURL
- func (o *ListServiceEdgeRouterPoliciesURL) Build() (*url.URL, error)
- func (o *ListServiceEdgeRouterPoliciesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListServiceEdgeRouterPoliciesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListServiceEdgeRouterPoliciesURL) SetBasePath(bp string)
- func (o *ListServiceEdgeRouterPoliciesURL) String() string
- func (o *ListServiceEdgeRouterPoliciesURL) StringFull(scheme, host string) string
- func (o *ListServiceEdgeRouterPoliciesURL) WithBasePath(bp string) *ListServiceEdgeRouterPoliciesURL
- type ListServiceEdgeRouterPoliciesUnauthorized
- func (o *ListServiceEdgeRouterPoliciesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceEdgeRouterPoliciesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRouterPoliciesUnauthorized
- func (o *ListServiceEdgeRouterPoliciesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceEdgeRouterPolicyEdgeRouters
- type ListServiceEdgeRouterPolicyEdgeRoutersHandler
- type ListServiceEdgeRouterPolicyEdgeRoutersHandlerFunc
- type ListServiceEdgeRouterPolicyEdgeRoutersNotFound
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRouterPolicyEdgeRoutersNotFound
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceEdgeRouterPolicyEdgeRoutersOK
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersOK) SetPayload(payload *rest_model.ListEdgeRoutersEnvelope)
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersOK) WithPayload(payload *rest_model.ListEdgeRoutersEnvelope) *ListServiceEdgeRouterPolicyEdgeRoutersOK
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceEdgeRouterPolicyEdgeRoutersParams
- type ListServiceEdgeRouterPolicyEdgeRoutersURL
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersURL) Build() (*url.URL, error)
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersURL) Must(u *url.URL, err error) *url.URL
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersURL) SetBasePath(bp string)
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersURL) String() string
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersURL) StringFull(scheme, host string) string
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersURL) WithBasePath(bp string) *ListServiceEdgeRouterPolicyEdgeRoutersURL
- type ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized
- func (o *ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceEdgeRouterPolicyServices
- type ListServiceEdgeRouterPolicyServicesHandler
- type ListServiceEdgeRouterPolicyServicesHandlerFunc
- type ListServiceEdgeRouterPolicyServicesNotFound
- func (o *ListServiceEdgeRouterPolicyServicesNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceEdgeRouterPolicyServicesNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRouterPolicyServicesNotFound
- func (o *ListServiceEdgeRouterPolicyServicesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceEdgeRouterPolicyServicesOK
- func (o *ListServiceEdgeRouterPolicyServicesOK) SetPayload(payload *rest_model.ListServicesEnvelope)
- func (o *ListServiceEdgeRouterPolicyServicesOK) WithPayload(payload *rest_model.ListServicesEnvelope) *ListServiceEdgeRouterPolicyServicesOK
- func (o *ListServiceEdgeRouterPolicyServicesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceEdgeRouterPolicyServicesParams
- type ListServiceEdgeRouterPolicyServicesURL
- func (o *ListServiceEdgeRouterPolicyServicesURL) Build() (*url.URL, error)
- func (o *ListServiceEdgeRouterPolicyServicesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListServiceEdgeRouterPolicyServicesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListServiceEdgeRouterPolicyServicesURL) SetBasePath(bp string)
- func (o *ListServiceEdgeRouterPolicyServicesURL) String() string
- func (o *ListServiceEdgeRouterPolicyServicesURL) StringFull(scheme, host string) string
- func (o *ListServiceEdgeRouterPolicyServicesURL) WithBasePath(bp string) *ListServiceEdgeRouterPolicyServicesURL
- type ListServiceEdgeRouterPolicyServicesUnauthorized
- func (o *ListServiceEdgeRouterPolicyServicesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceEdgeRouterPolicyServicesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRouterPolicyServicesUnauthorized
- func (o *ListServiceEdgeRouterPolicyServicesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchServiceEdgeRouterPolicy
- type PatchServiceEdgeRouterPolicyBadRequest
- func (o *PatchServiceEdgeRouterPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchServiceEdgeRouterPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServiceEdgeRouterPolicyBadRequest
- func (o *PatchServiceEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchServiceEdgeRouterPolicyHandler
- type PatchServiceEdgeRouterPolicyHandlerFunc
- type PatchServiceEdgeRouterPolicyNotFound
- func (o *PatchServiceEdgeRouterPolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchServiceEdgeRouterPolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServiceEdgeRouterPolicyNotFound
- func (o *PatchServiceEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchServiceEdgeRouterPolicyOK
- type PatchServiceEdgeRouterPolicyParams
- type PatchServiceEdgeRouterPolicyURL
- func (o *PatchServiceEdgeRouterPolicyURL) Build() (*url.URL, error)
- func (o *PatchServiceEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchServiceEdgeRouterPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchServiceEdgeRouterPolicyURL) SetBasePath(bp string)
- func (o *PatchServiceEdgeRouterPolicyURL) String() string
- func (o *PatchServiceEdgeRouterPolicyURL) StringFull(scheme, host string) string
- func (o *PatchServiceEdgeRouterPolicyURL) WithBasePath(bp string) *PatchServiceEdgeRouterPolicyURL
- type PatchServiceEdgeRouterPolicyUnauthorized
- func (o *PatchServiceEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchServiceEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServiceEdgeRouterPolicyUnauthorized
- func (o *PatchServiceEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceEdgeRouterPolicy
- type UpdateServiceEdgeRouterPolicyBadRequest
- func (o *UpdateServiceEdgeRouterPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateServiceEdgeRouterPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServiceEdgeRouterPolicyBadRequest
- func (o *UpdateServiceEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceEdgeRouterPolicyHandler
- type UpdateServiceEdgeRouterPolicyHandlerFunc
- type UpdateServiceEdgeRouterPolicyNotFound
- func (o *UpdateServiceEdgeRouterPolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateServiceEdgeRouterPolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServiceEdgeRouterPolicyNotFound
- func (o *UpdateServiceEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceEdgeRouterPolicyOK
- func (o *UpdateServiceEdgeRouterPolicyOK) SetPayload(payload *rest_model.Empty)
- func (o *UpdateServiceEdgeRouterPolicyOK) WithPayload(payload *rest_model.Empty) *UpdateServiceEdgeRouterPolicyOK
- func (o *UpdateServiceEdgeRouterPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceEdgeRouterPolicyParams
- type UpdateServiceEdgeRouterPolicyURL
- func (o *UpdateServiceEdgeRouterPolicyURL) Build() (*url.URL, error)
- func (o *UpdateServiceEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateServiceEdgeRouterPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateServiceEdgeRouterPolicyURL) SetBasePath(bp string)
- func (o *UpdateServiceEdgeRouterPolicyURL) String() string
- func (o *UpdateServiceEdgeRouterPolicyURL) StringFull(scheme, host string) string
- func (o *UpdateServiceEdgeRouterPolicyURL) WithBasePath(bp string) *UpdateServiceEdgeRouterPolicyURL
- type UpdateServiceEdgeRouterPolicyUnauthorized
- func (o *UpdateServiceEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateServiceEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServiceEdgeRouterPolicyUnauthorized
- func (o *UpdateServiceEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const CreateServiceEdgeRouterPolicyBadRequestCode int = 400
CreateServiceEdgeRouterPolicyBadRequestCode is the HTTP code returned for type CreateServiceEdgeRouterPolicyBadRequest
const CreateServiceEdgeRouterPolicyCreatedCode int = 201
CreateServiceEdgeRouterPolicyCreatedCode is the HTTP code returned for type CreateServiceEdgeRouterPolicyCreated
CreateServiceEdgeRouterPolicyUnauthorizedCode is the HTTP code returned for type CreateServiceEdgeRouterPolicyUnauthorized
const DeleteServiceEdgeRouterPolicyBadRequestCode int = 400
DeleteServiceEdgeRouterPolicyBadRequestCode is the HTTP code returned for type DeleteServiceEdgeRouterPolicyBadRequest
const DeleteServiceEdgeRouterPolicyConflictCode int = 409
DeleteServiceEdgeRouterPolicyConflictCode is the HTTP code returned for type DeleteServiceEdgeRouterPolicyConflict
const DeleteServiceEdgeRouterPolicyOKCode int = 200
DeleteServiceEdgeRouterPolicyOKCode is the HTTP code returned for type DeleteServiceEdgeRouterPolicyOK
DeleteServiceEdgeRouterPolicyUnauthorizedCode is the HTTP code returned for type DeleteServiceEdgeRouterPolicyUnauthorized
const DetailServiceEdgeRouterPolicyNotFoundCode int = 404
DetailServiceEdgeRouterPolicyNotFoundCode is the HTTP code returned for type DetailServiceEdgeRouterPolicyNotFound
const DetailServiceEdgeRouterPolicyOKCode int = 200
DetailServiceEdgeRouterPolicyOKCode is the HTTP code returned for type DetailServiceEdgeRouterPolicyOK
DetailServiceEdgeRouterPolicyUnauthorizedCode is the HTTP code returned for type DetailServiceEdgeRouterPolicyUnauthorized
const ListServiceEdgeRouterPoliciesBadRequestCode int = 400
ListServiceEdgeRouterPoliciesBadRequestCode is the HTTP code returned for type ListServiceEdgeRouterPoliciesBadRequest
const ListServiceEdgeRouterPoliciesOKCode int = 200
ListServiceEdgeRouterPoliciesOKCode is the HTTP code returned for type ListServiceEdgeRouterPoliciesOK
ListServiceEdgeRouterPoliciesUnauthorizedCode is the HTTP code returned for type ListServiceEdgeRouterPoliciesUnauthorized
const ListServiceEdgeRouterPolicyEdgeRoutersNotFoundCode int = 404
ListServiceEdgeRouterPolicyEdgeRoutersNotFoundCode is the HTTP code returned for type ListServiceEdgeRouterPolicyEdgeRoutersNotFound
const ListServiceEdgeRouterPolicyEdgeRoutersOKCode int = 200
ListServiceEdgeRouterPolicyEdgeRoutersOKCode is the HTTP code returned for type ListServiceEdgeRouterPolicyEdgeRoutersOK
ListServiceEdgeRouterPolicyEdgeRoutersUnauthorizedCode is the HTTP code returned for type ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized
const ListServiceEdgeRouterPolicyServicesNotFoundCode int = 404
ListServiceEdgeRouterPolicyServicesNotFoundCode is the HTTP code returned for type ListServiceEdgeRouterPolicyServicesNotFound
const ListServiceEdgeRouterPolicyServicesOKCode int = 200
ListServiceEdgeRouterPolicyServicesOKCode is the HTTP code returned for type ListServiceEdgeRouterPolicyServicesOK
ListServiceEdgeRouterPolicyServicesUnauthorizedCode is the HTTP code returned for type ListServiceEdgeRouterPolicyServicesUnauthorized
const PatchServiceEdgeRouterPolicyBadRequestCode int = 400
PatchServiceEdgeRouterPolicyBadRequestCode is the HTTP code returned for type PatchServiceEdgeRouterPolicyBadRequest
const PatchServiceEdgeRouterPolicyNotFoundCode int = 404
PatchServiceEdgeRouterPolicyNotFoundCode is the HTTP code returned for type PatchServiceEdgeRouterPolicyNotFound
const PatchServiceEdgeRouterPolicyOKCode int = 200
PatchServiceEdgeRouterPolicyOKCode is the HTTP code returned for type PatchServiceEdgeRouterPolicyOK
PatchServiceEdgeRouterPolicyUnauthorizedCode is the HTTP code returned for type PatchServiceEdgeRouterPolicyUnauthorized
const UpdateServiceEdgeRouterPolicyBadRequestCode int = 400
UpdateServiceEdgeRouterPolicyBadRequestCode is the HTTP code returned for type UpdateServiceEdgeRouterPolicyBadRequest
const UpdateServiceEdgeRouterPolicyNotFoundCode int = 404
UpdateServiceEdgeRouterPolicyNotFoundCode is the HTTP code returned for type UpdateServiceEdgeRouterPolicyNotFound
const UpdateServiceEdgeRouterPolicyOKCode int = 200
UpdateServiceEdgeRouterPolicyOKCode is the HTTP code returned for type UpdateServiceEdgeRouterPolicyOK
UpdateServiceEdgeRouterPolicyUnauthorizedCode is the HTTP code returned for type UpdateServiceEdgeRouterPolicyUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateServiceEdgeRouterPolicy ¶
type CreateServiceEdgeRouterPolicy struct { Context *middleware.Context Handler CreateServiceEdgeRouterPolicyHandler }
CreateServiceEdgeRouterPolicy swagger:route POST /service-edge-router-policies Service Edge Router Policy createServiceEdgeRouterPolicy
Create a service edge router policy resource ¶
Create a service edge router policy resource. Requires admin access.
func NewCreateServiceEdgeRouterPolicy ¶
func NewCreateServiceEdgeRouterPolicy(ctx *middleware.Context, handler CreateServiceEdgeRouterPolicyHandler) *CreateServiceEdgeRouterPolicy
NewCreateServiceEdgeRouterPolicy creates a new http.Handler for the create service edge router policy operation
func (*CreateServiceEdgeRouterPolicy) ServeHTTP ¶
func (o *CreateServiceEdgeRouterPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateServiceEdgeRouterPolicyBadRequest ¶
type CreateServiceEdgeRouterPolicyBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
CreateServiceEdgeRouterPolicyBadRequest 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 createServiceEdgeRouterPolicyBadRequest
func NewCreateServiceEdgeRouterPolicyBadRequest ¶
func NewCreateServiceEdgeRouterPolicyBadRequest() *CreateServiceEdgeRouterPolicyBadRequest
NewCreateServiceEdgeRouterPolicyBadRequest creates CreateServiceEdgeRouterPolicyBadRequest with default headers values
func (*CreateServiceEdgeRouterPolicyBadRequest) SetPayload ¶
func (o *CreateServiceEdgeRouterPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create service edge router policy bad request response
func (*CreateServiceEdgeRouterPolicyBadRequest) WithPayload ¶
func (o *CreateServiceEdgeRouterPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateServiceEdgeRouterPolicyBadRequest
WithPayload adds the payload to the create service edge router policy bad request response
func (*CreateServiceEdgeRouterPolicyBadRequest) WriteResponse ¶
func (o *CreateServiceEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceEdgeRouterPolicyCreated ¶
type CreateServiceEdgeRouterPolicyCreated struct { /* In: Body */ Payload *rest_model.CreateEnvelope `json:"body,omitempty"` }
CreateServiceEdgeRouterPolicyCreated The create request was successful and the resource has been added at the following location
swagger:response createServiceEdgeRouterPolicyCreated
func NewCreateServiceEdgeRouterPolicyCreated ¶
func NewCreateServiceEdgeRouterPolicyCreated() *CreateServiceEdgeRouterPolicyCreated
NewCreateServiceEdgeRouterPolicyCreated creates CreateServiceEdgeRouterPolicyCreated with default headers values
func (*CreateServiceEdgeRouterPolicyCreated) SetPayload ¶
func (o *CreateServiceEdgeRouterPolicyCreated) SetPayload(payload *rest_model.CreateEnvelope)
SetPayload sets the payload to the create service edge router policy created response
func (*CreateServiceEdgeRouterPolicyCreated) WithPayload ¶
func (o *CreateServiceEdgeRouterPolicyCreated) WithPayload(payload *rest_model.CreateEnvelope) *CreateServiceEdgeRouterPolicyCreated
WithPayload adds the payload to the create service edge router policy created response
func (*CreateServiceEdgeRouterPolicyCreated) WriteResponse ¶
func (o *CreateServiceEdgeRouterPolicyCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceEdgeRouterPolicyHandler ¶
type CreateServiceEdgeRouterPolicyHandler interface {
Handle(CreateServiceEdgeRouterPolicyParams, interface{}) middleware.Responder
}
CreateServiceEdgeRouterPolicyHandler interface for that can handle valid create service edge router policy params
type CreateServiceEdgeRouterPolicyHandlerFunc ¶
type CreateServiceEdgeRouterPolicyHandlerFunc func(CreateServiceEdgeRouterPolicyParams, interface{}) middleware.Responder
CreateServiceEdgeRouterPolicyHandlerFunc turns a function with the right signature into a create service edge router policy handler
func (CreateServiceEdgeRouterPolicyHandlerFunc) Handle ¶
func (fn CreateServiceEdgeRouterPolicyHandlerFunc) Handle(params CreateServiceEdgeRouterPolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreateServiceEdgeRouterPolicyParams ¶
type CreateServiceEdgeRouterPolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A service edge router policy to create Required: true In: body */ Policy *rest_model.ServiceEdgeRouterPolicyCreate }
CreateServiceEdgeRouterPolicyParams contains all the bound params for the create service edge router policy operation typically these are obtained from a http.Request
swagger:parameters createServiceEdgeRouterPolicy
func NewCreateServiceEdgeRouterPolicyParams ¶
func NewCreateServiceEdgeRouterPolicyParams() CreateServiceEdgeRouterPolicyParams
NewCreateServiceEdgeRouterPolicyParams creates a new CreateServiceEdgeRouterPolicyParams object
There are no default values defined in the spec.
func (*CreateServiceEdgeRouterPolicyParams) BindRequest ¶
func (o *CreateServiceEdgeRouterPolicyParams) 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 NewCreateServiceEdgeRouterPolicyParams() beforehand.
type CreateServiceEdgeRouterPolicyURL ¶
type CreateServiceEdgeRouterPolicyURL struct {
// contains filtered or unexported fields
}
CreateServiceEdgeRouterPolicyURL generates an URL for the create service edge router policy operation
func (*CreateServiceEdgeRouterPolicyURL) Build ¶
func (o *CreateServiceEdgeRouterPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateServiceEdgeRouterPolicyURL) BuildFull ¶
func (o *CreateServiceEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateServiceEdgeRouterPolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateServiceEdgeRouterPolicyURL) SetBasePath ¶
func (o *CreateServiceEdgeRouterPolicyURL) 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 (*CreateServiceEdgeRouterPolicyURL) String ¶
func (o *CreateServiceEdgeRouterPolicyURL) String() string
String returns the string representation of the path with query string
func (*CreateServiceEdgeRouterPolicyURL) StringFull ¶
func (o *CreateServiceEdgeRouterPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateServiceEdgeRouterPolicyURL) WithBasePath ¶
func (o *CreateServiceEdgeRouterPolicyURL) WithBasePath(bp string) *CreateServiceEdgeRouterPolicyURL
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 CreateServiceEdgeRouterPolicyUnauthorized ¶
type CreateServiceEdgeRouterPolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
CreateServiceEdgeRouterPolicyUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response createServiceEdgeRouterPolicyUnauthorized
func NewCreateServiceEdgeRouterPolicyUnauthorized ¶
func NewCreateServiceEdgeRouterPolicyUnauthorized() *CreateServiceEdgeRouterPolicyUnauthorized
NewCreateServiceEdgeRouterPolicyUnauthorized creates CreateServiceEdgeRouterPolicyUnauthorized with default headers values
func (*CreateServiceEdgeRouterPolicyUnauthorized) SetPayload ¶
func (o *CreateServiceEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create service edge router policy unauthorized response
func (*CreateServiceEdgeRouterPolicyUnauthorized) WithPayload ¶
func (o *CreateServiceEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateServiceEdgeRouterPolicyUnauthorized
WithPayload adds the payload to the create service edge router policy unauthorized response
func (*CreateServiceEdgeRouterPolicyUnauthorized) WriteResponse ¶
func (o *CreateServiceEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceEdgeRouterPolicy ¶
type DeleteServiceEdgeRouterPolicy struct { Context *middleware.Context Handler DeleteServiceEdgeRouterPolicyHandler }
DeleteServiceEdgeRouterPolicy swagger:route DELETE /service-edge-router-policies/{id} Service Edge Router Policy deleteServiceEdgeRouterPolicy
Delete a service edge policy ¶
Delete a service edge policy by id. Requires admin access.
func NewDeleteServiceEdgeRouterPolicy ¶
func NewDeleteServiceEdgeRouterPolicy(ctx *middleware.Context, handler DeleteServiceEdgeRouterPolicyHandler) *DeleteServiceEdgeRouterPolicy
NewDeleteServiceEdgeRouterPolicy creates a new http.Handler for the delete service edge router policy operation
func (*DeleteServiceEdgeRouterPolicy) ServeHTTP ¶
func (o *DeleteServiceEdgeRouterPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteServiceEdgeRouterPolicyBadRequest ¶
type DeleteServiceEdgeRouterPolicyBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteServiceEdgeRouterPolicyBadRequest 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 deleteServiceEdgeRouterPolicyBadRequest
func NewDeleteServiceEdgeRouterPolicyBadRequest ¶
func NewDeleteServiceEdgeRouterPolicyBadRequest() *DeleteServiceEdgeRouterPolicyBadRequest
NewDeleteServiceEdgeRouterPolicyBadRequest creates DeleteServiceEdgeRouterPolicyBadRequest with default headers values
func (*DeleteServiceEdgeRouterPolicyBadRequest) SetPayload ¶
func (o *DeleteServiceEdgeRouterPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete service edge router policy bad request response
func (*DeleteServiceEdgeRouterPolicyBadRequest) WithPayload ¶
func (o *DeleteServiceEdgeRouterPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServiceEdgeRouterPolicyBadRequest
WithPayload adds the payload to the delete service edge router policy bad request response
func (*DeleteServiceEdgeRouterPolicyBadRequest) WriteResponse ¶
func (o *DeleteServiceEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceEdgeRouterPolicyConflict ¶
type DeleteServiceEdgeRouterPolicyConflict struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteServiceEdgeRouterPolicyConflict The resource requested to be removed/altered cannot be as it is referenced by another object.
swagger:response deleteServiceEdgeRouterPolicyConflict
func NewDeleteServiceEdgeRouterPolicyConflict ¶
func NewDeleteServiceEdgeRouterPolicyConflict() *DeleteServiceEdgeRouterPolicyConflict
NewDeleteServiceEdgeRouterPolicyConflict creates DeleteServiceEdgeRouterPolicyConflict with default headers values
func (*DeleteServiceEdgeRouterPolicyConflict) SetPayload ¶
func (o *DeleteServiceEdgeRouterPolicyConflict) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete service edge router policy conflict response
func (*DeleteServiceEdgeRouterPolicyConflict) WithPayload ¶
func (o *DeleteServiceEdgeRouterPolicyConflict) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServiceEdgeRouterPolicyConflict
WithPayload adds the payload to the delete service edge router policy conflict response
func (*DeleteServiceEdgeRouterPolicyConflict) WriteResponse ¶
func (o *DeleteServiceEdgeRouterPolicyConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceEdgeRouterPolicyHandler ¶
type DeleteServiceEdgeRouterPolicyHandler interface {
Handle(DeleteServiceEdgeRouterPolicyParams, interface{}) middleware.Responder
}
DeleteServiceEdgeRouterPolicyHandler interface for that can handle valid delete service edge router policy params
type DeleteServiceEdgeRouterPolicyHandlerFunc ¶
type DeleteServiceEdgeRouterPolicyHandlerFunc func(DeleteServiceEdgeRouterPolicyParams, interface{}) middleware.Responder
DeleteServiceEdgeRouterPolicyHandlerFunc turns a function with the right signature into a delete service edge router policy handler
func (DeleteServiceEdgeRouterPolicyHandlerFunc) Handle ¶
func (fn DeleteServiceEdgeRouterPolicyHandlerFunc) Handle(params DeleteServiceEdgeRouterPolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteServiceEdgeRouterPolicyOK ¶
type DeleteServiceEdgeRouterPolicyOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
DeleteServiceEdgeRouterPolicyOK The delete request was successful and the resource has been removed
swagger:response deleteServiceEdgeRouterPolicyOK
func NewDeleteServiceEdgeRouterPolicyOK ¶
func NewDeleteServiceEdgeRouterPolicyOK() *DeleteServiceEdgeRouterPolicyOK
NewDeleteServiceEdgeRouterPolicyOK creates DeleteServiceEdgeRouterPolicyOK with default headers values
func (*DeleteServiceEdgeRouterPolicyOK) SetPayload ¶
func (o *DeleteServiceEdgeRouterPolicyOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the delete service edge router policy o k response
func (*DeleteServiceEdgeRouterPolicyOK) WithPayload ¶
func (o *DeleteServiceEdgeRouterPolicyOK) WithPayload(payload *rest_model.Empty) *DeleteServiceEdgeRouterPolicyOK
WithPayload adds the payload to the delete service edge router policy o k response
func (*DeleteServiceEdgeRouterPolicyOK) WriteResponse ¶
func (o *DeleteServiceEdgeRouterPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceEdgeRouterPolicyParams ¶
type DeleteServiceEdgeRouterPolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DeleteServiceEdgeRouterPolicyParams contains all the bound params for the delete service edge router policy operation typically these are obtained from a http.Request
swagger:parameters deleteServiceEdgeRouterPolicy
func NewDeleteServiceEdgeRouterPolicyParams ¶
func NewDeleteServiceEdgeRouterPolicyParams() DeleteServiceEdgeRouterPolicyParams
NewDeleteServiceEdgeRouterPolicyParams creates a new DeleteServiceEdgeRouterPolicyParams object
There are no default values defined in the spec.
func (*DeleteServiceEdgeRouterPolicyParams) BindRequest ¶
func (o *DeleteServiceEdgeRouterPolicyParams) 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 NewDeleteServiceEdgeRouterPolicyParams() beforehand.
type DeleteServiceEdgeRouterPolicyURL ¶
type DeleteServiceEdgeRouterPolicyURL struct { ID string // contains filtered or unexported fields }
DeleteServiceEdgeRouterPolicyURL generates an URL for the delete service edge router policy operation
func (*DeleteServiceEdgeRouterPolicyURL) Build ¶
func (o *DeleteServiceEdgeRouterPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteServiceEdgeRouterPolicyURL) BuildFull ¶
func (o *DeleteServiceEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteServiceEdgeRouterPolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteServiceEdgeRouterPolicyURL) SetBasePath ¶
func (o *DeleteServiceEdgeRouterPolicyURL) 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 (*DeleteServiceEdgeRouterPolicyURL) String ¶
func (o *DeleteServiceEdgeRouterPolicyURL) String() string
String returns the string representation of the path with query string
func (*DeleteServiceEdgeRouterPolicyURL) StringFull ¶
func (o *DeleteServiceEdgeRouterPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteServiceEdgeRouterPolicyURL) WithBasePath ¶
func (o *DeleteServiceEdgeRouterPolicyURL) WithBasePath(bp string) *DeleteServiceEdgeRouterPolicyURL
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 DeleteServiceEdgeRouterPolicyUnauthorized ¶
type DeleteServiceEdgeRouterPolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DeleteServiceEdgeRouterPolicyUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response deleteServiceEdgeRouterPolicyUnauthorized
func NewDeleteServiceEdgeRouterPolicyUnauthorized ¶
func NewDeleteServiceEdgeRouterPolicyUnauthorized() *DeleteServiceEdgeRouterPolicyUnauthorized
NewDeleteServiceEdgeRouterPolicyUnauthorized creates DeleteServiceEdgeRouterPolicyUnauthorized with default headers values
func (*DeleteServiceEdgeRouterPolicyUnauthorized) SetPayload ¶
func (o *DeleteServiceEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete service edge router policy unauthorized response
func (*DeleteServiceEdgeRouterPolicyUnauthorized) WithPayload ¶
func (o *DeleteServiceEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServiceEdgeRouterPolicyUnauthorized
WithPayload adds the payload to the delete service edge router policy unauthorized response
func (*DeleteServiceEdgeRouterPolicyUnauthorized) WriteResponse ¶
func (o *DeleteServiceEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailServiceEdgeRouterPolicy ¶
type DetailServiceEdgeRouterPolicy struct { Context *middleware.Context Handler DetailServiceEdgeRouterPolicyHandler }
DetailServiceEdgeRouterPolicy swagger:route GET /service-edge-router-policies/{id} Service Edge Router Policy detailServiceEdgeRouterPolicy
Retrieves a single service edge policy ¶
Retrieves a single service edge policy by id. Requires admin access.
func NewDetailServiceEdgeRouterPolicy ¶
func NewDetailServiceEdgeRouterPolicy(ctx *middleware.Context, handler DetailServiceEdgeRouterPolicyHandler) *DetailServiceEdgeRouterPolicy
NewDetailServiceEdgeRouterPolicy creates a new http.Handler for the detail service edge router policy operation
func (*DetailServiceEdgeRouterPolicy) ServeHTTP ¶
func (o *DetailServiceEdgeRouterPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DetailServiceEdgeRouterPolicyHandler ¶
type DetailServiceEdgeRouterPolicyHandler interface {
Handle(DetailServiceEdgeRouterPolicyParams, interface{}) middleware.Responder
}
DetailServiceEdgeRouterPolicyHandler interface for that can handle valid detail service edge router policy params
type DetailServiceEdgeRouterPolicyHandlerFunc ¶
type DetailServiceEdgeRouterPolicyHandlerFunc func(DetailServiceEdgeRouterPolicyParams, interface{}) middleware.Responder
DetailServiceEdgeRouterPolicyHandlerFunc turns a function with the right signature into a detail service edge router policy handler
func (DetailServiceEdgeRouterPolicyHandlerFunc) Handle ¶
func (fn DetailServiceEdgeRouterPolicyHandlerFunc) Handle(params DetailServiceEdgeRouterPolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DetailServiceEdgeRouterPolicyNotFound ¶
type DetailServiceEdgeRouterPolicyNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailServiceEdgeRouterPolicyNotFound The requested resource does not exist
swagger:response detailServiceEdgeRouterPolicyNotFound
func NewDetailServiceEdgeRouterPolicyNotFound ¶
func NewDetailServiceEdgeRouterPolicyNotFound() *DetailServiceEdgeRouterPolicyNotFound
NewDetailServiceEdgeRouterPolicyNotFound creates DetailServiceEdgeRouterPolicyNotFound with default headers values
func (*DetailServiceEdgeRouterPolicyNotFound) SetPayload ¶
func (o *DetailServiceEdgeRouterPolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail service edge router policy not found response
func (*DetailServiceEdgeRouterPolicyNotFound) WithPayload ¶
func (o *DetailServiceEdgeRouterPolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailServiceEdgeRouterPolicyNotFound
WithPayload adds the payload to the detail service edge router policy not found response
func (*DetailServiceEdgeRouterPolicyNotFound) WriteResponse ¶
func (o *DetailServiceEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailServiceEdgeRouterPolicyOK ¶
type DetailServiceEdgeRouterPolicyOK struct { /* In: Body */ Payload *rest_model.DetailServiceEdgePolicyEnvelope `json:"body,omitempty"` }
DetailServiceEdgeRouterPolicyOK A single service edge router policy
swagger:response detailServiceEdgeRouterPolicyOK
func NewDetailServiceEdgeRouterPolicyOK ¶
func NewDetailServiceEdgeRouterPolicyOK() *DetailServiceEdgeRouterPolicyOK
NewDetailServiceEdgeRouterPolicyOK creates DetailServiceEdgeRouterPolicyOK with default headers values
func (*DetailServiceEdgeRouterPolicyOK) SetPayload ¶
func (o *DetailServiceEdgeRouterPolicyOK) SetPayload(payload *rest_model.DetailServiceEdgePolicyEnvelope)
SetPayload sets the payload to the detail service edge router policy o k response
func (*DetailServiceEdgeRouterPolicyOK) WithPayload ¶
func (o *DetailServiceEdgeRouterPolicyOK) WithPayload(payload *rest_model.DetailServiceEdgePolicyEnvelope) *DetailServiceEdgeRouterPolicyOK
WithPayload adds the payload to the detail service edge router policy o k response
func (*DetailServiceEdgeRouterPolicyOK) WriteResponse ¶
func (o *DetailServiceEdgeRouterPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailServiceEdgeRouterPolicyParams ¶
type DetailServiceEdgeRouterPolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DetailServiceEdgeRouterPolicyParams contains all the bound params for the detail service edge router policy operation typically these are obtained from a http.Request
swagger:parameters detailServiceEdgeRouterPolicy
func NewDetailServiceEdgeRouterPolicyParams ¶
func NewDetailServiceEdgeRouterPolicyParams() DetailServiceEdgeRouterPolicyParams
NewDetailServiceEdgeRouterPolicyParams creates a new DetailServiceEdgeRouterPolicyParams object
There are no default values defined in the spec.
func (*DetailServiceEdgeRouterPolicyParams) BindRequest ¶
func (o *DetailServiceEdgeRouterPolicyParams) 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 NewDetailServiceEdgeRouterPolicyParams() beforehand.
type DetailServiceEdgeRouterPolicyURL ¶
type DetailServiceEdgeRouterPolicyURL struct { ID string // contains filtered or unexported fields }
DetailServiceEdgeRouterPolicyURL generates an URL for the detail service edge router policy operation
func (*DetailServiceEdgeRouterPolicyURL) Build ¶
func (o *DetailServiceEdgeRouterPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*DetailServiceEdgeRouterPolicyURL) BuildFull ¶
func (o *DetailServiceEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DetailServiceEdgeRouterPolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DetailServiceEdgeRouterPolicyURL) SetBasePath ¶
func (o *DetailServiceEdgeRouterPolicyURL) 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 (*DetailServiceEdgeRouterPolicyURL) String ¶
func (o *DetailServiceEdgeRouterPolicyURL) String() string
String returns the string representation of the path with query string
func (*DetailServiceEdgeRouterPolicyURL) StringFull ¶
func (o *DetailServiceEdgeRouterPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DetailServiceEdgeRouterPolicyURL) WithBasePath ¶
func (o *DetailServiceEdgeRouterPolicyURL) WithBasePath(bp string) *DetailServiceEdgeRouterPolicyURL
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 DetailServiceEdgeRouterPolicyUnauthorized ¶
type DetailServiceEdgeRouterPolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DetailServiceEdgeRouterPolicyUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response detailServiceEdgeRouterPolicyUnauthorized
func NewDetailServiceEdgeRouterPolicyUnauthorized ¶
func NewDetailServiceEdgeRouterPolicyUnauthorized() *DetailServiceEdgeRouterPolicyUnauthorized
NewDetailServiceEdgeRouterPolicyUnauthorized creates DetailServiceEdgeRouterPolicyUnauthorized with default headers values
func (*DetailServiceEdgeRouterPolicyUnauthorized) SetPayload ¶
func (o *DetailServiceEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail service edge router policy unauthorized response
func (*DetailServiceEdgeRouterPolicyUnauthorized) WithPayload ¶
func (o *DetailServiceEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailServiceEdgeRouterPolicyUnauthorized
WithPayload adds the payload to the detail service edge router policy unauthorized response
func (*DetailServiceEdgeRouterPolicyUnauthorized) WriteResponse ¶
func (o *DetailServiceEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceEdgeRouterPolicies ¶
type ListServiceEdgeRouterPolicies struct { Context *middleware.Context Handler ListServiceEdgeRouterPoliciesHandler }
ListServiceEdgeRouterPolicies swagger:route GET /service-edge-router-policies Service Edge Router Policy listServiceEdgeRouterPolicies
List service edge router policies ¶
Retrieves a list of service edge router policy resources; supports filtering, sorting, and pagination. Requires admin access.
func NewListServiceEdgeRouterPolicies ¶
func NewListServiceEdgeRouterPolicies(ctx *middleware.Context, handler ListServiceEdgeRouterPoliciesHandler) *ListServiceEdgeRouterPolicies
NewListServiceEdgeRouterPolicies creates a new http.Handler for the list service edge router policies operation
func (*ListServiceEdgeRouterPolicies) ServeHTTP ¶
func (o *ListServiceEdgeRouterPolicies) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListServiceEdgeRouterPoliciesBadRequest ¶
type ListServiceEdgeRouterPoliciesBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServiceEdgeRouterPoliciesBadRequest 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 listServiceEdgeRouterPoliciesBadRequest
func NewListServiceEdgeRouterPoliciesBadRequest ¶
func NewListServiceEdgeRouterPoliciesBadRequest() *ListServiceEdgeRouterPoliciesBadRequest
NewListServiceEdgeRouterPoliciesBadRequest creates ListServiceEdgeRouterPoliciesBadRequest with default headers values
func (*ListServiceEdgeRouterPoliciesBadRequest) SetPayload ¶
func (o *ListServiceEdgeRouterPoliciesBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service edge router policies bad request response
func (*ListServiceEdgeRouterPoliciesBadRequest) WithPayload ¶
func (o *ListServiceEdgeRouterPoliciesBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRouterPoliciesBadRequest
WithPayload adds the payload to the list service edge router policies bad request response
func (*ListServiceEdgeRouterPoliciesBadRequest) WriteResponse ¶
func (o *ListServiceEdgeRouterPoliciesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceEdgeRouterPoliciesHandler ¶
type ListServiceEdgeRouterPoliciesHandler interface {
Handle(ListServiceEdgeRouterPoliciesParams, interface{}) middleware.Responder
}
ListServiceEdgeRouterPoliciesHandler interface for that can handle valid list service edge router policies params
type ListServiceEdgeRouterPoliciesHandlerFunc ¶
type ListServiceEdgeRouterPoliciesHandlerFunc func(ListServiceEdgeRouterPoliciesParams, interface{}) middleware.Responder
ListServiceEdgeRouterPoliciesHandlerFunc turns a function with the right signature into a list service edge router policies handler
func (ListServiceEdgeRouterPoliciesHandlerFunc) Handle ¶
func (fn ListServiceEdgeRouterPoliciesHandlerFunc) Handle(params ListServiceEdgeRouterPoliciesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListServiceEdgeRouterPoliciesOK ¶
type ListServiceEdgeRouterPoliciesOK struct { /* In: Body */ Payload *rest_model.ListServiceEdgeRouterPoliciesEnvelope `json:"body,omitempty"` }
ListServiceEdgeRouterPoliciesOK A list of service edge router policies
swagger:response listServiceEdgeRouterPoliciesOK
func NewListServiceEdgeRouterPoliciesOK ¶
func NewListServiceEdgeRouterPoliciesOK() *ListServiceEdgeRouterPoliciesOK
NewListServiceEdgeRouterPoliciesOK creates ListServiceEdgeRouterPoliciesOK with default headers values
func (*ListServiceEdgeRouterPoliciesOK) SetPayload ¶
func (o *ListServiceEdgeRouterPoliciesOK) SetPayload(payload *rest_model.ListServiceEdgeRouterPoliciesEnvelope)
SetPayload sets the payload to the list service edge router policies o k response
func (*ListServiceEdgeRouterPoliciesOK) WithPayload ¶
func (o *ListServiceEdgeRouterPoliciesOK) WithPayload(payload *rest_model.ListServiceEdgeRouterPoliciesEnvelope) *ListServiceEdgeRouterPoliciesOK
WithPayload adds the payload to the list service edge router policies o k response
func (*ListServiceEdgeRouterPoliciesOK) WriteResponse ¶
func (o *ListServiceEdgeRouterPoliciesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceEdgeRouterPoliciesParams ¶
type ListServiceEdgeRouterPoliciesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListServiceEdgeRouterPoliciesParams contains all the bound params for the list service edge router policies operation typically these are obtained from a http.Request
swagger:parameters listServiceEdgeRouterPolicies
func NewListServiceEdgeRouterPoliciesParams ¶
func NewListServiceEdgeRouterPoliciesParams() ListServiceEdgeRouterPoliciesParams
NewListServiceEdgeRouterPoliciesParams creates a new ListServiceEdgeRouterPoliciesParams object
There are no default values defined in the spec.
func (*ListServiceEdgeRouterPoliciesParams) BindRequest ¶
func (o *ListServiceEdgeRouterPoliciesParams) 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 NewListServiceEdgeRouterPoliciesParams() beforehand.
type ListServiceEdgeRouterPoliciesURL ¶
type ListServiceEdgeRouterPoliciesURL struct { Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListServiceEdgeRouterPoliciesURL generates an URL for the list service edge router policies operation
func (*ListServiceEdgeRouterPoliciesURL) Build ¶
func (o *ListServiceEdgeRouterPoliciesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListServiceEdgeRouterPoliciesURL) BuildFull ¶
func (o *ListServiceEdgeRouterPoliciesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListServiceEdgeRouterPoliciesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListServiceEdgeRouterPoliciesURL) SetBasePath ¶
func (o *ListServiceEdgeRouterPoliciesURL) 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 (*ListServiceEdgeRouterPoliciesURL) String ¶
func (o *ListServiceEdgeRouterPoliciesURL) String() string
String returns the string representation of the path with query string
func (*ListServiceEdgeRouterPoliciesURL) StringFull ¶
func (o *ListServiceEdgeRouterPoliciesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListServiceEdgeRouterPoliciesURL) WithBasePath ¶
func (o *ListServiceEdgeRouterPoliciesURL) WithBasePath(bp string) *ListServiceEdgeRouterPoliciesURL
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 ListServiceEdgeRouterPoliciesUnauthorized ¶
type ListServiceEdgeRouterPoliciesUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListServiceEdgeRouterPoliciesUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response listServiceEdgeRouterPoliciesUnauthorized
func NewListServiceEdgeRouterPoliciesUnauthorized ¶
func NewListServiceEdgeRouterPoliciesUnauthorized() *ListServiceEdgeRouterPoliciesUnauthorized
NewListServiceEdgeRouterPoliciesUnauthorized creates ListServiceEdgeRouterPoliciesUnauthorized with default headers values
func (*ListServiceEdgeRouterPoliciesUnauthorized) SetPayload ¶
func (o *ListServiceEdgeRouterPoliciesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service edge router policies unauthorized response
func (*ListServiceEdgeRouterPoliciesUnauthorized) WithPayload ¶
func (o *ListServiceEdgeRouterPoliciesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRouterPoliciesUnauthorized
WithPayload adds the payload to the list service edge router policies unauthorized response
func (*ListServiceEdgeRouterPoliciesUnauthorized) WriteResponse ¶
func (o *ListServiceEdgeRouterPoliciesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceEdgeRouterPolicyEdgeRouters ¶
type ListServiceEdgeRouterPolicyEdgeRouters struct { Context *middleware.Context Handler ListServiceEdgeRouterPolicyEdgeRoutersHandler }
ListServiceEdgeRouterPolicyEdgeRouters swagger:route GET /service-edge-router-policies/{id}/edge-routers Service Edge Router Policy listServiceEdgeRouterPolicyEdgeRouters
List the edge routers that a service edge router policy applies to ¶
List the edge routers that a service edge router policy applies to
func NewListServiceEdgeRouterPolicyEdgeRouters ¶
func NewListServiceEdgeRouterPolicyEdgeRouters(ctx *middleware.Context, handler ListServiceEdgeRouterPolicyEdgeRoutersHandler) *ListServiceEdgeRouterPolicyEdgeRouters
NewListServiceEdgeRouterPolicyEdgeRouters creates a new http.Handler for the list service edge router policy edge routers operation
func (*ListServiceEdgeRouterPolicyEdgeRouters) ServeHTTP ¶
func (o *ListServiceEdgeRouterPolicyEdgeRouters) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListServiceEdgeRouterPolicyEdgeRoutersHandler ¶
type ListServiceEdgeRouterPolicyEdgeRoutersHandler interface {
Handle(ListServiceEdgeRouterPolicyEdgeRoutersParams, interface{}) middleware.Responder
}
ListServiceEdgeRouterPolicyEdgeRoutersHandler interface for that can handle valid list service edge router policy edge routers params
type ListServiceEdgeRouterPolicyEdgeRoutersHandlerFunc ¶
type ListServiceEdgeRouterPolicyEdgeRoutersHandlerFunc func(ListServiceEdgeRouterPolicyEdgeRoutersParams, interface{}) middleware.Responder
ListServiceEdgeRouterPolicyEdgeRoutersHandlerFunc turns a function with the right signature into a list service edge router policy edge routers handler
func (ListServiceEdgeRouterPolicyEdgeRoutersHandlerFunc) Handle ¶
func (fn ListServiceEdgeRouterPolicyEdgeRoutersHandlerFunc) Handle(params ListServiceEdgeRouterPolicyEdgeRoutersParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListServiceEdgeRouterPolicyEdgeRoutersNotFound ¶
type ListServiceEdgeRouterPolicyEdgeRoutersNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServiceEdgeRouterPolicyEdgeRoutersNotFound The requested resource does not exist
swagger:response listServiceEdgeRouterPolicyEdgeRoutersNotFound
func NewListServiceEdgeRouterPolicyEdgeRoutersNotFound ¶
func NewListServiceEdgeRouterPolicyEdgeRoutersNotFound() *ListServiceEdgeRouterPolicyEdgeRoutersNotFound
NewListServiceEdgeRouterPolicyEdgeRoutersNotFound creates ListServiceEdgeRouterPolicyEdgeRoutersNotFound with default headers values
func (*ListServiceEdgeRouterPolicyEdgeRoutersNotFound) SetPayload ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service edge router policy edge routers not found response
func (*ListServiceEdgeRouterPolicyEdgeRoutersNotFound) WithPayload ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRouterPolicyEdgeRoutersNotFound
WithPayload adds the payload to the list service edge router policy edge routers not found response
func (*ListServiceEdgeRouterPolicyEdgeRoutersNotFound) WriteResponse ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceEdgeRouterPolicyEdgeRoutersOK ¶
type ListServiceEdgeRouterPolicyEdgeRoutersOK struct { /* In: Body */ Payload *rest_model.ListEdgeRoutersEnvelope `json:"body,omitempty"` }
ListServiceEdgeRouterPolicyEdgeRoutersOK A list of edge routers
swagger:response listServiceEdgeRouterPolicyEdgeRoutersOK
func NewListServiceEdgeRouterPolicyEdgeRoutersOK ¶
func NewListServiceEdgeRouterPolicyEdgeRoutersOK() *ListServiceEdgeRouterPolicyEdgeRoutersOK
NewListServiceEdgeRouterPolicyEdgeRoutersOK creates ListServiceEdgeRouterPolicyEdgeRoutersOK with default headers values
func (*ListServiceEdgeRouterPolicyEdgeRoutersOK) SetPayload ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersOK) SetPayload(payload *rest_model.ListEdgeRoutersEnvelope)
SetPayload sets the payload to the list service edge router policy edge routers o k response
func (*ListServiceEdgeRouterPolicyEdgeRoutersOK) WithPayload ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersOK) WithPayload(payload *rest_model.ListEdgeRoutersEnvelope) *ListServiceEdgeRouterPolicyEdgeRoutersOK
WithPayload adds the payload to the list service edge router policy edge routers o k response
func (*ListServiceEdgeRouterPolicyEdgeRoutersOK) WriteResponse ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceEdgeRouterPolicyEdgeRoutersParams ¶
type ListServiceEdgeRouterPolicyEdgeRoutersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
ListServiceEdgeRouterPolicyEdgeRoutersParams contains all the bound params for the list service edge router policy edge routers operation typically these are obtained from a http.Request
swagger:parameters listServiceEdgeRouterPolicyEdgeRouters
func NewListServiceEdgeRouterPolicyEdgeRoutersParams ¶
func NewListServiceEdgeRouterPolicyEdgeRoutersParams() ListServiceEdgeRouterPolicyEdgeRoutersParams
NewListServiceEdgeRouterPolicyEdgeRoutersParams creates a new ListServiceEdgeRouterPolicyEdgeRoutersParams object
There are no default values defined in the spec.
func (*ListServiceEdgeRouterPolicyEdgeRoutersParams) BindRequest ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersParams) 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 NewListServiceEdgeRouterPolicyEdgeRoutersParams() beforehand.
type ListServiceEdgeRouterPolicyEdgeRoutersURL ¶
type ListServiceEdgeRouterPolicyEdgeRoutersURL struct { ID string // contains filtered or unexported fields }
ListServiceEdgeRouterPolicyEdgeRoutersURL generates an URL for the list service edge router policy edge routers operation
func (*ListServiceEdgeRouterPolicyEdgeRoutersURL) Build ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListServiceEdgeRouterPolicyEdgeRoutersURL) BuildFull ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListServiceEdgeRouterPolicyEdgeRoutersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListServiceEdgeRouterPolicyEdgeRoutersURL) SetBasePath ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersURL) 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 (*ListServiceEdgeRouterPolicyEdgeRoutersURL) String ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersURL) String() string
String returns the string representation of the path with query string
func (*ListServiceEdgeRouterPolicyEdgeRoutersURL) StringFull ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListServiceEdgeRouterPolicyEdgeRoutersURL) WithBasePath ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersURL) WithBasePath(bp string) *ListServiceEdgeRouterPolicyEdgeRoutersURL
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 ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized ¶
type ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response listServiceEdgeRouterPolicyEdgeRoutersUnauthorized
func NewListServiceEdgeRouterPolicyEdgeRoutersUnauthorized ¶
func NewListServiceEdgeRouterPolicyEdgeRoutersUnauthorized() *ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized
NewListServiceEdgeRouterPolicyEdgeRoutersUnauthorized creates ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized with default headers values
func (*ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized) SetPayload ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service edge router policy edge routers unauthorized response
func (*ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized) WithPayload ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized
WithPayload adds the payload to the list service edge router policy edge routers unauthorized response
func (*ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized) WriteResponse ¶
func (o *ListServiceEdgeRouterPolicyEdgeRoutersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceEdgeRouterPolicyServices ¶
type ListServiceEdgeRouterPolicyServices struct { Context *middleware.Context Handler ListServiceEdgeRouterPolicyServicesHandler }
ListServiceEdgeRouterPolicyServices swagger:route GET /service-edge-router-policies/{id}/services Service Edge Router Policy listServiceEdgeRouterPolicyServices
List the services that a service edge router policy applies to ¶
List the services that a service edge router policy applies to
func NewListServiceEdgeRouterPolicyServices ¶
func NewListServiceEdgeRouterPolicyServices(ctx *middleware.Context, handler ListServiceEdgeRouterPolicyServicesHandler) *ListServiceEdgeRouterPolicyServices
NewListServiceEdgeRouterPolicyServices creates a new http.Handler for the list service edge router policy services operation
func (*ListServiceEdgeRouterPolicyServices) ServeHTTP ¶
func (o *ListServiceEdgeRouterPolicyServices) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListServiceEdgeRouterPolicyServicesHandler ¶
type ListServiceEdgeRouterPolicyServicesHandler interface {
Handle(ListServiceEdgeRouterPolicyServicesParams, interface{}) middleware.Responder
}
ListServiceEdgeRouterPolicyServicesHandler interface for that can handle valid list service edge router policy services params
type ListServiceEdgeRouterPolicyServicesHandlerFunc ¶
type ListServiceEdgeRouterPolicyServicesHandlerFunc func(ListServiceEdgeRouterPolicyServicesParams, interface{}) middleware.Responder
ListServiceEdgeRouterPolicyServicesHandlerFunc turns a function with the right signature into a list service edge router policy services handler
func (ListServiceEdgeRouterPolicyServicesHandlerFunc) Handle ¶
func (fn ListServiceEdgeRouterPolicyServicesHandlerFunc) Handle(params ListServiceEdgeRouterPolicyServicesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListServiceEdgeRouterPolicyServicesNotFound ¶
type ListServiceEdgeRouterPolicyServicesNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServiceEdgeRouterPolicyServicesNotFound The requested resource does not exist
swagger:response listServiceEdgeRouterPolicyServicesNotFound
func NewListServiceEdgeRouterPolicyServicesNotFound ¶
func NewListServiceEdgeRouterPolicyServicesNotFound() *ListServiceEdgeRouterPolicyServicesNotFound
NewListServiceEdgeRouterPolicyServicesNotFound creates ListServiceEdgeRouterPolicyServicesNotFound with default headers values
func (*ListServiceEdgeRouterPolicyServicesNotFound) SetPayload ¶
func (o *ListServiceEdgeRouterPolicyServicesNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service edge router policy services not found response
func (*ListServiceEdgeRouterPolicyServicesNotFound) WithPayload ¶
func (o *ListServiceEdgeRouterPolicyServicesNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRouterPolicyServicesNotFound
WithPayload adds the payload to the list service edge router policy services not found response
func (*ListServiceEdgeRouterPolicyServicesNotFound) WriteResponse ¶
func (o *ListServiceEdgeRouterPolicyServicesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceEdgeRouterPolicyServicesOK ¶
type ListServiceEdgeRouterPolicyServicesOK struct { /* In: Body */ Payload *rest_model.ListServicesEnvelope `json:"body,omitempty"` }
ListServiceEdgeRouterPolicyServicesOK A list of services
swagger:response listServiceEdgeRouterPolicyServicesOK
func NewListServiceEdgeRouterPolicyServicesOK ¶
func NewListServiceEdgeRouterPolicyServicesOK() *ListServiceEdgeRouterPolicyServicesOK
NewListServiceEdgeRouterPolicyServicesOK creates ListServiceEdgeRouterPolicyServicesOK with default headers values
func (*ListServiceEdgeRouterPolicyServicesOK) SetPayload ¶
func (o *ListServiceEdgeRouterPolicyServicesOK) SetPayload(payload *rest_model.ListServicesEnvelope)
SetPayload sets the payload to the list service edge router policy services o k response
func (*ListServiceEdgeRouterPolicyServicesOK) WithPayload ¶
func (o *ListServiceEdgeRouterPolicyServicesOK) WithPayload(payload *rest_model.ListServicesEnvelope) *ListServiceEdgeRouterPolicyServicesOK
WithPayload adds the payload to the list service edge router policy services o k response
func (*ListServiceEdgeRouterPolicyServicesOK) WriteResponse ¶
func (o *ListServiceEdgeRouterPolicyServicesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceEdgeRouterPolicyServicesParams ¶
type ListServiceEdgeRouterPolicyServicesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
ListServiceEdgeRouterPolicyServicesParams contains all the bound params for the list service edge router policy services operation typically these are obtained from a http.Request
swagger:parameters listServiceEdgeRouterPolicyServices
func NewListServiceEdgeRouterPolicyServicesParams ¶
func NewListServiceEdgeRouterPolicyServicesParams() ListServiceEdgeRouterPolicyServicesParams
NewListServiceEdgeRouterPolicyServicesParams creates a new ListServiceEdgeRouterPolicyServicesParams object
There are no default values defined in the spec.
func (*ListServiceEdgeRouterPolicyServicesParams) BindRequest ¶
func (o *ListServiceEdgeRouterPolicyServicesParams) 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 NewListServiceEdgeRouterPolicyServicesParams() beforehand.
type ListServiceEdgeRouterPolicyServicesURL ¶
type ListServiceEdgeRouterPolicyServicesURL struct { ID string // contains filtered or unexported fields }
ListServiceEdgeRouterPolicyServicesURL generates an URL for the list service edge router policy services operation
func (*ListServiceEdgeRouterPolicyServicesURL) Build ¶
func (o *ListServiceEdgeRouterPolicyServicesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListServiceEdgeRouterPolicyServicesURL) BuildFull ¶
func (o *ListServiceEdgeRouterPolicyServicesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListServiceEdgeRouterPolicyServicesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListServiceEdgeRouterPolicyServicesURL) SetBasePath ¶
func (o *ListServiceEdgeRouterPolicyServicesURL) 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 (*ListServiceEdgeRouterPolicyServicesURL) String ¶
func (o *ListServiceEdgeRouterPolicyServicesURL) String() string
String returns the string representation of the path with query string
func (*ListServiceEdgeRouterPolicyServicesURL) StringFull ¶
func (o *ListServiceEdgeRouterPolicyServicesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListServiceEdgeRouterPolicyServicesURL) WithBasePath ¶
func (o *ListServiceEdgeRouterPolicyServicesURL) WithBasePath(bp string) *ListServiceEdgeRouterPolicyServicesURL
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 ListServiceEdgeRouterPolicyServicesUnauthorized ¶
type ListServiceEdgeRouterPolicyServicesUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListServiceEdgeRouterPolicyServicesUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response listServiceEdgeRouterPolicyServicesUnauthorized
func NewListServiceEdgeRouterPolicyServicesUnauthorized ¶
func NewListServiceEdgeRouterPolicyServicesUnauthorized() *ListServiceEdgeRouterPolicyServicesUnauthorized
NewListServiceEdgeRouterPolicyServicesUnauthorized creates ListServiceEdgeRouterPolicyServicesUnauthorized with default headers values
func (*ListServiceEdgeRouterPolicyServicesUnauthorized) SetPayload ¶
func (o *ListServiceEdgeRouterPolicyServicesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service edge router policy services unauthorized response
func (*ListServiceEdgeRouterPolicyServicesUnauthorized) WithPayload ¶
func (o *ListServiceEdgeRouterPolicyServicesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRouterPolicyServicesUnauthorized
WithPayload adds the payload to the list service edge router policy services unauthorized response
func (*ListServiceEdgeRouterPolicyServicesUnauthorized) WriteResponse ¶
func (o *ListServiceEdgeRouterPolicyServicesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchServiceEdgeRouterPolicy ¶
type PatchServiceEdgeRouterPolicy struct { Context *middleware.Context Handler PatchServiceEdgeRouterPolicyHandler }
PatchServiceEdgeRouterPolicy swagger:route PATCH /service-edge-router-policies/{id} Service Edge Router Policy patchServiceEdgeRouterPolicy
Update the supplied fields on a service edge policy ¶
Update the supplied fields on a service edge policy. Requires admin access.
func NewPatchServiceEdgeRouterPolicy ¶
func NewPatchServiceEdgeRouterPolicy(ctx *middleware.Context, handler PatchServiceEdgeRouterPolicyHandler) *PatchServiceEdgeRouterPolicy
NewPatchServiceEdgeRouterPolicy creates a new http.Handler for the patch service edge router policy operation
func (*PatchServiceEdgeRouterPolicy) ServeHTTP ¶
func (o *PatchServiceEdgeRouterPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchServiceEdgeRouterPolicyBadRequest ¶
type PatchServiceEdgeRouterPolicyBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchServiceEdgeRouterPolicyBadRequest 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 patchServiceEdgeRouterPolicyBadRequest
func NewPatchServiceEdgeRouterPolicyBadRequest ¶
func NewPatchServiceEdgeRouterPolicyBadRequest() *PatchServiceEdgeRouterPolicyBadRequest
NewPatchServiceEdgeRouterPolicyBadRequest creates PatchServiceEdgeRouterPolicyBadRequest with default headers values
func (*PatchServiceEdgeRouterPolicyBadRequest) SetPayload ¶
func (o *PatchServiceEdgeRouterPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch service edge router policy bad request response
func (*PatchServiceEdgeRouterPolicyBadRequest) WithPayload ¶
func (o *PatchServiceEdgeRouterPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServiceEdgeRouterPolicyBadRequest
WithPayload adds the payload to the patch service edge router policy bad request response
func (*PatchServiceEdgeRouterPolicyBadRequest) WriteResponse ¶
func (o *PatchServiceEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchServiceEdgeRouterPolicyHandler ¶
type PatchServiceEdgeRouterPolicyHandler interface {
Handle(PatchServiceEdgeRouterPolicyParams, interface{}) middleware.Responder
}
PatchServiceEdgeRouterPolicyHandler interface for that can handle valid patch service edge router policy params
type PatchServiceEdgeRouterPolicyHandlerFunc ¶
type PatchServiceEdgeRouterPolicyHandlerFunc func(PatchServiceEdgeRouterPolicyParams, interface{}) middleware.Responder
PatchServiceEdgeRouterPolicyHandlerFunc turns a function with the right signature into a patch service edge router policy handler
func (PatchServiceEdgeRouterPolicyHandlerFunc) Handle ¶
func (fn PatchServiceEdgeRouterPolicyHandlerFunc) Handle(params PatchServiceEdgeRouterPolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PatchServiceEdgeRouterPolicyNotFound ¶
type PatchServiceEdgeRouterPolicyNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchServiceEdgeRouterPolicyNotFound The requested resource does not exist
swagger:response patchServiceEdgeRouterPolicyNotFound
func NewPatchServiceEdgeRouterPolicyNotFound ¶
func NewPatchServiceEdgeRouterPolicyNotFound() *PatchServiceEdgeRouterPolicyNotFound
NewPatchServiceEdgeRouterPolicyNotFound creates PatchServiceEdgeRouterPolicyNotFound with default headers values
func (*PatchServiceEdgeRouterPolicyNotFound) SetPayload ¶
func (o *PatchServiceEdgeRouterPolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch service edge router policy not found response
func (*PatchServiceEdgeRouterPolicyNotFound) WithPayload ¶
func (o *PatchServiceEdgeRouterPolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServiceEdgeRouterPolicyNotFound
WithPayload adds the payload to the patch service edge router policy not found response
func (*PatchServiceEdgeRouterPolicyNotFound) WriteResponse ¶
func (o *PatchServiceEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchServiceEdgeRouterPolicyOK ¶
type PatchServiceEdgeRouterPolicyOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
PatchServiceEdgeRouterPolicyOK The patch request was successful and the resource has been altered
swagger:response patchServiceEdgeRouterPolicyOK
func NewPatchServiceEdgeRouterPolicyOK ¶
func NewPatchServiceEdgeRouterPolicyOK() *PatchServiceEdgeRouterPolicyOK
NewPatchServiceEdgeRouterPolicyOK creates PatchServiceEdgeRouterPolicyOK with default headers values
func (*PatchServiceEdgeRouterPolicyOK) SetPayload ¶
func (o *PatchServiceEdgeRouterPolicyOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the patch service edge router policy o k response
func (*PatchServiceEdgeRouterPolicyOK) WithPayload ¶
func (o *PatchServiceEdgeRouterPolicyOK) WithPayload(payload *rest_model.Empty) *PatchServiceEdgeRouterPolicyOK
WithPayload adds the payload to the patch service edge router policy o k response
func (*PatchServiceEdgeRouterPolicyOK) WriteResponse ¶
func (o *PatchServiceEdgeRouterPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchServiceEdgeRouterPolicyParams ¶
type PatchServiceEdgeRouterPolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string /*A service edge router policy patch object Required: true In: body */ Policy *rest_model.ServiceEdgeRouterPolicyPatch }
PatchServiceEdgeRouterPolicyParams contains all the bound params for the patch service edge router policy operation typically these are obtained from a http.Request
swagger:parameters patchServiceEdgeRouterPolicy
func NewPatchServiceEdgeRouterPolicyParams ¶
func NewPatchServiceEdgeRouterPolicyParams() PatchServiceEdgeRouterPolicyParams
NewPatchServiceEdgeRouterPolicyParams creates a new PatchServiceEdgeRouterPolicyParams object
There are no default values defined in the spec.
func (*PatchServiceEdgeRouterPolicyParams) BindRequest ¶
func (o *PatchServiceEdgeRouterPolicyParams) 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 NewPatchServiceEdgeRouterPolicyParams() beforehand.
type PatchServiceEdgeRouterPolicyURL ¶
type PatchServiceEdgeRouterPolicyURL struct { ID string // contains filtered or unexported fields }
PatchServiceEdgeRouterPolicyURL generates an URL for the patch service edge router policy operation
func (*PatchServiceEdgeRouterPolicyURL) Build ¶
func (o *PatchServiceEdgeRouterPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*PatchServiceEdgeRouterPolicyURL) BuildFull ¶
func (o *PatchServiceEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PatchServiceEdgeRouterPolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PatchServiceEdgeRouterPolicyURL) SetBasePath ¶
func (o *PatchServiceEdgeRouterPolicyURL) 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 (*PatchServiceEdgeRouterPolicyURL) String ¶
func (o *PatchServiceEdgeRouterPolicyURL) String() string
String returns the string representation of the path with query string
func (*PatchServiceEdgeRouterPolicyURL) StringFull ¶
func (o *PatchServiceEdgeRouterPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PatchServiceEdgeRouterPolicyURL) WithBasePath ¶
func (o *PatchServiceEdgeRouterPolicyURL) WithBasePath(bp string) *PatchServiceEdgeRouterPolicyURL
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 PatchServiceEdgeRouterPolicyUnauthorized ¶
type PatchServiceEdgeRouterPolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
PatchServiceEdgeRouterPolicyUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response patchServiceEdgeRouterPolicyUnauthorized
func NewPatchServiceEdgeRouterPolicyUnauthorized ¶
func NewPatchServiceEdgeRouterPolicyUnauthorized() *PatchServiceEdgeRouterPolicyUnauthorized
NewPatchServiceEdgeRouterPolicyUnauthorized creates PatchServiceEdgeRouterPolicyUnauthorized with default headers values
func (*PatchServiceEdgeRouterPolicyUnauthorized) SetPayload ¶
func (o *PatchServiceEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch service edge router policy unauthorized response
func (*PatchServiceEdgeRouterPolicyUnauthorized) WithPayload ¶
func (o *PatchServiceEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServiceEdgeRouterPolicyUnauthorized
WithPayload adds the payload to the patch service edge router policy unauthorized response
func (*PatchServiceEdgeRouterPolicyUnauthorized) WriteResponse ¶
func (o *PatchServiceEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceEdgeRouterPolicy ¶
type UpdateServiceEdgeRouterPolicy struct { Context *middleware.Context Handler UpdateServiceEdgeRouterPolicyHandler }
UpdateServiceEdgeRouterPolicy swagger:route PUT /service-edge-router-policies/{id} Service Edge Router Policy updateServiceEdgeRouterPolicy
Update all fields on a service edge policy ¶
Update all fields on a service edge policy by id. Requires admin access.
func NewUpdateServiceEdgeRouterPolicy ¶
func NewUpdateServiceEdgeRouterPolicy(ctx *middleware.Context, handler UpdateServiceEdgeRouterPolicyHandler) *UpdateServiceEdgeRouterPolicy
NewUpdateServiceEdgeRouterPolicy creates a new http.Handler for the update service edge router policy operation
func (*UpdateServiceEdgeRouterPolicy) ServeHTTP ¶
func (o *UpdateServiceEdgeRouterPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateServiceEdgeRouterPolicyBadRequest ¶
type UpdateServiceEdgeRouterPolicyBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateServiceEdgeRouterPolicyBadRequest 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 updateServiceEdgeRouterPolicyBadRequest
func NewUpdateServiceEdgeRouterPolicyBadRequest ¶
func NewUpdateServiceEdgeRouterPolicyBadRequest() *UpdateServiceEdgeRouterPolicyBadRequest
NewUpdateServiceEdgeRouterPolicyBadRequest creates UpdateServiceEdgeRouterPolicyBadRequest with default headers values
func (*UpdateServiceEdgeRouterPolicyBadRequest) SetPayload ¶
func (o *UpdateServiceEdgeRouterPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update service edge router policy bad request response
func (*UpdateServiceEdgeRouterPolicyBadRequest) WithPayload ¶
func (o *UpdateServiceEdgeRouterPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServiceEdgeRouterPolicyBadRequest
WithPayload adds the payload to the update service edge router policy bad request response
func (*UpdateServiceEdgeRouterPolicyBadRequest) WriteResponse ¶
func (o *UpdateServiceEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceEdgeRouterPolicyHandler ¶
type UpdateServiceEdgeRouterPolicyHandler interface {
Handle(UpdateServiceEdgeRouterPolicyParams, interface{}) middleware.Responder
}
UpdateServiceEdgeRouterPolicyHandler interface for that can handle valid update service edge router policy params
type UpdateServiceEdgeRouterPolicyHandlerFunc ¶
type UpdateServiceEdgeRouterPolicyHandlerFunc func(UpdateServiceEdgeRouterPolicyParams, interface{}) middleware.Responder
UpdateServiceEdgeRouterPolicyHandlerFunc turns a function with the right signature into a update service edge router policy handler
func (UpdateServiceEdgeRouterPolicyHandlerFunc) Handle ¶
func (fn UpdateServiceEdgeRouterPolicyHandlerFunc) Handle(params UpdateServiceEdgeRouterPolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateServiceEdgeRouterPolicyNotFound ¶
type UpdateServiceEdgeRouterPolicyNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateServiceEdgeRouterPolicyNotFound The requested resource does not exist
swagger:response updateServiceEdgeRouterPolicyNotFound
func NewUpdateServiceEdgeRouterPolicyNotFound ¶
func NewUpdateServiceEdgeRouterPolicyNotFound() *UpdateServiceEdgeRouterPolicyNotFound
NewUpdateServiceEdgeRouterPolicyNotFound creates UpdateServiceEdgeRouterPolicyNotFound with default headers values
func (*UpdateServiceEdgeRouterPolicyNotFound) SetPayload ¶
func (o *UpdateServiceEdgeRouterPolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update service edge router policy not found response
func (*UpdateServiceEdgeRouterPolicyNotFound) WithPayload ¶
func (o *UpdateServiceEdgeRouterPolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServiceEdgeRouterPolicyNotFound
WithPayload adds the payload to the update service edge router policy not found response
func (*UpdateServiceEdgeRouterPolicyNotFound) WriteResponse ¶
func (o *UpdateServiceEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceEdgeRouterPolicyOK ¶
type UpdateServiceEdgeRouterPolicyOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
UpdateServiceEdgeRouterPolicyOK The update request was successful and the resource has been altered
swagger:response updateServiceEdgeRouterPolicyOK
func NewUpdateServiceEdgeRouterPolicyOK ¶
func NewUpdateServiceEdgeRouterPolicyOK() *UpdateServiceEdgeRouterPolicyOK
NewUpdateServiceEdgeRouterPolicyOK creates UpdateServiceEdgeRouterPolicyOK with default headers values
func (*UpdateServiceEdgeRouterPolicyOK) SetPayload ¶
func (o *UpdateServiceEdgeRouterPolicyOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the update service edge router policy o k response
func (*UpdateServiceEdgeRouterPolicyOK) WithPayload ¶
func (o *UpdateServiceEdgeRouterPolicyOK) WithPayload(payload *rest_model.Empty) *UpdateServiceEdgeRouterPolicyOK
WithPayload adds the payload to the update service edge router policy o k response
func (*UpdateServiceEdgeRouterPolicyOK) WriteResponse ¶
func (o *UpdateServiceEdgeRouterPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceEdgeRouterPolicyParams ¶
type UpdateServiceEdgeRouterPolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string /*A service edge router policy update object Required: true In: body */ Policy *rest_model.ServiceEdgeRouterPolicyUpdate }
UpdateServiceEdgeRouterPolicyParams contains all the bound params for the update service edge router policy operation typically these are obtained from a http.Request
swagger:parameters updateServiceEdgeRouterPolicy
func NewUpdateServiceEdgeRouterPolicyParams ¶
func NewUpdateServiceEdgeRouterPolicyParams() UpdateServiceEdgeRouterPolicyParams
NewUpdateServiceEdgeRouterPolicyParams creates a new UpdateServiceEdgeRouterPolicyParams object
There are no default values defined in the spec.
func (*UpdateServiceEdgeRouterPolicyParams) BindRequest ¶
func (o *UpdateServiceEdgeRouterPolicyParams) 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 NewUpdateServiceEdgeRouterPolicyParams() beforehand.
type UpdateServiceEdgeRouterPolicyURL ¶
type UpdateServiceEdgeRouterPolicyURL struct { ID string // contains filtered or unexported fields }
UpdateServiceEdgeRouterPolicyURL generates an URL for the update service edge router policy operation
func (*UpdateServiceEdgeRouterPolicyURL) Build ¶
func (o *UpdateServiceEdgeRouterPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateServiceEdgeRouterPolicyURL) BuildFull ¶
func (o *UpdateServiceEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateServiceEdgeRouterPolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateServiceEdgeRouterPolicyURL) SetBasePath ¶
func (o *UpdateServiceEdgeRouterPolicyURL) 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 (*UpdateServiceEdgeRouterPolicyURL) String ¶
func (o *UpdateServiceEdgeRouterPolicyURL) String() string
String returns the string representation of the path with query string
func (*UpdateServiceEdgeRouterPolicyURL) StringFull ¶
func (o *UpdateServiceEdgeRouterPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateServiceEdgeRouterPolicyURL) WithBasePath ¶
func (o *UpdateServiceEdgeRouterPolicyURL) WithBasePath(bp string) *UpdateServiceEdgeRouterPolicyURL
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 UpdateServiceEdgeRouterPolicyUnauthorized ¶
type UpdateServiceEdgeRouterPolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
UpdateServiceEdgeRouterPolicyUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response updateServiceEdgeRouterPolicyUnauthorized
func NewUpdateServiceEdgeRouterPolicyUnauthorized ¶
func NewUpdateServiceEdgeRouterPolicyUnauthorized() *UpdateServiceEdgeRouterPolicyUnauthorized
NewUpdateServiceEdgeRouterPolicyUnauthorized creates UpdateServiceEdgeRouterPolicyUnauthorized with default headers values
func (*UpdateServiceEdgeRouterPolicyUnauthorized) SetPayload ¶
func (o *UpdateServiceEdgeRouterPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update service edge router policy unauthorized response
func (*UpdateServiceEdgeRouterPolicyUnauthorized) WithPayload ¶
func (o *UpdateServiceEdgeRouterPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServiceEdgeRouterPolicyUnauthorized
WithPayload adds the payload to the update service edge router policy unauthorized response
func (*UpdateServiceEdgeRouterPolicyUnauthorized) WriteResponse ¶
func (o *UpdateServiceEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_service_edge_router_policy.go
- create_service_edge_router_policy_parameters.go
- create_service_edge_router_policy_responses.go
- create_service_edge_router_policy_urlbuilder.go
- delete_service_edge_router_policy.go
- delete_service_edge_router_policy_parameters.go
- delete_service_edge_router_policy_responses.go
- delete_service_edge_router_policy_urlbuilder.go
- detail_service_edge_router_policy.go
- detail_service_edge_router_policy_parameters.go
- detail_service_edge_router_policy_responses.go
- detail_service_edge_router_policy_urlbuilder.go
- list_service_edge_router_policies.go
- list_service_edge_router_policies_parameters.go
- list_service_edge_router_policies_responses.go
- list_service_edge_router_policies_urlbuilder.go
- list_service_edge_router_policy_edge_routers.go
- list_service_edge_router_policy_edge_routers_parameters.go
- list_service_edge_router_policy_edge_routers_responses.go
- list_service_edge_router_policy_edge_routers_urlbuilder.go
- list_service_edge_router_policy_services.go
- list_service_edge_router_policy_services_parameters.go
- list_service_edge_router_policy_services_responses.go
- list_service_edge_router_policy_services_urlbuilder.go
- patch_service_edge_router_policy.go
- patch_service_edge_router_policy_parameters.go
- patch_service_edge_router_policy_responses.go
- patch_service_edge_router_policy_urlbuilder.go
- update_service_edge_router_policy.go
- update_service_edge_router_policy_parameters.go
- update_service_edge_router_policy_responses.go
- update_service_edge_router_policy_urlbuilder.go