auth_policy

package
v0.0.0-...-31bffcd Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const CreateAuthPolicyBadRequestCode int = 400

CreateAuthPolicyBadRequestCode is the HTTP code returned for type CreateAuthPolicyBadRequest

View Source
const CreateAuthPolicyCreatedCode int = 201

CreateAuthPolicyCreatedCode is the HTTP code returned for type CreateAuthPolicyCreated

View Source
const CreateAuthPolicyUnauthorizedCode int = 401

CreateAuthPolicyUnauthorizedCode is the HTTP code returned for type CreateAuthPolicyUnauthorized

View Source
const DeleteAuthPolicyBadRequestCode int = 400

DeleteAuthPolicyBadRequestCode is the HTTP code returned for type DeleteAuthPolicyBadRequest

View Source
const DeleteAuthPolicyOKCode int = 200

DeleteAuthPolicyOKCode is the HTTP code returned for type DeleteAuthPolicyOK

View Source
const DeleteAuthPolicyUnauthorizedCode int = 401

DeleteAuthPolicyUnauthorizedCode is the HTTP code returned for type DeleteAuthPolicyUnauthorized

View Source
const DetailAuthPolicyNotFoundCode int = 404

DetailAuthPolicyNotFoundCode is the HTTP code returned for type DetailAuthPolicyNotFound

View Source
const DetailAuthPolicyOKCode int = 200

DetailAuthPolicyOKCode is the HTTP code returned for type DetailAuthPolicyOK

View Source
const DetailAuthPolicyUnauthorizedCode int = 401

DetailAuthPolicyUnauthorizedCode is the HTTP code returned for type DetailAuthPolicyUnauthorized

View Source
const ListAuthPoliciesBadRequestCode int = 400

ListAuthPoliciesBadRequestCode is the HTTP code returned for type ListAuthPoliciesBadRequest

View Source
const ListAuthPoliciesOKCode int = 200

ListAuthPoliciesOKCode is the HTTP code returned for type ListAuthPoliciesOK

View Source
const ListAuthPoliciesUnauthorizedCode int = 401

ListAuthPoliciesUnauthorizedCode is the HTTP code returned for type ListAuthPoliciesUnauthorized

View Source
const PatchAuthPolicyBadRequestCode int = 400

PatchAuthPolicyBadRequestCode is the HTTP code returned for type PatchAuthPolicyBadRequest

View Source
const PatchAuthPolicyNotFoundCode int = 404

PatchAuthPolicyNotFoundCode is the HTTP code returned for type PatchAuthPolicyNotFound

View Source
const PatchAuthPolicyOKCode int = 200

PatchAuthPolicyOKCode is the HTTP code returned for type PatchAuthPolicyOK

View Source
const PatchAuthPolicyUnauthorizedCode int = 401

PatchAuthPolicyUnauthorizedCode is the HTTP code returned for type PatchAuthPolicyUnauthorized

View Source
const UpdateAuthPolicyBadRequestCode int = 400

UpdateAuthPolicyBadRequestCode is the HTTP code returned for type UpdateAuthPolicyBadRequest

View Source
const UpdateAuthPolicyNotFoundCode int = 404

UpdateAuthPolicyNotFoundCode is the HTTP code returned for type UpdateAuthPolicyNotFound

View Source
const UpdateAuthPolicyOKCode int = 200

UpdateAuthPolicyOKCode is the HTTP code returned for type UpdateAuthPolicyOK

View Source
const UpdateAuthPolicyUnauthorizedCode int = 401

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

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

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 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

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

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 {

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

CreateAuthPolicyUnauthorized The currently 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

SetPayload sets the payload to the create auth policy unauthorized response

func (*CreateAuthPolicyUnauthorized) WithPayload

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

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 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

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

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 {

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

DeleteAuthPolicyUnauthorized The currently 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

SetPayload sets the payload to the delete auth policy unauthorized response

func (*DeleteAuthPolicyUnauthorized) WithPayload

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

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

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 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

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

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 {

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

DetailAuthPolicyUnauthorized The currently 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

SetPayload sets the payload to the detail auth policy unauthorized response

func (*DetailAuthPolicyUnauthorized) WithPayload

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

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

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 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

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

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 {

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

ListAuthPoliciesUnauthorized The currently 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

SetPayload sets the payload to the list auth policies unauthorized response

func (*ListAuthPoliciesUnauthorized) WithPayload

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

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

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 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

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

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 {

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

PatchAuthPolicyUnauthorized The currently 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

SetPayload sets the payload to the patch auth policy unauthorized response

func (*PatchAuthPolicyUnauthorized) WithPayload

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

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

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 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

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

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 {

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

UpdateAuthPolicyUnauthorized The currently 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

SetPayload sets the payload to the update auth policy unauthorized response

func (*UpdateAuthPolicyUnauthorized) WithPayload

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

Jump to

Keyboard shortcuts

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