Documentation ¶
Index ¶
- type Client
- func (a *Client) GatewayExchange(params *GatewayExchangeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GatewayExchangeOK, error)
- func (a *Client) GatewayIntrospect(params *GatewayIntrospectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GatewayIntrospectOK, error)
- func (a *Client) RevokeTokens(params *RevokeTokensParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RevokeTokensNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GatewayExchangeBadRequest
- func (o *GatewayExchangeBadRequest) Code() int
- func (o *GatewayExchangeBadRequest) Error() string
- func (o *GatewayExchangeBadRequest) GetPayload() *models.Error
- func (o *GatewayExchangeBadRequest) IsClientError() bool
- func (o *GatewayExchangeBadRequest) IsCode(code int) bool
- func (o *GatewayExchangeBadRequest) IsRedirect() bool
- func (o *GatewayExchangeBadRequest) IsServerError() bool
- func (o *GatewayExchangeBadRequest) IsSuccess() bool
- func (o *GatewayExchangeBadRequest) String() string
- type GatewayExchangeForbidden
- func (o *GatewayExchangeForbidden) Code() int
- func (o *GatewayExchangeForbidden) Error() string
- func (o *GatewayExchangeForbidden) GetPayload() *models.Error
- func (o *GatewayExchangeForbidden) IsClientError() bool
- func (o *GatewayExchangeForbidden) IsCode(code int) bool
- func (o *GatewayExchangeForbidden) IsRedirect() bool
- func (o *GatewayExchangeForbidden) IsServerError() bool
- func (o *GatewayExchangeForbidden) IsSuccess() bool
- func (o *GatewayExchangeForbidden) String() string
- type GatewayExchangeOK
- func (o *GatewayExchangeOK) Code() int
- func (o *GatewayExchangeOK) Error() string
- func (o *GatewayExchangeOK) GetPayload() *models.GatewayExchangeResponse
- func (o *GatewayExchangeOK) IsClientError() bool
- func (o *GatewayExchangeOK) IsCode(code int) bool
- func (o *GatewayExchangeOK) IsRedirect() bool
- func (o *GatewayExchangeOK) IsServerError() bool
- func (o *GatewayExchangeOK) IsSuccess() bool
- func (o *GatewayExchangeOK) String() string
- type GatewayExchangeParams
- func NewGatewayExchangeParams() *GatewayExchangeParams
- func NewGatewayExchangeParamsWithContext(ctx context.Context) *GatewayExchangeParams
- func NewGatewayExchangeParamsWithHTTPClient(client *http.Client) *GatewayExchangeParams
- func NewGatewayExchangeParamsWithTimeout(timeout time.Duration) *GatewayExchangeParams
- func (o *GatewayExchangeParams) SetContext(ctx context.Context)
- func (o *GatewayExchangeParams) SetDefaults()
- func (o *GatewayExchangeParams) SetHTTPClient(client *http.Client)
- func (o *GatewayExchangeParams) SetSubjectToken(subjectToken *string)
- func (o *GatewayExchangeParams) SetTimeout(timeout time.Duration)
- func (o *GatewayExchangeParams) WithContext(ctx context.Context) *GatewayExchangeParams
- func (o *GatewayExchangeParams) WithDefaults() *GatewayExchangeParams
- func (o *GatewayExchangeParams) WithHTTPClient(client *http.Client) *GatewayExchangeParams
- func (o *GatewayExchangeParams) WithSubjectToken(subjectToken *string) *GatewayExchangeParams
- func (o *GatewayExchangeParams) WithTimeout(timeout time.Duration) *GatewayExchangeParams
- func (o *GatewayExchangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GatewayExchangeReader
- type GatewayExchangeUnauthorized
- func (o *GatewayExchangeUnauthorized) Code() int
- func (o *GatewayExchangeUnauthorized) Error() string
- func (o *GatewayExchangeUnauthorized) GetPayload() *models.Error
- func (o *GatewayExchangeUnauthorized) IsClientError() bool
- func (o *GatewayExchangeUnauthorized) IsCode(code int) bool
- func (o *GatewayExchangeUnauthorized) IsRedirect() bool
- func (o *GatewayExchangeUnauthorized) IsServerError() bool
- func (o *GatewayExchangeUnauthorized) IsSuccess() bool
- func (o *GatewayExchangeUnauthorized) String() string
- type GatewayExchangeUnprocessableEntity
- func (o *GatewayExchangeUnprocessableEntity) Code() int
- func (o *GatewayExchangeUnprocessableEntity) Error() string
- func (o *GatewayExchangeUnprocessableEntity) GetPayload() *models.Error
- func (o *GatewayExchangeUnprocessableEntity) IsClientError() bool
- func (o *GatewayExchangeUnprocessableEntity) IsCode(code int) bool
- func (o *GatewayExchangeUnprocessableEntity) IsRedirect() bool
- func (o *GatewayExchangeUnprocessableEntity) IsServerError() bool
- func (o *GatewayExchangeUnprocessableEntity) IsSuccess() bool
- func (o *GatewayExchangeUnprocessableEntity) String() string
- type GatewayIntrospectBadRequest
- func (o *GatewayIntrospectBadRequest) Code() int
- func (o *GatewayIntrospectBadRequest) Error() string
- func (o *GatewayIntrospectBadRequest) GetPayload() *models.Error
- func (o *GatewayIntrospectBadRequest) IsClientError() bool
- func (o *GatewayIntrospectBadRequest) IsCode(code int) bool
- func (o *GatewayIntrospectBadRequest) IsRedirect() bool
- func (o *GatewayIntrospectBadRequest) IsServerError() bool
- func (o *GatewayIntrospectBadRequest) IsSuccess() bool
- func (o *GatewayIntrospectBadRequest) String() string
- type GatewayIntrospectOK
- func (o *GatewayIntrospectOK) Code() int
- func (o *GatewayIntrospectOK) Error() string
- func (o *GatewayIntrospectOK) GetPayload() *models.IntrospectResponse
- func (o *GatewayIntrospectOK) IsClientError() bool
- func (o *GatewayIntrospectOK) IsCode(code int) bool
- func (o *GatewayIntrospectOK) IsRedirect() bool
- func (o *GatewayIntrospectOK) IsServerError() bool
- func (o *GatewayIntrospectOK) IsSuccess() bool
- func (o *GatewayIntrospectOK) String() string
- type GatewayIntrospectParams
- func NewGatewayIntrospectParams() *GatewayIntrospectParams
- func NewGatewayIntrospectParamsWithContext(ctx context.Context) *GatewayIntrospectParams
- func NewGatewayIntrospectParamsWithHTTPClient(client *http.Client) *GatewayIntrospectParams
- func NewGatewayIntrospectParamsWithTimeout(timeout time.Duration) *GatewayIntrospectParams
- func (o *GatewayIntrospectParams) SetContext(ctx context.Context)
- func (o *GatewayIntrospectParams) SetDefaults()
- func (o *GatewayIntrospectParams) SetHTTPClient(client *http.Client)
- func (o *GatewayIntrospectParams) SetTimeout(timeout time.Duration)
- func (o *GatewayIntrospectParams) SetToken(token *string)
- func (o *GatewayIntrospectParams) WithContext(ctx context.Context) *GatewayIntrospectParams
- func (o *GatewayIntrospectParams) WithDefaults() *GatewayIntrospectParams
- func (o *GatewayIntrospectParams) WithHTTPClient(client *http.Client) *GatewayIntrospectParams
- func (o *GatewayIntrospectParams) WithTimeout(timeout time.Duration) *GatewayIntrospectParams
- func (o *GatewayIntrospectParams) WithToken(token *string) *GatewayIntrospectParams
- func (o *GatewayIntrospectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GatewayIntrospectReader
- type GatewayIntrospectUnprocessableEntity
- func (o *GatewayIntrospectUnprocessableEntity) Code() int
- func (o *GatewayIntrospectUnprocessableEntity) Error() string
- func (o *GatewayIntrospectUnprocessableEntity) GetPayload() *models.Error
- func (o *GatewayIntrospectUnprocessableEntity) IsClientError() bool
- func (o *GatewayIntrospectUnprocessableEntity) IsCode(code int) bool
- func (o *GatewayIntrospectUnprocessableEntity) IsRedirect() bool
- func (o *GatewayIntrospectUnprocessableEntity) IsServerError() bool
- func (o *GatewayIntrospectUnprocessableEntity) IsSuccess() bool
- func (o *GatewayIntrospectUnprocessableEntity) String() string
- type RevokeTokensForbidden
- func (o *RevokeTokensForbidden) Code() int
- func (o *RevokeTokensForbidden) Error() string
- func (o *RevokeTokensForbidden) GetPayload() *models.Error
- func (o *RevokeTokensForbidden) IsClientError() bool
- func (o *RevokeTokensForbidden) IsCode(code int) bool
- func (o *RevokeTokensForbidden) IsRedirect() bool
- func (o *RevokeTokensForbidden) IsServerError() bool
- func (o *RevokeTokensForbidden) IsSuccess() bool
- func (o *RevokeTokensForbidden) String() string
- type RevokeTokensNoContent
- func (o *RevokeTokensNoContent) Code() int
- func (o *RevokeTokensNoContent) Error() string
- func (o *RevokeTokensNoContent) IsClientError() bool
- func (o *RevokeTokensNoContent) IsCode(code int) bool
- func (o *RevokeTokensNoContent) IsRedirect() bool
- func (o *RevokeTokensNoContent) IsServerError() bool
- func (o *RevokeTokensNoContent) IsSuccess() bool
- func (o *RevokeTokensNoContent) String() string
- type RevokeTokensNotFound
- func (o *RevokeTokensNotFound) Code() int
- func (o *RevokeTokensNotFound) Error() string
- func (o *RevokeTokensNotFound) GetPayload() *models.Error
- func (o *RevokeTokensNotFound) IsClientError() bool
- func (o *RevokeTokensNotFound) IsCode(code int) bool
- func (o *RevokeTokensNotFound) IsRedirect() bool
- func (o *RevokeTokensNotFound) IsServerError() bool
- func (o *RevokeTokensNotFound) IsSuccess() bool
- func (o *RevokeTokensNotFound) String() string
- type RevokeTokensParams
- func (o *RevokeTokensParams) SetConsentID(consentID *string)
- func (o *RevokeTokensParams) SetContext(ctx context.Context)
- func (o *RevokeTokensParams) SetDefaults()
- func (o *RevokeTokensParams) SetHTTPClient(client *http.Client)
- func (o *RevokeTokensParams) SetTimeout(timeout time.Duration)
- func (o *RevokeTokensParams) SetWid(wid string)
- func (o *RevokeTokensParams) WithConsentID(consentID *string) *RevokeTokensParams
- func (o *RevokeTokensParams) WithContext(ctx context.Context) *RevokeTokensParams
- func (o *RevokeTokensParams) WithDefaults() *RevokeTokensParams
- func (o *RevokeTokensParams) WithHTTPClient(client *http.Client) *RevokeTokensParams
- func (o *RevokeTokensParams) WithTimeout(timeout time.Duration) *RevokeTokensParams
- func (o *RevokeTokensParams) WithWid(wid string) *RevokeTokensParams
- func (o *RevokeTokensParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeTokensReader
- type RevokeTokensUnauthorized
- func (o *RevokeTokensUnauthorized) Code() int
- func (o *RevokeTokensUnauthorized) Error() string
- func (o *RevokeTokensUnauthorized) GetPayload() *models.Error
- func (o *RevokeTokensUnauthorized) IsClientError() bool
- func (o *RevokeTokensUnauthorized) IsCode(code int) bool
- func (o *RevokeTokensUnauthorized) IsRedirect() bool
- func (o *RevokeTokensUnauthorized) IsServerError() bool
- func (o *RevokeTokensUnauthorized) IsSuccess() bool
- func (o *RevokeTokensUnauthorized) String() string
- type RevokeTokensUnprocessableEntity
- func (o *RevokeTokensUnprocessableEntity) Code() int
- func (o *RevokeTokensUnprocessableEntity) Error() string
- func (o *RevokeTokensUnprocessableEntity) GetPayload() *models.Error
- func (o *RevokeTokensUnprocessableEntity) IsClientError() bool
- func (o *RevokeTokensUnprocessableEntity) IsCode(code int) bool
- func (o *RevokeTokensUnprocessableEntity) IsRedirect() bool
- func (o *RevokeTokensUnprocessableEntity) IsServerError() bool
- func (o *RevokeTokensUnprocessableEntity) IsSuccess() bool
- func (o *RevokeTokensUnprocessableEntity) 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 system API
func (*Client) GatewayExchange ¶
func (a *Client) GatewayExchange(params *GatewayExchangeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GatewayExchangeOK, error)
GatewayExchange exchanges token endpoint as a gateway
func (*Client) GatewayIntrospect ¶
func (a *Client) GatewayIntrospect(params *GatewayIntrospectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GatewayIntrospectOK, error)
GatewayIntrospect introspects access token endpoint as a gateway
func (*Client) RevokeTokens ¶
func (a *Client) RevokeTokens(params *RevokeTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeTokensNoContent, error)
RevokeTokens revokes tokens
Revokes tokens issued for consent id provided in the query param.
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 is the option for Client methods
type ClientService ¶
type ClientService interface { GatewayExchange(params *GatewayExchangeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GatewayExchangeOK, error) GatewayIntrospect(params *GatewayIntrospectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GatewayIntrospectOK, error) RevokeTokens(params *RevokeTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeTokensNoContent, 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 system API client.
type GatewayExchangeBadRequest ¶
GatewayExchangeBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGatewayExchangeBadRequest ¶
func NewGatewayExchangeBadRequest() *GatewayExchangeBadRequest
NewGatewayExchangeBadRequest creates a GatewayExchangeBadRequest with default headers values
func (*GatewayExchangeBadRequest) Code ¶
func (o *GatewayExchangeBadRequest) Code() int
Code gets the status code for the gateway exchange bad request response
func (*GatewayExchangeBadRequest) Error ¶
func (o *GatewayExchangeBadRequest) Error() string
func (*GatewayExchangeBadRequest) GetPayload ¶
func (o *GatewayExchangeBadRequest) GetPayload() *models.Error
func (*GatewayExchangeBadRequest) IsClientError ¶
func (o *GatewayExchangeBadRequest) IsClientError() bool
IsClientError returns true when this gateway exchange bad request response has a 4xx status code
func (*GatewayExchangeBadRequest) IsCode ¶
func (o *GatewayExchangeBadRequest) IsCode(code int) bool
IsCode returns true when this gateway exchange bad request response a status code equal to that given
func (*GatewayExchangeBadRequest) IsRedirect ¶
func (o *GatewayExchangeBadRequest) IsRedirect() bool
IsRedirect returns true when this gateway exchange bad request response has a 3xx status code
func (*GatewayExchangeBadRequest) IsServerError ¶
func (o *GatewayExchangeBadRequest) IsServerError() bool
IsServerError returns true when this gateway exchange bad request response has a 5xx status code
func (*GatewayExchangeBadRequest) IsSuccess ¶
func (o *GatewayExchangeBadRequest) IsSuccess() bool
IsSuccess returns true when this gateway exchange bad request response has a 2xx status code
func (*GatewayExchangeBadRequest) String ¶
func (o *GatewayExchangeBadRequest) String() string
type GatewayExchangeForbidden ¶
GatewayExchangeForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGatewayExchangeForbidden ¶
func NewGatewayExchangeForbidden() *GatewayExchangeForbidden
NewGatewayExchangeForbidden creates a GatewayExchangeForbidden with default headers values
func (*GatewayExchangeForbidden) Code ¶
func (o *GatewayExchangeForbidden) Code() int
Code gets the status code for the gateway exchange forbidden response
func (*GatewayExchangeForbidden) Error ¶
func (o *GatewayExchangeForbidden) Error() string
func (*GatewayExchangeForbidden) GetPayload ¶
func (o *GatewayExchangeForbidden) GetPayload() *models.Error
func (*GatewayExchangeForbidden) IsClientError ¶
func (o *GatewayExchangeForbidden) IsClientError() bool
IsClientError returns true when this gateway exchange forbidden response has a 4xx status code
func (*GatewayExchangeForbidden) IsCode ¶
func (o *GatewayExchangeForbidden) IsCode(code int) bool
IsCode returns true when this gateway exchange forbidden response a status code equal to that given
func (*GatewayExchangeForbidden) IsRedirect ¶
func (o *GatewayExchangeForbidden) IsRedirect() bool
IsRedirect returns true when this gateway exchange forbidden response has a 3xx status code
func (*GatewayExchangeForbidden) IsServerError ¶
func (o *GatewayExchangeForbidden) IsServerError() bool
IsServerError returns true when this gateway exchange forbidden response has a 5xx status code
func (*GatewayExchangeForbidden) IsSuccess ¶
func (o *GatewayExchangeForbidden) IsSuccess() bool
IsSuccess returns true when this gateway exchange forbidden response has a 2xx status code
func (*GatewayExchangeForbidden) String ¶
func (o *GatewayExchangeForbidden) String() string
type GatewayExchangeOK ¶
type GatewayExchangeOK struct {
Payload *models.GatewayExchangeResponse
}
GatewayExchangeOK describes a response with status code 200, with default header values.
Gateway Exchange response
func NewGatewayExchangeOK ¶
func NewGatewayExchangeOK() *GatewayExchangeOK
NewGatewayExchangeOK creates a GatewayExchangeOK with default headers values
func (*GatewayExchangeOK) Code ¶
func (o *GatewayExchangeOK) Code() int
Code gets the status code for the gateway exchange o k response
func (*GatewayExchangeOK) Error ¶
func (o *GatewayExchangeOK) Error() string
func (*GatewayExchangeOK) GetPayload ¶
func (o *GatewayExchangeOK) GetPayload() *models.GatewayExchangeResponse
func (*GatewayExchangeOK) IsClientError ¶
func (o *GatewayExchangeOK) IsClientError() bool
IsClientError returns true when this gateway exchange o k response has a 4xx status code
func (*GatewayExchangeOK) IsCode ¶
func (o *GatewayExchangeOK) IsCode(code int) bool
IsCode returns true when this gateway exchange o k response a status code equal to that given
func (*GatewayExchangeOK) IsRedirect ¶
func (o *GatewayExchangeOK) IsRedirect() bool
IsRedirect returns true when this gateway exchange o k response has a 3xx status code
func (*GatewayExchangeOK) IsServerError ¶
func (o *GatewayExchangeOK) IsServerError() bool
IsServerError returns true when this gateway exchange o k response has a 5xx status code
func (*GatewayExchangeOK) IsSuccess ¶
func (o *GatewayExchangeOK) IsSuccess() bool
IsSuccess returns true when this gateway exchange o k response has a 2xx status code
func (*GatewayExchangeOK) String ¶
func (o *GatewayExchangeOK) String() string
type GatewayExchangeParams ¶
type GatewayExchangeParams struct { // SubjectToken. SubjectToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GatewayExchangeParams contains all the parameters to send to the API endpoint
for the gateway exchange operation. Typically these are written to a http.Request.
func NewGatewayExchangeParams ¶
func NewGatewayExchangeParams() *GatewayExchangeParams
NewGatewayExchangeParams creates a new GatewayExchangeParams 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 NewGatewayExchangeParamsWithContext ¶
func NewGatewayExchangeParamsWithContext(ctx context.Context) *GatewayExchangeParams
NewGatewayExchangeParamsWithContext creates a new GatewayExchangeParams object with the ability to set a context for a request.
func NewGatewayExchangeParamsWithHTTPClient ¶
func NewGatewayExchangeParamsWithHTTPClient(client *http.Client) *GatewayExchangeParams
NewGatewayExchangeParamsWithHTTPClient creates a new GatewayExchangeParams object with the ability to set a custom HTTPClient for a request.
func NewGatewayExchangeParamsWithTimeout ¶
func NewGatewayExchangeParamsWithTimeout(timeout time.Duration) *GatewayExchangeParams
NewGatewayExchangeParamsWithTimeout creates a new GatewayExchangeParams object with the ability to set a timeout on a request.
func (*GatewayExchangeParams) SetContext ¶
func (o *GatewayExchangeParams) SetContext(ctx context.Context)
SetContext adds the context to the gateway exchange params
func (*GatewayExchangeParams) SetDefaults ¶
func (o *GatewayExchangeParams) SetDefaults()
SetDefaults hydrates default values in the gateway exchange params (not the query body).
All values with no default are reset to their zero value.
func (*GatewayExchangeParams) SetHTTPClient ¶
func (o *GatewayExchangeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the gateway exchange params
func (*GatewayExchangeParams) SetSubjectToken ¶
func (o *GatewayExchangeParams) SetSubjectToken(subjectToken *string)
SetSubjectToken adds the subjectToken to the gateway exchange params
func (*GatewayExchangeParams) SetTimeout ¶
func (o *GatewayExchangeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the gateway exchange params
func (*GatewayExchangeParams) WithContext ¶
func (o *GatewayExchangeParams) WithContext(ctx context.Context) *GatewayExchangeParams
WithContext adds the context to the gateway exchange params
func (*GatewayExchangeParams) WithDefaults ¶
func (o *GatewayExchangeParams) WithDefaults() *GatewayExchangeParams
WithDefaults hydrates default values in the gateway exchange params (not the query body).
All values with no default are reset to their zero value.
func (*GatewayExchangeParams) WithHTTPClient ¶
func (o *GatewayExchangeParams) WithHTTPClient(client *http.Client) *GatewayExchangeParams
WithHTTPClient adds the HTTPClient to the gateway exchange params
func (*GatewayExchangeParams) WithSubjectToken ¶
func (o *GatewayExchangeParams) WithSubjectToken(subjectToken *string) *GatewayExchangeParams
WithSubjectToken adds the subjectToken to the gateway exchange params
func (*GatewayExchangeParams) WithTimeout ¶
func (o *GatewayExchangeParams) WithTimeout(timeout time.Duration) *GatewayExchangeParams
WithTimeout adds the timeout to the gateway exchange params
func (*GatewayExchangeParams) WriteToRequest ¶
func (o *GatewayExchangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GatewayExchangeReader ¶
type GatewayExchangeReader struct {
// contains filtered or unexported fields
}
GatewayExchangeReader is a Reader for the GatewayExchange structure.
func (*GatewayExchangeReader) ReadResponse ¶
func (o *GatewayExchangeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GatewayExchangeUnauthorized ¶
type GatewayExchangeUnauthorized struct {
}GatewayExchangeUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGatewayExchangeUnauthorized ¶
func NewGatewayExchangeUnauthorized() *GatewayExchangeUnauthorized
NewGatewayExchangeUnauthorized creates a GatewayExchangeUnauthorized with default headers values
func (*GatewayExchangeUnauthorized) Code ¶
func (o *GatewayExchangeUnauthorized) Code() int
Code gets the status code for the gateway exchange unauthorized response
func (*GatewayExchangeUnauthorized) Error ¶
func (o *GatewayExchangeUnauthorized) Error() string
func (*GatewayExchangeUnauthorized) GetPayload ¶
func (o *GatewayExchangeUnauthorized) GetPayload() *models.Error
func (*GatewayExchangeUnauthorized) IsClientError ¶
func (o *GatewayExchangeUnauthorized) IsClientError() bool
IsClientError returns true when this gateway exchange unauthorized response has a 4xx status code
func (*GatewayExchangeUnauthorized) IsCode ¶
func (o *GatewayExchangeUnauthorized) IsCode(code int) bool
IsCode returns true when this gateway exchange unauthorized response a status code equal to that given
func (*GatewayExchangeUnauthorized) IsRedirect ¶
func (o *GatewayExchangeUnauthorized) IsRedirect() bool
IsRedirect returns true when this gateway exchange unauthorized response has a 3xx status code
func (*GatewayExchangeUnauthorized) IsServerError ¶
func (o *GatewayExchangeUnauthorized) IsServerError() bool
IsServerError returns true when this gateway exchange unauthorized response has a 5xx status code
func (*GatewayExchangeUnauthorized) IsSuccess ¶
func (o *GatewayExchangeUnauthorized) IsSuccess() bool
IsSuccess returns true when this gateway exchange unauthorized response has a 2xx status code
func (*GatewayExchangeUnauthorized) String ¶
func (o *GatewayExchangeUnauthorized) String() string
type GatewayExchangeUnprocessableEntity ¶
GatewayExchangeUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewGatewayExchangeUnprocessableEntity ¶
func NewGatewayExchangeUnprocessableEntity() *GatewayExchangeUnprocessableEntity
NewGatewayExchangeUnprocessableEntity creates a GatewayExchangeUnprocessableEntity with default headers values
func (*GatewayExchangeUnprocessableEntity) Code ¶
func (o *GatewayExchangeUnprocessableEntity) Code() int
Code gets the status code for the gateway exchange unprocessable entity response
func (*GatewayExchangeUnprocessableEntity) Error ¶
func (o *GatewayExchangeUnprocessableEntity) Error() string
func (*GatewayExchangeUnprocessableEntity) GetPayload ¶
func (o *GatewayExchangeUnprocessableEntity) GetPayload() *models.Error
func (*GatewayExchangeUnprocessableEntity) IsClientError ¶
func (o *GatewayExchangeUnprocessableEntity) IsClientError() bool
IsClientError returns true when this gateway exchange unprocessable entity response has a 4xx status code
func (*GatewayExchangeUnprocessableEntity) IsCode ¶
func (o *GatewayExchangeUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this gateway exchange unprocessable entity response a status code equal to that given
func (*GatewayExchangeUnprocessableEntity) IsRedirect ¶
func (o *GatewayExchangeUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this gateway exchange unprocessable entity response has a 3xx status code
func (*GatewayExchangeUnprocessableEntity) IsServerError ¶
func (o *GatewayExchangeUnprocessableEntity) IsServerError() bool
IsServerError returns true when this gateway exchange unprocessable entity response has a 5xx status code
func (*GatewayExchangeUnprocessableEntity) IsSuccess ¶
func (o *GatewayExchangeUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this gateway exchange unprocessable entity response has a 2xx status code
func (*GatewayExchangeUnprocessableEntity) String ¶
func (o *GatewayExchangeUnprocessableEntity) String() string
type GatewayIntrospectBadRequest ¶
GatewayIntrospectBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGatewayIntrospectBadRequest ¶
func NewGatewayIntrospectBadRequest() *GatewayIntrospectBadRequest
NewGatewayIntrospectBadRequest creates a GatewayIntrospectBadRequest with default headers values
func (*GatewayIntrospectBadRequest) Code ¶
func (o *GatewayIntrospectBadRequest) Code() int
Code gets the status code for the gateway introspect bad request response
func (*GatewayIntrospectBadRequest) Error ¶
func (o *GatewayIntrospectBadRequest) Error() string
func (*GatewayIntrospectBadRequest) GetPayload ¶
func (o *GatewayIntrospectBadRequest) GetPayload() *models.Error
func (*GatewayIntrospectBadRequest) IsClientError ¶
func (o *GatewayIntrospectBadRequest) IsClientError() bool
IsClientError returns true when this gateway introspect bad request response has a 4xx status code
func (*GatewayIntrospectBadRequest) IsCode ¶
func (o *GatewayIntrospectBadRequest) IsCode(code int) bool
IsCode returns true when this gateway introspect bad request response a status code equal to that given
func (*GatewayIntrospectBadRequest) IsRedirect ¶
func (o *GatewayIntrospectBadRequest) IsRedirect() bool
IsRedirect returns true when this gateway introspect bad request response has a 3xx status code
func (*GatewayIntrospectBadRequest) IsServerError ¶
func (o *GatewayIntrospectBadRequest) IsServerError() bool
IsServerError returns true when this gateway introspect bad request response has a 5xx status code
func (*GatewayIntrospectBadRequest) IsSuccess ¶
func (o *GatewayIntrospectBadRequest) IsSuccess() bool
IsSuccess returns true when this gateway introspect bad request response has a 2xx status code
func (*GatewayIntrospectBadRequest) String ¶
func (o *GatewayIntrospectBadRequest) String() string
type GatewayIntrospectOK ¶
type GatewayIntrospectOK struct {
Payload *models.IntrospectResponse
}
GatewayIntrospectOK describes a response with status code 200, with default header values.
Introspect
func NewGatewayIntrospectOK ¶
func NewGatewayIntrospectOK() *GatewayIntrospectOK
NewGatewayIntrospectOK creates a GatewayIntrospectOK with default headers values
func (*GatewayIntrospectOK) Code ¶
func (o *GatewayIntrospectOK) Code() int
Code gets the status code for the gateway introspect o k response
func (*GatewayIntrospectOK) Error ¶
func (o *GatewayIntrospectOK) Error() string
func (*GatewayIntrospectOK) GetPayload ¶
func (o *GatewayIntrospectOK) GetPayload() *models.IntrospectResponse
func (*GatewayIntrospectOK) IsClientError ¶
func (o *GatewayIntrospectOK) IsClientError() bool
IsClientError returns true when this gateway introspect o k response has a 4xx status code
func (*GatewayIntrospectOK) IsCode ¶
func (o *GatewayIntrospectOK) IsCode(code int) bool
IsCode returns true when this gateway introspect o k response a status code equal to that given
func (*GatewayIntrospectOK) IsRedirect ¶
func (o *GatewayIntrospectOK) IsRedirect() bool
IsRedirect returns true when this gateway introspect o k response has a 3xx status code
func (*GatewayIntrospectOK) IsServerError ¶
func (o *GatewayIntrospectOK) IsServerError() bool
IsServerError returns true when this gateway introspect o k response has a 5xx status code
func (*GatewayIntrospectOK) IsSuccess ¶
func (o *GatewayIntrospectOK) IsSuccess() bool
IsSuccess returns true when this gateway introspect o k response has a 2xx status code
func (*GatewayIntrospectOK) String ¶
func (o *GatewayIntrospectOK) String() string
type GatewayIntrospectParams ¶
type GatewayIntrospectParams struct { // Token. Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GatewayIntrospectParams contains all the parameters to send to the API endpoint
for the gateway introspect operation. Typically these are written to a http.Request.
func NewGatewayIntrospectParams ¶
func NewGatewayIntrospectParams() *GatewayIntrospectParams
NewGatewayIntrospectParams creates a new GatewayIntrospectParams 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 NewGatewayIntrospectParamsWithContext ¶
func NewGatewayIntrospectParamsWithContext(ctx context.Context) *GatewayIntrospectParams
NewGatewayIntrospectParamsWithContext creates a new GatewayIntrospectParams object with the ability to set a context for a request.
func NewGatewayIntrospectParamsWithHTTPClient ¶
func NewGatewayIntrospectParamsWithHTTPClient(client *http.Client) *GatewayIntrospectParams
NewGatewayIntrospectParamsWithHTTPClient creates a new GatewayIntrospectParams object with the ability to set a custom HTTPClient for a request.
func NewGatewayIntrospectParamsWithTimeout ¶
func NewGatewayIntrospectParamsWithTimeout(timeout time.Duration) *GatewayIntrospectParams
NewGatewayIntrospectParamsWithTimeout creates a new GatewayIntrospectParams object with the ability to set a timeout on a request.
func (*GatewayIntrospectParams) SetContext ¶
func (o *GatewayIntrospectParams) SetContext(ctx context.Context)
SetContext adds the context to the gateway introspect params
func (*GatewayIntrospectParams) SetDefaults ¶
func (o *GatewayIntrospectParams) SetDefaults()
SetDefaults hydrates default values in the gateway introspect params (not the query body).
All values with no default are reset to their zero value.
func (*GatewayIntrospectParams) SetHTTPClient ¶
func (o *GatewayIntrospectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the gateway introspect params
func (*GatewayIntrospectParams) SetTimeout ¶
func (o *GatewayIntrospectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the gateway introspect params
func (*GatewayIntrospectParams) SetToken ¶
func (o *GatewayIntrospectParams) SetToken(token *string)
SetToken adds the token to the gateway introspect params
func (*GatewayIntrospectParams) WithContext ¶
func (o *GatewayIntrospectParams) WithContext(ctx context.Context) *GatewayIntrospectParams
WithContext adds the context to the gateway introspect params
func (*GatewayIntrospectParams) WithDefaults ¶
func (o *GatewayIntrospectParams) WithDefaults() *GatewayIntrospectParams
WithDefaults hydrates default values in the gateway introspect params (not the query body).
All values with no default are reset to their zero value.
func (*GatewayIntrospectParams) WithHTTPClient ¶
func (o *GatewayIntrospectParams) WithHTTPClient(client *http.Client) *GatewayIntrospectParams
WithHTTPClient adds the HTTPClient to the gateway introspect params
func (*GatewayIntrospectParams) WithTimeout ¶
func (o *GatewayIntrospectParams) WithTimeout(timeout time.Duration) *GatewayIntrospectParams
WithTimeout adds the timeout to the gateway introspect params
func (*GatewayIntrospectParams) WithToken ¶
func (o *GatewayIntrospectParams) WithToken(token *string) *GatewayIntrospectParams
WithToken adds the token to the gateway introspect params
func (*GatewayIntrospectParams) WriteToRequest ¶
func (o *GatewayIntrospectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GatewayIntrospectReader ¶
type GatewayIntrospectReader struct {
// contains filtered or unexported fields
}
GatewayIntrospectReader is a Reader for the GatewayIntrospect structure.
func (*GatewayIntrospectReader) ReadResponse ¶
func (o *GatewayIntrospectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GatewayIntrospectUnprocessableEntity ¶
GatewayIntrospectUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewGatewayIntrospectUnprocessableEntity ¶
func NewGatewayIntrospectUnprocessableEntity() *GatewayIntrospectUnprocessableEntity
NewGatewayIntrospectUnprocessableEntity creates a GatewayIntrospectUnprocessableEntity with default headers values
func (*GatewayIntrospectUnprocessableEntity) Code ¶
func (o *GatewayIntrospectUnprocessableEntity) Code() int
Code gets the status code for the gateway introspect unprocessable entity response
func (*GatewayIntrospectUnprocessableEntity) Error ¶
func (o *GatewayIntrospectUnprocessableEntity) Error() string
func (*GatewayIntrospectUnprocessableEntity) GetPayload ¶
func (o *GatewayIntrospectUnprocessableEntity) GetPayload() *models.Error
func (*GatewayIntrospectUnprocessableEntity) IsClientError ¶
func (o *GatewayIntrospectUnprocessableEntity) IsClientError() bool
IsClientError returns true when this gateway introspect unprocessable entity response has a 4xx status code
func (*GatewayIntrospectUnprocessableEntity) IsCode ¶
func (o *GatewayIntrospectUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this gateway introspect unprocessable entity response a status code equal to that given
func (*GatewayIntrospectUnprocessableEntity) IsRedirect ¶
func (o *GatewayIntrospectUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this gateway introspect unprocessable entity response has a 3xx status code
func (*GatewayIntrospectUnprocessableEntity) IsServerError ¶
func (o *GatewayIntrospectUnprocessableEntity) IsServerError() bool
IsServerError returns true when this gateway introspect unprocessable entity response has a 5xx status code
func (*GatewayIntrospectUnprocessableEntity) IsSuccess ¶
func (o *GatewayIntrospectUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this gateway introspect unprocessable entity response has a 2xx status code
func (*GatewayIntrospectUnprocessableEntity) String ¶
func (o *GatewayIntrospectUnprocessableEntity) String() string
type RevokeTokensForbidden ¶
RevokeTokensForbidden describes a response with status code 403, with default header values.
Forbidden
func NewRevokeTokensForbidden ¶
func NewRevokeTokensForbidden() *RevokeTokensForbidden
NewRevokeTokensForbidden creates a RevokeTokensForbidden with default headers values
func (*RevokeTokensForbidden) Code ¶
func (o *RevokeTokensForbidden) Code() int
Code gets the status code for the revoke tokens forbidden response
func (*RevokeTokensForbidden) Error ¶
func (o *RevokeTokensForbidden) Error() string
func (*RevokeTokensForbidden) GetPayload ¶
func (o *RevokeTokensForbidden) GetPayload() *models.Error
func (*RevokeTokensForbidden) IsClientError ¶
func (o *RevokeTokensForbidden) IsClientError() bool
IsClientError returns true when this revoke tokens forbidden response has a 4xx status code
func (*RevokeTokensForbidden) IsCode ¶
func (o *RevokeTokensForbidden) IsCode(code int) bool
IsCode returns true when this revoke tokens forbidden response a status code equal to that given
func (*RevokeTokensForbidden) IsRedirect ¶
func (o *RevokeTokensForbidden) IsRedirect() bool
IsRedirect returns true when this revoke tokens forbidden response has a 3xx status code
func (*RevokeTokensForbidden) IsServerError ¶
func (o *RevokeTokensForbidden) IsServerError() bool
IsServerError returns true when this revoke tokens forbidden response has a 5xx status code
func (*RevokeTokensForbidden) IsSuccess ¶
func (o *RevokeTokensForbidden) IsSuccess() bool
IsSuccess returns true when this revoke tokens forbidden response has a 2xx status code
func (*RevokeTokensForbidden) String ¶
func (o *RevokeTokensForbidden) String() string
type RevokeTokensNoContent ¶
type RevokeTokensNoContent struct { }
RevokeTokensNoContent describes a response with status code 204, with default header values.
Tokens removed
func NewRevokeTokensNoContent ¶
func NewRevokeTokensNoContent() *RevokeTokensNoContent
NewRevokeTokensNoContent creates a RevokeTokensNoContent with default headers values
func (*RevokeTokensNoContent) Code ¶
func (o *RevokeTokensNoContent) Code() int
Code gets the status code for the revoke tokens no content response
func (*RevokeTokensNoContent) Error ¶
func (o *RevokeTokensNoContent) Error() string
func (*RevokeTokensNoContent) IsClientError ¶
func (o *RevokeTokensNoContent) IsClientError() bool
IsClientError returns true when this revoke tokens no content response has a 4xx status code
func (*RevokeTokensNoContent) IsCode ¶
func (o *RevokeTokensNoContent) IsCode(code int) bool
IsCode returns true when this revoke tokens no content response a status code equal to that given
func (*RevokeTokensNoContent) IsRedirect ¶
func (o *RevokeTokensNoContent) IsRedirect() bool
IsRedirect returns true when this revoke tokens no content response has a 3xx status code
func (*RevokeTokensNoContent) IsServerError ¶
func (o *RevokeTokensNoContent) IsServerError() bool
IsServerError returns true when this revoke tokens no content response has a 5xx status code
func (*RevokeTokensNoContent) IsSuccess ¶
func (o *RevokeTokensNoContent) IsSuccess() bool
IsSuccess returns true when this revoke tokens no content response has a 2xx status code
func (*RevokeTokensNoContent) String ¶
func (o *RevokeTokensNoContent) String() string
type RevokeTokensNotFound ¶
RevokeTokensNotFound describes a response with status code 404, with default header values.
Not found
func NewRevokeTokensNotFound ¶
func NewRevokeTokensNotFound() *RevokeTokensNotFound
NewRevokeTokensNotFound creates a RevokeTokensNotFound with default headers values
func (*RevokeTokensNotFound) Code ¶
func (o *RevokeTokensNotFound) Code() int
Code gets the status code for the revoke tokens not found response
func (*RevokeTokensNotFound) Error ¶
func (o *RevokeTokensNotFound) Error() string
func (*RevokeTokensNotFound) GetPayload ¶
func (o *RevokeTokensNotFound) GetPayload() *models.Error
func (*RevokeTokensNotFound) IsClientError ¶
func (o *RevokeTokensNotFound) IsClientError() bool
IsClientError returns true when this revoke tokens not found response has a 4xx status code
func (*RevokeTokensNotFound) IsCode ¶
func (o *RevokeTokensNotFound) IsCode(code int) bool
IsCode returns true when this revoke tokens not found response a status code equal to that given
func (*RevokeTokensNotFound) IsRedirect ¶
func (o *RevokeTokensNotFound) IsRedirect() bool
IsRedirect returns true when this revoke tokens not found response has a 3xx status code
func (*RevokeTokensNotFound) IsServerError ¶
func (o *RevokeTokensNotFound) IsServerError() bool
IsServerError returns true when this revoke tokens not found response has a 5xx status code
func (*RevokeTokensNotFound) IsSuccess ¶
func (o *RevokeTokensNotFound) IsSuccess() bool
IsSuccess returns true when this revoke tokens not found response has a 2xx status code
func (*RevokeTokensNotFound) String ¶
func (o *RevokeTokensNotFound) String() string
type RevokeTokensParams ¶
type RevokeTokensParams struct { /* ConsentID. Consent ID */ ConsentID *string /* Wid. Workspace id Default: "default" */ Wid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RevokeTokensParams contains all the parameters to send to the API endpoint
for the revoke tokens operation. Typically these are written to a http.Request.
func NewRevokeTokensParams ¶
func NewRevokeTokensParams() *RevokeTokensParams
NewRevokeTokensParams creates a new RevokeTokensParams 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 NewRevokeTokensParamsWithContext ¶
func NewRevokeTokensParamsWithContext(ctx context.Context) *RevokeTokensParams
NewRevokeTokensParamsWithContext creates a new RevokeTokensParams object with the ability to set a context for a request.
func NewRevokeTokensParamsWithHTTPClient ¶
func NewRevokeTokensParamsWithHTTPClient(client *http.Client) *RevokeTokensParams
NewRevokeTokensParamsWithHTTPClient creates a new RevokeTokensParams object with the ability to set a custom HTTPClient for a request.
func NewRevokeTokensParamsWithTimeout ¶
func NewRevokeTokensParamsWithTimeout(timeout time.Duration) *RevokeTokensParams
NewRevokeTokensParamsWithTimeout creates a new RevokeTokensParams object with the ability to set a timeout on a request.
func (*RevokeTokensParams) SetConsentID ¶
func (o *RevokeTokensParams) SetConsentID(consentID *string)
SetConsentID adds the consentId to the revoke tokens params
func (*RevokeTokensParams) SetContext ¶
func (o *RevokeTokensParams) SetContext(ctx context.Context)
SetContext adds the context to the revoke tokens params
func (*RevokeTokensParams) SetDefaults ¶
func (o *RevokeTokensParams) SetDefaults()
SetDefaults hydrates default values in the revoke tokens params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeTokensParams) SetHTTPClient ¶
func (o *RevokeTokensParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke tokens params
func (*RevokeTokensParams) SetTimeout ¶
func (o *RevokeTokensParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke tokens params
func (*RevokeTokensParams) SetWid ¶
func (o *RevokeTokensParams) SetWid(wid string)
SetWid adds the wid to the revoke tokens params
func (*RevokeTokensParams) WithConsentID ¶
func (o *RevokeTokensParams) WithConsentID(consentID *string) *RevokeTokensParams
WithConsentID adds the consentID to the revoke tokens params
func (*RevokeTokensParams) WithContext ¶
func (o *RevokeTokensParams) WithContext(ctx context.Context) *RevokeTokensParams
WithContext adds the context to the revoke tokens params
func (*RevokeTokensParams) WithDefaults ¶
func (o *RevokeTokensParams) WithDefaults() *RevokeTokensParams
WithDefaults hydrates default values in the revoke tokens params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeTokensParams) WithHTTPClient ¶
func (o *RevokeTokensParams) WithHTTPClient(client *http.Client) *RevokeTokensParams
WithHTTPClient adds the HTTPClient to the revoke tokens params
func (*RevokeTokensParams) WithTimeout ¶
func (o *RevokeTokensParams) WithTimeout(timeout time.Duration) *RevokeTokensParams
WithTimeout adds the timeout to the revoke tokens params
func (*RevokeTokensParams) WithWid ¶
func (o *RevokeTokensParams) WithWid(wid string) *RevokeTokensParams
WithWid adds the wid to the revoke tokens params
func (*RevokeTokensParams) WriteToRequest ¶
func (o *RevokeTokensParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeTokensReader ¶
type RevokeTokensReader struct {
// contains filtered or unexported fields
}
RevokeTokensReader is a Reader for the RevokeTokens structure.
func (*RevokeTokensReader) ReadResponse ¶
func (o *RevokeTokensReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeTokensUnauthorized ¶
type RevokeTokensUnauthorized struct {
}RevokeTokensUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewRevokeTokensUnauthorized ¶
func NewRevokeTokensUnauthorized() *RevokeTokensUnauthorized
NewRevokeTokensUnauthorized creates a RevokeTokensUnauthorized with default headers values
func (*RevokeTokensUnauthorized) Code ¶
func (o *RevokeTokensUnauthorized) Code() int
Code gets the status code for the revoke tokens unauthorized response
func (*RevokeTokensUnauthorized) Error ¶
func (o *RevokeTokensUnauthorized) Error() string
func (*RevokeTokensUnauthorized) GetPayload ¶
func (o *RevokeTokensUnauthorized) GetPayload() *models.Error
func (*RevokeTokensUnauthorized) IsClientError ¶
func (o *RevokeTokensUnauthorized) IsClientError() bool
IsClientError returns true when this revoke tokens unauthorized response has a 4xx status code
func (*RevokeTokensUnauthorized) IsCode ¶
func (o *RevokeTokensUnauthorized) IsCode(code int) bool
IsCode returns true when this revoke tokens unauthorized response a status code equal to that given
func (*RevokeTokensUnauthorized) IsRedirect ¶
func (o *RevokeTokensUnauthorized) IsRedirect() bool
IsRedirect returns true when this revoke tokens unauthorized response has a 3xx status code
func (*RevokeTokensUnauthorized) IsServerError ¶
func (o *RevokeTokensUnauthorized) IsServerError() bool
IsServerError returns true when this revoke tokens unauthorized response has a 5xx status code
func (*RevokeTokensUnauthorized) IsSuccess ¶
func (o *RevokeTokensUnauthorized) IsSuccess() bool
IsSuccess returns true when this revoke tokens unauthorized response has a 2xx status code
func (*RevokeTokensUnauthorized) String ¶
func (o *RevokeTokensUnauthorized) String() string
type RevokeTokensUnprocessableEntity ¶
RevokeTokensUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewRevokeTokensUnprocessableEntity ¶
func NewRevokeTokensUnprocessableEntity() *RevokeTokensUnprocessableEntity
NewRevokeTokensUnprocessableEntity creates a RevokeTokensUnprocessableEntity with default headers values
func (*RevokeTokensUnprocessableEntity) Code ¶
func (o *RevokeTokensUnprocessableEntity) Code() int
Code gets the status code for the revoke tokens unprocessable entity response
func (*RevokeTokensUnprocessableEntity) Error ¶
func (o *RevokeTokensUnprocessableEntity) Error() string
func (*RevokeTokensUnprocessableEntity) GetPayload ¶
func (o *RevokeTokensUnprocessableEntity) GetPayload() *models.Error
func (*RevokeTokensUnprocessableEntity) IsClientError ¶
func (o *RevokeTokensUnprocessableEntity) IsClientError() bool
IsClientError returns true when this revoke tokens unprocessable entity response has a 4xx status code
func (*RevokeTokensUnprocessableEntity) IsCode ¶
func (o *RevokeTokensUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this revoke tokens unprocessable entity response a status code equal to that given
func (*RevokeTokensUnprocessableEntity) IsRedirect ¶
func (o *RevokeTokensUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this revoke tokens unprocessable entity response has a 3xx status code
func (*RevokeTokensUnprocessableEntity) IsServerError ¶
func (o *RevokeTokensUnprocessableEntity) IsServerError() bool
IsServerError returns true when this revoke tokens unprocessable entity response has a 5xx status code
func (*RevokeTokensUnprocessableEntity) IsSuccess ¶
func (o *RevokeTokensUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this revoke tokens unprocessable entity response has a 2xx status code
func (*RevokeTokensUnprocessableEntity) String ¶
func (o *RevokeTokensUnprocessableEntity) String() string