edge_router_policy

package
v0.25.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const CreateEdgeRouterPolicyBadRequestCode int = 400

CreateEdgeRouterPolicyBadRequestCode is the HTTP code returned for type CreateEdgeRouterPolicyBadRequest

View Source
const CreateEdgeRouterPolicyCreatedCode int = 201

CreateEdgeRouterPolicyCreatedCode is the HTTP code returned for type CreateEdgeRouterPolicyCreated

View Source
const CreateEdgeRouterPolicyUnauthorizedCode int = 401

CreateEdgeRouterPolicyUnauthorizedCode is the HTTP code returned for type CreateEdgeRouterPolicyUnauthorized

View Source
const DeleteEdgeRouterPolicyBadRequestCode int = 400

DeleteEdgeRouterPolicyBadRequestCode is the HTTP code returned for type DeleteEdgeRouterPolicyBadRequest

View Source
const DeleteEdgeRouterPolicyConflictCode int = 409

DeleteEdgeRouterPolicyConflictCode is the HTTP code returned for type DeleteEdgeRouterPolicyConflict

View Source
const DeleteEdgeRouterPolicyOKCode int = 200

DeleteEdgeRouterPolicyOKCode is the HTTP code returned for type DeleteEdgeRouterPolicyOK

View Source
const DeleteEdgeRouterPolicyUnauthorizedCode int = 401

DeleteEdgeRouterPolicyUnauthorizedCode is the HTTP code returned for type DeleteEdgeRouterPolicyUnauthorized

View Source
const DetailEdgeRouterPolicyNotFoundCode int = 404

DetailEdgeRouterPolicyNotFoundCode is the HTTP code returned for type DetailEdgeRouterPolicyNotFound

View Source
const DetailEdgeRouterPolicyOKCode int = 200

DetailEdgeRouterPolicyOKCode is the HTTP code returned for type DetailEdgeRouterPolicyOK

View Source
const DetailEdgeRouterPolicyUnauthorizedCode int = 401

DetailEdgeRouterPolicyUnauthorizedCode is the HTTP code returned for type DetailEdgeRouterPolicyUnauthorized

View Source
const ListEdgeRouterPoliciesBadRequestCode int = 400

ListEdgeRouterPoliciesBadRequestCode is the HTTP code returned for type ListEdgeRouterPoliciesBadRequest

View Source
const ListEdgeRouterPoliciesOKCode int = 200

ListEdgeRouterPoliciesOKCode is the HTTP code returned for type ListEdgeRouterPoliciesOK

View Source
const ListEdgeRouterPoliciesUnauthorizedCode int = 401

ListEdgeRouterPoliciesUnauthorizedCode is the HTTP code returned for type ListEdgeRouterPoliciesUnauthorized

View Source
const ListEdgeRouterPolicyEdgeRoutersNotFoundCode int = 404

ListEdgeRouterPolicyEdgeRoutersNotFoundCode is the HTTP code returned for type ListEdgeRouterPolicyEdgeRoutersNotFound

View Source
const ListEdgeRouterPolicyEdgeRoutersOKCode int = 200

ListEdgeRouterPolicyEdgeRoutersOKCode is the HTTP code returned for type ListEdgeRouterPolicyEdgeRoutersOK

View Source
const ListEdgeRouterPolicyEdgeRoutersUnauthorizedCode int = 401

ListEdgeRouterPolicyEdgeRoutersUnauthorizedCode is the HTTP code returned for type ListEdgeRouterPolicyEdgeRoutersUnauthorized

View Source
const ListEdgeRouterPolicyIdentitiesNotFoundCode int = 404

ListEdgeRouterPolicyIdentitiesNotFoundCode is the HTTP code returned for type ListEdgeRouterPolicyIdentitiesNotFound

View Source
const ListEdgeRouterPolicyIdentitiesOKCode int = 200

ListEdgeRouterPolicyIdentitiesOKCode is the HTTP code returned for type ListEdgeRouterPolicyIdentitiesOK

View Source
const ListEdgeRouterPolicyIdentitiesUnauthorizedCode int = 401

ListEdgeRouterPolicyIdentitiesUnauthorizedCode is the HTTP code returned for type ListEdgeRouterPolicyIdentitiesUnauthorized

View Source
const PatchEdgeRouterPolicyBadRequestCode int = 400

PatchEdgeRouterPolicyBadRequestCode is the HTTP code returned for type PatchEdgeRouterPolicyBadRequest

View Source
const PatchEdgeRouterPolicyNotFoundCode int = 404

PatchEdgeRouterPolicyNotFoundCode is the HTTP code returned for type PatchEdgeRouterPolicyNotFound

View Source
const PatchEdgeRouterPolicyOKCode int = 200

PatchEdgeRouterPolicyOKCode is the HTTP code returned for type PatchEdgeRouterPolicyOK

View Source
const PatchEdgeRouterPolicyUnauthorizedCode int = 401

PatchEdgeRouterPolicyUnauthorizedCode is the HTTP code returned for type PatchEdgeRouterPolicyUnauthorized

View Source
const UpdateEdgeRouterPolicyBadRequestCode int = 400

UpdateEdgeRouterPolicyBadRequestCode is the HTTP code returned for type UpdateEdgeRouterPolicyBadRequest

View Source
const UpdateEdgeRouterPolicyNotFoundCode int = 404

UpdateEdgeRouterPolicyNotFoundCode is the HTTP code returned for type UpdateEdgeRouterPolicyNotFound

View Source
const UpdateEdgeRouterPolicyOKCode int = 200

UpdateEdgeRouterPolicyOKCode is the HTTP code returned for type UpdateEdgeRouterPolicyOK

View Source
const UpdateEdgeRouterPolicyUnauthorizedCode int = 401

UpdateEdgeRouterPolicyUnauthorizedCode is the HTTP code returned for type UpdateEdgeRouterPolicyUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateEdgeRouterPolicy

type CreateEdgeRouterPolicy struct {
	Context *middleware.Context
	Handler CreateEdgeRouterPolicyHandler
}
CreateEdgeRouterPolicy swagger:route POST /edge-router-policies Edge Router Policy createEdgeRouterPolicy

Create an edge router policy resource

Create an edge router policy resource. Requires admin access.

func NewCreateEdgeRouterPolicy

func NewCreateEdgeRouterPolicy(ctx *middleware.Context, handler CreateEdgeRouterPolicyHandler) *CreateEdgeRouterPolicy

NewCreateEdgeRouterPolicy creates a new http.Handler for the create edge router policy operation

func (*CreateEdgeRouterPolicy) ServeHTTP

func (o *CreateEdgeRouterPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CreateEdgeRouterPolicyBadRequest

type CreateEdgeRouterPolicyBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CreateEdgeRouterPolicyBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response createEdgeRouterPolicyBadRequest

func NewCreateEdgeRouterPolicyBadRequest

func NewCreateEdgeRouterPolicyBadRequest() *CreateEdgeRouterPolicyBadRequest

NewCreateEdgeRouterPolicyBadRequest creates CreateEdgeRouterPolicyBadRequest with default headers values

func (*CreateEdgeRouterPolicyBadRequest) SetPayload

SetPayload sets the payload to the create edge router policy bad request response

func (*CreateEdgeRouterPolicyBadRequest) WithPayload

WithPayload adds the payload to the create edge router policy bad request response

func (*CreateEdgeRouterPolicyBadRequest) WriteResponse

func (o *CreateEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateEdgeRouterPolicyCreated

type CreateEdgeRouterPolicyCreated struct {

	/*
	  In: Body
	*/
	Payload *rest_model.CreateEnvelope `json:"body,omitempty"`
}

CreateEdgeRouterPolicyCreated The create request was successful and the resource has been added at the following location

swagger:response createEdgeRouterPolicyCreated

func NewCreateEdgeRouterPolicyCreated

func NewCreateEdgeRouterPolicyCreated() *CreateEdgeRouterPolicyCreated

NewCreateEdgeRouterPolicyCreated creates CreateEdgeRouterPolicyCreated with default headers values

func (*CreateEdgeRouterPolicyCreated) SetPayload

SetPayload sets the payload to the create edge router policy created response

func (*CreateEdgeRouterPolicyCreated) WithPayload

WithPayload adds the payload to the create edge router policy created response

func (*CreateEdgeRouterPolicyCreated) WriteResponse

func (o *CreateEdgeRouterPolicyCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateEdgeRouterPolicyHandler

type CreateEdgeRouterPolicyHandler interface {
	Handle(CreateEdgeRouterPolicyParams, interface{}) middleware.Responder
}

CreateEdgeRouterPolicyHandler interface for that can handle valid create edge router policy params

type CreateEdgeRouterPolicyHandlerFunc

type CreateEdgeRouterPolicyHandlerFunc func(CreateEdgeRouterPolicyParams, interface{}) middleware.Responder

CreateEdgeRouterPolicyHandlerFunc turns a function with the right signature into a create edge router policy handler

func (CreateEdgeRouterPolicyHandlerFunc) Handle

Handle executing the request and returning a response

type CreateEdgeRouterPolicyParams

type CreateEdgeRouterPolicyParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*An edge router policy to create
	  Required: true
	  In: body
	*/
	Policy *rest_model.EdgeRouterPolicyCreate
}

CreateEdgeRouterPolicyParams contains all the bound params for the create edge router policy operation typically these are obtained from a http.Request

swagger:parameters createEdgeRouterPolicy

func NewCreateEdgeRouterPolicyParams

func NewCreateEdgeRouterPolicyParams() CreateEdgeRouterPolicyParams

NewCreateEdgeRouterPolicyParams creates a new CreateEdgeRouterPolicyParams object

There are no default values defined in the spec.

func (*CreateEdgeRouterPolicyParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewCreateEdgeRouterPolicyParams() beforehand.

type CreateEdgeRouterPolicyURL

type CreateEdgeRouterPolicyURL struct {
	// contains filtered or unexported fields
}

CreateEdgeRouterPolicyURL generates an URL for the create edge router policy operation

func (*CreateEdgeRouterPolicyURL) Build

func (o *CreateEdgeRouterPolicyURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateEdgeRouterPolicyURL) BuildFull

func (o *CreateEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateEdgeRouterPolicyURL) Must

func (o *CreateEdgeRouterPolicyURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreateEdgeRouterPolicyURL) SetBasePath

func (o *CreateEdgeRouterPolicyURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*CreateEdgeRouterPolicyURL) String

func (o *CreateEdgeRouterPolicyURL) String() string

String returns the string representation of the path with query string

func (*CreateEdgeRouterPolicyURL) StringFull

func (o *CreateEdgeRouterPolicyURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateEdgeRouterPolicyURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type CreateEdgeRouterPolicyUnauthorized

type CreateEdgeRouterPolicyUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CreateEdgeRouterPolicyUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response createEdgeRouterPolicyUnauthorized

func NewCreateEdgeRouterPolicyUnauthorized

func NewCreateEdgeRouterPolicyUnauthorized() *CreateEdgeRouterPolicyUnauthorized

NewCreateEdgeRouterPolicyUnauthorized creates CreateEdgeRouterPolicyUnauthorized with default headers values

func (*CreateEdgeRouterPolicyUnauthorized) SetPayload

SetPayload sets the payload to the create edge router policy unauthorized response

func (*CreateEdgeRouterPolicyUnauthorized) WithPayload

WithPayload adds the payload to the create edge router policy unauthorized response

func (*CreateEdgeRouterPolicyUnauthorized) WriteResponse

WriteResponse to the client

type DeleteEdgeRouterPolicy

type DeleteEdgeRouterPolicy struct {
	Context *middleware.Context
	Handler DeleteEdgeRouterPolicyHandler
}
DeleteEdgeRouterPolicy swagger:route DELETE /edge-router-policies/{id} Edge Router Policy deleteEdgeRouterPolicy

Delete an edge router policy

Delete an edge router policy by id. Requires admin access.

func NewDeleteEdgeRouterPolicy

func NewDeleteEdgeRouterPolicy(ctx *middleware.Context, handler DeleteEdgeRouterPolicyHandler) *DeleteEdgeRouterPolicy

NewDeleteEdgeRouterPolicy creates a new http.Handler for the delete edge router policy operation

func (*DeleteEdgeRouterPolicy) ServeHTTP

func (o *DeleteEdgeRouterPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteEdgeRouterPolicyBadRequest

type DeleteEdgeRouterPolicyBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteEdgeRouterPolicyBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response deleteEdgeRouterPolicyBadRequest

func NewDeleteEdgeRouterPolicyBadRequest

func NewDeleteEdgeRouterPolicyBadRequest() *DeleteEdgeRouterPolicyBadRequest

NewDeleteEdgeRouterPolicyBadRequest creates DeleteEdgeRouterPolicyBadRequest with default headers values

func (*DeleteEdgeRouterPolicyBadRequest) SetPayload

SetPayload sets the payload to the delete edge router policy bad request response

func (*DeleteEdgeRouterPolicyBadRequest) WithPayload

WithPayload adds the payload to the delete edge router policy bad request response

func (*DeleteEdgeRouterPolicyBadRequest) WriteResponse

func (o *DeleteEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteEdgeRouterPolicyConflict

type DeleteEdgeRouterPolicyConflict struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteEdgeRouterPolicyConflict The resource requested to be removed/altered cannot be as it is referenced by another object.

swagger:response deleteEdgeRouterPolicyConflict

func NewDeleteEdgeRouterPolicyConflict

func NewDeleteEdgeRouterPolicyConflict() *DeleteEdgeRouterPolicyConflict

NewDeleteEdgeRouterPolicyConflict creates DeleteEdgeRouterPolicyConflict with default headers values

func (*DeleteEdgeRouterPolicyConflict) SetPayload

SetPayload sets the payload to the delete edge router policy conflict response

func (*DeleteEdgeRouterPolicyConflict) WithPayload

WithPayload adds the payload to the delete edge router policy conflict response

func (*DeleteEdgeRouterPolicyConflict) WriteResponse

func (o *DeleteEdgeRouterPolicyConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteEdgeRouterPolicyHandler

type DeleteEdgeRouterPolicyHandler interface {
	Handle(DeleteEdgeRouterPolicyParams, interface{}) middleware.Responder
}

DeleteEdgeRouterPolicyHandler interface for that can handle valid delete edge router policy params

type DeleteEdgeRouterPolicyHandlerFunc

type DeleteEdgeRouterPolicyHandlerFunc func(DeleteEdgeRouterPolicyParams, interface{}) middleware.Responder

DeleteEdgeRouterPolicyHandlerFunc turns a function with the right signature into a delete edge router policy handler

func (DeleteEdgeRouterPolicyHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteEdgeRouterPolicyOK

type DeleteEdgeRouterPolicyOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

DeleteEdgeRouterPolicyOK The delete request was successful and the resource has been removed

swagger:response deleteEdgeRouterPolicyOK

func NewDeleteEdgeRouterPolicyOK

func NewDeleteEdgeRouterPolicyOK() *DeleteEdgeRouterPolicyOK

NewDeleteEdgeRouterPolicyOK creates DeleteEdgeRouterPolicyOK with default headers values

func (*DeleteEdgeRouterPolicyOK) SetPayload

func (o *DeleteEdgeRouterPolicyOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the delete edge router policy o k response

func (*DeleteEdgeRouterPolicyOK) WithPayload

WithPayload adds the payload to the delete edge router policy o k response

func (*DeleteEdgeRouterPolicyOK) WriteResponse

func (o *DeleteEdgeRouterPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteEdgeRouterPolicyParams

type DeleteEdgeRouterPolicyParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

DeleteEdgeRouterPolicyParams contains all the bound params for the delete edge router policy operation typically these are obtained from a http.Request

swagger:parameters deleteEdgeRouterPolicy

func NewDeleteEdgeRouterPolicyParams

func NewDeleteEdgeRouterPolicyParams() DeleteEdgeRouterPolicyParams

NewDeleteEdgeRouterPolicyParams creates a new DeleteEdgeRouterPolicyParams object

There are no default values defined in the spec.

func (*DeleteEdgeRouterPolicyParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteEdgeRouterPolicyParams() beforehand.

type DeleteEdgeRouterPolicyURL

type DeleteEdgeRouterPolicyURL struct {
	ID string
	// contains filtered or unexported fields
}

DeleteEdgeRouterPolicyURL generates an URL for the delete edge router policy operation

func (*DeleteEdgeRouterPolicyURL) Build

func (o *DeleteEdgeRouterPolicyURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteEdgeRouterPolicyURL) BuildFull

func (o *DeleteEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteEdgeRouterPolicyURL) Must

func (o *DeleteEdgeRouterPolicyURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteEdgeRouterPolicyURL) SetBasePath

func (o *DeleteEdgeRouterPolicyURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeleteEdgeRouterPolicyURL) String

func (o *DeleteEdgeRouterPolicyURL) String() string

String returns the string representation of the path with query string

func (*DeleteEdgeRouterPolicyURL) StringFull

func (o *DeleteEdgeRouterPolicyURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteEdgeRouterPolicyURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeleteEdgeRouterPolicyUnauthorized

type DeleteEdgeRouterPolicyUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteEdgeRouterPolicyUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response deleteEdgeRouterPolicyUnauthorized

func NewDeleteEdgeRouterPolicyUnauthorized

func NewDeleteEdgeRouterPolicyUnauthorized() *DeleteEdgeRouterPolicyUnauthorized

NewDeleteEdgeRouterPolicyUnauthorized creates DeleteEdgeRouterPolicyUnauthorized with default headers values

func (*DeleteEdgeRouterPolicyUnauthorized) SetPayload

SetPayload sets the payload to the delete edge router policy unauthorized response

func (*DeleteEdgeRouterPolicyUnauthorized) WithPayload

WithPayload adds the payload to the delete edge router policy unauthorized response

func (*DeleteEdgeRouterPolicyUnauthorized) WriteResponse

WriteResponse to the client

type DetailEdgeRouterPolicy

type DetailEdgeRouterPolicy struct {
	Context *middleware.Context
	Handler DetailEdgeRouterPolicyHandler
}
DetailEdgeRouterPolicy swagger:route GET /edge-router-policies/{id} Edge Router Policy detailEdgeRouterPolicy

Retrieves a single edge router policy

Retrieves a single edge router policy by id. Requires admin access.

func NewDetailEdgeRouterPolicy

func NewDetailEdgeRouterPolicy(ctx *middleware.Context, handler DetailEdgeRouterPolicyHandler) *DetailEdgeRouterPolicy

NewDetailEdgeRouterPolicy creates a new http.Handler for the detail edge router policy operation

func (*DetailEdgeRouterPolicy) ServeHTTP

func (o *DetailEdgeRouterPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DetailEdgeRouterPolicyHandler

type DetailEdgeRouterPolicyHandler interface {
	Handle(DetailEdgeRouterPolicyParams, interface{}) middleware.Responder
}

DetailEdgeRouterPolicyHandler interface for that can handle valid detail edge router policy params

type DetailEdgeRouterPolicyHandlerFunc

type DetailEdgeRouterPolicyHandlerFunc func(DetailEdgeRouterPolicyParams, interface{}) middleware.Responder

DetailEdgeRouterPolicyHandlerFunc turns a function with the right signature into a detail edge router policy handler

func (DetailEdgeRouterPolicyHandlerFunc) Handle

Handle executing the request and returning a response

type DetailEdgeRouterPolicyNotFound

type DetailEdgeRouterPolicyNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailEdgeRouterPolicyNotFound The requested resource does not exist

swagger:response detailEdgeRouterPolicyNotFound

func NewDetailEdgeRouterPolicyNotFound

func NewDetailEdgeRouterPolicyNotFound() *DetailEdgeRouterPolicyNotFound

NewDetailEdgeRouterPolicyNotFound creates DetailEdgeRouterPolicyNotFound with default headers values

func (*DetailEdgeRouterPolicyNotFound) SetPayload

SetPayload sets the payload to the detail edge router policy not found response

func (*DetailEdgeRouterPolicyNotFound) WithPayload

WithPayload adds the payload to the detail edge router policy not found response

func (*DetailEdgeRouterPolicyNotFound) WriteResponse

func (o *DetailEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailEdgeRouterPolicyOK

type DetailEdgeRouterPolicyOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.DetailEdgeRouterPolicyEnvelope `json:"body,omitempty"`
}

DetailEdgeRouterPolicyOK A single edge router policy

swagger:response detailEdgeRouterPolicyOK

func NewDetailEdgeRouterPolicyOK

func NewDetailEdgeRouterPolicyOK() *DetailEdgeRouterPolicyOK

NewDetailEdgeRouterPolicyOK creates DetailEdgeRouterPolicyOK with default headers values

func (*DetailEdgeRouterPolicyOK) SetPayload

SetPayload sets the payload to the detail edge router policy o k response

func (*DetailEdgeRouterPolicyOK) WithPayload

WithPayload adds the payload to the detail edge router policy o k response

func (*DetailEdgeRouterPolicyOK) WriteResponse

func (o *DetailEdgeRouterPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailEdgeRouterPolicyParams

type DetailEdgeRouterPolicyParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

DetailEdgeRouterPolicyParams contains all the bound params for the detail edge router policy operation typically these are obtained from a http.Request

swagger:parameters detailEdgeRouterPolicy

func NewDetailEdgeRouterPolicyParams

func NewDetailEdgeRouterPolicyParams() DetailEdgeRouterPolicyParams

NewDetailEdgeRouterPolicyParams creates a new DetailEdgeRouterPolicyParams object

There are no default values defined in the spec.

func (*DetailEdgeRouterPolicyParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDetailEdgeRouterPolicyParams() beforehand.

type DetailEdgeRouterPolicyURL

type DetailEdgeRouterPolicyURL struct {
	ID string
	// contains filtered or unexported fields
}

DetailEdgeRouterPolicyURL generates an URL for the detail edge router policy operation

func (*DetailEdgeRouterPolicyURL) Build

func (o *DetailEdgeRouterPolicyURL) Build() (*url.URL, error)

Build a url path and query string

func (*DetailEdgeRouterPolicyURL) BuildFull

func (o *DetailEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DetailEdgeRouterPolicyURL) Must

func (o *DetailEdgeRouterPolicyURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DetailEdgeRouterPolicyURL) SetBasePath

func (o *DetailEdgeRouterPolicyURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DetailEdgeRouterPolicyURL) String

func (o *DetailEdgeRouterPolicyURL) String() string

String returns the string representation of the path with query string

func (*DetailEdgeRouterPolicyURL) StringFull

func (o *DetailEdgeRouterPolicyURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DetailEdgeRouterPolicyURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DetailEdgeRouterPolicyUnauthorized

type DetailEdgeRouterPolicyUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailEdgeRouterPolicyUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response detailEdgeRouterPolicyUnauthorized

func NewDetailEdgeRouterPolicyUnauthorized

func NewDetailEdgeRouterPolicyUnauthorized() *DetailEdgeRouterPolicyUnauthorized

NewDetailEdgeRouterPolicyUnauthorized creates DetailEdgeRouterPolicyUnauthorized with default headers values

func (*DetailEdgeRouterPolicyUnauthorized) SetPayload

SetPayload sets the payload to the detail edge router policy unauthorized response

func (*DetailEdgeRouterPolicyUnauthorized) WithPayload

WithPayload adds the payload to the detail edge router policy unauthorized response

func (*DetailEdgeRouterPolicyUnauthorized) WriteResponse

WriteResponse to the client

type ListEdgeRouterPolicies

type ListEdgeRouterPolicies struct {
	Context *middleware.Context
	Handler ListEdgeRouterPoliciesHandler
}
ListEdgeRouterPolicies swagger:route GET /edge-router-policies Edge Router Policy listEdgeRouterPolicies

List edge router policies

Retrieves a list of edge router policy resources; supports filtering, sorting, and pagination. Requires admin access.

func NewListEdgeRouterPolicies

func NewListEdgeRouterPolicies(ctx *middleware.Context, handler ListEdgeRouterPoliciesHandler) *ListEdgeRouterPolicies

NewListEdgeRouterPolicies creates a new http.Handler for the list edge router policies operation

func (*ListEdgeRouterPolicies) ServeHTTP

func (o *ListEdgeRouterPolicies) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListEdgeRouterPoliciesBadRequest

type ListEdgeRouterPoliciesBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListEdgeRouterPoliciesBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response listEdgeRouterPoliciesBadRequest

func NewListEdgeRouterPoliciesBadRequest

func NewListEdgeRouterPoliciesBadRequest() *ListEdgeRouterPoliciesBadRequest

NewListEdgeRouterPoliciesBadRequest creates ListEdgeRouterPoliciesBadRequest with default headers values

func (*ListEdgeRouterPoliciesBadRequest) SetPayload

SetPayload sets the payload to the list edge router policies bad request response

func (*ListEdgeRouterPoliciesBadRequest) WithPayload

WithPayload adds the payload to the list edge router policies bad request response

func (*ListEdgeRouterPoliciesBadRequest) WriteResponse

func (o *ListEdgeRouterPoliciesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListEdgeRouterPoliciesHandler

type ListEdgeRouterPoliciesHandler interface {
	Handle(ListEdgeRouterPoliciesParams, interface{}) middleware.Responder
}

ListEdgeRouterPoliciesHandler interface for that can handle valid list edge router policies params

type ListEdgeRouterPoliciesHandlerFunc

type ListEdgeRouterPoliciesHandlerFunc func(ListEdgeRouterPoliciesParams, interface{}) middleware.Responder

ListEdgeRouterPoliciesHandlerFunc turns a function with the right signature into a list edge router policies handler

func (ListEdgeRouterPoliciesHandlerFunc) Handle

Handle executing the request and returning a response

type ListEdgeRouterPoliciesOK

type ListEdgeRouterPoliciesOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.ListEdgeRouterPoliciesEnvelope `json:"body,omitempty"`
}

ListEdgeRouterPoliciesOK A list of edge router policies

swagger:response listEdgeRouterPoliciesOK

func NewListEdgeRouterPoliciesOK

func NewListEdgeRouterPoliciesOK() *ListEdgeRouterPoliciesOK

NewListEdgeRouterPoliciesOK creates ListEdgeRouterPoliciesOK with default headers values

func (*ListEdgeRouterPoliciesOK) SetPayload

SetPayload sets the payload to the list edge router policies o k response

func (*ListEdgeRouterPoliciesOK) WithPayload

WithPayload adds the payload to the list edge router policies o k response

func (*ListEdgeRouterPoliciesOK) WriteResponse

func (o *ListEdgeRouterPoliciesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListEdgeRouterPoliciesParams

type ListEdgeRouterPoliciesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: query
	*/
	Filter *string
	/*
	  In: query
	*/
	Limit *int64
	/*
	  In: query
	*/
	Offset *int64
}

ListEdgeRouterPoliciesParams contains all the bound params for the list edge router policies operation typically these are obtained from a http.Request

swagger:parameters listEdgeRouterPolicies

func NewListEdgeRouterPoliciesParams

func NewListEdgeRouterPoliciesParams() ListEdgeRouterPoliciesParams

NewListEdgeRouterPoliciesParams creates a new ListEdgeRouterPoliciesParams object

There are no default values defined in the spec.

func (*ListEdgeRouterPoliciesParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewListEdgeRouterPoliciesParams() beforehand.

type ListEdgeRouterPoliciesURL

type ListEdgeRouterPoliciesURL struct {
	Filter *string
	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

ListEdgeRouterPoliciesURL generates an URL for the list edge router policies operation

func (*ListEdgeRouterPoliciesURL) Build

func (o *ListEdgeRouterPoliciesURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListEdgeRouterPoliciesURL) BuildFull

func (o *ListEdgeRouterPoliciesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListEdgeRouterPoliciesURL) Must

func (o *ListEdgeRouterPoliciesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ListEdgeRouterPoliciesURL) SetBasePath

func (o *ListEdgeRouterPoliciesURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ListEdgeRouterPoliciesURL) String

func (o *ListEdgeRouterPoliciesURL) String() string

String returns the string representation of the path with query string

func (*ListEdgeRouterPoliciesURL) StringFull

func (o *ListEdgeRouterPoliciesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListEdgeRouterPoliciesURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ListEdgeRouterPoliciesUnauthorized

type ListEdgeRouterPoliciesUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListEdgeRouterPoliciesUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response listEdgeRouterPoliciesUnauthorized

func NewListEdgeRouterPoliciesUnauthorized

func NewListEdgeRouterPoliciesUnauthorized() *ListEdgeRouterPoliciesUnauthorized

NewListEdgeRouterPoliciesUnauthorized creates ListEdgeRouterPoliciesUnauthorized with default headers values

func (*ListEdgeRouterPoliciesUnauthorized) SetPayload

SetPayload sets the payload to the list edge router policies unauthorized response

func (*ListEdgeRouterPoliciesUnauthorized) WithPayload

WithPayload adds the payload to the list edge router policies unauthorized response

func (*ListEdgeRouterPoliciesUnauthorized) WriteResponse

WriteResponse to the client

type ListEdgeRouterPolicyEdgeRouters

type ListEdgeRouterPolicyEdgeRouters struct {
	Context *middleware.Context
	Handler ListEdgeRouterPolicyEdgeRoutersHandler
}
ListEdgeRouterPolicyEdgeRouters swagger:route GET /edge-router-policies/{id}/edge-routers Edge Router Policy listEdgeRouterPolicyEdgeRouters

List edge routers a policy affects

Retrieves a list of edge routers an edge router policy resources affects; supports filtering, sorting, and pagination. Requires admin access.

func NewListEdgeRouterPolicyEdgeRouters

func NewListEdgeRouterPolicyEdgeRouters(ctx *middleware.Context, handler ListEdgeRouterPolicyEdgeRoutersHandler) *ListEdgeRouterPolicyEdgeRouters

NewListEdgeRouterPolicyEdgeRouters creates a new http.Handler for the list edge router policy edge routers operation

func (*ListEdgeRouterPolicyEdgeRouters) ServeHTTP

type ListEdgeRouterPolicyEdgeRoutersHandler

type ListEdgeRouterPolicyEdgeRoutersHandler interface {
	Handle(ListEdgeRouterPolicyEdgeRoutersParams, interface{}) middleware.Responder
}

ListEdgeRouterPolicyEdgeRoutersHandler interface for that can handle valid list edge router policy edge routers params

type ListEdgeRouterPolicyEdgeRoutersHandlerFunc

type ListEdgeRouterPolicyEdgeRoutersHandlerFunc func(ListEdgeRouterPolicyEdgeRoutersParams, interface{}) middleware.Responder

ListEdgeRouterPolicyEdgeRoutersHandlerFunc turns a function with the right signature into a list edge router policy edge routers handler

func (ListEdgeRouterPolicyEdgeRoutersHandlerFunc) Handle

Handle executing the request and returning a response

type ListEdgeRouterPolicyEdgeRoutersNotFound

type ListEdgeRouterPolicyEdgeRoutersNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListEdgeRouterPolicyEdgeRoutersNotFound The requested resource does not exist

swagger:response listEdgeRouterPolicyEdgeRoutersNotFound

func NewListEdgeRouterPolicyEdgeRoutersNotFound

func NewListEdgeRouterPolicyEdgeRoutersNotFound() *ListEdgeRouterPolicyEdgeRoutersNotFound

NewListEdgeRouterPolicyEdgeRoutersNotFound creates ListEdgeRouterPolicyEdgeRoutersNotFound with default headers values

func (*ListEdgeRouterPolicyEdgeRoutersNotFound) SetPayload

SetPayload sets the payload to the list edge router policy edge routers not found response

func (*ListEdgeRouterPolicyEdgeRoutersNotFound) WithPayload

WithPayload adds the payload to the list edge router policy edge routers not found response

func (*ListEdgeRouterPolicyEdgeRoutersNotFound) WriteResponse

WriteResponse to the client

type ListEdgeRouterPolicyEdgeRoutersOK

type ListEdgeRouterPolicyEdgeRoutersOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.ListEdgeRoutersEnvelope `json:"body,omitempty"`
}

ListEdgeRouterPolicyEdgeRoutersOK A list of edge routers

swagger:response listEdgeRouterPolicyEdgeRoutersOK

func NewListEdgeRouterPolicyEdgeRoutersOK

func NewListEdgeRouterPolicyEdgeRoutersOK() *ListEdgeRouterPolicyEdgeRoutersOK

NewListEdgeRouterPolicyEdgeRoutersOK creates ListEdgeRouterPolicyEdgeRoutersOK with default headers values

func (*ListEdgeRouterPolicyEdgeRoutersOK) SetPayload

SetPayload sets the payload to the list edge router policy edge routers o k response

func (*ListEdgeRouterPolicyEdgeRoutersOK) WithPayload

WithPayload adds the payload to the list edge router policy edge routers o k response

func (*ListEdgeRouterPolicyEdgeRoutersOK) WriteResponse

func (o *ListEdgeRouterPolicyEdgeRoutersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListEdgeRouterPolicyEdgeRoutersParams

type ListEdgeRouterPolicyEdgeRoutersParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

ListEdgeRouterPolicyEdgeRoutersParams contains all the bound params for the list edge router policy edge routers operation typically these are obtained from a http.Request

swagger:parameters listEdgeRouterPolicyEdgeRouters

func NewListEdgeRouterPolicyEdgeRoutersParams

func NewListEdgeRouterPolicyEdgeRoutersParams() ListEdgeRouterPolicyEdgeRoutersParams

NewListEdgeRouterPolicyEdgeRoutersParams creates a new ListEdgeRouterPolicyEdgeRoutersParams object

There are no default values defined in the spec.

func (*ListEdgeRouterPolicyEdgeRoutersParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewListEdgeRouterPolicyEdgeRoutersParams() beforehand.

type ListEdgeRouterPolicyEdgeRoutersURL

type ListEdgeRouterPolicyEdgeRoutersURL struct {
	ID string
	// contains filtered or unexported fields
}

ListEdgeRouterPolicyEdgeRoutersURL generates an URL for the list edge router policy edge routers operation

func (*ListEdgeRouterPolicyEdgeRoutersURL) Build

Build a url path and query string

func (*ListEdgeRouterPolicyEdgeRoutersURL) BuildFull

func (o *ListEdgeRouterPolicyEdgeRoutersURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListEdgeRouterPolicyEdgeRoutersURL) Must

Must is a helper function to panic when the url builder returns an error

func (*ListEdgeRouterPolicyEdgeRoutersURL) SetBasePath

func (o *ListEdgeRouterPolicyEdgeRoutersURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ListEdgeRouterPolicyEdgeRoutersURL) String

String returns the string representation of the path with query string

func (*ListEdgeRouterPolicyEdgeRoutersURL) StringFull

func (o *ListEdgeRouterPolicyEdgeRoutersURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListEdgeRouterPolicyEdgeRoutersURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ListEdgeRouterPolicyEdgeRoutersUnauthorized

type ListEdgeRouterPolicyEdgeRoutersUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListEdgeRouterPolicyEdgeRoutersUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response listEdgeRouterPolicyEdgeRoutersUnauthorized

func NewListEdgeRouterPolicyEdgeRoutersUnauthorized

func NewListEdgeRouterPolicyEdgeRoutersUnauthorized() *ListEdgeRouterPolicyEdgeRoutersUnauthorized

NewListEdgeRouterPolicyEdgeRoutersUnauthorized creates ListEdgeRouterPolicyEdgeRoutersUnauthorized with default headers values

func (*ListEdgeRouterPolicyEdgeRoutersUnauthorized) SetPayload

SetPayload sets the payload to the list edge router policy edge routers unauthorized response

func (*ListEdgeRouterPolicyEdgeRoutersUnauthorized) WithPayload

WithPayload adds the payload to the list edge router policy edge routers unauthorized response

func (*ListEdgeRouterPolicyEdgeRoutersUnauthorized) WriteResponse

WriteResponse to the client

type ListEdgeRouterPolicyIdentities

type ListEdgeRouterPolicyIdentities struct {
	Context *middleware.Context
	Handler ListEdgeRouterPolicyIdentitiesHandler
}
ListEdgeRouterPolicyIdentities swagger:route GET /edge-router-policies/{id}/identities Edge Router Policy listEdgeRouterPolicyIdentities

List identities an edge router policy affects

Retrieves a list of identities an edge router policy resources affects; supports filtering, sorting, and pagination. Requires admin access.

func NewListEdgeRouterPolicyIdentities

func NewListEdgeRouterPolicyIdentities(ctx *middleware.Context, handler ListEdgeRouterPolicyIdentitiesHandler) *ListEdgeRouterPolicyIdentities

NewListEdgeRouterPolicyIdentities creates a new http.Handler for the list edge router policy identities operation

func (*ListEdgeRouterPolicyIdentities) ServeHTTP

type ListEdgeRouterPolicyIdentitiesHandler

type ListEdgeRouterPolicyIdentitiesHandler interface {
	Handle(ListEdgeRouterPolicyIdentitiesParams, interface{}) middleware.Responder
}

ListEdgeRouterPolicyIdentitiesHandler interface for that can handle valid list edge router policy identities params

type ListEdgeRouterPolicyIdentitiesHandlerFunc

type ListEdgeRouterPolicyIdentitiesHandlerFunc func(ListEdgeRouterPolicyIdentitiesParams, interface{}) middleware.Responder

ListEdgeRouterPolicyIdentitiesHandlerFunc turns a function with the right signature into a list edge router policy identities handler

func (ListEdgeRouterPolicyIdentitiesHandlerFunc) Handle

Handle executing the request and returning a response

type ListEdgeRouterPolicyIdentitiesNotFound

type ListEdgeRouterPolicyIdentitiesNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListEdgeRouterPolicyIdentitiesNotFound The requested resource does not exist

swagger:response listEdgeRouterPolicyIdentitiesNotFound

func NewListEdgeRouterPolicyIdentitiesNotFound

func NewListEdgeRouterPolicyIdentitiesNotFound() *ListEdgeRouterPolicyIdentitiesNotFound

NewListEdgeRouterPolicyIdentitiesNotFound creates ListEdgeRouterPolicyIdentitiesNotFound with default headers values

func (*ListEdgeRouterPolicyIdentitiesNotFound) SetPayload

SetPayload sets the payload to the list edge router policy identities not found response

func (*ListEdgeRouterPolicyIdentitiesNotFound) WithPayload

WithPayload adds the payload to the list edge router policy identities not found response

func (*ListEdgeRouterPolicyIdentitiesNotFound) WriteResponse

WriteResponse to the client

type ListEdgeRouterPolicyIdentitiesOK

type ListEdgeRouterPolicyIdentitiesOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.ListIdentitiesEnvelope `json:"body,omitempty"`
}

ListEdgeRouterPolicyIdentitiesOK A list of identities

swagger:response listEdgeRouterPolicyIdentitiesOK

func NewListEdgeRouterPolicyIdentitiesOK

func NewListEdgeRouterPolicyIdentitiesOK() *ListEdgeRouterPolicyIdentitiesOK

NewListEdgeRouterPolicyIdentitiesOK creates ListEdgeRouterPolicyIdentitiesOK with default headers values

func (*ListEdgeRouterPolicyIdentitiesOK) SetPayload

SetPayload sets the payload to the list edge router policy identities o k response

func (*ListEdgeRouterPolicyIdentitiesOK) WithPayload

WithPayload adds the payload to the list edge router policy identities o k response

func (*ListEdgeRouterPolicyIdentitiesOK) WriteResponse

func (o *ListEdgeRouterPolicyIdentitiesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListEdgeRouterPolicyIdentitiesParams

type ListEdgeRouterPolicyIdentitiesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

ListEdgeRouterPolicyIdentitiesParams contains all the bound params for the list edge router policy identities operation typically these are obtained from a http.Request

swagger:parameters listEdgeRouterPolicyIdentities

func NewListEdgeRouterPolicyIdentitiesParams

func NewListEdgeRouterPolicyIdentitiesParams() ListEdgeRouterPolicyIdentitiesParams

NewListEdgeRouterPolicyIdentitiesParams creates a new ListEdgeRouterPolicyIdentitiesParams object

There are no default values defined in the spec.

func (*ListEdgeRouterPolicyIdentitiesParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewListEdgeRouterPolicyIdentitiesParams() beforehand.

type ListEdgeRouterPolicyIdentitiesURL

type ListEdgeRouterPolicyIdentitiesURL struct {
	ID string
	// contains filtered or unexported fields
}

ListEdgeRouterPolicyIdentitiesURL generates an URL for the list edge router policy identities operation

func (*ListEdgeRouterPolicyIdentitiesURL) Build

Build a url path and query string

func (*ListEdgeRouterPolicyIdentitiesURL) BuildFull

func (o *ListEdgeRouterPolicyIdentitiesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListEdgeRouterPolicyIdentitiesURL) Must

Must is a helper function to panic when the url builder returns an error

func (*ListEdgeRouterPolicyIdentitiesURL) SetBasePath

func (o *ListEdgeRouterPolicyIdentitiesURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ListEdgeRouterPolicyIdentitiesURL) String

String returns the string representation of the path with query string

func (*ListEdgeRouterPolicyIdentitiesURL) StringFull

func (o *ListEdgeRouterPolicyIdentitiesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListEdgeRouterPolicyIdentitiesURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ListEdgeRouterPolicyIdentitiesUnauthorized

type ListEdgeRouterPolicyIdentitiesUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListEdgeRouterPolicyIdentitiesUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response listEdgeRouterPolicyIdentitiesUnauthorized

func NewListEdgeRouterPolicyIdentitiesUnauthorized

func NewListEdgeRouterPolicyIdentitiesUnauthorized() *ListEdgeRouterPolicyIdentitiesUnauthorized

NewListEdgeRouterPolicyIdentitiesUnauthorized creates ListEdgeRouterPolicyIdentitiesUnauthorized with default headers values

func (*ListEdgeRouterPolicyIdentitiesUnauthorized) SetPayload

SetPayload sets the payload to the list edge router policy identities unauthorized response

func (*ListEdgeRouterPolicyIdentitiesUnauthorized) WithPayload

WithPayload adds the payload to the list edge router policy identities unauthorized response

func (*ListEdgeRouterPolicyIdentitiesUnauthorized) WriteResponse

WriteResponse to the client

type PatchEdgeRouterPolicy

type PatchEdgeRouterPolicy struct {
	Context *middleware.Context
	Handler PatchEdgeRouterPolicyHandler
}
PatchEdgeRouterPolicy swagger:route PATCH /edge-router-policies/{id} Edge Router Policy patchEdgeRouterPolicy

Update the supplied fields on an edge router policy

Update the supplied fields on an edge router policy. Requires admin access.

func NewPatchEdgeRouterPolicy

func NewPatchEdgeRouterPolicy(ctx *middleware.Context, handler PatchEdgeRouterPolicyHandler) *PatchEdgeRouterPolicy

NewPatchEdgeRouterPolicy creates a new http.Handler for the patch edge router policy operation

func (*PatchEdgeRouterPolicy) ServeHTTP

func (o *PatchEdgeRouterPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PatchEdgeRouterPolicyBadRequest

type PatchEdgeRouterPolicyBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchEdgeRouterPolicyBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response patchEdgeRouterPolicyBadRequest

func NewPatchEdgeRouterPolicyBadRequest

func NewPatchEdgeRouterPolicyBadRequest() *PatchEdgeRouterPolicyBadRequest

NewPatchEdgeRouterPolicyBadRequest creates PatchEdgeRouterPolicyBadRequest with default headers values

func (*PatchEdgeRouterPolicyBadRequest) SetPayload

SetPayload sets the payload to the patch edge router policy bad request response

func (*PatchEdgeRouterPolicyBadRequest) WithPayload

WithPayload adds the payload to the patch edge router policy bad request response

func (*PatchEdgeRouterPolicyBadRequest) WriteResponse

func (o *PatchEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchEdgeRouterPolicyHandler

type PatchEdgeRouterPolicyHandler interface {
	Handle(PatchEdgeRouterPolicyParams, interface{}) middleware.Responder
}

PatchEdgeRouterPolicyHandler interface for that can handle valid patch edge router policy params

type PatchEdgeRouterPolicyHandlerFunc

type PatchEdgeRouterPolicyHandlerFunc func(PatchEdgeRouterPolicyParams, interface{}) middleware.Responder

PatchEdgeRouterPolicyHandlerFunc turns a function with the right signature into a patch edge router policy handler

func (PatchEdgeRouterPolicyHandlerFunc) Handle

func (fn PatchEdgeRouterPolicyHandlerFunc) Handle(params PatchEdgeRouterPolicyParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type PatchEdgeRouterPolicyNotFound

type PatchEdgeRouterPolicyNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchEdgeRouterPolicyNotFound The requested resource does not exist

swagger:response patchEdgeRouterPolicyNotFound

func NewPatchEdgeRouterPolicyNotFound

func NewPatchEdgeRouterPolicyNotFound() *PatchEdgeRouterPolicyNotFound

NewPatchEdgeRouterPolicyNotFound creates PatchEdgeRouterPolicyNotFound with default headers values

func (*PatchEdgeRouterPolicyNotFound) SetPayload

SetPayload sets the payload to the patch edge router policy not found response

func (*PatchEdgeRouterPolicyNotFound) WithPayload

WithPayload adds the payload to the patch edge router policy not found response

func (*PatchEdgeRouterPolicyNotFound) WriteResponse

func (o *PatchEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchEdgeRouterPolicyOK

type PatchEdgeRouterPolicyOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

PatchEdgeRouterPolicyOK The patch request was successful and the resource has been altered

swagger:response patchEdgeRouterPolicyOK

func NewPatchEdgeRouterPolicyOK

func NewPatchEdgeRouterPolicyOK() *PatchEdgeRouterPolicyOK

NewPatchEdgeRouterPolicyOK creates PatchEdgeRouterPolicyOK with default headers values

func (*PatchEdgeRouterPolicyOK) SetPayload

func (o *PatchEdgeRouterPolicyOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the patch edge router policy o k response

func (*PatchEdgeRouterPolicyOK) WithPayload

WithPayload adds the payload to the patch edge router policy o k response

func (*PatchEdgeRouterPolicyOK) WriteResponse

func (o *PatchEdgeRouterPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PatchEdgeRouterPolicyParams

type PatchEdgeRouterPolicyParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
	/*An edge router policy patch object
	  Required: true
	  In: body
	*/
	Policy *rest_model.EdgeRouterPolicyPatch
}

PatchEdgeRouterPolicyParams contains all the bound params for the patch edge router policy operation typically these are obtained from a http.Request

swagger:parameters patchEdgeRouterPolicy

func NewPatchEdgeRouterPolicyParams

func NewPatchEdgeRouterPolicyParams() PatchEdgeRouterPolicyParams

NewPatchEdgeRouterPolicyParams creates a new PatchEdgeRouterPolicyParams object

There are no default values defined in the spec.

func (*PatchEdgeRouterPolicyParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPatchEdgeRouterPolicyParams() beforehand.

type PatchEdgeRouterPolicyURL

type PatchEdgeRouterPolicyURL struct {
	ID string
	// contains filtered or unexported fields
}

PatchEdgeRouterPolicyURL generates an URL for the patch edge router policy operation

func (*PatchEdgeRouterPolicyURL) Build

func (o *PatchEdgeRouterPolicyURL) Build() (*url.URL, error)

Build a url path and query string

func (*PatchEdgeRouterPolicyURL) BuildFull

func (o *PatchEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PatchEdgeRouterPolicyURL) Must

func (o *PatchEdgeRouterPolicyURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PatchEdgeRouterPolicyURL) SetBasePath

func (o *PatchEdgeRouterPolicyURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PatchEdgeRouterPolicyURL) String

func (o *PatchEdgeRouterPolicyURL) String() string

String returns the string representation of the path with query string

func (*PatchEdgeRouterPolicyURL) StringFull

func (o *PatchEdgeRouterPolicyURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PatchEdgeRouterPolicyURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PatchEdgeRouterPolicyUnauthorized

type PatchEdgeRouterPolicyUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchEdgeRouterPolicyUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response patchEdgeRouterPolicyUnauthorized

func NewPatchEdgeRouterPolicyUnauthorized

func NewPatchEdgeRouterPolicyUnauthorized() *PatchEdgeRouterPolicyUnauthorized

NewPatchEdgeRouterPolicyUnauthorized creates PatchEdgeRouterPolicyUnauthorized with default headers values

func (*PatchEdgeRouterPolicyUnauthorized) SetPayload

SetPayload sets the payload to the patch edge router policy unauthorized response

func (*PatchEdgeRouterPolicyUnauthorized) WithPayload

WithPayload adds the payload to the patch edge router policy unauthorized response

func (*PatchEdgeRouterPolicyUnauthorized) WriteResponse

func (o *PatchEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateEdgeRouterPolicy

type UpdateEdgeRouterPolicy struct {
	Context *middleware.Context
	Handler UpdateEdgeRouterPolicyHandler
}
UpdateEdgeRouterPolicy swagger:route PUT /edge-router-policies/{id} Edge Router Policy updateEdgeRouterPolicy

Update all fields on an edge router policy

Update all fields on an edge router policy by id. Requires admin access.

func NewUpdateEdgeRouterPolicy

func NewUpdateEdgeRouterPolicy(ctx *middleware.Context, handler UpdateEdgeRouterPolicyHandler) *UpdateEdgeRouterPolicy

NewUpdateEdgeRouterPolicy creates a new http.Handler for the update edge router policy operation

func (*UpdateEdgeRouterPolicy) ServeHTTP

func (o *UpdateEdgeRouterPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateEdgeRouterPolicyBadRequest

type UpdateEdgeRouterPolicyBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateEdgeRouterPolicyBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response updateEdgeRouterPolicyBadRequest

func NewUpdateEdgeRouterPolicyBadRequest

func NewUpdateEdgeRouterPolicyBadRequest() *UpdateEdgeRouterPolicyBadRequest

NewUpdateEdgeRouterPolicyBadRequest creates UpdateEdgeRouterPolicyBadRequest with default headers values

func (*UpdateEdgeRouterPolicyBadRequest) SetPayload

SetPayload sets the payload to the update edge router policy bad request response

func (*UpdateEdgeRouterPolicyBadRequest) WithPayload

WithPayload adds the payload to the update edge router policy bad request response

func (*UpdateEdgeRouterPolicyBadRequest) WriteResponse

func (o *UpdateEdgeRouterPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateEdgeRouterPolicyHandler

type UpdateEdgeRouterPolicyHandler interface {
	Handle(UpdateEdgeRouterPolicyParams, interface{}) middleware.Responder
}

UpdateEdgeRouterPolicyHandler interface for that can handle valid update edge router policy params

type UpdateEdgeRouterPolicyHandlerFunc

type UpdateEdgeRouterPolicyHandlerFunc func(UpdateEdgeRouterPolicyParams, interface{}) middleware.Responder

UpdateEdgeRouterPolicyHandlerFunc turns a function with the right signature into a update edge router policy handler

func (UpdateEdgeRouterPolicyHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateEdgeRouterPolicyNotFound

type UpdateEdgeRouterPolicyNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateEdgeRouterPolicyNotFound The requested resource does not exist

swagger:response updateEdgeRouterPolicyNotFound

func NewUpdateEdgeRouterPolicyNotFound

func NewUpdateEdgeRouterPolicyNotFound() *UpdateEdgeRouterPolicyNotFound

NewUpdateEdgeRouterPolicyNotFound creates UpdateEdgeRouterPolicyNotFound with default headers values

func (*UpdateEdgeRouterPolicyNotFound) SetPayload

SetPayload sets the payload to the update edge router policy not found response

func (*UpdateEdgeRouterPolicyNotFound) WithPayload

WithPayload adds the payload to the update edge router policy not found response

func (*UpdateEdgeRouterPolicyNotFound) WriteResponse

func (o *UpdateEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateEdgeRouterPolicyOK

type UpdateEdgeRouterPolicyOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

UpdateEdgeRouterPolicyOK The update request was successful and the resource has been altered

swagger:response updateEdgeRouterPolicyOK

func NewUpdateEdgeRouterPolicyOK

func NewUpdateEdgeRouterPolicyOK() *UpdateEdgeRouterPolicyOK

NewUpdateEdgeRouterPolicyOK creates UpdateEdgeRouterPolicyOK with default headers values

func (*UpdateEdgeRouterPolicyOK) SetPayload

func (o *UpdateEdgeRouterPolicyOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the update edge router policy o k response

func (*UpdateEdgeRouterPolicyOK) WithPayload

WithPayload adds the payload to the update edge router policy o k response

func (*UpdateEdgeRouterPolicyOK) WriteResponse

func (o *UpdateEdgeRouterPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateEdgeRouterPolicyParams

type UpdateEdgeRouterPolicyParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
	/*An edge router policy update object
	  Required: true
	  In: body
	*/
	Policy *rest_model.EdgeRouterPolicyUpdate
}

UpdateEdgeRouterPolicyParams contains all the bound params for the update edge router policy operation typically these are obtained from a http.Request

swagger:parameters updateEdgeRouterPolicy

func NewUpdateEdgeRouterPolicyParams

func NewUpdateEdgeRouterPolicyParams() UpdateEdgeRouterPolicyParams

NewUpdateEdgeRouterPolicyParams creates a new UpdateEdgeRouterPolicyParams object

There are no default values defined in the spec.

func (*UpdateEdgeRouterPolicyParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUpdateEdgeRouterPolicyParams() beforehand.

type UpdateEdgeRouterPolicyURL

type UpdateEdgeRouterPolicyURL struct {
	ID string
	// contains filtered or unexported fields
}

UpdateEdgeRouterPolicyURL generates an URL for the update edge router policy operation

func (*UpdateEdgeRouterPolicyURL) Build

func (o *UpdateEdgeRouterPolicyURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateEdgeRouterPolicyURL) BuildFull

func (o *UpdateEdgeRouterPolicyURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateEdgeRouterPolicyURL) Must

func (o *UpdateEdgeRouterPolicyURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateEdgeRouterPolicyURL) SetBasePath

func (o *UpdateEdgeRouterPolicyURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UpdateEdgeRouterPolicyURL) String

func (o *UpdateEdgeRouterPolicyURL) String() string

String returns the string representation of the path with query string

func (*UpdateEdgeRouterPolicyURL) StringFull

func (o *UpdateEdgeRouterPolicyURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateEdgeRouterPolicyURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateEdgeRouterPolicyUnauthorized

type UpdateEdgeRouterPolicyUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateEdgeRouterPolicyUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response updateEdgeRouterPolicyUnauthorized

func NewUpdateEdgeRouterPolicyUnauthorized

func NewUpdateEdgeRouterPolicyUnauthorized() *UpdateEdgeRouterPolicyUnauthorized

NewUpdateEdgeRouterPolicyUnauthorized creates UpdateEdgeRouterPolicyUnauthorized with default headers values

func (*UpdateEdgeRouterPolicyUnauthorized) SetPayload

SetPayload sets the payload to the update edge router policy unauthorized response

func (*UpdateEdgeRouterPolicyUnauthorized) WithPayload

WithPayload adds the payload to the update edge router policy unauthorized response

func (*UpdateEdgeRouterPolicyUnauthorized) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL