Documentation
¶
Index ¶
- Constants
- type CreateRevocation
- type CreateRevocationBadRequest
- func (o *CreateRevocationBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateRevocationBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *CreateRevocationBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateRevocationBadRequest
- func (o *CreateRevocationBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRevocationBadRequest
- func (o *CreateRevocationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateRevocationCreated
- func (o *CreateRevocationCreated) SetPayload(payload *rest_model.CreateEnvelope)
- func (o *CreateRevocationCreated) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *CreateRevocationCreated) WithPayload(payload *rest_model.CreateEnvelope) *CreateRevocationCreated
- func (o *CreateRevocationCreated) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRevocationCreated
- func (o *CreateRevocationCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateRevocationHandler
- type CreateRevocationHandlerFunc
- type CreateRevocationNotFound
- func (o *CreateRevocationNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateRevocationNotFound) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *CreateRevocationNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateRevocationNotFound
- func (o *CreateRevocationNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRevocationNotFound
- func (o *CreateRevocationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateRevocationParams
- type CreateRevocationServiceUnavailable
- func (o *CreateRevocationServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateRevocationServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *CreateRevocationServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateRevocationServiceUnavailable
- func (o *CreateRevocationServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRevocationServiceUnavailable
- func (o *CreateRevocationServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateRevocationTooManyRequests
- func (o *CreateRevocationTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateRevocationTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *CreateRevocationTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateRevocationTooManyRequests
- func (o *CreateRevocationTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRevocationTooManyRequests
- func (o *CreateRevocationTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateRevocationURL
- func (o *CreateRevocationURL) Build() (*url.URL, error)
- func (o *CreateRevocationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateRevocationURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateRevocationURL) SetBasePath(bp string)
- func (o *CreateRevocationURL) String() string
- func (o *CreateRevocationURL) StringFull(scheme, host string) string
- func (o *CreateRevocationURL) WithBasePath(bp string) *CreateRevocationURL
- type CreateRevocationUnauthorized
- func (o *CreateRevocationUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateRevocationUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *CreateRevocationUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateRevocationUnauthorized
- func (o *CreateRevocationUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRevocationUnauthorized
- func (o *CreateRevocationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailRevocation
- type DetailRevocationHandler
- type DetailRevocationHandlerFunc
- type DetailRevocationNotFound
- func (o *DetailRevocationNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailRevocationNotFound) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *DetailRevocationNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailRevocationNotFound
- func (o *DetailRevocationNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRevocationNotFound
- func (o *DetailRevocationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailRevocationOK
- func (o *DetailRevocationOK) SetPayload(payload *rest_model.DetailRevocationEnvelope)
- func (o *DetailRevocationOK) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *DetailRevocationOK) WithPayload(payload *rest_model.DetailRevocationEnvelope) *DetailRevocationOK
- func (o *DetailRevocationOK) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRevocationOK
- func (o *DetailRevocationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailRevocationParams
- type DetailRevocationServiceUnavailable
- func (o *DetailRevocationServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailRevocationServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *DetailRevocationServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailRevocationServiceUnavailable
- func (o *DetailRevocationServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRevocationServiceUnavailable
- func (o *DetailRevocationServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailRevocationTooManyRequests
- func (o *DetailRevocationTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailRevocationTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *DetailRevocationTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailRevocationTooManyRequests
- func (o *DetailRevocationTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRevocationTooManyRequests
- func (o *DetailRevocationTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailRevocationURL
- func (o *DetailRevocationURL) Build() (*url.URL, error)
- func (o *DetailRevocationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DetailRevocationURL) Must(u *url.URL, err error) *url.URL
- func (o *DetailRevocationURL) SetBasePath(bp string)
- func (o *DetailRevocationURL) String() string
- func (o *DetailRevocationURL) StringFull(scheme, host string) string
- func (o *DetailRevocationURL) WithBasePath(bp string) *DetailRevocationURL
- type DetailRevocationUnauthorized
- func (o *DetailRevocationUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailRevocationUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *DetailRevocationUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailRevocationUnauthorized
- func (o *DetailRevocationUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRevocationUnauthorized
- func (o *DetailRevocationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListRevocations
- type ListRevocationsBadRequest
- func (o *ListRevocationsBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListRevocationsBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *ListRevocationsBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListRevocationsBadRequest
- func (o *ListRevocationsBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *ListRevocationsBadRequest
- func (o *ListRevocationsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListRevocationsHandler
- type ListRevocationsHandlerFunc
- type ListRevocationsOK
- func (o *ListRevocationsOK) SetPayload(payload *rest_model.ListRevocationsEnvelope)
- func (o *ListRevocationsOK) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *ListRevocationsOK) WithPayload(payload *rest_model.ListRevocationsEnvelope) *ListRevocationsOK
- func (o *ListRevocationsOK) WithWWWAuthenticate(wWWAuthenticate []string) *ListRevocationsOK
- func (o *ListRevocationsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListRevocationsParams
- type ListRevocationsServiceUnavailable
- func (o *ListRevocationsServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListRevocationsServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *ListRevocationsServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *ListRevocationsServiceUnavailable
- func (o *ListRevocationsServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *ListRevocationsServiceUnavailable
- func (o *ListRevocationsServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListRevocationsTooManyRequests
- func (o *ListRevocationsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListRevocationsTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *ListRevocationsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListRevocationsTooManyRequests
- func (o *ListRevocationsTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *ListRevocationsTooManyRequests
- func (o *ListRevocationsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListRevocationsURL
- func (o *ListRevocationsURL) Build() (*url.URL, error)
- func (o *ListRevocationsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListRevocationsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListRevocationsURL) SetBasePath(bp string)
- func (o *ListRevocationsURL) String() string
- func (o *ListRevocationsURL) StringFull(scheme, host string) string
- func (o *ListRevocationsURL) WithBasePath(bp string) *ListRevocationsURL
- type ListRevocationsUnauthorized
- func (o *ListRevocationsUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListRevocationsUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *ListRevocationsUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListRevocationsUnauthorized
- func (o *ListRevocationsUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *ListRevocationsUnauthorized
- func (o *ListRevocationsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const CreateRevocationBadRequestCode int = 400
CreateRevocationBadRequestCode is the HTTP code returned for type CreateRevocationBadRequest
const CreateRevocationCreatedCode int = 201
CreateRevocationCreatedCode is the HTTP code returned for type CreateRevocationCreated
const CreateRevocationNotFoundCode int = 404
CreateRevocationNotFoundCode is the HTTP code returned for type CreateRevocationNotFound
CreateRevocationServiceUnavailableCode is the HTTP code returned for type CreateRevocationServiceUnavailable
const CreateRevocationTooManyRequestsCode int = 429
CreateRevocationTooManyRequestsCode is the HTTP code returned for type CreateRevocationTooManyRequests
CreateRevocationUnauthorizedCode is the HTTP code returned for type CreateRevocationUnauthorized
const DetailRevocationNotFoundCode int = 404
DetailRevocationNotFoundCode is the HTTP code returned for type DetailRevocationNotFound
const DetailRevocationOKCode int = 200
DetailRevocationOKCode is the HTTP code returned for type DetailRevocationOK
DetailRevocationServiceUnavailableCode is the HTTP code returned for type DetailRevocationServiceUnavailable
const DetailRevocationTooManyRequestsCode int = 429
DetailRevocationTooManyRequestsCode is the HTTP code returned for type DetailRevocationTooManyRequests
DetailRevocationUnauthorizedCode is the HTTP code returned for type DetailRevocationUnauthorized
const ListRevocationsBadRequestCode int = 400
ListRevocationsBadRequestCode is the HTTP code returned for type ListRevocationsBadRequest
const ListRevocationsOKCode int = 200
ListRevocationsOKCode is the HTTP code returned for type ListRevocationsOK
ListRevocationsServiceUnavailableCode is the HTTP code returned for type ListRevocationsServiceUnavailable
const ListRevocationsTooManyRequestsCode int = 429
ListRevocationsTooManyRequestsCode is the HTTP code returned for type ListRevocationsTooManyRequests
ListRevocationsUnauthorizedCode is the HTTP code returned for type ListRevocationsUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateRevocation ¶
type CreateRevocation struct {
Context *middleware.Context
Handler CreateRevocationHandler
}
CreateRevocation swagger:route POST /revocations Revocation createRevocation
Create a Revocation ¶
Creates a revocation entry. Requires admin access.
func NewCreateRevocation ¶
func NewCreateRevocation(ctx *middleware.Context, handler CreateRevocationHandler) *CreateRevocation
NewCreateRevocation creates a new http.Handler for the create revocation operation
func (*CreateRevocation) ServeHTTP ¶
func (o *CreateRevocation) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateRevocationBadRequest ¶
type CreateRevocationBadRequest struct {
/*Denotes different type of security token related information
*/
WWWAuthenticate []string `json:"WWW-Authenticate"`
/*
In: Body
*/
Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}
CreateRevocationBadRequest 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 createRevocationBadRequest
func NewCreateRevocationBadRequest ¶
func NewCreateRevocationBadRequest() *CreateRevocationBadRequest
NewCreateRevocationBadRequest creates CreateRevocationBadRequest with default headers values
func (*CreateRevocationBadRequest) SetPayload ¶
func (o *CreateRevocationBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create revocation bad request response
func (*CreateRevocationBadRequest) SetWWWAuthenticate ¶
func (o *CreateRevocationBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)
SetWWWAuthenticate sets the wWWAuthenticate to the create revocation bad request response
func (*CreateRevocationBadRequest) WithPayload ¶
func (o *CreateRevocationBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateRevocationBadRequest
WithPayload adds the payload to the create revocation bad request response
func (*CreateRevocationBadRequest) WithWWWAuthenticate ¶
func (o *CreateRevocationBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRevocationBadRequest
WithWWWAuthenticate adds the wWWAuthenticate to the create revocation bad request response
func (*CreateRevocationBadRequest) WriteResponse ¶
func (o *CreateRevocationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateRevocationCreated ¶
type CreateRevocationCreated struct {
/*Denotes different type of security token related information
*/
WWWAuthenticate []string `json:"WWW-Authenticate"`
/*
In: Body
*/
Payload *rest_model.CreateEnvelope `json:"body,omitempty"`
}
CreateRevocationCreated The create request was successful and the resource has been added at the following location
swagger:response createRevocationCreated
func NewCreateRevocationCreated ¶
func NewCreateRevocationCreated() *CreateRevocationCreated
NewCreateRevocationCreated creates CreateRevocationCreated with default headers values
func (*CreateRevocationCreated) SetPayload ¶
func (o *CreateRevocationCreated) SetPayload(payload *rest_model.CreateEnvelope)
SetPayload sets the payload to the create revocation created response
func (*CreateRevocationCreated) SetWWWAuthenticate ¶
func (o *CreateRevocationCreated) SetWWWAuthenticate(wWWAuthenticate []string)
SetWWWAuthenticate sets the wWWAuthenticate to the create revocation created response
func (*CreateRevocationCreated) WithPayload ¶
func (o *CreateRevocationCreated) WithPayload(payload *rest_model.CreateEnvelope) *CreateRevocationCreated
WithPayload adds the payload to the create revocation created response
func (*CreateRevocationCreated) WithWWWAuthenticate ¶
func (o *CreateRevocationCreated) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRevocationCreated
WithWWWAuthenticate adds the wWWAuthenticate to the create revocation created response
func (*CreateRevocationCreated) WriteResponse ¶
func (o *CreateRevocationCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateRevocationHandler ¶
type CreateRevocationHandler interface {
Handle(CreateRevocationParams, any) middleware.Responder
}
CreateRevocationHandler interface for that can handle valid create revocation params
type CreateRevocationHandlerFunc ¶
type CreateRevocationHandlerFunc func(CreateRevocationParams, any) middleware.Responder
CreateRevocationHandlerFunc turns a function with the right signature into a create revocation handler
func (CreateRevocationHandlerFunc) Handle ¶
func (fn CreateRevocationHandlerFunc) Handle(params CreateRevocationParams, principal any) middleware.Responder
Handle executing the request and returning a response
type CreateRevocationNotFound ¶
type CreateRevocationNotFound struct {
/*Denotes different type of security token related information
*/
WWWAuthenticate []string `json:"WWW-Authenticate"`
/*
In: Body
*/
Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}
CreateRevocationNotFound The requested resource does not exist
swagger:response createRevocationNotFound
func NewCreateRevocationNotFound ¶
func NewCreateRevocationNotFound() *CreateRevocationNotFound
NewCreateRevocationNotFound creates CreateRevocationNotFound with default headers values
func (*CreateRevocationNotFound) SetPayload ¶
func (o *CreateRevocationNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create revocation not found response
func (*CreateRevocationNotFound) SetWWWAuthenticate ¶
func (o *CreateRevocationNotFound) SetWWWAuthenticate(wWWAuthenticate []string)
SetWWWAuthenticate sets the wWWAuthenticate to the create revocation not found response
func (*CreateRevocationNotFound) WithPayload ¶
func (o *CreateRevocationNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateRevocationNotFound
WithPayload adds the payload to the create revocation not found response
func (*CreateRevocationNotFound) WithWWWAuthenticate ¶
func (o *CreateRevocationNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRevocationNotFound
WithWWWAuthenticate adds the wWWAuthenticate to the create revocation not found response
func (*CreateRevocationNotFound) WriteResponse ¶
func (o *CreateRevocationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateRevocationParams ¶
type CreateRevocationParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*A Revocation to create
Required: true
In: body
*/
Revocation *rest_model.RevocationCreate
}
CreateRevocationParams contains all the bound params for the create revocation operation typically these are obtained from a http.Request
swagger:parameters createRevocation
func NewCreateRevocationParams ¶
func NewCreateRevocationParams() CreateRevocationParams
NewCreateRevocationParams creates a new CreateRevocationParams object
There are no default values defined in the spec.
func (*CreateRevocationParams) BindRequest ¶
func (o *CreateRevocationParams) 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 NewCreateRevocationParams() beforehand.
type CreateRevocationServiceUnavailable ¶
type CreateRevocationServiceUnavailable struct {
WWWAuthenticate []string `json:"WWW-Authenticate"`
Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}
CreateRevocationServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state
swagger:response createRevocationServiceUnavailable
func NewCreateRevocationServiceUnavailable ¶
func NewCreateRevocationServiceUnavailable() *CreateRevocationServiceUnavailable
NewCreateRevocationServiceUnavailable creates CreateRevocationServiceUnavailable with default headers values
func (*CreateRevocationServiceUnavailable) SetPayload ¶
func (o *CreateRevocationServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create revocation service unavailable response
func (*CreateRevocationServiceUnavailable) SetWWWAuthenticate ¶
func (o *CreateRevocationServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)
SetWWWAuthenticate sets the wWWAuthenticate to the create revocation service unavailable response
func (*CreateRevocationServiceUnavailable) WithPayload ¶
func (o *CreateRevocationServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateRevocationServiceUnavailable
WithPayload adds the payload to the create revocation service unavailable response
func (*CreateRevocationServiceUnavailable) WithWWWAuthenticate ¶
func (o *CreateRevocationServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRevocationServiceUnavailable
WithWWWAuthenticate adds the wWWAuthenticate to the create revocation service unavailable response
func (*CreateRevocationServiceUnavailable) WriteResponse ¶
func (o *CreateRevocationServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateRevocationTooManyRequests ¶
type CreateRevocationTooManyRequests struct {
/*Denotes different type of security token related information
*/
WWWAuthenticate []string `json:"WWW-Authenticate"`
/*
In: Body
*/
Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}
CreateRevocationTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response createRevocationTooManyRequests
func NewCreateRevocationTooManyRequests ¶
func NewCreateRevocationTooManyRequests() *CreateRevocationTooManyRequests
NewCreateRevocationTooManyRequests creates CreateRevocationTooManyRequests with default headers values
func (*CreateRevocationTooManyRequests) SetPayload ¶
func (o *CreateRevocationTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create revocation too many requests response
func (*CreateRevocationTooManyRequests) SetWWWAuthenticate ¶
func (o *CreateRevocationTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)
SetWWWAuthenticate sets the wWWAuthenticate to the create revocation too many requests response
func (*CreateRevocationTooManyRequests) WithPayload ¶
func (o *CreateRevocationTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateRevocationTooManyRequests
WithPayload adds the payload to the create revocation too many requests response
func (*CreateRevocationTooManyRequests) WithWWWAuthenticate ¶
func (o *CreateRevocationTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRevocationTooManyRequests
WithWWWAuthenticate adds the wWWAuthenticate to the create revocation too many requests response
func (*CreateRevocationTooManyRequests) WriteResponse ¶
func (o *CreateRevocationTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateRevocationURL ¶
type CreateRevocationURL struct {
// contains filtered or unexported fields
}
CreateRevocationURL generates an URL for the create revocation operation
func (*CreateRevocationURL) Build ¶
func (o *CreateRevocationURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateRevocationURL) BuildFull ¶
func (o *CreateRevocationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateRevocationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateRevocationURL) SetBasePath ¶
func (o *CreateRevocationURL) 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 (*CreateRevocationURL) String ¶
func (o *CreateRevocationURL) String() string
String returns the string representation of the path with query string
func (*CreateRevocationURL) StringFull ¶
func (o *CreateRevocationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateRevocationURL) WithBasePath ¶
func (o *CreateRevocationURL) WithBasePath(bp string) *CreateRevocationURL
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 CreateRevocationUnauthorized ¶
type CreateRevocationUnauthorized struct {
WWWAuthenticate []string `json:"WWW-Authenticate"`
Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}
CreateRevocationUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response createRevocationUnauthorized
func NewCreateRevocationUnauthorized ¶
func NewCreateRevocationUnauthorized() *CreateRevocationUnauthorized
NewCreateRevocationUnauthorized creates CreateRevocationUnauthorized with default headers values
func (*CreateRevocationUnauthorized) SetPayload ¶
func (o *CreateRevocationUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create revocation unauthorized response
func (*CreateRevocationUnauthorized) SetWWWAuthenticate ¶
func (o *CreateRevocationUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)
SetWWWAuthenticate sets the wWWAuthenticate to the create revocation unauthorized response
func (*CreateRevocationUnauthorized) WithPayload ¶
func (o *CreateRevocationUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateRevocationUnauthorized
WithPayload adds the payload to the create revocation unauthorized response
func (*CreateRevocationUnauthorized) WithWWWAuthenticate ¶
func (o *CreateRevocationUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRevocationUnauthorized
WithWWWAuthenticate adds the wWWAuthenticate to the create revocation unauthorized response
func (*CreateRevocationUnauthorized) WriteResponse ¶
func (o *CreateRevocationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailRevocation ¶
type DetailRevocation struct {
Context *middleware.Context
Handler DetailRevocationHandler
}
DetailRevocation swagger:route GET /revocations/{id} Revocation detailRevocation
Retrieves a single Revocation ¶
Retrieves a single revocation by id. Requires admin access.
func NewDetailRevocation ¶
func NewDetailRevocation(ctx *middleware.Context, handler DetailRevocationHandler) *DetailRevocation
NewDetailRevocation creates a new http.Handler for the detail revocation operation
func (*DetailRevocation) ServeHTTP ¶
func (o *DetailRevocation) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DetailRevocationHandler ¶
type DetailRevocationHandler interface {
Handle(DetailRevocationParams, any) middleware.Responder
}
DetailRevocationHandler interface for that can handle valid detail revocation params
type DetailRevocationHandlerFunc ¶
type DetailRevocationHandlerFunc func(DetailRevocationParams, any) middleware.Responder
DetailRevocationHandlerFunc turns a function with the right signature into a detail revocation handler
func (DetailRevocationHandlerFunc) Handle ¶
func (fn DetailRevocationHandlerFunc) Handle(params DetailRevocationParams, principal any) middleware.Responder
Handle executing the request and returning a response
type DetailRevocationNotFound ¶
type DetailRevocationNotFound struct {
/*Denotes different type of security token related information
*/
WWWAuthenticate []string `json:"WWW-Authenticate"`
/*
In: Body
*/
Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}
DetailRevocationNotFound The requested resource does not exist
swagger:response detailRevocationNotFound
func NewDetailRevocationNotFound ¶
func NewDetailRevocationNotFound() *DetailRevocationNotFound
NewDetailRevocationNotFound creates DetailRevocationNotFound with default headers values
func (*DetailRevocationNotFound) SetPayload ¶
func (o *DetailRevocationNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail revocation not found response
func (*DetailRevocationNotFound) SetWWWAuthenticate ¶
func (o *DetailRevocationNotFound) SetWWWAuthenticate(wWWAuthenticate []string)
SetWWWAuthenticate sets the wWWAuthenticate to the detail revocation not found response
func (*DetailRevocationNotFound) WithPayload ¶
func (o *DetailRevocationNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailRevocationNotFound
WithPayload adds the payload to the detail revocation not found response
func (*DetailRevocationNotFound) WithWWWAuthenticate ¶
func (o *DetailRevocationNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRevocationNotFound
WithWWWAuthenticate adds the wWWAuthenticate to the detail revocation not found response
func (*DetailRevocationNotFound) WriteResponse ¶
func (o *DetailRevocationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailRevocationOK ¶
type DetailRevocationOK struct {
/*Denotes different type of security token related information
*/
WWWAuthenticate []string `json:"WWW-Authenticate"`
/*
In: Body
*/
Payload *rest_model.DetailRevocationEnvelope `json:"body,omitempty"`
}
DetailRevocationOK A singular Revocation resource
swagger:response detailRevocationOK
func NewDetailRevocationOK ¶
func NewDetailRevocationOK() *DetailRevocationOK
NewDetailRevocationOK creates DetailRevocationOK with default headers values
func (*DetailRevocationOK) SetPayload ¶
func (o *DetailRevocationOK) SetPayload(payload *rest_model.DetailRevocationEnvelope)
SetPayload sets the payload to the detail revocation o k response
func (*DetailRevocationOK) SetWWWAuthenticate ¶
func (o *DetailRevocationOK) SetWWWAuthenticate(wWWAuthenticate []string)
SetWWWAuthenticate sets the wWWAuthenticate to the detail revocation o k response
func (*DetailRevocationOK) WithPayload ¶
func (o *DetailRevocationOK) WithPayload(payload *rest_model.DetailRevocationEnvelope) *DetailRevocationOK
WithPayload adds the payload to the detail revocation o k response
func (*DetailRevocationOK) WithWWWAuthenticate ¶
func (o *DetailRevocationOK) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRevocationOK
WithWWWAuthenticate adds the wWWAuthenticate to the detail revocation o k response
func (*DetailRevocationOK) WriteResponse ¶
func (o *DetailRevocationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailRevocationParams ¶
type DetailRevocationParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*The id of the requested resource
Required: true
In: path
*/
ID string
}
DetailRevocationParams contains all the bound params for the detail revocation operation typically these are obtained from a http.Request
swagger:parameters detailRevocation
func NewDetailRevocationParams ¶
func NewDetailRevocationParams() DetailRevocationParams
NewDetailRevocationParams creates a new DetailRevocationParams object
There are no default values defined in the spec.
func (*DetailRevocationParams) BindRequest ¶
func (o *DetailRevocationParams) 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 NewDetailRevocationParams() beforehand.
type DetailRevocationServiceUnavailable ¶
type DetailRevocationServiceUnavailable struct {
WWWAuthenticate []string `json:"WWW-Authenticate"`
Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}
DetailRevocationServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state
swagger:response detailRevocationServiceUnavailable
func NewDetailRevocationServiceUnavailable ¶
func NewDetailRevocationServiceUnavailable() *DetailRevocationServiceUnavailable
NewDetailRevocationServiceUnavailable creates DetailRevocationServiceUnavailable with default headers values
func (*DetailRevocationServiceUnavailable) SetPayload ¶
func (o *DetailRevocationServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail revocation service unavailable response
func (*DetailRevocationServiceUnavailable) SetWWWAuthenticate ¶
func (o *DetailRevocationServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)
SetWWWAuthenticate sets the wWWAuthenticate to the detail revocation service unavailable response
func (*DetailRevocationServiceUnavailable) WithPayload ¶
func (o *DetailRevocationServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailRevocationServiceUnavailable
WithPayload adds the payload to the detail revocation service unavailable response
func (*DetailRevocationServiceUnavailable) WithWWWAuthenticate ¶
func (o *DetailRevocationServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRevocationServiceUnavailable
WithWWWAuthenticate adds the wWWAuthenticate to the detail revocation service unavailable response
func (*DetailRevocationServiceUnavailable) WriteResponse ¶
func (o *DetailRevocationServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailRevocationTooManyRequests ¶
type DetailRevocationTooManyRequests struct {
/*Denotes different type of security token related information
*/
WWWAuthenticate []string `json:"WWW-Authenticate"`
/*
In: Body
*/
Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}
DetailRevocationTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response detailRevocationTooManyRequests
func NewDetailRevocationTooManyRequests ¶
func NewDetailRevocationTooManyRequests() *DetailRevocationTooManyRequests
NewDetailRevocationTooManyRequests creates DetailRevocationTooManyRequests with default headers values
func (*DetailRevocationTooManyRequests) SetPayload ¶
func (o *DetailRevocationTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail revocation too many requests response
func (*DetailRevocationTooManyRequests) SetWWWAuthenticate ¶
func (o *DetailRevocationTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)
SetWWWAuthenticate sets the wWWAuthenticate to the detail revocation too many requests response
func (*DetailRevocationTooManyRequests) WithPayload ¶
func (o *DetailRevocationTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailRevocationTooManyRequests
WithPayload adds the payload to the detail revocation too many requests response
func (*DetailRevocationTooManyRequests) WithWWWAuthenticate ¶
func (o *DetailRevocationTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRevocationTooManyRequests
WithWWWAuthenticate adds the wWWAuthenticate to the detail revocation too many requests response
func (*DetailRevocationTooManyRequests) WriteResponse ¶
func (o *DetailRevocationTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailRevocationURL ¶
type DetailRevocationURL struct {
ID string
// contains filtered or unexported fields
}
DetailRevocationURL generates an URL for the detail revocation operation
func (*DetailRevocationURL) Build ¶
func (o *DetailRevocationURL) Build() (*url.URL, error)
Build a url path and query string
func (*DetailRevocationURL) BuildFull ¶
func (o *DetailRevocationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DetailRevocationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DetailRevocationURL) SetBasePath ¶
func (o *DetailRevocationURL) 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 (*DetailRevocationURL) String ¶
func (o *DetailRevocationURL) String() string
String returns the string representation of the path with query string
func (*DetailRevocationURL) StringFull ¶
func (o *DetailRevocationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DetailRevocationURL) WithBasePath ¶
func (o *DetailRevocationURL) WithBasePath(bp string) *DetailRevocationURL
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 DetailRevocationUnauthorized ¶
type DetailRevocationUnauthorized struct {
WWWAuthenticate []string `json:"WWW-Authenticate"`
Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}
DetailRevocationUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response detailRevocationUnauthorized
func NewDetailRevocationUnauthorized ¶
func NewDetailRevocationUnauthorized() *DetailRevocationUnauthorized
NewDetailRevocationUnauthorized creates DetailRevocationUnauthorized with default headers values
func (*DetailRevocationUnauthorized) SetPayload ¶
func (o *DetailRevocationUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail revocation unauthorized response
func (*DetailRevocationUnauthorized) SetWWWAuthenticate ¶
func (o *DetailRevocationUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)
SetWWWAuthenticate sets the wWWAuthenticate to the detail revocation unauthorized response
func (*DetailRevocationUnauthorized) WithPayload ¶
func (o *DetailRevocationUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailRevocationUnauthorized
WithPayload adds the payload to the detail revocation unauthorized response
func (*DetailRevocationUnauthorized) WithWWWAuthenticate ¶
func (o *DetailRevocationUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRevocationUnauthorized
WithWWWAuthenticate adds the wWWAuthenticate to the detail revocation unauthorized response
func (*DetailRevocationUnauthorized) WriteResponse ¶
func (o *DetailRevocationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListRevocations ¶
type ListRevocations struct {
Context *middleware.Context
Handler ListRevocationsHandler
}
ListRevocations swagger:route GET /revocations Revocation listRevocations
List Revocations ¶
Retrieves a list of revocations
func NewListRevocations ¶
func NewListRevocations(ctx *middleware.Context, handler ListRevocationsHandler) *ListRevocations
NewListRevocations creates a new http.Handler for the list revocations operation
func (*ListRevocations) ServeHTTP ¶
func (o *ListRevocations) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListRevocationsBadRequest ¶
type ListRevocationsBadRequest struct {
/*Denotes different type of security token related information
*/
WWWAuthenticate []string `json:"WWW-Authenticate"`
/*
In: Body
*/
Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}
ListRevocationsBadRequest 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 listRevocationsBadRequest
func NewListRevocationsBadRequest ¶
func NewListRevocationsBadRequest() *ListRevocationsBadRequest
NewListRevocationsBadRequest creates ListRevocationsBadRequest with default headers values
func (*ListRevocationsBadRequest) SetPayload ¶
func (o *ListRevocationsBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list revocations bad request response
func (*ListRevocationsBadRequest) SetWWWAuthenticate ¶
func (o *ListRevocationsBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)
SetWWWAuthenticate sets the wWWAuthenticate to the list revocations bad request response
func (*ListRevocationsBadRequest) WithPayload ¶
func (o *ListRevocationsBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListRevocationsBadRequest
WithPayload adds the payload to the list revocations bad request response
func (*ListRevocationsBadRequest) WithWWWAuthenticate ¶
func (o *ListRevocationsBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *ListRevocationsBadRequest
WithWWWAuthenticate adds the wWWAuthenticate to the list revocations bad request response
func (*ListRevocationsBadRequest) WriteResponse ¶
func (o *ListRevocationsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListRevocationsHandler ¶
type ListRevocationsHandler interface {
Handle(ListRevocationsParams, any) middleware.Responder
}
ListRevocationsHandler interface for that can handle valid list revocations params
type ListRevocationsHandlerFunc ¶
type ListRevocationsHandlerFunc func(ListRevocationsParams, any) middleware.Responder
ListRevocationsHandlerFunc turns a function with the right signature into a list revocations handler
func (ListRevocationsHandlerFunc) Handle ¶
func (fn ListRevocationsHandlerFunc) Handle(params ListRevocationsParams, principal any) middleware.Responder
Handle executing the request and returning a response
type ListRevocationsOK ¶
type ListRevocationsOK struct {
/*Denotes different type of security token related information
*/
WWWAuthenticate []string `json:"WWW-Authenticate"`
/*
In: Body
*/
Payload *rest_model.ListRevocationsEnvelope `json:"body,omitempty"`
}
ListRevocationsOK A list of revocations
swagger:response listRevocationsOK
func NewListRevocationsOK ¶
func NewListRevocationsOK() *ListRevocationsOK
NewListRevocationsOK creates ListRevocationsOK with default headers values
func (*ListRevocationsOK) SetPayload ¶
func (o *ListRevocationsOK) SetPayload(payload *rest_model.ListRevocationsEnvelope)
SetPayload sets the payload to the list revocations o k response
func (*ListRevocationsOK) SetWWWAuthenticate ¶
func (o *ListRevocationsOK) SetWWWAuthenticate(wWWAuthenticate []string)
SetWWWAuthenticate sets the wWWAuthenticate to the list revocations o k response
func (*ListRevocationsOK) WithPayload ¶
func (o *ListRevocationsOK) WithPayload(payload *rest_model.ListRevocationsEnvelope) *ListRevocationsOK
WithPayload adds the payload to the list revocations o k response
func (*ListRevocationsOK) WithWWWAuthenticate ¶
func (o *ListRevocationsOK) WithWWWAuthenticate(wWWAuthenticate []string) *ListRevocationsOK
WithWWWAuthenticate adds the wWWAuthenticate to the list revocations o k response
func (*ListRevocationsOK) WriteResponse ¶
func (o *ListRevocationsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListRevocationsParams ¶
type ListRevocationsParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*
In: query
*/
Filter *string
/*
In: query
*/
Limit *int64
/*
In: query
*/
Offset *int64
}
ListRevocationsParams contains all the bound params for the list revocations operation typically these are obtained from a http.Request
swagger:parameters listRevocations
func NewListRevocationsParams ¶
func NewListRevocationsParams() ListRevocationsParams
NewListRevocationsParams creates a new ListRevocationsParams object
There are no default values defined in the spec.
func (*ListRevocationsParams) BindRequest ¶
func (o *ListRevocationsParams) 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 NewListRevocationsParams() beforehand.
type ListRevocationsServiceUnavailable ¶
type ListRevocationsServiceUnavailable struct {
WWWAuthenticate []string `json:"WWW-Authenticate"`
Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}
ListRevocationsServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state
swagger:response listRevocationsServiceUnavailable
func NewListRevocationsServiceUnavailable ¶
func NewListRevocationsServiceUnavailable() *ListRevocationsServiceUnavailable
NewListRevocationsServiceUnavailable creates ListRevocationsServiceUnavailable with default headers values
func (*ListRevocationsServiceUnavailable) SetPayload ¶
func (o *ListRevocationsServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list revocations service unavailable response
func (*ListRevocationsServiceUnavailable) SetWWWAuthenticate ¶
func (o *ListRevocationsServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)
SetWWWAuthenticate sets the wWWAuthenticate to the list revocations service unavailable response
func (*ListRevocationsServiceUnavailable) WithPayload ¶
func (o *ListRevocationsServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *ListRevocationsServiceUnavailable
WithPayload adds the payload to the list revocations service unavailable response
func (*ListRevocationsServiceUnavailable) WithWWWAuthenticate ¶
func (o *ListRevocationsServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *ListRevocationsServiceUnavailable
WithWWWAuthenticate adds the wWWAuthenticate to the list revocations service unavailable response
func (*ListRevocationsServiceUnavailable) WriteResponse ¶
func (o *ListRevocationsServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListRevocationsTooManyRequests ¶
type ListRevocationsTooManyRequests struct {
/*Denotes different type of security token related information
*/
WWWAuthenticate []string `json:"WWW-Authenticate"`
/*
In: Body
*/
Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}
ListRevocationsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response listRevocationsTooManyRequests
func NewListRevocationsTooManyRequests ¶
func NewListRevocationsTooManyRequests() *ListRevocationsTooManyRequests
NewListRevocationsTooManyRequests creates ListRevocationsTooManyRequests with default headers values
func (*ListRevocationsTooManyRequests) SetPayload ¶
func (o *ListRevocationsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list revocations too many requests response
func (*ListRevocationsTooManyRequests) SetWWWAuthenticate ¶
func (o *ListRevocationsTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)
SetWWWAuthenticate sets the wWWAuthenticate to the list revocations too many requests response
func (*ListRevocationsTooManyRequests) WithPayload ¶
func (o *ListRevocationsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListRevocationsTooManyRequests
WithPayload adds the payload to the list revocations too many requests response
func (*ListRevocationsTooManyRequests) WithWWWAuthenticate ¶
func (o *ListRevocationsTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *ListRevocationsTooManyRequests
WithWWWAuthenticate adds the wWWAuthenticate to the list revocations too many requests response
func (*ListRevocationsTooManyRequests) WriteResponse ¶
func (o *ListRevocationsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListRevocationsURL ¶
type ListRevocationsURL struct {
Filter *string
Limit *int64
Offset *int64
// contains filtered or unexported fields
}
ListRevocationsURL generates an URL for the list revocations operation
func (*ListRevocationsURL) Build ¶
func (o *ListRevocationsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListRevocationsURL) BuildFull ¶
func (o *ListRevocationsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListRevocationsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListRevocationsURL) SetBasePath ¶
func (o *ListRevocationsURL) 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 (*ListRevocationsURL) String ¶
func (o *ListRevocationsURL) String() string
String returns the string representation of the path with query string
func (*ListRevocationsURL) StringFull ¶
func (o *ListRevocationsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListRevocationsURL) WithBasePath ¶
func (o *ListRevocationsURL) WithBasePath(bp string) *ListRevocationsURL
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 ListRevocationsUnauthorized ¶
type ListRevocationsUnauthorized struct {
WWWAuthenticate []string `json:"WWW-Authenticate"`
Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}
ListRevocationsUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response listRevocationsUnauthorized
func NewListRevocationsUnauthorized ¶
func NewListRevocationsUnauthorized() *ListRevocationsUnauthorized
NewListRevocationsUnauthorized creates ListRevocationsUnauthorized with default headers values
func (*ListRevocationsUnauthorized) SetPayload ¶
func (o *ListRevocationsUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list revocations unauthorized response
func (*ListRevocationsUnauthorized) SetWWWAuthenticate ¶
func (o *ListRevocationsUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)
SetWWWAuthenticate sets the wWWAuthenticate to the list revocations unauthorized response
func (*ListRevocationsUnauthorized) WithPayload ¶
func (o *ListRevocationsUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListRevocationsUnauthorized
WithPayload adds the payload to the list revocations unauthorized response
func (*ListRevocationsUnauthorized) WithWWWAuthenticate ¶
func (o *ListRevocationsUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *ListRevocationsUnauthorized
WithWWWAuthenticate adds the wWWAuthenticate to the list revocations unauthorized response
func (*ListRevocationsUnauthorized) WriteResponse ¶
func (o *ListRevocationsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- create_revocation.go
- create_revocation_parameters.go
- create_revocation_responses.go
- create_revocation_urlbuilder.go
- detail_revocation.go
- detail_revocation_parameters.go
- detail_revocation_responses.go
- detail_revocation_urlbuilder.go
- list_revocations.go
- list_revocations_parameters.go
- list_revocations_responses.go
- list_revocations_urlbuilder.go