Documentation ¶
Index ¶
- Constants
- type CreateAuthPolicy
- type CreateAuthPolicyBadRequest
- func (o *CreateAuthPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateAuthPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateAuthPolicyBadRequest
- func (o *CreateAuthPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAuthPolicyCreated
- type CreateAuthPolicyHandler
- type CreateAuthPolicyHandlerFunc
- type CreateAuthPolicyParams
- type CreateAuthPolicyTooManyRequests
- func (o *CreateAuthPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateAuthPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateAuthPolicyTooManyRequests
- func (o *CreateAuthPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAuthPolicyURL
- func (o *CreateAuthPolicyURL) Build() (*url.URL, error)
- func (o *CreateAuthPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateAuthPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateAuthPolicyURL) SetBasePath(bp string)
- func (o *CreateAuthPolicyURL) String() string
- func (o *CreateAuthPolicyURL) StringFull(scheme, host string) string
- func (o *CreateAuthPolicyURL) WithBasePath(bp string) *CreateAuthPolicyURL
- type CreateAuthPolicyUnauthorized
- func (o *CreateAuthPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateAuthPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateAuthPolicyUnauthorized
- func (o *CreateAuthPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteAuthPolicy
- type DeleteAuthPolicyBadRequest
- func (o *DeleteAuthPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteAuthPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteAuthPolicyBadRequest
- func (o *DeleteAuthPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteAuthPolicyHandler
- type DeleteAuthPolicyHandlerFunc
- type DeleteAuthPolicyOK
- type DeleteAuthPolicyParams
- type DeleteAuthPolicyTooManyRequests
- func (o *DeleteAuthPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteAuthPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteAuthPolicyTooManyRequests
- func (o *DeleteAuthPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteAuthPolicyURL
- func (o *DeleteAuthPolicyURL) Build() (*url.URL, error)
- func (o *DeleteAuthPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteAuthPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteAuthPolicyURL) SetBasePath(bp string)
- func (o *DeleteAuthPolicyURL) String() string
- func (o *DeleteAuthPolicyURL) StringFull(scheme, host string) string
- func (o *DeleteAuthPolicyURL) WithBasePath(bp string) *DeleteAuthPolicyURL
- type DeleteAuthPolicyUnauthorized
- func (o *DeleteAuthPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteAuthPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteAuthPolicyUnauthorized
- func (o *DeleteAuthPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailAuthPolicy
- type DetailAuthPolicyHandler
- type DetailAuthPolicyHandlerFunc
- type DetailAuthPolicyNotFound
- type DetailAuthPolicyOK
- type DetailAuthPolicyParams
- type DetailAuthPolicyTooManyRequests
- func (o *DetailAuthPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailAuthPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailAuthPolicyTooManyRequests
- func (o *DetailAuthPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailAuthPolicyURL
- func (o *DetailAuthPolicyURL) Build() (*url.URL, error)
- func (o *DetailAuthPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DetailAuthPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *DetailAuthPolicyURL) SetBasePath(bp string)
- func (o *DetailAuthPolicyURL) String() string
- func (o *DetailAuthPolicyURL) StringFull(scheme, host string) string
- func (o *DetailAuthPolicyURL) WithBasePath(bp string) *DetailAuthPolicyURL
- type DetailAuthPolicyUnauthorized
- func (o *DetailAuthPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailAuthPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailAuthPolicyUnauthorized
- func (o *DetailAuthPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListAuthPolicies
- type ListAuthPoliciesBadRequest
- func (o *ListAuthPoliciesBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListAuthPoliciesBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListAuthPoliciesBadRequest
- func (o *ListAuthPoliciesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListAuthPoliciesHandler
- type ListAuthPoliciesHandlerFunc
- type ListAuthPoliciesOK
- type ListAuthPoliciesParams
- type ListAuthPoliciesTooManyRequests
- func (o *ListAuthPoliciesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListAuthPoliciesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListAuthPoliciesTooManyRequests
- func (o *ListAuthPoliciesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListAuthPoliciesURL
- func (o *ListAuthPoliciesURL) Build() (*url.URL, error)
- func (o *ListAuthPoliciesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListAuthPoliciesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListAuthPoliciesURL) SetBasePath(bp string)
- func (o *ListAuthPoliciesURL) String() string
- func (o *ListAuthPoliciesURL) StringFull(scheme, host string) string
- func (o *ListAuthPoliciesURL) WithBasePath(bp string) *ListAuthPoliciesURL
- type ListAuthPoliciesUnauthorized
- func (o *ListAuthPoliciesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListAuthPoliciesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListAuthPoliciesUnauthorized
- func (o *ListAuthPoliciesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchAuthPolicy
- type PatchAuthPolicyBadRequest
- type PatchAuthPolicyHandler
- type PatchAuthPolicyHandlerFunc
- type PatchAuthPolicyNotFound
- type PatchAuthPolicyOK
- type PatchAuthPolicyParams
- type PatchAuthPolicyTooManyRequests
- func (o *PatchAuthPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchAuthPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchAuthPolicyTooManyRequests
- func (o *PatchAuthPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchAuthPolicyURL
- func (o *PatchAuthPolicyURL) Build() (*url.URL, error)
- func (o *PatchAuthPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchAuthPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchAuthPolicyURL) SetBasePath(bp string)
- func (o *PatchAuthPolicyURL) String() string
- func (o *PatchAuthPolicyURL) StringFull(scheme, host string) string
- func (o *PatchAuthPolicyURL) WithBasePath(bp string) *PatchAuthPolicyURL
- type PatchAuthPolicyUnauthorized
- func (o *PatchAuthPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchAuthPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchAuthPolicyUnauthorized
- func (o *PatchAuthPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateAuthPolicy
- type UpdateAuthPolicyBadRequest
- func (o *UpdateAuthPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateAuthPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateAuthPolicyBadRequest
- func (o *UpdateAuthPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateAuthPolicyHandler
- type UpdateAuthPolicyHandlerFunc
- type UpdateAuthPolicyNotFound
- type UpdateAuthPolicyOK
- type UpdateAuthPolicyParams
- type UpdateAuthPolicyTooManyRequests
- func (o *UpdateAuthPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateAuthPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateAuthPolicyTooManyRequests
- func (o *UpdateAuthPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateAuthPolicyURL
- func (o *UpdateAuthPolicyURL) Build() (*url.URL, error)
- func (o *UpdateAuthPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateAuthPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateAuthPolicyURL) SetBasePath(bp string)
- func (o *UpdateAuthPolicyURL) String() string
- func (o *UpdateAuthPolicyURL) StringFull(scheme, host string) string
- func (o *UpdateAuthPolicyURL) WithBasePath(bp string) *UpdateAuthPolicyURL
- type UpdateAuthPolicyUnauthorized
- func (o *UpdateAuthPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateAuthPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateAuthPolicyUnauthorized
- func (o *UpdateAuthPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const CreateAuthPolicyBadRequestCode int = 400
CreateAuthPolicyBadRequestCode is the HTTP code returned for type CreateAuthPolicyBadRequest
const CreateAuthPolicyCreatedCode int = 201
CreateAuthPolicyCreatedCode is the HTTP code returned for type CreateAuthPolicyCreated
const CreateAuthPolicyTooManyRequestsCode int = 429
CreateAuthPolicyTooManyRequestsCode is the HTTP code returned for type CreateAuthPolicyTooManyRequests
CreateAuthPolicyUnauthorizedCode is the HTTP code returned for type CreateAuthPolicyUnauthorized
const DeleteAuthPolicyBadRequestCode int = 400
DeleteAuthPolicyBadRequestCode is the HTTP code returned for type DeleteAuthPolicyBadRequest
const DeleteAuthPolicyOKCode int = 200
DeleteAuthPolicyOKCode is the HTTP code returned for type DeleteAuthPolicyOK
const DeleteAuthPolicyTooManyRequestsCode int = 429
DeleteAuthPolicyTooManyRequestsCode is the HTTP code returned for type DeleteAuthPolicyTooManyRequests
DeleteAuthPolicyUnauthorizedCode is the HTTP code returned for type DeleteAuthPolicyUnauthorized
const DetailAuthPolicyNotFoundCode int = 404
DetailAuthPolicyNotFoundCode is the HTTP code returned for type DetailAuthPolicyNotFound
const DetailAuthPolicyOKCode int = 200
DetailAuthPolicyOKCode is the HTTP code returned for type DetailAuthPolicyOK
const DetailAuthPolicyTooManyRequestsCode int = 429
DetailAuthPolicyTooManyRequestsCode is the HTTP code returned for type DetailAuthPolicyTooManyRequests
DetailAuthPolicyUnauthorizedCode is the HTTP code returned for type DetailAuthPolicyUnauthorized
const ListAuthPoliciesBadRequestCode int = 400
ListAuthPoliciesBadRequestCode is the HTTP code returned for type ListAuthPoliciesBadRequest
const ListAuthPoliciesOKCode int = 200
ListAuthPoliciesOKCode is the HTTP code returned for type ListAuthPoliciesOK
const ListAuthPoliciesTooManyRequestsCode int = 429
ListAuthPoliciesTooManyRequestsCode is the HTTP code returned for type ListAuthPoliciesTooManyRequests
ListAuthPoliciesUnauthorizedCode is the HTTP code returned for type ListAuthPoliciesUnauthorized
const PatchAuthPolicyBadRequestCode int = 400
PatchAuthPolicyBadRequestCode is the HTTP code returned for type PatchAuthPolicyBadRequest
const PatchAuthPolicyNotFoundCode int = 404
PatchAuthPolicyNotFoundCode is the HTTP code returned for type PatchAuthPolicyNotFound
const PatchAuthPolicyOKCode int = 200
PatchAuthPolicyOKCode is the HTTP code returned for type PatchAuthPolicyOK
const PatchAuthPolicyTooManyRequestsCode int = 429
PatchAuthPolicyTooManyRequestsCode is the HTTP code returned for type PatchAuthPolicyTooManyRequests
PatchAuthPolicyUnauthorizedCode is the HTTP code returned for type PatchAuthPolicyUnauthorized
const UpdateAuthPolicyBadRequestCode int = 400
UpdateAuthPolicyBadRequestCode is the HTTP code returned for type UpdateAuthPolicyBadRequest
const UpdateAuthPolicyNotFoundCode int = 404
UpdateAuthPolicyNotFoundCode is the HTTP code returned for type UpdateAuthPolicyNotFound
const UpdateAuthPolicyOKCode int = 200
UpdateAuthPolicyOKCode is the HTTP code returned for type UpdateAuthPolicyOK
const UpdateAuthPolicyTooManyRequestsCode int = 429
UpdateAuthPolicyTooManyRequestsCode is the HTTP code returned for type UpdateAuthPolicyTooManyRequests
UpdateAuthPolicyUnauthorizedCode is the HTTP code returned for type UpdateAuthPolicyUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateAuthPolicy ¶
type CreateAuthPolicy struct { Context *middleware.Context Handler CreateAuthPolicyHandler }
CreateAuthPolicy swagger:route POST /auth-policies Auth Policy createAuthPolicy
Creates an Auth Policy ¶
Creates an Auth Policy. Requires admin access.
func NewCreateAuthPolicy ¶
func NewCreateAuthPolicy(ctx *middleware.Context, handler CreateAuthPolicyHandler) *CreateAuthPolicy
NewCreateAuthPolicy creates a new http.Handler for the create auth policy operation
func (*CreateAuthPolicy) ServeHTTP ¶
func (o *CreateAuthPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateAuthPolicyBadRequest ¶
type CreateAuthPolicyBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
CreateAuthPolicyBadRequest 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 createAuthPolicyBadRequest
func NewCreateAuthPolicyBadRequest ¶
func NewCreateAuthPolicyBadRequest() *CreateAuthPolicyBadRequest
NewCreateAuthPolicyBadRequest creates CreateAuthPolicyBadRequest with default headers values
func (*CreateAuthPolicyBadRequest) SetPayload ¶
func (o *CreateAuthPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create auth policy bad request response
func (*CreateAuthPolicyBadRequest) WithPayload ¶
func (o *CreateAuthPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateAuthPolicyBadRequest
WithPayload adds the payload to the create auth policy bad request response
func (*CreateAuthPolicyBadRequest) WriteResponse ¶
func (o *CreateAuthPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAuthPolicyCreated ¶
type CreateAuthPolicyCreated struct { /* In: Body */ Payload *rest_model.CreateEnvelope `json:"body,omitempty"` }
CreateAuthPolicyCreated The create request was successful and the resource has been added at the following location
swagger:response createAuthPolicyCreated
func NewCreateAuthPolicyCreated ¶
func NewCreateAuthPolicyCreated() *CreateAuthPolicyCreated
NewCreateAuthPolicyCreated creates CreateAuthPolicyCreated with default headers values
func (*CreateAuthPolicyCreated) SetPayload ¶
func (o *CreateAuthPolicyCreated) SetPayload(payload *rest_model.CreateEnvelope)
SetPayload sets the payload to the create auth policy created response
func (*CreateAuthPolicyCreated) WithPayload ¶
func (o *CreateAuthPolicyCreated) WithPayload(payload *rest_model.CreateEnvelope) *CreateAuthPolicyCreated
WithPayload adds the payload to the create auth policy created response
func (*CreateAuthPolicyCreated) WriteResponse ¶
func (o *CreateAuthPolicyCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAuthPolicyHandler ¶
type CreateAuthPolicyHandler interface {
Handle(CreateAuthPolicyParams, interface{}) middleware.Responder
}
CreateAuthPolicyHandler interface for that can handle valid create auth policy params
type CreateAuthPolicyHandlerFunc ¶
type CreateAuthPolicyHandlerFunc func(CreateAuthPolicyParams, interface{}) middleware.Responder
CreateAuthPolicyHandlerFunc turns a function with the right signature into a create auth policy handler
func (CreateAuthPolicyHandlerFunc) Handle ¶
func (fn CreateAuthPolicyHandlerFunc) Handle(params CreateAuthPolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreateAuthPolicyParams ¶
type CreateAuthPolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An Auth Policy to create Required: true In: body */ AuthPolicy *rest_model.AuthPolicyCreate }
CreateAuthPolicyParams contains all the bound params for the create auth policy operation typically these are obtained from a http.Request
swagger:parameters createAuthPolicy
func NewCreateAuthPolicyParams ¶
func NewCreateAuthPolicyParams() CreateAuthPolicyParams
NewCreateAuthPolicyParams creates a new CreateAuthPolicyParams object
There are no default values defined in the spec.
func (*CreateAuthPolicyParams) BindRequest ¶
func (o *CreateAuthPolicyParams) 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 NewCreateAuthPolicyParams() beforehand.
type CreateAuthPolicyTooManyRequests ¶ added in v0.26.0
type CreateAuthPolicyTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
CreateAuthPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response createAuthPolicyTooManyRequests
func NewCreateAuthPolicyTooManyRequests ¶ added in v0.26.0
func NewCreateAuthPolicyTooManyRequests() *CreateAuthPolicyTooManyRequests
NewCreateAuthPolicyTooManyRequests creates CreateAuthPolicyTooManyRequests with default headers values
func (*CreateAuthPolicyTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *CreateAuthPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create auth policy too many requests response
func (*CreateAuthPolicyTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *CreateAuthPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateAuthPolicyTooManyRequests
WithPayload adds the payload to the create auth policy too many requests response
func (*CreateAuthPolicyTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *CreateAuthPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAuthPolicyURL ¶
type CreateAuthPolicyURL struct {
// contains filtered or unexported fields
}
CreateAuthPolicyURL generates an URL for the create auth policy operation
func (*CreateAuthPolicyURL) Build ¶
func (o *CreateAuthPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateAuthPolicyURL) BuildFull ¶
func (o *CreateAuthPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateAuthPolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateAuthPolicyURL) SetBasePath ¶
func (o *CreateAuthPolicyURL) 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 (*CreateAuthPolicyURL) String ¶
func (o *CreateAuthPolicyURL) String() string
String returns the string representation of the path with query string
func (*CreateAuthPolicyURL) StringFull ¶
func (o *CreateAuthPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateAuthPolicyURL) WithBasePath ¶
func (o *CreateAuthPolicyURL) WithBasePath(bp string) *CreateAuthPolicyURL
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 CreateAuthPolicyUnauthorized ¶
type CreateAuthPolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
CreateAuthPolicyUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response createAuthPolicyUnauthorized
func NewCreateAuthPolicyUnauthorized ¶
func NewCreateAuthPolicyUnauthorized() *CreateAuthPolicyUnauthorized
NewCreateAuthPolicyUnauthorized creates CreateAuthPolicyUnauthorized with default headers values
func (*CreateAuthPolicyUnauthorized) SetPayload ¶
func (o *CreateAuthPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create auth policy unauthorized response
func (*CreateAuthPolicyUnauthorized) WithPayload ¶
func (o *CreateAuthPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateAuthPolicyUnauthorized
WithPayload adds the payload to the create auth policy unauthorized response
func (*CreateAuthPolicyUnauthorized) WriteResponse ¶
func (o *CreateAuthPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteAuthPolicy ¶
type DeleteAuthPolicy struct { Context *middleware.Context Handler DeleteAuthPolicyHandler }
DeleteAuthPolicy swagger:route DELETE /auth-policies/{id} Auth Policy deleteAuthPolicy
Delete an Auth Policy ¶
Delete an Auth Policy by id. Requires admin access.
func NewDeleteAuthPolicy ¶
func NewDeleteAuthPolicy(ctx *middleware.Context, handler DeleteAuthPolicyHandler) *DeleteAuthPolicy
NewDeleteAuthPolicy creates a new http.Handler for the delete auth policy operation
func (*DeleteAuthPolicy) ServeHTTP ¶
func (o *DeleteAuthPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteAuthPolicyBadRequest ¶
type DeleteAuthPolicyBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteAuthPolicyBadRequest 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 deleteAuthPolicyBadRequest
func NewDeleteAuthPolicyBadRequest ¶
func NewDeleteAuthPolicyBadRequest() *DeleteAuthPolicyBadRequest
NewDeleteAuthPolicyBadRequest creates DeleteAuthPolicyBadRequest with default headers values
func (*DeleteAuthPolicyBadRequest) SetPayload ¶
func (o *DeleteAuthPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete auth policy bad request response
func (*DeleteAuthPolicyBadRequest) WithPayload ¶
func (o *DeleteAuthPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteAuthPolicyBadRequest
WithPayload adds the payload to the delete auth policy bad request response
func (*DeleteAuthPolicyBadRequest) WriteResponse ¶
func (o *DeleteAuthPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteAuthPolicyHandler ¶
type DeleteAuthPolicyHandler interface {
Handle(DeleteAuthPolicyParams, interface{}) middleware.Responder
}
DeleteAuthPolicyHandler interface for that can handle valid delete auth policy params
type DeleteAuthPolicyHandlerFunc ¶
type DeleteAuthPolicyHandlerFunc func(DeleteAuthPolicyParams, interface{}) middleware.Responder
DeleteAuthPolicyHandlerFunc turns a function with the right signature into a delete auth policy handler
func (DeleteAuthPolicyHandlerFunc) Handle ¶
func (fn DeleteAuthPolicyHandlerFunc) Handle(params DeleteAuthPolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteAuthPolicyOK ¶
type DeleteAuthPolicyOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
DeleteAuthPolicyOK The delete request was successful and the resource has been removed
swagger:response deleteAuthPolicyOK
func NewDeleteAuthPolicyOK ¶
func NewDeleteAuthPolicyOK() *DeleteAuthPolicyOK
NewDeleteAuthPolicyOK creates DeleteAuthPolicyOK with default headers values
func (*DeleteAuthPolicyOK) SetPayload ¶
func (o *DeleteAuthPolicyOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the delete auth policy o k response
func (*DeleteAuthPolicyOK) WithPayload ¶
func (o *DeleteAuthPolicyOK) WithPayload(payload *rest_model.Empty) *DeleteAuthPolicyOK
WithPayload adds the payload to the delete auth policy o k response
func (*DeleteAuthPolicyOK) WriteResponse ¶
func (o *DeleteAuthPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteAuthPolicyParams ¶
type DeleteAuthPolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DeleteAuthPolicyParams contains all the bound params for the delete auth policy operation typically these are obtained from a http.Request
swagger:parameters deleteAuthPolicy
func NewDeleteAuthPolicyParams ¶
func NewDeleteAuthPolicyParams() DeleteAuthPolicyParams
NewDeleteAuthPolicyParams creates a new DeleteAuthPolicyParams object
There are no default values defined in the spec.
func (*DeleteAuthPolicyParams) BindRequest ¶
func (o *DeleteAuthPolicyParams) 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 NewDeleteAuthPolicyParams() beforehand.
type DeleteAuthPolicyTooManyRequests ¶ added in v0.26.0
type DeleteAuthPolicyTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteAuthPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response deleteAuthPolicyTooManyRequests
func NewDeleteAuthPolicyTooManyRequests ¶ added in v0.26.0
func NewDeleteAuthPolicyTooManyRequests() *DeleteAuthPolicyTooManyRequests
NewDeleteAuthPolicyTooManyRequests creates DeleteAuthPolicyTooManyRequests with default headers values
func (*DeleteAuthPolicyTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *DeleteAuthPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete auth policy too many requests response
func (*DeleteAuthPolicyTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *DeleteAuthPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteAuthPolicyTooManyRequests
WithPayload adds the payload to the delete auth policy too many requests response
func (*DeleteAuthPolicyTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *DeleteAuthPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteAuthPolicyURL ¶
type DeleteAuthPolicyURL struct { ID string // contains filtered or unexported fields }
DeleteAuthPolicyURL generates an URL for the delete auth policy operation
func (*DeleteAuthPolicyURL) Build ¶
func (o *DeleteAuthPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteAuthPolicyURL) BuildFull ¶
func (o *DeleteAuthPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteAuthPolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteAuthPolicyURL) SetBasePath ¶
func (o *DeleteAuthPolicyURL) 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 (*DeleteAuthPolicyURL) String ¶
func (o *DeleteAuthPolicyURL) String() string
String returns the string representation of the path with query string
func (*DeleteAuthPolicyURL) StringFull ¶
func (o *DeleteAuthPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteAuthPolicyURL) WithBasePath ¶
func (o *DeleteAuthPolicyURL) WithBasePath(bp string) *DeleteAuthPolicyURL
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 DeleteAuthPolicyUnauthorized ¶
type DeleteAuthPolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DeleteAuthPolicyUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response deleteAuthPolicyUnauthorized
func NewDeleteAuthPolicyUnauthorized ¶
func NewDeleteAuthPolicyUnauthorized() *DeleteAuthPolicyUnauthorized
NewDeleteAuthPolicyUnauthorized creates DeleteAuthPolicyUnauthorized with default headers values
func (*DeleteAuthPolicyUnauthorized) SetPayload ¶
func (o *DeleteAuthPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete auth policy unauthorized response
func (*DeleteAuthPolicyUnauthorized) WithPayload ¶
func (o *DeleteAuthPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteAuthPolicyUnauthorized
WithPayload adds the payload to the delete auth policy unauthorized response
func (*DeleteAuthPolicyUnauthorized) WriteResponse ¶
func (o *DeleteAuthPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailAuthPolicy ¶
type DetailAuthPolicy struct { Context *middleware.Context Handler DetailAuthPolicyHandler }
DetailAuthPolicy swagger:route GET /auth-policies/{id} Auth Policy detailAuthPolicy
Retrieves a single Auth Policy ¶
Retrieves a single Auth Policy by id. Requires admin access.
func NewDetailAuthPolicy ¶
func NewDetailAuthPolicy(ctx *middleware.Context, handler DetailAuthPolicyHandler) *DetailAuthPolicy
NewDetailAuthPolicy creates a new http.Handler for the detail auth policy operation
func (*DetailAuthPolicy) ServeHTTP ¶
func (o *DetailAuthPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DetailAuthPolicyHandler ¶
type DetailAuthPolicyHandler interface {
Handle(DetailAuthPolicyParams, interface{}) middleware.Responder
}
DetailAuthPolicyHandler interface for that can handle valid detail auth policy params
type DetailAuthPolicyHandlerFunc ¶
type DetailAuthPolicyHandlerFunc func(DetailAuthPolicyParams, interface{}) middleware.Responder
DetailAuthPolicyHandlerFunc turns a function with the right signature into a detail auth policy handler
func (DetailAuthPolicyHandlerFunc) Handle ¶
func (fn DetailAuthPolicyHandlerFunc) Handle(params DetailAuthPolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DetailAuthPolicyNotFound ¶
type DetailAuthPolicyNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailAuthPolicyNotFound The requested resource does not exist
swagger:response detailAuthPolicyNotFound
func NewDetailAuthPolicyNotFound ¶
func NewDetailAuthPolicyNotFound() *DetailAuthPolicyNotFound
NewDetailAuthPolicyNotFound creates DetailAuthPolicyNotFound with default headers values
func (*DetailAuthPolicyNotFound) SetPayload ¶
func (o *DetailAuthPolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail auth policy not found response
func (*DetailAuthPolicyNotFound) WithPayload ¶
func (o *DetailAuthPolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailAuthPolicyNotFound
WithPayload adds the payload to the detail auth policy not found response
func (*DetailAuthPolicyNotFound) WriteResponse ¶
func (o *DetailAuthPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailAuthPolicyOK ¶
type DetailAuthPolicyOK struct { /* In: Body */ Payload *rest_model.DetailAuthPolicyEnvelope `json:"body,omitempty"` }
DetailAuthPolicyOK A singular Auth Policy resource
swagger:response detailAuthPolicyOK
func NewDetailAuthPolicyOK ¶
func NewDetailAuthPolicyOK() *DetailAuthPolicyOK
NewDetailAuthPolicyOK creates DetailAuthPolicyOK with default headers values
func (*DetailAuthPolicyOK) SetPayload ¶
func (o *DetailAuthPolicyOK) SetPayload(payload *rest_model.DetailAuthPolicyEnvelope)
SetPayload sets the payload to the detail auth policy o k response
func (*DetailAuthPolicyOK) WithPayload ¶
func (o *DetailAuthPolicyOK) WithPayload(payload *rest_model.DetailAuthPolicyEnvelope) *DetailAuthPolicyOK
WithPayload adds the payload to the detail auth policy o k response
func (*DetailAuthPolicyOK) WriteResponse ¶
func (o *DetailAuthPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailAuthPolicyParams ¶
type DetailAuthPolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DetailAuthPolicyParams contains all the bound params for the detail auth policy operation typically these are obtained from a http.Request
swagger:parameters detailAuthPolicy
func NewDetailAuthPolicyParams ¶
func NewDetailAuthPolicyParams() DetailAuthPolicyParams
NewDetailAuthPolicyParams creates a new DetailAuthPolicyParams object
There are no default values defined in the spec.
func (*DetailAuthPolicyParams) BindRequest ¶
func (o *DetailAuthPolicyParams) 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 NewDetailAuthPolicyParams() beforehand.
type DetailAuthPolicyTooManyRequests ¶ added in v0.26.0
type DetailAuthPolicyTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailAuthPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response detailAuthPolicyTooManyRequests
func NewDetailAuthPolicyTooManyRequests ¶ added in v0.26.0
func NewDetailAuthPolicyTooManyRequests() *DetailAuthPolicyTooManyRequests
NewDetailAuthPolicyTooManyRequests creates DetailAuthPolicyTooManyRequests with default headers values
func (*DetailAuthPolicyTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *DetailAuthPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail auth policy too many requests response
func (*DetailAuthPolicyTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *DetailAuthPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailAuthPolicyTooManyRequests
WithPayload adds the payload to the detail auth policy too many requests response
func (*DetailAuthPolicyTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *DetailAuthPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailAuthPolicyURL ¶
type DetailAuthPolicyURL struct { ID string // contains filtered or unexported fields }
DetailAuthPolicyURL generates an URL for the detail auth policy operation
func (*DetailAuthPolicyURL) Build ¶
func (o *DetailAuthPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*DetailAuthPolicyURL) BuildFull ¶
func (o *DetailAuthPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DetailAuthPolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DetailAuthPolicyURL) SetBasePath ¶
func (o *DetailAuthPolicyURL) 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 (*DetailAuthPolicyURL) String ¶
func (o *DetailAuthPolicyURL) String() string
String returns the string representation of the path with query string
func (*DetailAuthPolicyURL) StringFull ¶
func (o *DetailAuthPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DetailAuthPolicyURL) WithBasePath ¶
func (o *DetailAuthPolicyURL) WithBasePath(bp string) *DetailAuthPolicyURL
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 DetailAuthPolicyUnauthorized ¶
type DetailAuthPolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DetailAuthPolicyUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response detailAuthPolicyUnauthorized
func NewDetailAuthPolicyUnauthorized ¶
func NewDetailAuthPolicyUnauthorized() *DetailAuthPolicyUnauthorized
NewDetailAuthPolicyUnauthorized creates DetailAuthPolicyUnauthorized with default headers values
func (*DetailAuthPolicyUnauthorized) SetPayload ¶
func (o *DetailAuthPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail auth policy unauthorized response
func (*DetailAuthPolicyUnauthorized) WithPayload ¶
func (o *DetailAuthPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailAuthPolicyUnauthorized
WithPayload adds the payload to the detail auth policy unauthorized response
func (*DetailAuthPolicyUnauthorized) WriteResponse ¶
func (o *DetailAuthPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAuthPolicies ¶
type ListAuthPolicies struct { Context *middleware.Context Handler ListAuthPoliciesHandler }
ListAuthPolicies swagger:route GET /auth-policies Auth Policy listAuthPolicies
List Auth Policies ¶
Retrieves a list of Auth Policies
func NewListAuthPolicies ¶
func NewListAuthPolicies(ctx *middleware.Context, handler ListAuthPoliciesHandler) *ListAuthPolicies
NewListAuthPolicies creates a new http.Handler for the list auth policies operation
func (*ListAuthPolicies) ServeHTTP ¶
func (o *ListAuthPolicies) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListAuthPoliciesBadRequest ¶
type ListAuthPoliciesBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListAuthPoliciesBadRequest 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 listAuthPoliciesBadRequest
func NewListAuthPoliciesBadRequest ¶
func NewListAuthPoliciesBadRequest() *ListAuthPoliciesBadRequest
NewListAuthPoliciesBadRequest creates ListAuthPoliciesBadRequest with default headers values
func (*ListAuthPoliciesBadRequest) SetPayload ¶
func (o *ListAuthPoliciesBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list auth policies bad request response
func (*ListAuthPoliciesBadRequest) WithPayload ¶
func (o *ListAuthPoliciesBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListAuthPoliciesBadRequest
WithPayload adds the payload to the list auth policies bad request response
func (*ListAuthPoliciesBadRequest) WriteResponse ¶
func (o *ListAuthPoliciesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAuthPoliciesHandler ¶
type ListAuthPoliciesHandler interface {
Handle(ListAuthPoliciesParams, interface{}) middleware.Responder
}
ListAuthPoliciesHandler interface for that can handle valid list auth policies params
type ListAuthPoliciesHandlerFunc ¶
type ListAuthPoliciesHandlerFunc func(ListAuthPoliciesParams, interface{}) middleware.Responder
ListAuthPoliciesHandlerFunc turns a function with the right signature into a list auth policies handler
func (ListAuthPoliciesHandlerFunc) Handle ¶
func (fn ListAuthPoliciesHandlerFunc) Handle(params ListAuthPoliciesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListAuthPoliciesOK ¶
type ListAuthPoliciesOK struct { /* In: Body */ Payload *rest_model.ListAuthPoliciesEnvelope `json:"body,omitempty"` }
ListAuthPoliciesOK A list of Auth Policies
swagger:response listAuthPoliciesOK
func NewListAuthPoliciesOK ¶
func NewListAuthPoliciesOK() *ListAuthPoliciesOK
NewListAuthPoliciesOK creates ListAuthPoliciesOK with default headers values
func (*ListAuthPoliciesOK) SetPayload ¶
func (o *ListAuthPoliciesOK) SetPayload(payload *rest_model.ListAuthPoliciesEnvelope)
SetPayload sets the payload to the list auth policies o k response
func (*ListAuthPoliciesOK) WithPayload ¶
func (o *ListAuthPoliciesOK) WithPayload(payload *rest_model.ListAuthPoliciesEnvelope) *ListAuthPoliciesOK
WithPayload adds the payload to the list auth policies o k response
func (*ListAuthPoliciesOK) WriteResponse ¶
func (o *ListAuthPoliciesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAuthPoliciesParams ¶
type ListAuthPoliciesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListAuthPoliciesParams contains all the bound params for the list auth policies operation typically these are obtained from a http.Request
swagger:parameters listAuthPolicies
func NewListAuthPoliciesParams ¶
func NewListAuthPoliciesParams() ListAuthPoliciesParams
NewListAuthPoliciesParams creates a new ListAuthPoliciesParams object
There are no default values defined in the spec.
func (*ListAuthPoliciesParams) BindRequest ¶
func (o *ListAuthPoliciesParams) 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 NewListAuthPoliciesParams() beforehand.
type ListAuthPoliciesTooManyRequests ¶ added in v0.26.0
type ListAuthPoliciesTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListAuthPoliciesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response listAuthPoliciesTooManyRequests
func NewListAuthPoliciesTooManyRequests ¶ added in v0.26.0
func NewListAuthPoliciesTooManyRequests() *ListAuthPoliciesTooManyRequests
NewListAuthPoliciesTooManyRequests creates ListAuthPoliciesTooManyRequests with default headers values
func (*ListAuthPoliciesTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *ListAuthPoliciesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list auth policies too many requests response
func (*ListAuthPoliciesTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *ListAuthPoliciesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListAuthPoliciesTooManyRequests
WithPayload adds the payload to the list auth policies too many requests response
func (*ListAuthPoliciesTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *ListAuthPoliciesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAuthPoliciesURL ¶
type ListAuthPoliciesURL struct { Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListAuthPoliciesURL generates an URL for the list auth policies operation
func (*ListAuthPoliciesURL) Build ¶
func (o *ListAuthPoliciesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListAuthPoliciesURL) BuildFull ¶
func (o *ListAuthPoliciesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListAuthPoliciesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListAuthPoliciesURL) SetBasePath ¶
func (o *ListAuthPoliciesURL) 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 (*ListAuthPoliciesURL) String ¶
func (o *ListAuthPoliciesURL) String() string
String returns the string representation of the path with query string
func (*ListAuthPoliciesURL) StringFull ¶
func (o *ListAuthPoliciesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListAuthPoliciesURL) WithBasePath ¶
func (o *ListAuthPoliciesURL) WithBasePath(bp string) *ListAuthPoliciesURL
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 ListAuthPoliciesUnauthorized ¶
type ListAuthPoliciesUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListAuthPoliciesUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response listAuthPoliciesUnauthorized
func NewListAuthPoliciesUnauthorized ¶
func NewListAuthPoliciesUnauthorized() *ListAuthPoliciesUnauthorized
NewListAuthPoliciesUnauthorized creates ListAuthPoliciesUnauthorized with default headers values
func (*ListAuthPoliciesUnauthorized) SetPayload ¶
func (o *ListAuthPoliciesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list auth policies unauthorized response
func (*ListAuthPoliciesUnauthorized) WithPayload ¶
func (o *ListAuthPoliciesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListAuthPoliciesUnauthorized
WithPayload adds the payload to the list auth policies unauthorized response
func (*ListAuthPoliciesUnauthorized) WriteResponse ¶
func (o *ListAuthPoliciesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchAuthPolicy ¶
type PatchAuthPolicy struct { Context *middleware.Context Handler PatchAuthPolicyHandler }
PatchAuthPolicy swagger:route PATCH /auth-policies/{id} Auth Policy patchAuthPolicy
Update the supplied fields on an Auth Policy ¶
Update only the supplied fields on an Auth Policy by id. Requires admin access.
func NewPatchAuthPolicy ¶
func NewPatchAuthPolicy(ctx *middleware.Context, handler PatchAuthPolicyHandler) *PatchAuthPolicy
NewPatchAuthPolicy creates a new http.Handler for the patch auth policy operation
func (*PatchAuthPolicy) ServeHTTP ¶
func (o *PatchAuthPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchAuthPolicyBadRequest ¶
type PatchAuthPolicyBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchAuthPolicyBadRequest 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 patchAuthPolicyBadRequest
func NewPatchAuthPolicyBadRequest ¶
func NewPatchAuthPolicyBadRequest() *PatchAuthPolicyBadRequest
NewPatchAuthPolicyBadRequest creates PatchAuthPolicyBadRequest with default headers values
func (*PatchAuthPolicyBadRequest) SetPayload ¶
func (o *PatchAuthPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch auth policy bad request response
func (*PatchAuthPolicyBadRequest) WithPayload ¶
func (o *PatchAuthPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchAuthPolicyBadRequest
WithPayload adds the payload to the patch auth policy bad request response
func (*PatchAuthPolicyBadRequest) WriteResponse ¶
func (o *PatchAuthPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchAuthPolicyHandler ¶
type PatchAuthPolicyHandler interface {
Handle(PatchAuthPolicyParams, interface{}) middleware.Responder
}
PatchAuthPolicyHandler interface for that can handle valid patch auth policy params
type PatchAuthPolicyHandlerFunc ¶
type PatchAuthPolicyHandlerFunc func(PatchAuthPolicyParams, interface{}) middleware.Responder
PatchAuthPolicyHandlerFunc turns a function with the right signature into a patch auth policy handler
func (PatchAuthPolicyHandlerFunc) Handle ¶
func (fn PatchAuthPolicyHandlerFunc) Handle(params PatchAuthPolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PatchAuthPolicyNotFound ¶
type PatchAuthPolicyNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchAuthPolicyNotFound The requested resource does not exist
swagger:response patchAuthPolicyNotFound
func NewPatchAuthPolicyNotFound ¶
func NewPatchAuthPolicyNotFound() *PatchAuthPolicyNotFound
NewPatchAuthPolicyNotFound creates PatchAuthPolicyNotFound with default headers values
func (*PatchAuthPolicyNotFound) SetPayload ¶
func (o *PatchAuthPolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch auth policy not found response
func (*PatchAuthPolicyNotFound) WithPayload ¶
func (o *PatchAuthPolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchAuthPolicyNotFound
WithPayload adds the payload to the patch auth policy not found response
func (*PatchAuthPolicyNotFound) WriteResponse ¶
func (o *PatchAuthPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchAuthPolicyOK ¶
type PatchAuthPolicyOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
PatchAuthPolicyOK The patch request was successful and the resource has been altered
swagger:response patchAuthPolicyOK
func NewPatchAuthPolicyOK ¶
func NewPatchAuthPolicyOK() *PatchAuthPolicyOK
NewPatchAuthPolicyOK creates PatchAuthPolicyOK with default headers values
func (*PatchAuthPolicyOK) SetPayload ¶
func (o *PatchAuthPolicyOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the patch auth policy o k response
func (*PatchAuthPolicyOK) WithPayload ¶
func (o *PatchAuthPolicyOK) WithPayload(payload *rest_model.Empty) *PatchAuthPolicyOK
WithPayload adds the payload to the patch auth policy o k response
func (*PatchAuthPolicyOK) WriteResponse ¶
func (o *PatchAuthPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchAuthPolicyParams ¶
type PatchAuthPolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An Auth Policy patch object Required: true In: body */ AuthPolicy *rest_model.AuthPolicyPatch /*The id of the requested resource Required: true In: path */ ID string }
PatchAuthPolicyParams contains all the bound params for the patch auth policy operation typically these are obtained from a http.Request
swagger:parameters patchAuthPolicy
func NewPatchAuthPolicyParams ¶
func NewPatchAuthPolicyParams() PatchAuthPolicyParams
NewPatchAuthPolicyParams creates a new PatchAuthPolicyParams object
There are no default values defined in the spec.
func (*PatchAuthPolicyParams) BindRequest ¶
func (o *PatchAuthPolicyParams) 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 NewPatchAuthPolicyParams() beforehand.
type PatchAuthPolicyTooManyRequests ¶ added in v0.26.0
type PatchAuthPolicyTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchAuthPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response patchAuthPolicyTooManyRequests
func NewPatchAuthPolicyTooManyRequests ¶ added in v0.26.0
func NewPatchAuthPolicyTooManyRequests() *PatchAuthPolicyTooManyRequests
NewPatchAuthPolicyTooManyRequests creates PatchAuthPolicyTooManyRequests with default headers values
func (*PatchAuthPolicyTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *PatchAuthPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch auth policy too many requests response
func (*PatchAuthPolicyTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *PatchAuthPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchAuthPolicyTooManyRequests
WithPayload adds the payload to the patch auth policy too many requests response
func (*PatchAuthPolicyTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *PatchAuthPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchAuthPolicyURL ¶
type PatchAuthPolicyURL struct { ID string // contains filtered or unexported fields }
PatchAuthPolicyURL generates an URL for the patch auth policy operation
func (*PatchAuthPolicyURL) Build ¶
func (o *PatchAuthPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*PatchAuthPolicyURL) BuildFull ¶
func (o *PatchAuthPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PatchAuthPolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PatchAuthPolicyURL) SetBasePath ¶
func (o *PatchAuthPolicyURL) 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 (*PatchAuthPolicyURL) String ¶
func (o *PatchAuthPolicyURL) String() string
String returns the string representation of the path with query string
func (*PatchAuthPolicyURL) StringFull ¶
func (o *PatchAuthPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PatchAuthPolicyURL) WithBasePath ¶
func (o *PatchAuthPolicyURL) WithBasePath(bp string) *PatchAuthPolicyURL
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 PatchAuthPolicyUnauthorized ¶
type PatchAuthPolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
PatchAuthPolicyUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response patchAuthPolicyUnauthorized
func NewPatchAuthPolicyUnauthorized ¶
func NewPatchAuthPolicyUnauthorized() *PatchAuthPolicyUnauthorized
NewPatchAuthPolicyUnauthorized creates PatchAuthPolicyUnauthorized with default headers values
func (*PatchAuthPolicyUnauthorized) SetPayload ¶
func (o *PatchAuthPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch auth policy unauthorized response
func (*PatchAuthPolicyUnauthorized) WithPayload ¶
func (o *PatchAuthPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchAuthPolicyUnauthorized
WithPayload adds the payload to the patch auth policy unauthorized response
func (*PatchAuthPolicyUnauthorized) WriteResponse ¶
func (o *PatchAuthPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAuthPolicy ¶
type UpdateAuthPolicy struct { Context *middleware.Context Handler UpdateAuthPolicyHandler }
UpdateAuthPolicy swagger:route PUT /auth-policies/{id} Auth Policy updateAuthPolicy
Update all fields on an Auth Policy ¶
Update all fields on an Auth Policy by id. Requires admin access.
func NewUpdateAuthPolicy ¶
func NewUpdateAuthPolicy(ctx *middleware.Context, handler UpdateAuthPolicyHandler) *UpdateAuthPolicy
NewUpdateAuthPolicy creates a new http.Handler for the update auth policy operation
func (*UpdateAuthPolicy) ServeHTTP ¶
func (o *UpdateAuthPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateAuthPolicyBadRequest ¶
type UpdateAuthPolicyBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateAuthPolicyBadRequest 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 updateAuthPolicyBadRequest
func NewUpdateAuthPolicyBadRequest ¶
func NewUpdateAuthPolicyBadRequest() *UpdateAuthPolicyBadRequest
NewUpdateAuthPolicyBadRequest creates UpdateAuthPolicyBadRequest with default headers values
func (*UpdateAuthPolicyBadRequest) SetPayload ¶
func (o *UpdateAuthPolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update auth policy bad request response
func (*UpdateAuthPolicyBadRequest) WithPayload ¶
func (o *UpdateAuthPolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateAuthPolicyBadRequest
WithPayload adds the payload to the update auth policy bad request response
func (*UpdateAuthPolicyBadRequest) WriteResponse ¶
func (o *UpdateAuthPolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAuthPolicyHandler ¶
type UpdateAuthPolicyHandler interface {
Handle(UpdateAuthPolicyParams, interface{}) middleware.Responder
}
UpdateAuthPolicyHandler interface for that can handle valid update auth policy params
type UpdateAuthPolicyHandlerFunc ¶
type UpdateAuthPolicyHandlerFunc func(UpdateAuthPolicyParams, interface{}) middleware.Responder
UpdateAuthPolicyHandlerFunc turns a function with the right signature into a update auth policy handler
func (UpdateAuthPolicyHandlerFunc) Handle ¶
func (fn UpdateAuthPolicyHandlerFunc) Handle(params UpdateAuthPolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateAuthPolicyNotFound ¶
type UpdateAuthPolicyNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateAuthPolicyNotFound The requested resource does not exist
swagger:response updateAuthPolicyNotFound
func NewUpdateAuthPolicyNotFound ¶
func NewUpdateAuthPolicyNotFound() *UpdateAuthPolicyNotFound
NewUpdateAuthPolicyNotFound creates UpdateAuthPolicyNotFound with default headers values
func (*UpdateAuthPolicyNotFound) SetPayload ¶
func (o *UpdateAuthPolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update auth policy not found response
func (*UpdateAuthPolicyNotFound) WithPayload ¶
func (o *UpdateAuthPolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateAuthPolicyNotFound
WithPayload adds the payload to the update auth policy not found response
func (*UpdateAuthPolicyNotFound) WriteResponse ¶
func (o *UpdateAuthPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAuthPolicyOK ¶
type UpdateAuthPolicyOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
UpdateAuthPolicyOK The update request was successful and the resource has been altered
swagger:response updateAuthPolicyOK
func NewUpdateAuthPolicyOK ¶
func NewUpdateAuthPolicyOK() *UpdateAuthPolicyOK
NewUpdateAuthPolicyOK creates UpdateAuthPolicyOK with default headers values
func (*UpdateAuthPolicyOK) SetPayload ¶
func (o *UpdateAuthPolicyOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the update auth policy o k response
func (*UpdateAuthPolicyOK) WithPayload ¶
func (o *UpdateAuthPolicyOK) WithPayload(payload *rest_model.Empty) *UpdateAuthPolicyOK
WithPayload adds the payload to the update auth policy o k response
func (*UpdateAuthPolicyOK) WriteResponse ¶
func (o *UpdateAuthPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAuthPolicyParams ¶
type UpdateAuthPolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An Auth Policy update object Required: true In: body */ AuthPolicy *rest_model.AuthPolicyUpdate /*The id of the requested resource Required: true In: path */ ID string }
UpdateAuthPolicyParams contains all the bound params for the update auth policy operation typically these are obtained from a http.Request
swagger:parameters updateAuthPolicy
func NewUpdateAuthPolicyParams ¶
func NewUpdateAuthPolicyParams() UpdateAuthPolicyParams
NewUpdateAuthPolicyParams creates a new UpdateAuthPolicyParams object
There are no default values defined in the spec.
func (*UpdateAuthPolicyParams) BindRequest ¶
func (o *UpdateAuthPolicyParams) 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 NewUpdateAuthPolicyParams() beforehand.
type UpdateAuthPolicyTooManyRequests ¶ added in v0.26.0
type UpdateAuthPolicyTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateAuthPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response updateAuthPolicyTooManyRequests
func NewUpdateAuthPolicyTooManyRequests ¶ added in v0.26.0
func NewUpdateAuthPolicyTooManyRequests() *UpdateAuthPolicyTooManyRequests
NewUpdateAuthPolicyTooManyRequests creates UpdateAuthPolicyTooManyRequests with default headers values
func (*UpdateAuthPolicyTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *UpdateAuthPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update auth policy too many requests response
func (*UpdateAuthPolicyTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *UpdateAuthPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateAuthPolicyTooManyRequests
WithPayload adds the payload to the update auth policy too many requests response
func (*UpdateAuthPolicyTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *UpdateAuthPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAuthPolicyURL ¶
type UpdateAuthPolicyURL struct { ID string // contains filtered or unexported fields }
UpdateAuthPolicyURL generates an URL for the update auth policy operation
func (*UpdateAuthPolicyURL) Build ¶
func (o *UpdateAuthPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateAuthPolicyURL) BuildFull ¶
func (o *UpdateAuthPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateAuthPolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateAuthPolicyURL) SetBasePath ¶
func (o *UpdateAuthPolicyURL) 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 (*UpdateAuthPolicyURL) String ¶
func (o *UpdateAuthPolicyURL) String() string
String returns the string representation of the path with query string
func (*UpdateAuthPolicyURL) StringFull ¶
func (o *UpdateAuthPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateAuthPolicyURL) WithBasePath ¶
func (o *UpdateAuthPolicyURL) WithBasePath(bp string) *UpdateAuthPolicyURL
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 UpdateAuthPolicyUnauthorized ¶
type UpdateAuthPolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
UpdateAuthPolicyUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response updateAuthPolicyUnauthorized
func NewUpdateAuthPolicyUnauthorized ¶
func NewUpdateAuthPolicyUnauthorized() *UpdateAuthPolicyUnauthorized
NewUpdateAuthPolicyUnauthorized creates UpdateAuthPolicyUnauthorized with default headers values
func (*UpdateAuthPolicyUnauthorized) SetPayload ¶
func (o *UpdateAuthPolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update auth policy unauthorized response
func (*UpdateAuthPolicyUnauthorized) WithPayload ¶
func (o *UpdateAuthPolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateAuthPolicyUnauthorized
WithPayload adds the payload to the update auth policy unauthorized response
func (*UpdateAuthPolicyUnauthorized) WriteResponse ¶
func (o *UpdateAuthPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_auth_policy.go
- create_auth_policy_parameters.go
- create_auth_policy_responses.go
- create_auth_policy_urlbuilder.go
- delete_auth_policy.go
- delete_auth_policy_parameters.go
- delete_auth_policy_responses.go
- delete_auth_policy_urlbuilder.go
- detail_auth_policy.go
- detail_auth_policy_parameters.go
- detail_auth_policy_responses.go
- detail_auth_policy_urlbuilder.go
- list_auth_policies.go
- list_auth_policies_parameters.go
- list_auth_policies_responses.go
- list_auth_policies_urlbuilder.go
- patch_auth_policy.go
- patch_auth_policy_parameters.go
- patch_auth_policy_responses.go
- patch_auth_policy_urlbuilder.go
- update_auth_policy.go
- update_auth_policy_parameters.go
- update_auth_policy_responses.go
- update_auth_policy_urlbuilder.go