Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateRevocation(params *CreateRevocationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateRevocationCreated, error)
- func (a *Client) DetailRevocation(params *DetailRevocationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailRevocationOK, error)
- func (a *Client) ListRevocations(params *ListRevocationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListRevocationsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateRevocationBadRequest
- func (o *CreateRevocationBadRequest) Code() int
- func (o *CreateRevocationBadRequest) Error() string
- func (o *CreateRevocationBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreateRevocationBadRequest) IsClientError() bool
- func (o *CreateRevocationBadRequest) IsCode(code int) bool
- func (o *CreateRevocationBadRequest) IsRedirect() bool
- func (o *CreateRevocationBadRequest) IsServerError() bool
- func (o *CreateRevocationBadRequest) IsSuccess() bool
- func (o *CreateRevocationBadRequest) String() string
- type CreateRevocationCreated
- func (o *CreateRevocationCreated) Code() int
- func (o *CreateRevocationCreated) Error() string
- func (o *CreateRevocationCreated) GetPayload() *rest_model.CreateEnvelope
- func (o *CreateRevocationCreated) IsClientError() bool
- func (o *CreateRevocationCreated) IsCode(code int) bool
- func (o *CreateRevocationCreated) IsRedirect() bool
- func (o *CreateRevocationCreated) IsServerError() bool
- func (o *CreateRevocationCreated) IsSuccess() bool
- func (o *CreateRevocationCreated) String() string
- type CreateRevocationNotFound
- func (o *CreateRevocationNotFound) Code() int
- func (o *CreateRevocationNotFound) Error() string
- func (o *CreateRevocationNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreateRevocationNotFound) IsClientError() bool
- func (o *CreateRevocationNotFound) IsCode(code int) bool
- func (o *CreateRevocationNotFound) IsRedirect() bool
- func (o *CreateRevocationNotFound) IsServerError() bool
- func (o *CreateRevocationNotFound) IsSuccess() bool
- func (o *CreateRevocationNotFound) String() string
- type CreateRevocationParams
- func NewCreateRevocationParams() *CreateRevocationParams
- func NewCreateRevocationParamsWithContext(ctx context.Context) *CreateRevocationParams
- func NewCreateRevocationParamsWithHTTPClient(client *http.Client) *CreateRevocationParams
- func NewCreateRevocationParamsWithTimeout(timeout time.Duration) *CreateRevocationParams
- func (o *CreateRevocationParams) SetContext(ctx context.Context)
- func (o *CreateRevocationParams) SetDefaults()
- func (o *CreateRevocationParams) SetHTTPClient(client *http.Client)
- func (o *CreateRevocationParams) SetRevocation(revocation *rest_model.RevocationCreate)
- func (o *CreateRevocationParams) SetTimeout(timeout time.Duration)
- func (o *CreateRevocationParams) WithContext(ctx context.Context) *CreateRevocationParams
- func (o *CreateRevocationParams) WithDefaults() *CreateRevocationParams
- func (o *CreateRevocationParams) WithHTTPClient(client *http.Client) *CreateRevocationParams
- func (o *CreateRevocationParams) WithRevocation(revocation *rest_model.RevocationCreate) *CreateRevocationParams
- func (o *CreateRevocationParams) WithTimeout(timeout time.Duration) *CreateRevocationParams
- func (o *CreateRevocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRevocationReader
- type CreateRevocationServiceUnavailable
- func (o *CreateRevocationServiceUnavailable) Code() int
- func (o *CreateRevocationServiceUnavailable) Error() string
- func (o *CreateRevocationServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreateRevocationServiceUnavailable) IsClientError() bool
- func (o *CreateRevocationServiceUnavailable) IsCode(code int) bool
- func (o *CreateRevocationServiceUnavailable) IsRedirect() bool
- func (o *CreateRevocationServiceUnavailable) IsServerError() bool
- func (o *CreateRevocationServiceUnavailable) IsSuccess() bool
- func (o *CreateRevocationServiceUnavailable) String() string
- type CreateRevocationTooManyRequests
- func (o *CreateRevocationTooManyRequests) Code() int
- func (o *CreateRevocationTooManyRequests) Error() string
- func (o *CreateRevocationTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreateRevocationTooManyRequests) IsClientError() bool
- func (o *CreateRevocationTooManyRequests) IsCode(code int) bool
- func (o *CreateRevocationTooManyRequests) IsRedirect() bool
- func (o *CreateRevocationTooManyRequests) IsServerError() bool
- func (o *CreateRevocationTooManyRequests) IsSuccess() bool
- func (o *CreateRevocationTooManyRequests) String() string
- type CreateRevocationUnauthorized
- func (o *CreateRevocationUnauthorized) Code() int
- func (o *CreateRevocationUnauthorized) Error() string
- func (o *CreateRevocationUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreateRevocationUnauthorized) IsClientError() bool
- func (o *CreateRevocationUnauthorized) IsCode(code int) bool
- func (o *CreateRevocationUnauthorized) IsRedirect() bool
- func (o *CreateRevocationUnauthorized) IsServerError() bool
- func (o *CreateRevocationUnauthorized) IsSuccess() bool
- func (o *CreateRevocationUnauthorized) String() string
- type DetailRevocationNotFound
- func (o *DetailRevocationNotFound) Code() int
- func (o *DetailRevocationNotFound) Error() string
- func (o *DetailRevocationNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailRevocationNotFound) IsClientError() bool
- func (o *DetailRevocationNotFound) IsCode(code int) bool
- func (o *DetailRevocationNotFound) IsRedirect() bool
- func (o *DetailRevocationNotFound) IsServerError() bool
- func (o *DetailRevocationNotFound) IsSuccess() bool
- func (o *DetailRevocationNotFound) String() string
- type DetailRevocationOK
- func (o *DetailRevocationOK) Code() int
- func (o *DetailRevocationOK) Error() string
- func (o *DetailRevocationOK) GetPayload() *rest_model.DetailRevocationEnvelope
- func (o *DetailRevocationOK) IsClientError() bool
- func (o *DetailRevocationOK) IsCode(code int) bool
- func (o *DetailRevocationOK) IsRedirect() bool
- func (o *DetailRevocationOK) IsServerError() bool
- func (o *DetailRevocationOK) IsSuccess() bool
- func (o *DetailRevocationOK) String() string
- type DetailRevocationParams
- func NewDetailRevocationParams() *DetailRevocationParams
- func NewDetailRevocationParamsWithContext(ctx context.Context) *DetailRevocationParams
- func NewDetailRevocationParamsWithHTTPClient(client *http.Client) *DetailRevocationParams
- func NewDetailRevocationParamsWithTimeout(timeout time.Duration) *DetailRevocationParams
- func (o *DetailRevocationParams) SetContext(ctx context.Context)
- func (o *DetailRevocationParams) SetDefaults()
- func (o *DetailRevocationParams) SetHTTPClient(client *http.Client)
- func (o *DetailRevocationParams) SetID(id string)
- func (o *DetailRevocationParams) SetTimeout(timeout time.Duration)
- func (o *DetailRevocationParams) WithContext(ctx context.Context) *DetailRevocationParams
- func (o *DetailRevocationParams) WithDefaults() *DetailRevocationParams
- func (o *DetailRevocationParams) WithHTTPClient(client *http.Client) *DetailRevocationParams
- func (o *DetailRevocationParams) WithID(id string) *DetailRevocationParams
- func (o *DetailRevocationParams) WithTimeout(timeout time.Duration) *DetailRevocationParams
- func (o *DetailRevocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailRevocationReader
- type DetailRevocationServiceUnavailable
- func (o *DetailRevocationServiceUnavailable) Code() int
- func (o *DetailRevocationServiceUnavailable) Error() string
- func (o *DetailRevocationServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailRevocationServiceUnavailable) IsClientError() bool
- func (o *DetailRevocationServiceUnavailable) IsCode(code int) bool
- func (o *DetailRevocationServiceUnavailable) IsRedirect() bool
- func (o *DetailRevocationServiceUnavailable) IsServerError() bool
- func (o *DetailRevocationServiceUnavailable) IsSuccess() bool
- func (o *DetailRevocationServiceUnavailable) String() string
- type DetailRevocationTooManyRequests
- func (o *DetailRevocationTooManyRequests) Code() int
- func (o *DetailRevocationTooManyRequests) Error() string
- func (o *DetailRevocationTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailRevocationTooManyRequests) IsClientError() bool
- func (o *DetailRevocationTooManyRequests) IsCode(code int) bool
- func (o *DetailRevocationTooManyRequests) IsRedirect() bool
- func (o *DetailRevocationTooManyRequests) IsServerError() bool
- func (o *DetailRevocationTooManyRequests) IsSuccess() bool
- func (o *DetailRevocationTooManyRequests) String() string
- type DetailRevocationUnauthorized
- func (o *DetailRevocationUnauthorized) Code() int
- func (o *DetailRevocationUnauthorized) Error() string
- func (o *DetailRevocationUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailRevocationUnauthorized) IsClientError() bool
- func (o *DetailRevocationUnauthorized) IsCode(code int) bool
- func (o *DetailRevocationUnauthorized) IsRedirect() bool
- func (o *DetailRevocationUnauthorized) IsServerError() bool
- func (o *DetailRevocationUnauthorized) IsSuccess() bool
- func (o *DetailRevocationUnauthorized) String() string
- type ListRevocationsBadRequest
- func (o *ListRevocationsBadRequest) Code() int
- func (o *ListRevocationsBadRequest) Error() string
- func (o *ListRevocationsBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ListRevocationsBadRequest) IsClientError() bool
- func (o *ListRevocationsBadRequest) IsCode(code int) bool
- func (o *ListRevocationsBadRequest) IsRedirect() bool
- func (o *ListRevocationsBadRequest) IsServerError() bool
- func (o *ListRevocationsBadRequest) IsSuccess() bool
- func (o *ListRevocationsBadRequest) String() string
- type ListRevocationsOK
- func (o *ListRevocationsOK) Code() int
- func (o *ListRevocationsOK) Error() string
- func (o *ListRevocationsOK) GetPayload() *rest_model.ListRevocationsEnvelope
- func (o *ListRevocationsOK) IsClientError() bool
- func (o *ListRevocationsOK) IsCode(code int) bool
- func (o *ListRevocationsOK) IsRedirect() bool
- func (o *ListRevocationsOK) IsServerError() bool
- func (o *ListRevocationsOK) IsSuccess() bool
- func (o *ListRevocationsOK) String() string
- type ListRevocationsParams
- func NewListRevocationsParams() *ListRevocationsParams
- func NewListRevocationsParamsWithContext(ctx context.Context) *ListRevocationsParams
- func NewListRevocationsParamsWithHTTPClient(client *http.Client) *ListRevocationsParams
- func NewListRevocationsParamsWithTimeout(timeout time.Duration) *ListRevocationsParams
- func (o *ListRevocationsParams) SetContext(ctx context.Context)
- func (o *ListRevocationsParams) SetDefaults()
- func (o *ListRevocationsParams) SetFilter(filter *string)
- func (o *ListRevocationsParams) SetHTTPClient(client *http.Client)
- func (o *ListRevocationsParams) SetLimit(limit *int64)
- func (o *ListRevocationsParams) SetOffset(offset *int64)
- func (o *ListRevocationsParams) SetTimeout(timeout time.Duration)
- func (o *ListRevocationsParams) WithContext(ctx context.Context) *ListRevocationsParams
- func (o *ListRevocationsParams) WithDefaults() *ListRevocationsParams
- func (o *ListRevocationsParams) WithFilter(filter *string) *ListRevocationsParams
- func (o *ListRevocationsParams) WithHTTPClient(client *http.Client) *ListRevocationsParams
- func (o *ListRevocationsParams) WithLimit(limit *int64) *ListRevocationsParams
- func (o *ListRevocationsParams) WithOffset(offset *int64) *ListRevocationsParams
- func (o *ListRevocationsParams) WithTimeout(timeout time.Duration) *ListRevocationsParams
- func (o *ListRevocationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRevocationsReader
- type ListRevocationsServiceUnavailable
- func (o *ListRevocationsServiceUnavailable) Code() int
- func (o *ListRevocationsServiceUnavailable) Error() string
- func (o *ListRevocationsServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ListRevocationsServiceUnavailable) IsClientError() bool
- func (o *ListRevocationsServiceUnavailable) IsCode(code int) bool
- func (o *ListRevocationsServiceUnavailable) IsRedirect() bool
- func (o *ListRevocationsServiceUnavailable) IsServerError() bool
- func (o *ListRevocationsServiceUnavailable) IsSuccess() bool
- func (o *ListRevocationsServiceUnavailable) String() string
- type ListRevocationsTooManyRequests
- func (o *ListRevocationsTooManyRequests) Code() int
- func (o *ListRevocationsTooManyRequests) Error() string
- func (o *ListRevocationsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ListRevocationsTooManyRequests) IsClientError() bool
- func (o *ListRevocationsTooManyRequests) IsCode(code int) bool
- func (o *ListRevocationsTooManyRequests) IsRedirect() bool
- func (o *ListRevocationsTooManyRequests) IsServerError() bool
- func (o *ListRevocationsTooManyRequests) IsSuccess() bool
- func (o *ListRevocationsTooManyRequests) String() string
- type ListRevocationsUnauthorized
- func (o *ListRevocationsUnauthorized) Code() int
- func (o *ListRevocationsUnauthorized) Error() string
- func (o *ListRevocationsUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ListRevocationsUnauthorized) IsClientError() bool
- func (o *ListRevocationsUnauthorized) IsCode(code int) bool
- func (o *ListRevocationsUnauthorized) IsRedirect() bool
- func (o *ListRevocationsUnauthorized) IsServerError() bool
- func (o *ListRevocationsUnauthorized) IsSuccess() bool
- func (o *ListRevocationsUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for revocation API
func (*Client) CreateRevocation ¶
func (a *Client) CreateRevocation(params *CreateRevocationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRevocationCreated, error)
CreateRevocation creates a revocation
Creates a revocation entry. Requires admin access.
func (*Client) DetailRevocation ¶
func (a *Client) DetailRevocation(params *DetailRevocationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailRevocationOK, error)
DetailRevocation retrieves a single revocation
Retrieves a single revocation by id. Requires admin access.
func (*Client) ListRevocations ¶
func (a *Client) ListRevocations(params *ListRevocationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRevocationsOK, error)
ListRevocations lists revocations
Retrieves a list of revocations
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
CreateRevocation(params *CreateRevocationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRevocationCreated, error)
DetailRevocation(params *DetailRevocationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailRevocationOK, error)
ListRevocations(params *ListRevocationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRevocationsOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new revocation API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new revocation API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new revocation API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateRevocationBadRequest ¶
type CreateRevocationBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
CreateRevocationBadRequest describes a response with status code 400, with default header values.
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
func NewCreateRevocationBadRequest ¶
func NewCreateRevocationBadRequest() *CreateRevocationBadRequest
NewCreateRevocationBadRequest creates a CreateRevocationBadRequest with default headers values
func (*CreateRevocationBadRequest) Code ¶
func (o *CreateRevocationBadRequest) Code() int
Code gets the status code for the create revocation bad request response
func (*CreateRevocationBadRequest) Error ¶
func (o *CreateRevocationBadRequest) Error() string
func (*CreateRevocationBadRequest) GetPayload ¶
func (o *CreateRevocationBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*CreateRevocationBadRequest) IsClientError ¶
func (o *CreateRevocationBadRequest) IsClientError() bool
IsClientError returns true when this create revocation bad request response has a 4xx status code
func (*CreateRevocationBadRequest) IsCode ¶
func (o *CreateRevocationBadRequest) IsCode(code int) bool
IsCode returns true when this create revocation bad request response a status code equal to that given
func (*CreateRevocationBadRequest) IsRedirect ¶
func (o *CreateRevocationBadRequest) IsRedirect() bool
IsRedirect returns true when this create revocation bad request response has a 3xx status code
func (*CreateRevocationBadRequest) IsServerError ¶
func (o *CreateRevocationBadRequest) IsServerError() bool
IsServerError returns true when this create revocation bad request response has a 5xx status code
func (*CreateRevocationBadRequest) IsSuccess ¶
func (o *CreateRevocationBadRequest) IsSuccess() bool
IsSuccess returns true when this create revocation bad request response has a 2xx status code
func (*CreateRevocationBadRequest) String ¶
func (o *CreateRevocationBadRequest) String() string
type CreateRevocationCreated ¶
type CreateRevocationCreated struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.CreateEnvelope
}
CreateRevocationCreated describes a response with status code 201, with default header values.
The create request was successful and the resource has been added at the following location
func NewCreateRevocationCreated ¶
func NewCreateRevocationCreated() *CreateRevocationCreated
NewCreateRevocationCreated creates a CreateRevocationCreated with default headers values
func (*CreateRevocationCreated) Code ¶
func (o *CreateRevocationCreated) Code() int
Code gets the status code for the create revocation created response
func (*CreateRevocationCreated) Error ¶
func (o *CreateRevocationCreated) Error() string
func (*CreateRevocationCreated) GetPayload ¶
func (o *CreateRevocationCreated) GetPayload() *rest_model.CreateEnvelope
func (*CreateRevocationCreated) IsClientError ¶
func (o *CreateRevocationCreated) IsClientError() bool
IsClientError returns true when this create revocation created response has a 4xx status code
func (*CreateRevocationCreated) IsCode ¶
func (o *CreateRevocationCreated) IsCode(code int) bool
IsCode returns true when this create revocation created response a status code equal to that given
func (*CreateRevocationCreated) IsRedirect ¶
func (o *CreateRevocationCreated) IsRedirect() bool
IsRedirect returns true when this create revocation created response has a 3xx status code
func (*CreateRevocationCreated) IsServerError ¶
func (o *CreateRevocationCreated) IsServerError() bool
IsServerError returns true when this create revocation created response has a 5xx status code
func (*CreateRevocationCreated) IsSuccess ¶
func (o *CreateRevocationCreated) IsSuccess() bool
IsSuccess returns true when this create revocation created response has a 2xx status code
func (*CreateRevocationCreated) String ¶
func (o *CreateRevocationCreated) String() string
type CreateRevocationNotFound ¶
type CreateRevocationNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
CreateRevocationNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewCreateRevocationNotFound ¶
func NewCreateRevocationNotFound() *CreateRevocationNotFound
NewCreateRevocationNotFound creates a CreateRevocationNotFound with default headers values
func (*CreateRevocationNotFound) Code ¶
func (o *CreateRevocationNotFound) Code() int
Code gets the status code for the create revocation not found response
func (*CreateRevocationNotFound) Error ¶
func (o *CreateRevocationNotFound) Error() string
func (*CreateRevocationNotFound) GetPayload ¶
func (o *CreateRevocationNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*CreateRevocationNotFound) IsClientError ¶
func (o *CreateRevocationNotFound) IsClientError() bool
IsClientError returns true when this create revocation not found response has a 4xx status code
func (*CreateRevocationNotFound) IsCode ¶
func (o *CreateRevocationNotFound) IsCode(code int) bool
IsCode returns true when this create revocation not found response a status code equal to that given
func (*CreateRevocationNotFound) IsRedirect ¶
func (o *CreateRevocationNotFound) IsRedirect() bool
IsRedirect returns true when this create revocation not found response has a 3xx status code
func (*CreateRevocationNotFound) IsServerError ¶
func (o *CreateRevocationNotFound) IsServerError() bool
IsServerError returns true when this create revocation not found response has a 5xx status code
func (*CreateRevocationNotFound) IsSuccess ¶
func (o *CreateRevocationNotFound) IsSuccess() bool
IsSuccess returns true when this create revocation not found response has a 2xx status code
func (*CreateRevocationNotFound) String ¶
func (o *CreateRevocationNotFound) String() string
type CreateRevocationParams ¶
type CreateRevocationParams struct {
/* Revocation.
A Revocation to create
*/
Revocation *rest_model.RevocationCreate
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateRevocationParams contains all the parameters to send to the API endpoint
for the create revocation operation. Typically these are written to a http.Request.
func NewCreateRevocationParams ¶
func NewCreateRevocationParams() *CreateRevocationParams
NewCreateRevocationParams creates a new CreateRevocationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateRevocationParamsWithContext ¶
func NewCreateRevocationParamsWithContext(ctx context.Context) *CreateRevocationParams
NewCreateRevocationParamsWithContext creates a new CreateRevocationParams object with the ability to set a context for a request.
func NewCreateRevocationParamsWithHTTPClient ¶
func NewCreateRevocationParamsWithHTTPClient(client *http.Client) *CreateRevocationParams
NewCreateRevocationParamsWithHTTPClient creates a new CreateRevocationParams object with the ability to set a custom HTTPClient for a request.
func NewCreateRevocationParamsWithTimeout ¶
func NewCreateRevocationParamsWithTimeout(timeout time.Duration) *CreateRevocationParams
NewCreateRevocationParamsWithTimeout creates a new CreateRevocationParams object with the ability to set a timeout on a request.
func (*CreateRevocationParams) SetContext ¶
func (o *CreateRevocationParams) SetContext(ctx context.Context)
SetContext adds the context to the create revocation params
func (*CreateRevocationParams) SetDefaults ¶
func (o *CreateRevocationParams) SetDefaults()
SetDefaults hydrates default values in the create revocation params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRevocationParams) SetHTTPClient ¶
func (o *CreateRevocationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create revocation params
func (*CreateRevocationParams) SetRevocation ¶
func (o *CreateRevocationParams) SetRevocation(revocation *rest_model.RevocationCreate)
SetRevocation adds the revocation to the create revocation params
func (*CreateRevocationParams) SetTimeout ¶
func (o *CreateRevocationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create revocation params
func (*CreateRevocationParams) WithContext ¶
func (o *CreateRevocationParams) WithContext(ctx context.Context) *CreateRevocationParams
WithContext adds the context to the create revocation params
func (*CreateRevocationParams) WithDefaults ¶
func (o *CreateRevocationParams) WithDefaults() *CreateRevocationParams
WithDefaults hydrates default values in the create revocation params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRevocationParams) WithHTTPClient ¶
func (o *CreateRevocationParams) WithHTTPClient(client *http.Client) *CreateRevocationParams
WithHTTPClient adds the HTTPClient to the create revocation params
func (*CreateRevocationParams) WithRevocation ¶
func (o *CreateRevocationParams) WithRevocation(revocation *rest_model.RevocationCreate) *CreateRevocationParams
WithRevocation adds the revocation to the create revocation params
func (*CreateRevocationParams) WithTimeout ¶
func (o *CreateRevocationParams) WithTimeout(timeout time.Duration) *CreateRevocationParams
WithTimeout adds the timeout to the create revocation params
func (*CreateRevocationParams) WriteToRequest ¶
func (o *CreateRevocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRevocationReader ¶
type CreateRevocationReader struct {
// contains filtered or unexported fields
}
CreateRevocationReader is a Reader for the CreateRevocation structure.
func (*CreateRevocationReader) ReadResponse ¶
func (o *CreateRevocationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type CreateRevocationServiceUnavailable ¶
type CreateRevocationServiceUnavailable struct {
WWWAuthenticate []string
}
CreateRevocationServiceUnavailable describes a response with status code 503, with default header values.
The request could not be completed due to the server being busy or in a temporarily bad state
func NewCreateRevocationServiceUnavailable ¶
func NewCreateRevocationServiceUnavailable() *CreateRevocationServiceUnavailable
NewCreateRevocationServiceUnavailable creates a CreateRevocationServiceUnavailable with default headers values
func (*CreateRevocationServiceUnavailable) Code ¶
func (o *CreateRevocationServiceUnavailable) Code() int
Code gets the status code for the create revocation service unavailable response
func (*CreateRevocationServiceUnavailable) Error ¶
func (o *CreateRevocationServiceUnavailable) Error() string
func (*CreateRevocationServiceUnavailable) GetPayload ¶
func (o *CreateRevocationServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*CreateRevocationServiceUnavailable) IsClientError ¶
func (o *CreateRevocationServiceUnavailable) IsClientError() bool
IsClientError returns true when this create revocation service unavailable response has a 4xx status code
func (*CreateRevocationServiceUnavailable) IsCode ¶
func (o *CreateRevocationServiceUnavailable) IsCode(code int) bool
IsCode returns true when this create revocation service unavailable response a status code equal to that given
func (*CreateRevocationServiceUnavailable) IsRedirect ¶
func (o *CreateRevocationServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this create revocation service unavailable response has a 3xx status code
func (*CreateRevocationServiceUnavailable) IsServerError ¶
func (o *CreateRevocationServiceUnavailable) IsServerError() bool
IsServerError returns true when this create revocation service unavailable response has a 5xx status code
func (*CreateRevocationServiceUnavailable) IsSuccess ¶
func (o *CreateRevocationServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this create revocation service unavailable response has a 2xx status code
func (*CreateRevocationServiceUnavailable) String ¶
func (o *CreateRevocationServiceUnavailable) String() string
type CreateRevocationTooManyRequests ¶
type CreateRevocationTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
CreateRevocationTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewCreateRevocationTooManyRequests ¶
func NewCreateRevocationTooManyRequests() *CreateRevocationTooManyRequests
NewCreateRevocationTooManyRequests creates a CreateRevocationTooManyRequests with default headers values
func (*CreateRevocationTooManyRequests) Code ¶
func (o *CreateRevocationTooManyRequests) Code() int
Code gets the status code for the create revocation too many requests response
func (*CreateRevocationTooManyRequests) Error ¶
func (o *CreateRevocationTooManyRequests) Error() string
func (*CreateRevocationTooManyRequests) GetPayload ¶
func (o *CreateRevocationTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*CreateRevocationTooManyRequests) IsClientError ¶
func (o *CreateRevocationTooManyRequests) IsClientError() bool
IsClientError returns true when this create revocation too many requests response has a 4xx status code
func (*CreateRevocationTooManyRequests) IsCode ¶
func (o *CreateRevocationTooManyRequests) IsCode(code int) bool
IsCode returns true when this create revocation too many requests response a status code equal to that given
func (*CreateRevocationTooManyRequests) IsRedirect ¶
func (o *CreateRevocationTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create revocation too many requests response has a 3xx status code
func (*CreateRevocationTooManyRequests) IsServerError ¶
func (o *CreateRevocationTooManyRequests) IsServerError() bool
IsServerError returns true when this create revocation too many requests response has a 5xx status code
func (*CreateRevocationTooManyRequests) IsSuccess ¶
func (o *CreateRevocationTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create revocation too many requests response has a 2xx status code
func (*CreateRevocationTooManyRequests) String ¶
func (o *CreateRevocationTooManyRequests) String() string
type CreateRevocationUnauthorized ¶
type CreateRevocationUnauthorized struct {
WWWAuthenticate []string
}
CreateRevocationUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewCreateRevocationUnauthorized ¶
func NewCreateRevocationUnauthorized() *CreateRevocationUnauthorized
NewCreateRevocationUnauthorized creates a CreateRevocationUnauthorized with default headers values
func (*CreateRevocationUnauthorized) Code ¶
func (o *CreateRevocationUnauthorized) Code() int
Code gets the status code for the create revocation unauthorized response
func (*CreateRevocationUnauthorized) Error ¶
func (o *CreateRevocationUnauthorized) Error() string
func (*CreateRevocationUnauthorized) GetPayload ¶
func (o *CreateRevocationUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*CreateRevocationUnauthorized) IsClientError ¶
func (o *CreateRevocationUnauthorized) IsClientError() bool
IsClientError returns true when this create revocation unauthorized response has a 4xx status code
func (*CreateRevocationUnauthorized) IsCode ¶
func (o *CreateRevocationUnauthorized) IsCode(code int) bool
IsCode returns true when this create revocation unauthorized response a status code equal to that given
func (*CreateRevocationUnauthorized) IsRedirect ¶
func (o *CreateRevocationUnauthorized) IsRedirect() bool
IsRedirect returns true when this create revocation unauthorized response has a 3xx status code
func (*CreateRevocationUnauthorized) IsServerError ¶
func (o *CreateRevocationUnauthorized) IsServerError() bool
IsServerError returns true when this create revocation unauthorized response has a 5xx status code
func (*CreateRevocationUnauthorized) IsSuccess ¶
func (o *CreateRevocationUnauthorized) IsSuccess() bool
IsSuccess returns true when this create revocation unauthorized response has a 2xx status code
func (*CreateRevocationUnauthorized) String ¶
func (o *CreateRevocationUnauthorized) String() string
type DetailRevocationNotFound ¶
type DetailRevocationNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
DetailRevocationNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDetailRevocationNotFound ¶
func NewDetailRevocationNotFound() *DetailRevocationNotFound
NewDetailRevocationNotFound creates a DetailRevocationNotFound with default headers values
func (*DetailRevocationNotFound) Code ¶
func (o *DetailRevocationNotFound) Code() int
Code gets the status code for the detail revocation not found response
func (*DetailRevocationNotFound) Error ¶
func (o *DetailRevocationNotFound) Error() string
func (*DetailRevocationNotFound) GetPayload ¶
func (o *DetailRevocationNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailRevocationNotFound) IsClientError ¶
func (o *DetailRevocationNotFound) IsClientError() bool
IsClientError returns true when this detail revocation not found response has a 4xx status code
func (*DetailRevocationNotFound) IsCode ¶
func (o *DetailRevocationNotFound) IsCode(code int) bool
IsCode returns true when this detail revocation not found response a status code equal to that given
func (*DetailRevocationNotFound) IsRedirect ¶
func (o *DetailRevocationNotFound) IsRedirect() bool
IsRedirect returns true when this detail revocation not found response has a 3xx status code
func (*DetailRevocationNotFound) IsServerError ¶
func (o *DetailRevocationNotFound) IsServerError() bool
IsServerError returns true when this detail revocation not found response has a 5xx status code
func (*DetailRevocationNotFound) IsSuccess ¶
func (o *DetailRevocationNotFound) IsSuccess() bool
IsSuccess returns true when this detail revocation not found response has a 2xx status code
func (*DetailRevocationNotFound) String ¶
func (o *DetailRevocationNotFound) String() string
type DetailRevocationOK ¶
type DetailRevocationOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.DetailRevocationEnvelope
}
DetailRevocationOK describes a response with status code 200, with default header values.
A singular Revocation resource
func NewDetailRevocationOK ¶
func NewDetailRevocationOK() *DetailRevocationOK
NewDetailRevocationOK creates a DetailRevocationOK with default headers values
func (*DetailRevocationOK) Code ¶
func (o *DetailRevocationOK) Code() int
Code gets the status code for the detail revocation o k response
func (*DetailRevocationOK) Error ¶
func (o *DetailRevocationOK) Error() string
func (*DetailRevocationOK) GetPayload ¶
func (o *DetailRevocationOK) GetPayload() *rest_model.DetailRevocationEnvelope
func (*DetailRevocationOK) IsClientError ¶
func (o *DetailRevocationOK) IsClientError() bool
IsClientError returns true when this detail revocation o k response has a 4xx status code
func (*DetailRevocationOK) IsCode ¶
func (o *DetailRevocationOK) IsCode(code int) bool
IsCode returns true when this detail revocation o k response a status code equal to that given
func (*DetailRevocationOK) IsRedirect ¶
func (o *DetailRevocationOK) IsRedirect() bool
IsRedirect returns true when this detail revocation o k response has a 3xx status code
func (*DetailRevocationOK) IsServerError ¶
func (o *DetailRevocationOK) IsServerError() bool
IsServerError returns true when this detail revocation o k response has a 5xx status code
func (*DetailRevocationOK) IsSuccess ¶
func (o *DetailRevocationOK) IsSuccess() bool
IsSuccess returns true when this detail revocation o k response has a 2xx status code
func (*DetailRevocationOK) String ¶
func (o *DetailRevocationOK) String() string
type DetailRevocationParams ¶
type DetailRevocationParams struct {
/* ID.
The id of the requested resource
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DetailRevocationParams contains all the parameters to send to the API endpoint
for the detail revocation operation. Typically these are written to a http.Request.
func NewDetailRevocationParams ¶
func NewDetailRevocationParams() *DetailRevocationParams
NewDetailRevocationParams creates a new DetailRevocationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDetailRevocationParamsWithContext ¶
func NewDetailRevocationParamsWithContext(ctx context.Context) *DetailRevocationParams
NewDetailRevocationParamsWithContext creates a new DetailRevocationParams object with the ability to set a context for a request.
func NewDetailRevocationParamsWithHTTPClient ¶
func NewDetailRevocationParamsWithHTTPClient(client *http.Client) *DetailRevocationParams
NewDetailRevocationParamsWithHTTPClient creates a new DetailRevocationParams object with the ability to set a custom HTTPClient for a request.
func NewDetailRevocationParamsWithTimeout ¶
func NewDetailRevocationParamsWithTimeout(timeout time.Duration) *DetailRevocationParams
NewDetailRevocationParamsWithTimeout creates a new DetailRevocationParams object with the ability to set a timeout on a request.
func (*DetailRevocationParams) SetContext ¶
func (o *DetailRevocationParams) SetContext(ctx context.Context)
SetContext adds the context to the detail revocation params
func (*DetailRevocationParams) SetDefaults ¶
func (o *DetailRevocationParams) SetDefaults()
SetDefaults hydrates default values in the detail revocation params (not the query body).
All values with no default are reset to their zero value.
func (*DetailRevocationParams) SetHTTPClient ¶
func (o *DetailRevocationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail revocation params
func (*DetailRevocationParams) SetID ¶
func (o *DetailRevocationParams) SetID(id string)
SetID adds the id to the detail revocation params
func (*DetailRevocationParams) SetTimeout ¶
func (o *DetailRevocationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail revocation params
func (*DetailRevocationParams) WithContext ¶
func (o *DetailRevocationParams) WithContext(ctx context.Context) *DetailRevocationParams
WithContext adds the context to the detail revocation params
func (*DetailRevocationParams) WithDefaults ¶
func (o *DetailRevocationParams) WithDefaults() *DetailRevocationParams
WithDefaults hydrates default values in the detail revocation params (not the query body).
All values with no default are reset to their zero value.
func (*DetailRevocationParams) WithHTTPClient ¶
func (o *DetailRevocationParams) WithHTTPClient(client *http.Client) *DetailRevocationParams
WithHTTPClient adds the HTTPClient to the detail revocation params
func (*DetailRevocationParams) WithID ¶
func (o *DetailRevocationParams) WithID(id string) *DetailRevocationParams
WithID adds the id to the detail revocation params
func (*DetailRevocationParams) WithTimeout ¶
func (o *DetailRevocationParams) WithTimeout(timeout time.Duration) *DetailRevocationParams
WithTimeout adds the timeout to the detail revocation params
func (*DetailRevocationParams) WriteToRequest ¶
func (o *DetailRevocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailRevocationReader ¶
type DetailRevocationReader struct {
// contains filtered or unexported fields
}
DetailRevocationReader is a Reader for the DetailRevocation structure.
func (*DetailRevocationReader) ReadResponse ¶
func (o *DetailRevocationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DetailRevocationServiceUnavailable ¶
type DetailRevocationServiceUnavailable struct {
WWWAuthenticate []string
}
DetailRevocationServiceUnavailable describes a response with status code 503, with default header values.
The request could not be completed due to the server being busy or in a temporarily bad state
func NewDetailRevocationServiceUnavailable ¶
func NewDetailRevocationServiceUnavailable() *DetailRevocationServiceUnavailable
NewDetailRevocationServiceUnavailable creates a DetailRevocationServiceUnavailable with default headers values
func (*DetailRevocationServiceUnavailable) Code ¶
func (o *DetailRevocationServiceUnavailable) Code() int
Code gets the status code for the detail revocation service unavailable response
func (*DetailRevocationServiceUnavailable) Error ¶
func (o *DetailRevocationServiceUnavailable) Error() string
func (*DetailRevocationServiceUnavailable) GetPayload ¶
func (o *DetailRevocationServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailRevocationServiceUnavailable) IsClientError ¶
func (o *DetailRevocationServiceUnavailable) IsClientError() bool
IsClientError returns true when this detail revocation service unavailable response has a 4xx status code
func (*DetailRevocationServiceUnavailable) IsCode ¶
func (o *DetailRevocationServiceUnavailable) IsCode(code int) bool
IsCode returns true when this detail revocation service unavailable response a status code equal to that given
func (*DetailRevocationServiceUnavailable) IsRedirect ¶
func (o *DetailRevocationServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this detail revocation service unavailable response has a 3xx status code
func (*DetailRevocationServiceUnavailable) IsServerError ¶
func (o *DetailRevocationServiceUnavailable) IsServerError() bool
IsServerError returns true when this detail revocation service unavailable response has a 5xx status code
func (*DetailRevocationServiceUnavailable) IsSuccess ¶
func (o *DetailRevocationServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this detail revocation service unavailable response has a 2xx status code
func (*DetailRevocationServiceUnavailable) String ¶
func (o *DetailRevocationServiceUnavailable) String() string
type DetailRevocationTooManyRequests ¶
type DetailRevocationTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
DetailRevocationTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewDetailRevocationTooManyRequests ¶
func NewDetailRevocationTooManyRequests() *DetailRevocationTooManyRequests
NewDetailRevocationTooManyRequests creates a DetailRevocationTooManyRequests with default headers values
func (*DetailRevocationTooManyRequests) Code ¶
func (o *DetailRevocationTooManyRequests) Code() int
Code gets the status code for the detail revocation too many requests response
func (*DetailRevocationTooManyRequests) Error ¶
func (o *DetailRevocationTooManyRequests) Error() string
func (*DetailRevocationTooManyRequests) GetPayload ¶
func (o *DetailRevocationTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailRevocationTooManyRequests) IsClientError ¶
func (o *DetailRevocationTooManyRequests) IsClientError() bool
IsClientError returns true when this detail revocation too many requests response has a 4xx status code
func (*DetailRevocationTooManyRequests) IsCode ¶
func (o *DetailRevocationTooManyRequests) IsCode(code int) bool
IsCode returns true when this detail revocation too many requests response a status code equal to that given
func (*DetailRevocationTooManyRequests) IsRedirect ¶
func (o *DetailRevocationTooManyRequests) IsRedirect() bool
IsRedirect returns true when this detail revocation too many requests response has a 3xx status code
func (*DetailRevocationTooManyRequests) IsServerError ¶
func (o *DetailRevocationTooManyRequests) IsServerError() bool
IsServerError returns true when this detail revocation too many requests response has a 5xx status code
func (*DetailRevocationTooManyRequests) IsSuccess ¶
func (o *DetailRevocationTooManyRequests) IsSuccess() bool
IsSuccess returns true when this detail revocation too many requests response has a 2xx status code
func (*DetailRevocationTooManyRequests) String ¶
func (o *DetailRevocationTooManyRequests) String() string
type DetailRevocationUnauthorized ¶
type DetailRevocationUnauthorized struct {
WWWAuthenticate []string
}
DetailRevocationUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewDetailRevocationUnauthorized ¶
func NewDetailRevocationUnauthorized() *DetailRevocationUnauthorized
NewDetailRevocationUnauthorized creates a DetailRevocationUnauthorized with default headers values
func (*DetailRevocationUnauthorized) Code ¶
func (o *DetailRevocationUnauthorized) Code() int
Code gets the status code for the detail revocation unauthorized response
func (*DetailRevocationUnauthorized) Error ¶
func (o *DetailRevocationUnauthorized) Error() string
func (*DetailRevocationUnauthorized) GetPayload ¶
func (o *DetailRevocationUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailRevocationUnauthorized) IsClientError ¶
func (o *DetailRevocationUnauthorized) IsClientError() bool
IsClientError returns true when this detail revocation unauthorized response has a 4xx status code
func (*DetailRevocationUnauthorized) IsCode ¶
func (o *DetailRevocationUnauthorized) IsCode(code int) bool
IsCode returns true when this detail revocation unauthorized response a status code equal to that given
func (*DetailRevocationUnauthorized) IsRedirect ¶
func (o *DetailRevocationUnauthorized) IsRedirect() bool
IsRedirect returns true when this detail revocation unauthorized response has a 3xx status code
func (*DetailRevocationUnauthorized) IsServerError ¶
func (o *DetailRevocationUnauthorized) IsServerError() bool
IsServerError returns true when this detail revocation unauthorized response has a 5xx status code
func (*DetailRevocationUnauthorized) IsSuccess ¶
func (o *DetailRevocationUnauthorized) IsSuccess() bool
IsSuccess returns true when this detail revocation unauthorized response has a 2xx status code
func (*DetailRevocationUnauthorized) String ¶
func (o *DetailRevocationUnauthorized) String() string
type ListRevocationsBadRequest ¶
type ListRevocationsBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
ListRevocationsBadRequest describes a response with status code 400, with default header values.
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
func NewListRevocationsBadRequest ¶
func NewListRevocationsBadRequest() *ListRevocationsBadRequest
NewListRevocationsBadRequest creates a ListRevocationsBadRequest with default headers values
func (*ListRevocationsBadRequest) Code ¶
func (o *ListRevocationsBadRequest) Code() int
Code gets the status code for the list revocations bad request response
func (*ListRevocationsBadRequest) Error ¶
func (o *ListRevocationsBadRequest) Error() string
func (*ListRevocationsBadRequest) GetPayload ¶
func (o *ListRevocationsBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*ListRevocationsBadRequest) IsClientError ¶
func (o *ListRevocationsBadRequest) IsClientError() bool
IsClientError returns true when this list revocations bad request response has a 4xx status code
func (*ListRevocationsBadRequest) IsCode ¶
func (o *ListRevocationsBadRequest) IsCode(code int) bool
IsCode returns true when this list revocations bad request response a status code equal to that given
func (*ListRevocationsBadRequest) IsRedirect ¶
func (o *ListRevocationsBadRequest) IsRedirect() bool
IsRedirect returns true when this list revocations bad request response has a 3xx status code
func (*ListRevocationsBadRequest) IsServerError ¶
func (o *ListRevocationsBadRequest) IsServerError() bool
IsServerError returns true when this list revocations bad request response has a 5xx status code
func (*ListRevocationsBadRequest) IsSuccess ¶
func (o *ListRevocationsBadRequest) IsSuccess() bool
IsSuccess returns true when this list revocations bad request response has a 2xx status code
func (*ListRevocationsBadRequest) String ¶
func (o *ListRevocationsBadRequest) String() string
type ListRevocationsOK ¶
type ListRevocationsOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.ListRevocationsEnvelope
}
ListRevocationsOK describes a response with status code 200, with default header values.
A list of revocations
func NewListRevocationsOK ¶
func NewListRevocationsOK() *ListRevocationsOK
NewListRevocationsOK creates a ListRevocationsOK with default headers values
func (*ListRevocationsOK) Code ¶
func (o *ListRevocationsOK) Code() int
Code gets the status code for the list revocations o k response
func (*ListRevocationsOK) Error ¶
func (o *ListRevocationsOK) Error() string
func (*ListRevocationsOK) GetPayload ¶
func (o *ListRevocationsOK) GetPayload() *rest_model.ListRevocationsEnvelope
func (*ListRevocationsOK) IsClientError ¶
func (o *ListRevocationsOK) IsClientError() bool
IsClientError returns true when this list revocations o k response has a 4xx status code
func (*ListRevocationsOK) IsCode ¶
func (o *ListRevocationsOK) IsCode(code int) bool
IsCode returns true when this list revocations o k response a status code equal to that given
func (*ListRevocationsOK) IsRedirect ¶
func (o *ListRevocationsOK) IsRedirect() bool
IsRedirect returns true when this list revocations o k response has a 3xx status code
func (*ListRevocationsOK) IsServerError ¶
func (o *ListRevocationsOK) IsServerError() bool
IsServerError returns true when this list revocations o k response has a 5xx status code
func (*ListRevocationsOK) IsSuccess ¶
func (o *ListRevocationsOK) IsSuccess() bool
IsSuccess returns true when this list revocations o k response has a 2xx status code
func (*ListRevocationsOK) String ¶
func (o *ListRevocationsOK) String() string
type ListRevocationsParams ¶
type ListRevocationsParams struct {
// Filter.
Filter *string
// Limit.
Limit *int64
// Offset.
Offset *int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListRevocationsParams contains all the parameters to send to the API endpoint
for the list revocations operation. Typically these are written to a http.Request.
func NewListRevocationsParams ¶
func NewListRevocationsParams() *ListRevocationsParams
NewListRevocationsParams creates a new ListRevocationsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListRevocationsParamsWithContext ¶
func NewListRevocationsParamsWithContext(ctx context.Context) *ListRevocationsParams
NewListRevocationsParamsWithContext creates a new ListRevocationsParams object with the ability to set a context for a request.
func NewListRevocationsParamsWithHTTPClient ¶
func NewListRevocationsParamsWithHTTPClient(client *http.Client) *ListRevocationsParams
NewListRevocationsParamsWithHTTPClient creates a new ListRevocationsParams object with the ability to set a custom HTTPClient for a request.
func NewListRevocationsParamsWithTimeout ¶
func NewListRevocationsParamsWithTimeout(timeout time.Duration) *ListRevocationsParams
NewListRevocationsParamsWithTimeout creates a new ListRevocationsParams object with the ability to set a timeout on a request.
func (*ListRevocationsParams) SetContext ¶
func (o *ListRevocationsParams) SetContext(ctx context.Context)
SetContext adds the context to the list revocations params
func (*ListRevocationsParams) SetDefaults ¶
func (o *ListRevocationsParams) SetDefaults()
SetDefaults hydrates default values in the list revocations params (not the query body).
All values with no default are reset to their zero value.
func (*ListRevocationsParams) SetFilter ¶
func (o *ListRevocationsParams) SetFilter(filter *string)
SetFilter adds the filter to the list revocations params
func (*ListRevocationsParams) SetHTTPClient ¶
func (o *ListRevocationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list revocations params
func (*ListRevocationsParams) SetLimit ¶
func (o *ListRevocationsParams) SetLimit(limit *int64)
SetLimit adds the limit to the list revocations params
func (*ListRevocationsParams) SetOffset ¶
func (o *ListRevocationsParams) SetOffset(offset *int64)
SetOffset adds the offset to the list revocations params
func (*ListRevocationsParams) SetTimeout ¶
func (o *ListRevocationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list revocations params
func (*ListRevocationsParams) WithContext ¶
func (o *ListRevocationsParams) WithContext(ctx context.Context) *ListRevocationsParams
WithContext adds the context to the list revocations params
func (*ListRevocationsParams) WithDefaults ¶
func (o *ListRevocationsParams) WithDefaults() *ListRevocationsParams
WithDefaults hydrates default values in the list revocations params (not the query body).
All values with no default are reset to their zero value.
func (*ListRevocationsParams) WithFilter ¶
func (o *ListRevocationsParams) WithFilter(filter *string) *ListRevocationsParams
WithFilter adds the filter to the list revocations params
func (*ListRevocationsParams) WithHTTPClient ¶
func (o *ListRevocationsParams) WithHTTPClient(client *http.Client) *ListRevocationsParams
WithHTTPClient adds the HTTPClient to the list revocations params
func (*ListRevocationsParams) WithLimit ¶
func (o *ListRevocationsParams) WithLimit(limit *int64) *ListRevocationsParams
WithLimit adds the limit to the list revocations params
func (*ListRevocationsParams) WithOffset ¶
func (o *ListRevocationsParams) WithOffset(offset *int64) *ListRevocationsParams
WithOffset adds the offset to the list revocations params
func (*ListRevocationsParams) WithTimeout ¶
func (o *ListRevocationsParams) WithTimeout(timeout time.Duration) *ListRevocationsParams
WithTimeout adds the timeout to the list revocations params
func (*ListRevocationsParams) WriteToRequest ¶
func (o *ListRevocationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRevocationsReader ¶
type ListRevocationsReader struct {
// contains filtered or unexported fields
}
ListRevocationsReader is a Reader for the ListRevocations structure.
func (*ListRevocationsReader) ReadResponse ¶
func (o *ListRevocationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ListRevocationsServiceUnavailable ¶
type ListRevocationsServiceUnavailable struct {
WWWAuthenticate []string
}
ListRevocationsServiceUnavailable describes a response with status code 503, with default header values.
The request could not be completed due to the server being busy or in a temporarily bad state
func NewListRevocationsServiceUnavailable ¶
func NewListRevocationsServiceUnavailable() *ListRevocationsServiceUnavailable
NewListRevocationsServiceUnavailable creates a ListRevocationsServiceUnavailable with default headers values
func (*ListRevocationsServiceUnavailable) Code ¶
func (o *ListRevocationsServiceUnavailable) Code() int
Code gets the status code for the list revocations service unavailable response
func (*ListRevocationsServiceUnavailable) Error ¶
func (o *ListRevocationsServiceUnavailable) Error() string
func (*ListRevocationsServiceUnavailable) GetPayload ¶
func (o *ListRevocationsServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*ListRevocationsServiceUnavailable) IsClientError ¶
func (o *ListRevocationsServiceUnavailable) IsClientError() bool
IsClientError returns true when this list revocations service unavailable response has a 4xx status code
func (*ListRevocationsServiceUnavailable) IsCode ¶
func (o *ListRevocationsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this list revocations service unavailable response a status code equal to that given
func (*ListRevocationsServiceUnavailable) IsRedirect ¶
func (o *ListRevocationsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this list revocations service unavailable response has a 3xx status code
func (*ListRevocationsServiceUnavailable) IsServerError ¶
func (o *ListRevocationsServiceUnavailable) IsServerError() bool
IsServerError returns true when this list revocations service unavailable response has a 5xx status code
func (*ListRevocationsServiceUnavailable) IsSuccess ¶
func (o *ListRevocationsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this list revocations service unavailable response has a 2xx status code
func (*ListRevocationsServiceUnavailable) String ¶
func (o *ListRevocationsServiceUnavailable) String() string
type ListRevocationsTooManyRequests ¶
type ListRevocationsTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
ListRevocationsTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewListRevocationsTooManyRequests ¶
func NewListRevocationsTooManyRequests() *ListRevocationsTooManyRequests
NewListRevocationsTooManyRequests creates a ListRevocationsTooManyRequests with default headers values
func (*ListRevocationsTooManyRequests) Code ¶
func (o *ListRevocationsTooManyRequests) Code() int
Code gets the status code for the list revocations too many requests response
func (*ListRevocationsTooManyRequests) Error ¶
func (o *ListRevocationsTooManyRequests) Error() string
func (*ListRevocationsTooManyRequests) GetPayload ¶
func (o *ListRevocationsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*ListRevocationsTooManyRequests) IsClientError ¶
func (o *ListRevocationsTooManyRequests) IsClientError() bool
IsClientError returns true when this list revocations too many requests response has a 4xx status code
func (*ListRevocationsTooManyRequests) IsCode ¶
func (o *ListRevocationsTooManyRequests) IsCode(code int) bool
IsCode returns true when this list revocations too many requests response a status code equal to that given
func (*ListRevocationsTooManyRequests) IsRedirect ¶
func (o *ListRevocationsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list revocations too many requests response has a 3xx status code
func (*ListRevocationsTooManyRequests) IsServerError ¶
func (o *ListRevocationsTooManyRequests) IsServerError() bool
IsServerError returns true when this list revocations too many requests response has a 5xx status code
func (*ListRevocationsTooManyRequests) IsSuccess ¶
func (o *ListRevocationsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list revocations too many requests response has a 2xx status code
func (*ListRevocationsTooManyRequests) String ¶
func (o *ListRevocationsTooManyRequests) String() string
type ListRevocationsUnauthorized ¶
type ListRevocationsUnauthorized struct {
WWWAuthenticate []string
}
ListRevocationsUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewListRevocationsUnauthorized ¶
func NewListRevocationsUnauthorized() *ListRevocationsUnauthorized
NewListRevocationsUnauthorized creates a ListRevocationsUnauthorized with default headers values
func (*ListRevocationsUnauthorized) Code ¶
func (o *ListRevocationsUnauthorized) Code() int
Code gets the status code for the list revocations unauthorized response
func (*ListRevocationsUnauthorized) Error ¶
func (o *ListRevocationsUnauthorized) Error() string
func (*ListRevocationsUnauthorized) GetPayload ¶
func (o *ListRevocationsUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*ListRevocationsUnauthorized) IsClientError ¶
func (o *ListRevocationsUnauthorized) IsClientError() bool
IsClientError returns true when this list revocations unauthorized response has a 4xx status code
func (*ListRevocationsUnauthorized) IsCode ¶
func (o *ListRevocationsUnauthorized) IsCode(code int) bool
IsCode returns true when this list revocations unauthorized response a status code equal to that given
func (*ListRevocationsUnauthorized) IsRedirect ¶
func (o *ListRevocationsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list revocations unauthorized response has a 3xx status code
func (*ListRevocationsUnauthorized) IsServerError ¶
func (o *ListRevocationsUnauthorized) IsServerError() bool
IsServerError returns true when this list revocations unauthorized response has a 5xx status code
func (*ListRevocationsUnauthorized) IsSuccess ¶
func (o *ListRevocationsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list revocations unauthorized response has a 2xx status code
func (*ListRevocationsUnauthorized) String ¶
func (o *ListRevocationsUnauthorized) String() string