Documentation ¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) FdxConsentIntrospect(params *FdxConsentIntrospectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FdxConsentIntrospectOK, error)
- func (a *Client) GetFDXConsent(params *GetFDXConsentParams, opts ...ClientOption) (*GetFDXConsentOK, error)
- func (a *Client) GetFDXConsentRevocation(params *GetFDXConsentRevocationParams, opts ...ClientOption) (*GetFDXConsentRevocationOK, error)
- func (a *Client) RevokeFDXConsent(params *RevokeFDXConsentParams, opts ...ClientOption) (*RevokeFDXConsentNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type FdxConsentIntrospectNotFound
- func (o *FdxConsentIntrospectNotFound) Code() int
- func (o *FdxConsentIntrospectNotFound) Error() string
- func (o *FdxConsentIntrospectNotFound) GetPayload() *models.GenericError
- func (o *FdxConsentIntrospectNotFound) IsClientError() bool
- func (o *FdxConsentIntrospectNotFound) IsCode(code int) bool
- func (o *FdxConsentIntrospectNotFound) IsRedirect() bool
- func (o *FdxConsentIntrospectNotFound) IsServerError() bool
- func (o *FdxConsentIntrospectNotFound) IsSuccess() bool
- func (o *FdxConsentIntrospectNotFound) String() string
- type FdxConsentIntrospectOK
- func (o *FdxConsentIntrospectOK) Code() int
- func (o *FdxConsentIntrospectOK) Error() string
- func (o *FdxConsentIntrospectOK) GetPayload() *FdxConsentIntrospectOKBody
- func (o *FdxConsentIntrospectOK) IsClientError() bool
- func (o *FdxConsentIntrospectOK) IsCode(code int) bool
- func (o *FdxConsentIntrospectOK) IsRedirect() bool
- func (o *FdxConsentIntrospectOK) IsServerError() bool
- func (o *FdxConsentIntrospectOK) IsSuccess() bool
- func (o *FdxConsentIntrospectOK) String() string
- type FdxConsentIntrospectOKBody
- func (o *FdxConsentIntrospectOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *FdxConsentIntrospectOKBody) MarshalBinary() ([]byte, error)
- func (o FdxConsentIntrospectOKBody) MarshalJSON() ([]byte, error)
- func (o *FdxConsentIntrospectOKBody) UnmarshalBinary(b []byte) error
- func (o *FdxConsentIntrospectOKBody) UnmarshalJSON(raw []byte) error
- func (o *FdxConsentIntrospectOKBody) Validate(formats strfmt.Registry) error
- type FdxConsentIntrospectParams
- func NewFdxConsentIntrospectParams() *FdxConsentIntrospectParams
- func NewFdxConsentIntrospectParamsWithContext(ctx context.Context) *FdxConsentIntrospectParams
- func NewFdxConsentIntrospectParamsWithHTTPClient(client *http.Client) *FdxConsentIntrospectParams
- func NewFdxConsentIntrospectParamsWithTimeout(timeout time.Duration) *FdxConsentIntrospectParams
- func (o *FdxConsentIntrospectParams) SetContext(ctx context.Context)
- func (o *FdxConsentIntrospectParams) SetDefaults()
- func (o *FdxConsentIntrospectParams) SetHTTPClient(client *http.Client)
- func (o *FdxConsentIntrospectParams) SetTimeout(timeout time.Duration)
- func (o *FdxConsentIntrospectParams) SetToken(token *string)
- func (o *FdxConsentIntrospectParams) WithContext(ctx context.Context) *FdxConsentIntrospectParams
- func (o *FdxConsentIntrospectParams) WithDefaults() *FdxConsentIntrospectParams
- func (o *FdxConsentIntrospectParams) WithHTTPClient(client *http.Client) *FdxConsentIntrospectParams
- func (o *FdxConsentIntrospectParams) WithTimeout(timeout time.Duration) *FdxConsentIntrospectParams
- func (o *FdxConsentIntrospectParams) WithToken(token *string) *FdxConsentIntrospectParams
- func (o *FdxConsentIntrospectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FdxConsentIntrospectReader
- type FdxConsentIntrospectTooManyRequests
- func (o *FdxConsentIntrospectTooManyRequests) Code() int
- func (o *FdxConsentIntrospectTooManyRequests) Error() string
- func (o *FdxConsentIntrospectTooManyRequests) GetPayload() *models.GenericError
- func (o *FdxConsentIntrospectTooManyRequests) IsClientError() bool
- func (o *FdxConsentIntrospectTooManyRequests) IsCode(code int) bool
- func (o *FdxConsentIntrospectTooManyRequests) IsRedirect() bool
- func (o *FdxConsentIntrospectTooManyRequests) IsServerError() bool
- func (o *FdxConsentIntrospectTooManyRequests) IsSuccess() bool
- func (o *FdxConsentIntrospectTooManyRequests) String() string
- type FdxConsentIntrospectUnauthorized
- func (o *FdxConsentIntrospectUnauthorized) Code() int
- func (o *FdxConsentIntrospectUnauthorized) Error() string
- func (o *FdxConsentIntrospectUnauthorized) GetPayload() *models.GenericError
- func (o *FdxConsentIntrospectUnauthorized) IsClientError() bool
- func (o *FdxConsentIntrospectUnauthorized) IsCode(code int) bool
- func (o *FdxConsentIntrospectUnauthorized) IsRedirect() bool
- func (o *FdxConsentIntrospectUnauthorized) IsServerError() bool
- func (o *FdxConsentIntrospectUnauthorized) IsSuccess() bool
- func (o *FdxConsentIntrospectUnauthorized) String() string
- type GetFDXConsentBadRequest
- func (o *GetFDXConsentBadRequest) Code() int
- func (o *GetFDXConsentBadRequest) Error() string
- func (o *GetFDXConsentBadRequest) GetPayload() *models.FDXErrorResponse
- func (o *GetFDXConsentBadRequest) IsClientError() bool
- func (o *GetFDXConsentBadRequest) IsCode(code int) bool
- func (o *GetFDXConsentBadRequest) IsRedirect() bool
- func (o *GetFDXConsentBadRequest) IsServerError() bool
- func (o *GetFDXConsentBadRequest) IsSuccess() bool
- func (o *GetFDXConsentBadRequest) String() string
- type GetFDXConsentNotFound
- func (o *GetFDXConsentNotFound) Code() int
- func (o *GetFDXConsentNotFound) Error() string
- func (o *GetFDXConsentNotFound) GetPayload() *models.FDXErrorResponse
- func (o *GetFDXConsentNotFound) IsClientError() bool
- func (o *GetFDXConsentNotFound) IsCode(code int) bool
- func (o *GetFDXConsentNotFound) IsRedirect() bool
- func (o *GetFDXConsentNotFound) IsServerError() bool
- func (o *GetFDXConsentNotFound) IsSuccess() bool
- func (o *GetFDXConsentNotFound) String() string
- type GetFDXConsentOK
- func (o *GetFDXConsentOK) Code() int
- func (o *GetFDXConsentOK) Error() string
- func (o *GetFDXConsentOK) GetPayload() *models.GetFDXConsent
- func (o *GetFDXConsentOK) IsClientError() bool
- func (o *GetFDXConsentOK) IsCode(code int) bool
- func (o *GetFDXConsentOK) IsRedirect() bool
- func (o *GetFDXConsentOK) IsServerError() bool
- func (o *GetFDXConsentOK) IsSuccess() bool
- func (o *GetFDXConsentOK) String() string
- type GetFDXConsentParams
- func (o *GetFDXConsentParams) SetConsentID(consentID string)
- func (o *GetFDXConsentParams) SetContext(ctx context.Context)
- func (o *GetFDXConsentParams) SetDefaults()
- func (o *GetFDXConsentParams) SetHTTPClient(client *http.Client)
- func (o *GetFDXConsentParams) SetTimeout(timeout time.Duration)
- func (o *GetFDXConsentParams) WithConsentID(consentID string) *GetFDXConsentParams
- func (o *GetFDXConsentParams) WithContext(ctx context.Context) *GetFDXConsentParams
- func (o *GetFDXConsentParams) WithDefaults() *GetFDXConsentParams
- func (o *GetFDXConsentParams) WithHTTPClient(client *http.Client) *GetFDXConsentParams
- func (o *GetFDXConsentParams) WithTimeout(timeout time.Duration) *GetFDXConsentParams
- func (o *GetFDXConsentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFDXConsentReader
- type GetFDXConsentRevocationBadRequest
- func (o *GetFDXConsentRevocationBadRequest) Code() int
- func (o *GetFDXConsentRevocationBadRequest) Error() string
- func (o *GetFDXConsentRevocationBadRequest) GetPayload() *models.FDXErrorResponse
- func (o *GetFDXConsentRevocationBadRequest) IsClientError() bool
- func (o *GetFDXConsentRevocationBadRequest) IsCode(code int) bool
- func (o *GetFDXConsentRevocationBadRequest) IsRedirect() bool
- func (o *GetFDXConsentRevocationBadRequest) IsServerError() bool
- func (o *GetFDXConsentRevocationBadRequest) IsSuccess() bool
- func (o *GetFDXConsentRevocationBadRequest) String() string
- type GetFDXConsentRevocationNotFound
- func (o *GetFDXConsentRevocationNotFound) Code() int
- func (o *GetFDXConsentRevocationNotFound) Error() string
- func (o *GetFDXConsentRevocationNotFound) GetPayload() *models.FDXErrorResponse
- func (o *GetFDXConsentRevocationNotFound) IsClientError() bool
- func (o *GetFDXConsentRevocationNotFound) IsCode(code int) bool
- func (o *GetFDXConsentRevocationNotFound) IsRedirect() bool
- func (o *GetFDXConsentRevocationNotFound) IsServerError() bool
- func (o *GetFDXConsentRevocationNotFound) IsSuccess() bool
- func (o *GetFDXConsentRevocationNotFound) String() string
- type GetFDXConsentRevocationOK
- func (o *GetFDXConsentRevocationOK) Code() int
- func (o *GetFDXConsentRevocationOK) Error() string
- func (o *GetFDXConsentRevocationOK) GetPayload() *models.GetFDXConsentRevocation
- func (o *GetFDXConsentRevocationOK) IsClientError() bool
- func (o *GetFDXConsentRevocationOK) IsCode(code int) bool
- func (o *GetFDXConsentRevocationOK) IsRedirect() bool
- func (o *GetFDXConsentRevocationOK) IsServerError() bool
- func (o *GetFDXConsentRevocationOK) IsSuccess() bool
- func (o *GetFDXConsentRevocationOK) String() string
- type GetFDXConsentRevocationParams
- func NewGetFDXConsentRevocationParams() *GetFDXConsentRevocationParams
- func NewGetFDXConsentRevocationParamsWithContext(ctx context.Context) *GetFDXConsentRevocationParams
- func NewGetFDXConsentRevocationParamsWithHTTPClient(client *http.Client) *GetFDXConsentRevocationParams
- func NewGetFDXConsentRevocationParamsWithTimeout(timeout time.Duration) *GetFDXConsentRevocationParams
- func (o *GetFDXConsentRevocationParams) SetConsentID(consentID string)
- func (o *GetFDXConsentRevocationParams) SetContext(ctx context.Context)
- func (o *GetFDXConsentRevocationParams) SetDefaults()
- func (o *GetFDXConsentRevocationParams) SetHTTPClient(client *http.Client)
- func (o *GetFDXConsentRevocationParams) SetTimeout(timeout time.Duration)
- func (o *GetFDXConsentRevocationParams) WithConsentID(consentID string) *GetFDXConsentRevocationParams
- func (o *GetFDXConsentRevocationParams) WithContext(ctx context.Context) *GetFDXConsentRevocationParams
- func (o *GetFDXConsentRevocationParams) WithDefaults() *GetFDXConsentRevocationParams
- func (o *GetFDXConsentRevocationParams) WithHTTPClient(client *http.Client) *GetFDXConsentRevocationParams
- func (o *GetFDXConsentRevocationParams) WithTimeout(timeout time.Duration) *GetFDXConsentRevocationParams
- func (o *GetFDXConsentRevocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFDXConsentRevocationReader
- type GetFDXConsentRevocationUnauthorized
- func (o *GetFDXConsentRevocationUnauthorized) Code() int
- func (o *GetFDXConsentRevocationUnauthorized) Error() string
- func (o *GetFDXConsentRevocationUnauthorized) GetPayload() *models.FDXErrorResponse
- func (o *GetFDXConsentRevocationUnauthorized) IsClientError() bool
- func (o *GetFDXConsentRevocationUnauthorized) IsCode(code int) bool
- func (o *GetFDXConsentRevocationUnauthorized) IsRedirect() bool
- func (o *GetFDXConsentRevocationUnauthorized) IsServerError() bool
- func (o *GetFDXConsentRevocationUnauthorized) IsSuccess() bool
- func (o *GetFDXConsentRevocationUnauthorized) String() string
- type GetFDXConsentUnauthorized
- func (o *GetFDXConsentUnauthorized) Code() int
- func (o *GetFDXConsentUnauthorized) Error() string
- func (o *GetFDXConsentUnauthorized) GetPayload() *models.FDXErrorResponse
- func (o *GetFDXConsentUnauthorized) IsClientError() bool
- func (o *GetFDXConsentUnauthorized) IsCode(code int) bool
- func (o *GetFDXConsentUnauthorized) IsRedirect() bool
- func (o *GetFDXConsentUnauthorized) IsServerError() bool
- func (o *GetFDXConsentUnauthorized) IsSuccess() bool
- func (o *GetFDXConsentUnauthorized) String() string
- type RevokeFDXConsentBadRequest
- func (o *RevokeFDXConsentBadRequest) Code() int
- func (o *RevokeFDXConsentBadRequest) Error() string
- func (o *RevokeFDXConsentBadRequest) GetPayload() *models.FDXErrorResponse
- func (o *RevokeFDXConsentBadRequest) IsClientError() bool
- func (o *RevokeFDXConsentBadRequest) IsCode(code int) bool
- func (o *RevokeFDXConsentBadRequest) IsRedirect() bool
- func (o *RevokeFDXConsentBadRequest) IsServerError() bool
- func (o *RevokeFDXConsentBadRequest) IsSuccess() bool
- func (o *RevokeFDXConsentBadRequest) String() string
- type RevokeFDXConsentConflict
- func (o *RevokeFDXConsentConflict) Code() int
- func (o *RevokeFDXConsentConflict) Error() string
- func (o *RevokeFDXConsentConflict) GetPayload() *models.FDXErrorResponse
- func (o *RevokeFDXConsentConflict) IsClientError() bool
- func (o *RevokeFDXConsentConflict) IsCode(code int) bool
- func (o *RevokeFDXConsentConflict) IsRedirect() bool
- func (o *RevokeFDXConsentConflict) IsServerError() bool
- func (o *RevokeFDXConsentConflict) IsSuccess() bool
- func (o *RevokeFDXConsentConflict) String() string
- type RevokeFDXConsentForbidden
- func (o *RevokeFDXConsentForbidden) Code() int
- func (o *RevokeFDXConsentForbidden) Error() string
- func (o *RevokeFDXConsentForbidden) GetPayload() *models.FDXErrorResponse
- func (o *RevokeFDXConsentForbidden) IsClientError() bool
- func (o *RevokeFDXConsentForbidden) IsCode(code int) bool
- func (o *RevokeFDXConsentForbidden) IsRedirect() bool
- func (o *RevokeFDXConsentForbidden) IsServerError() bool
- func (o *RevokeFDXConsentForbidden) IsSuccess() bool
- func (o *RevokeFDXConsentForbidden) String() string
- type RevokeFDXConsentNoContent
- func (o *RevokeFDXConsentNoContent) Code() int
- func (o *RevokeFDXConsentNoContent) Error() string
- func (o *RevokeFDXConsentNoContent) IsClientError() bool
- func (o *RevokeFDXConsentNoContent) IsCode(code int) bool
- func (o *RevokeFDXConsentNoContent) IsRedirect() bool
- func (o *RevokeFDXConsentNoContent) IsServerError() bool
- func (o *RevokeFDXConsentNoContent) IsSuccess() bool
- func (o *RevokeFDXConsentNoContent) String() string
- type RevokeFDXConsentNotFound
- func (o *RevokeFDXConsentNotFound) Code() int
- func (o *RevokeFDXConsentNotFound) Error() string
- func (o *RevokeFDXConsentNotFound) GetPayload() *models.FDXErrorResponse
- func (o *RevokeFDXConsentNotFound) IsClientError() bool
- func (o *RevokeFDXConsentNotFound) IsCode(code int) bool
- func (o *RevokeFDXConsentNotFound) IsRedirect() bool
- func (o *RevokeFDXConsentNotFound) IsServerError() bool
- func (o *RevokeFDXConsentNotFound) IsSuccess() bool
- func (o *RevokeFDXConsentNotFound) String() string
- type RevokeFDXConsentParams
- func NewRevokeFDXConsentParams() *RevokeFDXConsentParams
- func NewRevokeFDXConsentParamsWithContext(ctx context.Context) *RevokeFDXConsentParams
- func NewRevokeFDXConsentParamsWithHTTPClient(client *http.Client) *RevokeFDXConsentParams
- func NewRevokeFDXConsentParamsWithTimeout(timeout time.Duration) *RevokeFDXConsentParams
- func (o *RevokeFDXConsentParams) SetConsentID(consentID string)
- func (o *RevokeFDXConsentParams) SetConsentRevocation(consentRevocation *models.FDXConsentRevocation)
- func (o *RevokeFDXConsentParams) SetContext(ctx context.Context)
- func (o *RevokeFDXConsentParams) SetDefaults()
- func (o *RevokeFDXConsentParams) SetHTTPClient(client *http.Client)
- func (o *RevokeFDXConsentParams) SetTimeout(timeout time.Duration)
- func (o *RevokeFDXConsentParams) WithConsentID(consentID string) *RevokeFDXConsentParams
- func (o *RevokeFDXConsentParams) WithConsentRevocation(consentRevocation *models.FDXConsentRevocation) *RevokeFDXConsentParams
- func (o *RevokeFDXConsentParams) WithContext(ctx context.Context) *RevokeFDXConsentParams
- func (o *RevokeFDXConsentParams) WithDefaults() *RevokeFDXConsentParams
- func (o *RevokeFDXConsentParams) WithHTTPClient(client *http.Client) *RevokeFDXConsentParams
- func (o *RevokeFDXConsentParams) WithTimeout(timeout time.Duration) *RevokeFDXConsentParams
- func (o *RevokeFDXConsentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeFDXConsentReader
- type RevokeFDXConsentUnauthorized
- func (o *RevokeFDXConsentUnauthorized) Code() int
- func (o *RevokeFDXConsentUnauthorized) Error() string
- func (o *RevokeFDXConsentUnauthorized) GetPayload() *models.FDXErrorResponse
- func (o *RevokeFDXConsentUnauthorized) IsClientError() bool
- func (o *RevokeFDXConsentUnauthorized) IsCode(code int) bool
- func (o *RevokeFDXConsentUnauthorized) IsRedirect() bool
- func (o *RevokeFDXConsentUnauthorized) IsServerError() bool
- func (o *RevokeFDXConsentUnauthorized) IsSuccess() bool
- func (o *RevokeFDXConsentUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeApplicationxWwwFormUrlencoded ¶
func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for f d x API
func (*Client) FdxConsentIntrospect ¶
func (a *Client) FdxConsentIntrospect(params *FdxConsentIntrospectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FdxConsentIntrospectOK, error)
FdxConsentIntrospect introspects f d x consent Accepts an OAuth 2.0 token and returns meta information surrounding the token along with the FDX consent.
Authorization: Bearer token.
To obtain a token, use the [Authorization code](https://cloudentity.com/developers/basics/oauth-grant-types/authorization-code-flow/) grant type.
func (*Client) GetFDXConsent ¶
func (a *Client) GetFDXConsent(params *GetFDXConsentParams, opts ...ClientOption) (*GetFDXConsentOK, error)
GetFDXConsent gets consent grant
Retrieve FDX consent grant data by the consent identifier.
func (*Client) GetFDXConsentRevocation ¶
func (a *Client) GetFDXConsentRevocation(params *GetFDXConsentRevocationParams, opts ...ClientOption) (*GetFDXConsentRevocationOK, error)
GetFDXConsentRevocation retrieves consent revocation record Retrieve the details about consent revocation by the consent identifier.
This endpoint returns the `404` response code when:
1. No consent with this ID exists.
2. The specified consent isn't revoked.
func (*Client) RevokeFDXConsent ¶
func (a *Client) RevokeFDXConsent(params *RevokeFDXConsentParams, opts ...ClientOption) (*RevokeFDXConsentNoContent, error)
RevokeFDXConsent revokes f d x consent Revoke a user's consent.
The `204` response indicates that the consent status is changed to `REVOKED`. The revocation `initiator` and `reason` passed in the request body are saved.
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.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface { FdxConsentIntrospect(params *FdxConsentIntrospectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FdxConsentIntrospectOK, error) GetFDXConsent(params *GetFDXConsentParams, opts ...ClientOption) (*GetFDXConsentOK, error) GetFDXConsentRevocation(params *GetFDXConsentRevocationParams, opts ...ClientOption) (*GetFDXConsentRevocationOK, error) RevokeFDXConsent(params *RevokeFDXConsentParams, opts ...ClientOption) (*RevokeFDXConsentNoContent, 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 f d x API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new f d x 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 f d x 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 FdxConsentIntrospectNotFound ¶
type FdxConsentIntrospectNotFound struct {
Payload *models.GenericError
}
FdxConsentIntrospectNotFound describes a response with status code 404, with default header values.
ErrorResponse
func NewFdxConsentIntrospectNotFound ¶
func NewFdxConsentIntrospectNotFound() *FdxConsentIntrospectNotFound
NewFdxConsentIntrospectNotFound creates a FdxConsentIntrospectNotFound with default headers values
func (*FdxConsentIntrospectNotFound) Code ¶
func (o *FdxConsentIntrospectNotFound) Code() int
Code gets the status code for the fdx consent introspect not found response
func (*FdxConsentIntrospectNotFound) Error ¶
func (o *FdxConsentIntrospectNotFound) Error() string
func (*FdxConsentIntrospectNotFound) GetPayload ¶
func (o *FdxConsentIntrospectNotFound) GetPayload() *models.GenericError
func (*FdxConsentIntrospectNotFound) IsClientError ¶
func (o *FdxConsentIntrospectNotFound) IsClientError() bool
IsClientError returns true when this fdx consent introspect not found response has a 4xx status code
func (*FdxConsentIntrospectNotFound) IsCode ¶
func (o *FdxConsentIntrospectNotFound) IsCode(code int) bool
IsCode returns true when this fdx consent introspect not found response a status code equal to that given
func (*FdxConsentIntrospectNotFound) IsRedirect ¶
func (o *FdxConsentIntrospectNotFound) IsRedirect() bool
IsRedirect returns true when this fdx consent introspect not found response has a 3xx status code
func (*FdxConsentIntrospectNotFound) IsServerError ¶
func (o *FdxConsentIntrospectNotFound) IsServerError() bool
IsServerError returns true when this fdx consent introspect not found response has a 5xx status code
func (*FdxConsentIntrospectNotFound) IsSuccess ¶
func (o *FdxConsentIntrospectNotFound) IsSuccess() bool
IsSuccess returns true when this fdx consent introspect not found response has a 2xx status code
func (*FdxConsentIntrospectNotFound) String ¶
func (o *FdxConsentIntrospectNotFound) String() string
type FdxConsentIntrospectOK ¶
type FdxConsentIntrospectOK struct {
Payload *FdxConsentIntrospectOKBody
}
FdxConsentIntrospectOK describes a response with status code 200, with default header values.
Introspect FDX Consent Response
func NewFdxConsentIntrospectOK ¶
func NewFdxConsentIntrospectOK() *FdxConsentIntrospectOK
NewFdxConsentIntrospectOK creates a FdxConsentIntrospectOK with default headers values
func (*FdxConsentIntrospectOK) Code ¶
func (o *FdxConsentIntrospectOK) Code() int
Code gets the status code for the fdx consent introspect o k response
func (*FdxConsentIntrospectOK) Error ¶
func (o *FdxConsentIntrospectOK) Error() string
func (*FdxConsentIntrospectOK) GetPayload ¶
func (o *FdxConsentIntrospectOK) GetPayload() *FdxConsentIntrospectOKBody
func (*FdxConsentIntrospectOK) IsClientError ¶
func (o *FdxConsentIntrospectOK) IsClientError() bool
IsClientError returns true when this fdx consent introspect o k response has a 4xx status code
func (*FdxConsentIntrospectOK) IsCode ¶
func (o *FdxConsentIntrospectOK) IsCode(code int) bool
IsCode returns true when this fdx consent introspect o k response a status code equal to that given
func (*FdxConsentIntrospectOK) IsRedirect ¶
func (o *FdxConsentIntrospectOK) IsRedirect() bool
IsRedirect returns true when this fdx consent introspect o k response has a 3xx status code
func (*FdxConsentIntrospectOK) IsServerError ¶
func (o *FdxConsentIntrospectOK) IsServerError() bool
IsServerError returns true when this fdx consent introspect o k response has a 5xx status code
func (*FdxConsentIntrospectOK) IsSuccess ¶
func (o *FdxConsentIntrospectOK) IsSuccess() bool
IsSuccess returns true when this fdx consent introspect o k response has a 2xx status code
func (*FdxConsentIntrospectOK) String ¶
func (o *FdxConsentIntrospectOK) String() string
type FdxConsentIntrospectOKBody ¶
type FdxConsentIntrospectOKBody struct { models.IntrospectResponse // fdx consent FdxConsent *models.GetFDXConsent `json:"fdx_consent,omitempty" yaml:"fdx_consent,omitempty"` }
FdxConsentIntrospectOKBody fdx consent introspect o k body swagger:model FdxConsentIntrospectOKBody
func (*FdxConsentIntrospectOKBody) ContextValidate ¶
func (o *FdxConsentIntrospectOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this fdx consent introspect o k body based on the context it is used
func (*FdxConsentIntrospectOKBody) MarshalBinary ¶
func (o *FdxConsentIntrospectOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (FdxConsentIntrospectOKBody) MarshalJSON ¶
func (o FdxConsentIntrospectOKBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*FdxConsentIntrospectOKBody) UnmarshalBinary ¶
func (o *FdxConsentIntrospectOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*FdxConsentIntrospectOKBody) UnmarshalJSON ¶
func (o *FdxConsentIntrospectOKBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type FdxConsentIntrospectParams ¶
type FdxConsentIntrospectParams struct { // Token. Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FdxConsentIntrospectParams contains all the parameters to send to the API endpoint
for the fdx consent introspect operation. Typically these are written to a http.Request.
func NewFdxConsentIntrospectParams ¶
func NewFdxConsentIntrospectParams() *FdxConsentIntrospectParams
NewFdxConsentIntrospectParams creates a new FdxConsentIntrospectParams 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 NewFdxConsentIntrospectParamsWithContext ¶
func NewFdxConsentIntrospectParamsWithContext(ctx context.Context) *FdxConsentIntrospectParams
NewFdxConsentIntrospectParamsWithContext creates a new FdxConsentIntrospectParams object with the ability to set a context for a request.
func NewFdxConsentIntrospectParamsWithHTTPClient ¶
func NewFdxConsentIntrospectParamsWithHTTPClient(client *http.Client) *FdxConsentIntrospectParams
NewFdxConsentIntrospectParamsWithHTTPClient creates a new FdxConsentIntrospectParams object with the ability to set a custom HTTPClient for a request.
func NewFdxConsentIntrospectParamsWithTimeout ¶
func NewFdxConsentIntrospectParamsWithTimeout(timeout time.Duration) *FdxConsentIntrospectParams
NewFdxConsentIntrospectParamsWithTimeout creates a new FdxConsentIntrospectParams object with the ability to set a timeout on a request.
func (*FdxConsentIntrospectParams) SetContext ¶
func (o *FdxConsentIntrospectParams) SetContext(ctx context.Context)
SetContext adds the context to the fdx consent introspect params
func (*FdxConsentIntrospectParams) SetDefaults ¶
func (o *FdxConsentIntrospectParams) SetDefaults()
SetDefaults hydrates default values in the fdx consent introspect params (not the query body).
All values with no default are reset to their zero value.
func (*FdxConsentIntrospectParams) SetHTTPClient ¶
func (o *FdxConsentIntrospectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the fdx consent introspect params
func (*FdxConsentIntrospectParams) SetTimeout ¶
func (o *FdxConsentIntrospectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the fdx consent introspect params
func (*FdxConsentIntrospectParams) SetToken ¶
func (o *FdxConsentIntrospectParams) SetToken(token *string)
SetToken adds the token to the fdx consent introspect params
func (*FdxConsentIntrospectParams) WithContext ¶
func (o *FdxConsentIntrospectParams) WithContext(ctx context.Context) *FdxConsentIntrospectParams
WithContext adds the context to the fdx consent introspect params
func (*FdxConsentIntrospectParams) WithDefaults ¶
func (o *FdxConsentIntrospectParams) WithDefaults() *FdxConsentIntrospectParams
WithDefaults hydrates default values in the fdx consent introspect params (not the query body).
All values with no default are reset to their zero value.
func (*FdxConsentIntrospectParams) WithHTTPClient ¶
func (o *FdxConsentIntrospectParams) WithHTTPClient(client *http.Client) *FdxConsentIntrospectParams
WithHTTPClient adds the HTTPClient to the fdx consent introspect params
func (*FdxConsentIntrospectParams) WithTimeout ¶
func (o *FdxConsentIntrospectParams) WithTimeout(timeout time.Duration) *FdxConsentIntrospectParams
WithTimeout adds the timeout to the fdx consent introspect params
func (*FdxConsentIntrospectParams) WithToken ¶
func (o *FdxConsentIntrospectParams) WithToken(token *string) *FdxConsentIntrospectParams
WithToken adds the token to the fdx consent introspect params
func (*FdxConsentIntrospectParams) WriteToRequest ¶
func (o *FdxConsentIntrospectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FdxConsentIntrospectReader ¶
type FdxConsentIntrospectReader struct {
// contains filtered or unexported fields
}
FdxConsentIntrospectReader is a Reader for the FdxConsentIntrospect structure.
func (*FdxConsentIntrospectReader) ReadResponse ¶
func (o *FdxConsentIntrospectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FdxConsentIntrospectTooManyRequests ¶
type FdxConsentIntrospectTooManyRequests struct {
Payload *models.GenericError
}
FdxConsentIntrospectTooManyRequests describes a response with status code 429, with default header values.
ErrorResponse
func NewFdxConsentIntrospectTooManyRequests ¶
func NewFdxConsentIntrospectTooManyRequests() *FdxConsentIntrospectTooManyRequests
NewFdxConsentIntrospectTooManyRequests creates a FdxConsentIntrospectTooManyRequests with default headers values
func (*FdxConsentIntrospectTooManyRequests) Code ¶
func (o *FdxConsentIntrospectTooManyRequests) Code() int
Code gets the status code for the fdx consent introspect too many requests response
func (*FdxConsentIntrospectTooManyRequests) Error ¶
func (o *FdxConsentIntrospectTooManyRequests) Error() string
func (*FdxConsentIntrospectTooManyRequests) GetPayload ¶
func (o *FdxConsentIntrospectTooManyRequests) GetPayload() *models.GenericError
func (*FdxConsentIntrospectTooManyRequests) IsClientError ¶
func (o *FdxConsentIntrospectTooManyRequests) IsClientError() bool
IsClientError returns true when this fdx consent introspect too many requests response has a 4xx status code
func (*FdxConsentIntrospectTooManyRequests) IsCode ¶
func (o *FdxConsentIntrospectTooManyRequests) IsCode(code int) bool
IsCode returns true when this fdx consent introspect too many requests response a status code equal to that given
func (*FdxConsentIntrospectTooManyRequests) IsRedirect ¶
func (o *FdxConsentIntrospectTooManyRequests) IsRedirect() bool
IsRedirect returns true when this fdx consent introspect too many requests response has a 3xx status code
func (*FdxConsentIntrospectTooManyRequests) IsServerError ¶
func (o *FdxConsentIntrospectTooManyRequests) IsServerError() bool
IsServerError returns true when this fdx consent introspect too many requests response has a 5xx status code
func (*FdxConsentIntrospectTooManyRequests) IsSuccess ¶
func (o *FdxConsentIntrospectTooManyRequests) IsSuccess() bool
IsSuccess returns true when this fdx consent introspect too many requests response has a 2xx status code
func (*FdxConsentIntrospectTooManyRequests) String ¶
func (o *FdxConsentIntrospectTooManyRequests) String() string
type FdxConsentIntrospectUnauthorized ¶
type FdxConsentIntrospectUnauthorized struct {
}FdxConsentIntrospectUnauthorized describes a response with status code 401, with default header values.
ErrorResponse
func NewFdxConsentIntrospectUnauthorized ¶
func NewFdxConsentIntrospectUnauthorized() *FdxConsentIntrospectUnauthorized
NewFdxConsentIntrospectUnauthorized creates a FdxConsentIntrospectUnauthorized with default headers values
func (*FdxConsentIntrospectUnauthorized) Code ¶
func (o *FdxConsentIntrospectUnauthorized) Code() int
Code gets the status code for the fdx consent introspect unauthorized response
func (*FdxConsentIntrospectUnauthorized) Error ¶
func (o *FdxConsentIntrospectUnauthorized) Error() string
func (*FdxConsentIntrospectUnauthorized) GetPayload ¶
func (o *FdxConsentIntrospectUnauthorized) GetPayload() *models.GenericError
func (*FdxConsentIntrospectUnauthorized) IsClientError ¶
func (o *FdxConsentIntrospectUnauthorized) IsClientError() bool
IsClientError returns true when this fdx consent introspect unauthorized response has a 4xx status code
func (*FdxConsentIntrospectUnauthorized) IsCode ¶
func (o *FdxConsentIntrospectUnauthorized) IsCode(code int) bool
IsCode returns true when this fdx consent introspect unauthorized response a status code equal to that given
func (*FdxConsentIntrospectUnauthorized) IsRedirect ¶
func (o *FdxConsentIntrospectUnauthorized) IsRedirect() bool
IsRedirect returns true when this fdx consent introspect unauthorized response has a 3xx status code
func (*FdxConsentIntrospectUnauthorized) IsServerError ¶
func (o *FdxConsentIntrospectUnauthorized) IsServerError() bool
IsServerError returns true when this fdx consent introspect unauthorized response has a 5xx status code
func (*FdxConsentIntrospectUnauthorized) IsSuccess ¶
func (o *FdxConsentIntrospectUnauthorized) IsSuccess() bool
IsSuccess returns true when this fdx consent introspect unauthorized response has a 2xx status code
func (*FdxConsentIntrospectUnauthorized) String ¶
func (o *FdxConsentIntrospectUnauthorized) String() string
type GetFDXConsentBadRequest ¶
type GetFDXConsentBadRequest struct {
Payload *models.FDXErrorResponse
}
GetFDXConsentBadRequest describes a response with status code 400, with default header values.
FDX Error
func NewGetFDXConsentBadRequest ¶
func NewGetFDXConsentBadRequest() *GetFDXConsentBadRequest
NewGetFDXConsentBadRequest creates a GetFDXConsentBadRequest with default headers values
func (*GetFDXConsentBadRequest) Code ¶
func (o *GetFDXConsentBadRequest) Code() int
Code gets the status code for the get f d x consent bad request response
func (*GetFDXConsentBadRequest) Error ¶
func (o *GetFDXConsentBadRequest) Error() string
func (*GetFDXConsentBadRequest) GetPayload ¶
func (o *GetFDXConsentBadRequest) GetPayload() *models.FDXErrorResponse
func (*GetFDXConsentBadRequest) IsClientError ¶
func (o *GetFDXConsentBadRequest) IsClientError() bool
IsClientError returns true when this get f d x consent bad request response has a 4xx status code
func (*GetFDXConsentBadRequest) IsCode ¶
func (o *GetFDXConsentBadRequest) IsCode(code int) bool
IsCode returns true when this get f d x consent bad request response a status code equal to that given
func (*GetFDXConsentBadRequest) IsRedirect ¶
func (o *GetFDXConsentBadRequest) IsRedirect() bool
IsRedirect returns true when this get f d x consent bad request response has a 3xx status code
func (*GetFDXConsentBadRequest) IsServerError ¶
func (o *GetFDXConsentBadRequest) IsServerError() bool
IsServerError returns true when this get f d x consent bad request response has a 5xx status code
func (*GetFDXConsentBadRequest) IsSuccess ¶
func (o *GetFDXConsentBadRequest) IsSuccess() bool
IsSuccess returns true when this get f d x consent bad request response has a 2xx status code
func (*GetFDXConsentBadRequest) String ¶
func (o *GetFDXConsentBadRequest) String() string
type GetFDXConsentNotFound ¶
type GetFDXConsentNotFound struct {
Payload *models.FDXErrorResponse
}
GetFDXConsentNotFound describes a response with status code 404, with default header values.
FDX Error
func NewGetFDXConsentNotFound ¶
func NewGetFDXConsentNotFound() *GetFDXConsentNotFound
NewGetFDXConsentNotFound creates a GetFDXConsentNotFound with default headers values
func (*GetFDXConsentNotFound) Code ¶
func (o *GetFDXConsentNotFound) Code() int
Code gets the status code for the get f d x consent not found response
func (*GetFDXConsentNotFound) Error ¶
func (o *GetFDXConsentNotFound) Error() string
func (*GetFDXConsentNotFound) GetPayload ¶
func (o *GetFDXConsentNotFound) GetPayload() *models.FDXErrorResponse
func (*GetFDXConsentNotFound) IsClientError ¶
func (o *GetFDXConsentNotFound) IsClientError() bool
IsClientError returns true when this get f d x consent not found response has a 4xx status code
func (*GetFDXConsentNotFound) IsCode ¶
func (o *GetFDXConsentNotFound) IsCode(code int) bool
IsCode returns true when this get f d x consent not found response a status code equal to that given
func (*GetFDXConsentNotFound) IsRedirect ¶
func (o *GetFDXConsentNotFound) IsRedirect() bool
IsRedirect returns true when this get f d x consent not found response has a 3xx status code
func (*GetFDXConsentNotFound) IsServerError ¶
func (o *GetFDXConsentNotFound) IsServerError() bool
IsServerError returns true when this get f d x consent not found response has a 5xx status code
func (*GetFDXConsentNotFound) IsSuccess ¶
func (o *GetFDXConsentNotFound) IsSuccess() bool
IsSuccess returns true when this get f d x consent not found response has a 2xx status code
func (*GetFDXConsentNotFound) String ¶
func (o *GetFDXConsentNotFound) String() string
type GetFDXConsentOK ¶
type GetFDXConsentOK struct {
Payload *models.GetFDXConsent
}
GetFDXConsentOK describes a response with status code 200, with default header values.
GetFDXConsent
func NewGetFDXConsentOK ¶
func NewGetFDXConsentOK() *GetFDXConsentOK
NewGetFDXConsentOK creates a GetFDXConsentOK with default headers values
func (*GetFDXConsentOK) Code ¶
func (o *GetFDXConsentOK) Code() int
Code gets the status code for the get f d x consent o k response
func (*GetFDXConsentOK) Error ¶
func (o *GetFDXConsentOK) Error() string
func (*GetFDXConsentOK) GetPayload ¶
func (o *GetFDXConsentOK) GetPayload() *models.GetFDXConsent
func (*GetFDXConsentOK) IsClientError ¶
func (o *GetFDXConsentOK) IsClientError() bool
IsClientError returns true when this get f d x consent o k response has a 4xx status code
func (*GetFDXConsentOK) IsCode ¶
func (o *GetFDXConsentOK) IsCode(code int) bool
IsCode returns true when this get f d x consent o k response a status code equal to that given
func (*GetFDXConsentOK) IsRedirect ¶
func (o *GetFDXConsentOK) IsRedirect() bool
IsRedirect returns true when this get f d x consent o k response has a 3xx status code
func (*GetFDXConsentOK) IsServerError ¶
func (o *GetFDXConsentOK) IsServerError() bool
IsServerError returns true when this get f d x consent o k response has a 5xx status code
func (*GetFDXConsentOK) IsSuccess ¶
func (o *GetFDXConsentOK) IsSuccess() bool
IsSuccess returns true when this get f d x consent o k response has a 2xx status code
func (*GetFDXConsentOK) String ¶
func (o *GetFDXConsentOK) String() string
type GetFDXConsentParams ¶
type GetFDXConsentParams struct { /* ConsentID. Consent id Default: "default" */ ConsentID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFDXConsentParams contains all the parameters to send to the API endpoint
for the get f d x consent operation. Typically these are written to a http.Request.
func NewGetFDXConsentParams ¶
func NewGetFDXConsentParams() *GetFDXConsentParams
NewGetFDXConsentParams creates a new GetFDXConsentParams 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 NewGetFDXConsentParamsWithContext ¶
func NewGetFDXConsentParamsWithContext(ctx context.Context) *GetFDXConsentParams
NewGetFDXConsentParamsWithContext creates a new GetFDXConsentParams object with the ability to set a context for a request.
func NewGetFDXConsentParamsWithHTTPClient ¶
func NewGetFDXConsentParamsWithHTTPClient(client *http.Client) *GetFDXConsentParams
NewGetFDXConsentParamsWithHTTPClient creates a new GetFDXConsentParams object with the ability to set a custom HTTPClient for a request.
func NewGetFDXConsentParamsWithTimeout ¶
func NewGetFDXConsentParamsWithTimeout(timeout time.Duration) *GetFDXConsentParams
NewGetFDXConsentParamsWithTimeout creates a new GetFDXConsentParams object with the ability to set a timeout on a request.
func (*GetFDXConsentParams) SetConsentID ¶
func (o *GetFDXConsentParams) SetConsentID(consentID string)
SetConsentID adds the consentId to the get f d x consent params
func (*GetFDXConsentParams) SetContext ¶
func (o *GetFDXConsentParams) SetContext(ctx context.Context)
SetContext adds the context to the get f d x consent params
func (*GetFDXConsentParams) SetDefaults ¶
func (o *GetFDXConsentParams) SetDefaults()
SetDefaults hydrates default values in the get f d x consent params (not the query body).
All values with no default are reset to their zero value.
func (*GetFDXConsentParams) SetHTTPClient ¶
func (o *GetFDXConsentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get f d x consent params
func (*GetFDXConsentParams) SetTimeout ¶
func (o *GetFDXConsentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get f d x consent params
func (*GetFDXConsentParams) WithConsentID ¶
func (o *GetFDXConsentParams) WithConsentID(consentID string) *GetFDXConsentParams
WithConsentID adds the consentID to the get f d x consent params
func (*GetFDXConsentParams) WithContext ¶
func (o *GetFDXConsentParams) WithContext(ctx context.Context) *GetFDXConsentParams
WithContext adds the context to the get f d x consent params
func (*GetFDXConsentParams) WithDefaults ¶
func (o *GetFDXConsentParams) WithDefaults() *GetFDXConsentParams
WithDefaults hydrates default values in the get f d x consent params (not the query body).
All values with no default are reset to their zero value.
func (*GetFDXConsentParams) WithHTTPClient ¶
func (o *GetFDXConsentParams) WithHTTPClient(client *http.Client) *GetFDXConsentParams
WithHTTPClient adds the HTTPClient to the get f d x consent params
func (*GetFDXConsentParams) WithTimeout ¶
func (o *GetFDXConsentParams) WithTimeout(timeout time.Duration) *GetFDXConsentParams
WithTimeout adds the timeout to the get f d x consent params
func (*GetFDXConsentParams) WriteToRequest ¶
func (o *GetFDXConsentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFDXConsentReader ¶
type GetFDXConsentReader struct {
// contains filtered or unexported fields
}
GetFDXConsentReader is a Reader for the GetFDXConsent structure.
func (*GetFDXConsentReader) ReadResponse ¶
func (o *GetFDXConsentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFDXConsentRevocationBadRequest ¶
type GetFDXConsentRevocationBadRequest struct {
Payload *models.FDXErrorResponse
}
GetFDXConsentRevocationBadRequest describes a response with status code 400, with default header values.
FDX Error
func NewGetFDXConsentRevocationBadRequest ¶
func NewGetFDXConsentRevocationBadRequest() *GetFDXConsentRevocationBadRequest
NewGetFDXConsentRevocationBadRequest creates a GetFDXConsentRevocationBadRequest with default headers values
func (*GetFDXConsentRevocationBadRequest) Code ¶
func (o *GetFDXConsentRevocationBadRequest) Code() int
Code gets the status code for the get f d x consent revocation bad request response
func (*GetFDXConsentRevocationBadRequest) Error ¶
func (o *GetFDXConsentRevocationBadRequest) Error() string
func (*GetFDXConsentRevocationBadRequest) GetPayload ¶
func (o *GetFDXConsentRevocationBadRequest) GetPayload() *models.FDXErrorResponse
func (*GetFDXConsentRevocationBadRequest) IsClientError ¶
func (o *GetFDXConsentRevocationBadRequest) IsClientError() bool
IsClientError returns true when this get f d x consent revocation bad request response has a 4xx status code
func (*GetFDXConsentRevocationBadRequest) IsCode ¶
func (o *GetFDXConsentRevocationBadRequest) IsCode(code int) bool
IsCode returns true when this get f d x consent revocation bad request response a status code equal to that given
func (*GetFDXConsentRevocationBadRequest) IsRedirect ¶
func (o *GetFDXConsentRevocationBadRequest) IsRedirect() bool
IsRedirect returns true when this get f d x consent revocation bad request response has a 3xx status code
func (*GetFDXConsentRevocationBadRequest) IsServerError ¶
func (o *GetFDXConsentRevocationBadRequest) IsServerError() bool
IsServerError returns true when this get f d x consent revocation bad request response has a 5xx status code
func (*GetFDXConsentRevocationBadRequest) IsSuccess ¶
func (o *GetFDXConsentRevocationBadRequest) IsSuccess() bool
IsSuccess returns true when this get f d x consent revocation bad request response has a 2xx status code
func (*GetFDXConsentRevocationBadRequest) String ¶
func (o *GetFDXConsentRevocationBadRequest) String() string
type GetFDXConsentRevocationNotFound ¶
type GetFDXConsentRevocationNotFound struct {
Payload *models.FDXErrorResponse
}
GetFDXConsentRevocationNotFound describes a response with status code 404, with default header values.
FDX Error
func NewGetFDXConsentRevocationNotFound ¶
func NewGetFDXConsentRevocationNotFound() *GetFDXConsentRevocationNotFound
NewGetFDXConsentRevocationNotFound creates a GetFDXConsentRevocationNotFound with default headers values
func (*GetFDXConsentRevocationNotFound) Code ¶
func (o *GetFDXConsentRevocationNotFound) Code() int
Code gets the status code for the get f d x consent revocation not found response
func (*GetFDXConsentRevocationNotFound) Error ¶
func (o *GetFDXConsentRevocationNotFound) Error() string
func (*GetFDXConsentRevocationNotFound) GetPayload ¶
func (o *GetFDXConsentRevocationNotFound) GetPayload() *models.FDXErrorResponse
func (*GetFDXConsentRevocationNotFound) IsClientError ¶
func (o *GetFDXConsentRevocationNotFound) IsClientError() bool
IsClientError returns true when this get f d x consent revocation not found response has a 4xx status code
func (*GetFDXConsentRevocationNotFound) IsCode ¶
func (o *GetFDXConsentRevocationNotFound) IsCode(code int) bool
IsCode returns true when this get f d x consent revocation not found response a status code equal to that given
func (*GetFDXConsentRevocationNotFound) IsRedirect ¶
func (o *GetFDXConsentRevocationNotFound) IsRedirect() bool
IsRedirect returns true when this get f d x consent revocation not found response has a 3xx status code
func (*GetFDXConsentRevocationNotFound) IsServerError ¶
func (o *GetFDXConsentRevocationNotFound) IsServerError() bool
IsServerError returns true when this get f d x consent revocation not found response has a 5xx status code
func (*GetFDXConsentRevocationNotFound) IsSuccess ¶
func (o *GetFDXConsentRevocationNotFound) IsSuccess() bool
IsSuccess returns true when this get f d x consent revocation not found response has a 2xx status code
func (*GetFDXConsentRevocationNotFound) String ¶
func (o *GetFDXConsentRevocationNotFound) String() string
type GetFDXConsentRevocationOK ¶
type GetFDXConsentRevocationOK struct {
Payload *models.GetFDXConsentRevocation
}
GetFDXConsentRevocationOK describes a response with status code 200, with default header values.
GetFDXConsentRevocation
func NewGetFDXConsentRevocationOK ¶
func NewGetFDXConsentRevocationOK() *GetFDXConsentRevocationOK
NewGetFDXConsentRevocationOK creates a GetFDXConsentRevocationOK with default headers values
func (*GetFDXConsentRevocationOK) Code ¶
func (o *GetFDXConsentRevocationOK) Code() int
Code gets the status code for the get f d x consent revocation o k response
func (*GetFDXConsentRevocationOK) Error ¶
func (o *GetFDXConsentRevocationOK) Error() string
func (*GetFDXConsentRevocationOK) GetPayload ¶
func (o *GetFDXConsentRevocationOK) GetPayload() *models.GetFDXConsentRevocation
func (*GetFDXConsentRevocationOK) IsClientError ¶
func (o *GetFDXConsentRevocationOK) IsClientError() bool
IsClientError returns true when this get f d x consent revocation o k response has a 4xx status code
func (*GetFDXConsentRevocationOK) IsCode ¶
func (o *GetFDXConsentRevocationOK) IsCode(code int) bool
IsCode returns true when this get f d x consent revocation o k response a status code equal to that given
func (*GetFDXConsentRevocationOK) IsRedirect ¶
func (o *GetFDXConsentRevocationOK) IsRedirect() bool
IsRedirect returns true when this get f d x consent revocation o k response has a 3xx status code
func (*GetFDXConsentRevocationOK) IsServerError ¶
func (o *GetFDXConsentRevocationOK) IsServerError() bool
IsServerError returns true when this get f d x consent revocation o k response has a 5xx status code
func (*GetFDXConsentRevocationOK) IsSuccess ¶
func (o *GetFDXConsentRevocationOK) IsSuccess() bool
IsSuccess returns true when this get f d x consent revocation o k response has a 2xx status code
func (*GetFDXConsentRevocationOK) String ¶
func (o *GetFDXConsentRevocationOK) String() string
type GetFDXConsentRevocationParams ¶
type GetFDXConsentRevocationParams struct { /* ConsentID. Consent id Default: "default" */ ConsentID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFDXConsentRevocationParams contains all the parameters to send to the API endpoint
for the get f d x consent revocation operation. Typically these are written to a http.Request.
func NewGetFDXConsentRevocationParams ¶
func NewGetFDXConsentRevocationParams() *GetFDXConsentRevocationParams
NewGetFDXConsentRevocationParams creates a new GetFDXConsentRevocationParams 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 NewGetFDXConsentRevocationParamsWithContext ¶
func NewGetFDXConsentRevocationParamsWithContext(ctx context.Context) *GetFDXConsentRevocationParams
NewGetFDXConsentRevocationParamsWithContext creates a new GetFDXConsentRevocationParams object with the ability to set a context for a request.
func NewGetFDXConsentRevocationParamsWithHTTPClient ¶
func NewGetFDXConsentRevocationParamsWithHTTPClient(client *http.Client) *GetFDXConsentRevocationParams
NewGetFDXConsentRevocationParamsWithHTTPClient creates a new GetFDXConsentRevocationParams object with the ability to set a custom HTTPClient for a request.
func NewGetFDXConsentRevocationParamsWithTimeout ¶
func NewGetFDXConsentRevocationParamsWithTimeout(timeout time.Duration) *GetFDXConsentRevocationParams
NewGetFDXConsentRevocationParamsWithTimeout creates a new GetFDXConsentRevocationParams object with the ability to set a timeout on a request.
func (*GetFDXConsentRevocationParams) SetConsentID ¶
func (o *GetFDXConsentRevocationParams) SetConsentID(consentID string)
SetConsentID adds the consentId to the get f d x consent revocation params
func (*GetFDXConsentRevocationParams) SetContext ¶
func (o *GetFDXConsentRevocationParams) SetContext(ctx context.Context)
SetContext adds the context to the get f d x consent revocation params
func (*GetFDXConsentRevocationParams) SetDefaults ¶
func (o *GetFDXConsentRevocationParams) SetDefaults()
SetDefaults hydrates default values in the get f d x consent revocation params (not the query body).
All values with no default are reset to their zero value.
func (*GetFDXConsentRevocationParams) SetHTTPClient ¶
func (o *GetFDXConsentRevocationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get f d x consent revocation params
func (*GetFDXConsentRevocationParams) SetTimeout ¶
func (o *GetFDXConsentRevocationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get f d x consent revocation params
func (*GetFDXConsentRevocationParams) WithConsentID ¶
func (o *GetFDXConsentRevocationParams) WithConsentID(consentID string) *GetFDXConsentRevocationParams
WithConsentID adds the consentID to the get f d x consent revocation params
func (*GetFDXConsentRevocationParams) WithContext ¶
func (o *GetFDXConsentRevocationParams) WithContext(ctx context.Context) *GetFDXConsentRevocationParams
WithContext adds the context to the get f d x consent revocation params
func (*GetFDXConsentRevocationParams) WithDefaults ¶
func (o *GetFDXConsentRevocationParams) WithDefaults() *GetFDXConsentRevocationParams
WithDefaults hydrates default values in the get f d x consent revocation params (not the query body).
All values with no default are reset to their zero value.
func (*GetFDXConsentRevocationParams) WithHTTPClient ¶
func (o *GetFDXConsentRevocationParams) WithHTTPClient(client *http.Client) *GetFDXConsentRevocationParams
WithHTTPClient adds the HTTPClient to the get f d x consent revocation params
func (*GetFDXConsentRevocationParams) WithTimeout ¶
func (o *GetFDXConsentRevocationParams) WithTimeout(timeout time.Duration) *GetFDXConsentRevocationParams
WithTimeout adds the timeout to the get f d x consent revocation params
func (*GetFDXConsentRevocationParams) WriteToRequest ¶
func (o *GetFDXConsentRevocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFDXConsentRevocationReader ¶
type GetFDXConsentRevocationReader struct {
// contains filtered or unexported fields
}
GetFDXConsentRevocationReader is a Reader for the GetFDXConsentRevocation structure.
func (*GetFDXConsentRevocationReader) ReadResponse ¶
func (o *GetFDXConsentRevocationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFDXConsentRevocationUnauthorized ¶
type GetFDXConsentRevocationUnauthorized struct {
}GetFDXConsentRevocationUnauthorized describes a response with status code 401, with default header values.
FDX Error
func NewGetFDXConsentRevocationUnauthorized ¶
func NewGetFDXConsentRevocationUnauthorized() *GetFDXConsentRevocationUnauthorized
NewGetFDXConsentRevocationUnauthorized creates a GetFDXConsentRevocationUnauthorized with default headers values
func (*GetFDXConsentRevocationUnauthorized) Code ¶
func (o *GetFDXConsentRevocationUnauthorized) Code() int
Code gets the status code for the get f d x consent revocation unauthorized response
func (*GetFDXConsentRevocationUnauthorized) Error ¶
func (o *GetFDXConsentRevocationUnauthorized) Error() string
func (*GetFDXConsentRevocationUnauthorized) GetPayload ¶
func (o *GetFDXConsentRevocationUnauthorized) GetPayload() *models.FDXErrorResponse
func (*GetFDXConsentRevocationUnauthorized) IsClientError ¶
func (o *GetFDXConsentRevocationUnauthorized) IsClientError() bool
IsClientError returns true when this get f d x consent revocation unauthorized response has a 4xx status code
func (*GetFDXConsentRevocationUnauthorized) IsCode ¶
func (o *GetFDXConsentRevocationUnauthorized) IsCode(code int) bool
IsCode returns true when this get f d x consent revocation unauthorized response a status code equal to that given
func (*GetFDXConsentRevocationUnauthorized) IsRedirect ¶
func (o *GetFDXConsentRevocationUnauthorized) IsRedirect() bool
IsRedirect returns true when this get f d x consent revocation unauthorized response has a 3xx status code
func (*GetFDXConsentRevocationUnauthorized) IsServerError ¶
func (o *GetFDXConsentRevocationUnauthorized) IsServerError() bool
IsServerError returns true when this get f d x consent revocation unauthorized response has a 5xx status code
func (*GetFDXConsentRevocationUnauthorized) IsSuccess ¶
func (o *GetFDXConsentRevocationUnauthorized) IsSuccess() bool
IsSuccess returns true when this get f d x consent revocation unauthorized response has a 2xx status code
func (*GetFDXConsentRevocationUnauthorized) String ¶
func (o *GetFDXConsentRevocationUnauthorized) String() string
type GetFDXConsentUnauthorized ¶
type GetFDXConsentUnauthorized struct {
}GetFDXConsentUnauthorized describes a response with status code 401, with default header values.
FDX Error
func NewGetFDXConsentUnauthorized ¶
func NewGetFDXConsentUnauthorized() *GetFDXConsentUnauthorized
NewGetFDXConsentUnauthorized creates a GetFDXConsentUnauthorized with default headers values
func (*GetFDXConsentUnauthorized) Code ¶
func (o *GetFDXConsentUnauthorized) Code() int
Code gets the status code for the get f d x consent unauthorized response
func (*GetFDXConsentUnauthorized) Error ¶
func (o *GetFDXConsentUnauthorized) Error() string
func (*GetFDXConsentUnauthorized) GetPayload ¶
func (o *GetFDXConsentUnauthorized) GetPayload() *models.FDXErrorResponse
func (*GetFDXConsentUnauthorized) IsClientError ¶
func (o *GetFDXConsentUnauthorized) IsClientError() bool
IsClientError returns true when this get f d x consent unauthorized response has a 4xx status code
func (*GetFDXConsentUnauthorized) IsCode ¶
func (o *GetFDXConsentUnauthorized) IsCode(code int) bool
IsCode returns true when this get f d x consent unauthorized response a status code equal to that given
func (*GetFDXConsentUnauthorized) IsRedirect ¶
func (o *GetFDXConsentUnauthorized) IsRedirect() bool
IsRedirect returns true when this get f d x consent unauthorized response has a 3xx status code
func (*GetFDXConsentUnauthorized) IsServerError ¶
func (o *GetFDXConsentUnauthorized) IsServerError() bool
IsServerError returns true when this get f d x consent unauthorized response has a 5xx status code
func (*GetFDXConsentUnauthorized) IsSuccess ¶
func (o *GetFDXConsentUnauthorized) IsSuccess() bool
IsSuccess returns true when this get f d x consent unauthorized response has a 2xx status code
func (*GetFDXConsentUnauthorized) String ¶
func (o *GetFDXConsentUnauthorized) String() string
type RevokeFDXConsentBadRequest ¶
type RevokeFDXConsentBadRequest struct {
Payload *models.FDXErrorResponse
}
RevokeFDXConsentBadRequest describes a response with status code 400, with default header values.
FDX Error
func NewRevokeFDXConsentBadRequest ¶
func NewRevokeFDXConsentBadRequest() *RevokeFDXConsentBadRequest
NewRevokeFDXConsentBadRequest creates a RevokeFDXConsentBadRequest with default headers values
func (*RevokeFDXConsentBadRequest) Code ¶
func (o *RevokeFDXConsentBadRequest) Code() int
Code gets the status code for the revoke f d x consent bad request response
func (*RevokeFDXConsentBadRequest) Error ¶
func (o *RevokeFDXConsentBadRequest) Error() string
func (*RevokeFDXConsentBadRequest) GetPayload ¶
func (o *RevokeFDXConsentBadRequest) GetPayload() *models.FDXErrorResponse
func (*RevokeFDXConsentBadRequest) IsClientError ¶
func (o *RevokeFDXConsentBadRequest) IsClientError() bool
IsClientError returns true when this revoke f d x consent bad request response has a 4xx status code
func (*RevokeFDXConsentBadRequest) IsCode ¶
func (o *RevokeFDXConsentBadRequest) IsCode(code int) bool
IsCode returns true when this revoke f d x consent bad request response a status code equal to that given
func (*RevokeFDXConsentBadRequest) IsRedirect ¶
func (o *RevokeFDXConsentBadRequest) IsRedirect() bool
IsRedirect returns true when this revoke f d x consent bad request response has a 3xx status code
func (*RevokeFDXConsentBadRequest) IsServerError ¶
func (o *RevokeFDXConsentBadRequest) IsServerError() bool
IsServerError returns true when this revoke f d x consent bad request response has a 5xx status code
func (*RevokeFDXConsentBadRequest) IsSuccess ¶
func (o *RevokeFDXConsentBadRequest) IsSuccess() bool
IsSuccess returns true when this revoke f d x consent bad request response has a 2xx status code
func (*RevokeFDXConsentBadRequest) String ¶
func (o *RevokeFDXConsentBadRequest) String() string
type RevokeFDXConsentConflict ¶
type RevokeFDXConsentConflict struct {
Payload *models.FDXErrorResponse
}
RevokeFDXConsentConflict describes a response with status code 409, with default header values.
FDX Error
func NewRevokeFDXConsentConflict ¶
func NewRevokeFDXConsentConflict() *RevokeFDXConsentConflict
NewRevokeFDXConsentConflict creates a RevokeFDXConsentConflict with default headers values
func (*RevokeFDXConsentConflict) Code ¶
func (o *RevokeFDXConsentConflict) Code() int
Code gets the status code for the revoke f d x consent conflict response
func (*RevokeFDXConsentConflict) Error ¶
func (o *RevokeFDXConsentConflict) Error() string
func (*RevokeFDXConsentConflict) GetPayload ¶
func (o *RevokeFDXConsentConflict) GetPayload() *models.FDXErrorResponse
func (*RevokeFDXConsentConflict) IsClientError ¶
func (o *RevokeFDXConsentConflict) IsClientError() bool
IsClientError returns true when this revoke f d x consent conflict response has a 4xx status code
func (*RevokeFDXConsentConflict) IsCode ¶
func (o *RevokeFDXConsentConflict) IsCode(code int) bool
IsCode returns true when this revoke f d x consent conflict response a status code equal to that given
func (*RevokeFDXConsentConflict) IsRedirect ¶
func (o *RevokeFDXConsentConflict) IsRedirect() bool
IsRedirect returns true when this revoke f d x consent conflict response has a 3xx status code
func (*RevokeFDXConsentConflict) IsServerError ¶
func (o *RevokeFDXConsentConflict) IsServerError() bool
IsServerError returns true when this revoke f d x consent conflict response has a 5xx status code
func (*RevokeFDXConsentConflict) IsSuccess ¶
func (o *RevokeFDXConsentConflict) IsSuccess() bool
IsSuccess returns true when this revoke f d x consent conflict response has a 2xx status code
func (*RevokeFDXConsentConflict) String ¶
func (o *RevokeFDXConsentConflict) String() string
type RevokeFDXConsentForbidden ¶
type RevokeFDXConsentForbidden struct {
Payload *models.FDXErrorResponse
}
RevokeFDXConsentForbidden describes a response with status code 403, with default header values.
FDX Error
func NewRevokeFDXConsentForbidden ¶
func NewRevokeFDXConsentForbidden() *RevokeFDXConsentForbidden
NewRevokeFDXConsentForbidden creates a RevokeFDXConsentForbidden with default headers values
func (*RevokeFDXConsentForbidden) Code ¶
func (o *RevokeFDXConsentForbidden) Code() int
Code gets the status code for the revoke f d x consent forbidden response
func (*RevokeFDXConsentForbidden) Error ¶
func (o *RevokeFDXConsentForbidden) Error() string
func (*RevokeFDXConsentForbidden) GetPayload ¶
func (o *RevokeFDXConsentForbidden) GetPayload() *models.FDXErrorResponse
func (*RevokeFDXConsentForbidden) IsClientError ¶
func (o *RevokeFDXConsentForbidden) IsClientError() bool
IsClientError returns true when this revoke f d x consent forbidden response has a 4xx status code
func (*RevokeFDXConsentForbidden) IsCode ¶
func (o *RevokeFDXConsentForbidden) IsCode(code int) bool
IsCode returns true when this revoke f d x consent forbidden response a status code equal to that given
func (*RevokeFDXConsentForbidden) IsRedirect ¶
func (o *RevokeFDXConsentForbidden) IsRedirect() bool
IsRedirect returns true when this revoke f d x consent forbidden response has a 3xx status code
func (*RevokeFDXConsentForbidden) IsServerError ¶
func (o *RevokeFDXConsentForbidden) IsServerError() bool
IsServerError returns true when this revoke f d x consent forbidden response has a 5xx status code
func (*RevokeFDXConsentForbidden) IsSuccess ¶
func (o *RevokeFDXConsentForbidden) IsSuccess() bool
IsSuccess returns true when this revoke f d x consent forbidden response has a 2xx status code
func (*RevokeFDXConsentForbidden) String ¶
func (o *RevokeFDXConsentForbidden) String() string
type RevokeFDXConsentNoContent ¶
type RevokeFDXConsentNoContent struct { }
RevokeFDXConsentNoContent describes a response with status code 204, with default header values.
FDX Consent Revoked
func NewRevokeFDXConsentNoContent ¶
func NewRevokeFDXConsentNoContent() *RevokeFDXConsentNoContent
NewRevokeFDXConsentNoContent creates a RevokeFDXConsentNoContent with default headers values
func (*RevokeFDXConsentNoContent) Code ¶
func (o *RevokeFDXConsentNoContent) Code() int
Code gets the status code for the revoke f d x consent no content response
func (*RevokeFDXConsentNoContent) Error ¶
func (o *RevokeFDXConsentNoContent) Error() string
func (*RevokeFDXConsentNoContent) IsClientError ¶
func (o *RevokeFDXConsentNoContent) IsClientError() bool
IsClientError returns true when this revoke f d x consent no content response has a 4xx status code
func (*RevokeFDXConsentNoContent) IsCode ¶
func (o *RevokeFDXConsentNoContent) IsCode(code int) bool
IsCode returns true when this revoke f d x consent no content response a status code equal to that given
func (*RevokeFDXConsentNoContent) IsRedirect ¶
func (o *RevokeFDXConsentNoContent) IsRedirect() bool
IsRedirect returns true when this revoke f d x consent no content response has a 3xx status code
func (*RevokeFDXConsentNoContent) IsServerError ¶
func (o *RevokeFDXConsentNoContent) IsServerError() bool
IsServerError returns true when this revoke f d x consent no content response has a 5xx status code
func (*RevokeFDXConsentNoContent) IsSuccess ¶
func (o *RevokeFDXConsentNoContent) IsSuccess() bool
IsSuccess returns true when this revoke f d x consent no content response has a 2xx status code
func (*RevokeFDXConsentNoContent) String ¶
func (o *RevokeFDXConsentNoContent) String() string
type RevokeFDXConsentNotFound ¶
type RevokeFDXConsentNotFound struct {
Payload *models.FDXErrorResponse
}
RevokeFDXConsentNotFound describes a response with status code 404, with default header values.
FDX Error
func NewRevokeFDXConsentNotFound ¶
func NewRevokeFDXConsentNotFound() *RevokeFDXConsentNotFound
NewRevokeFDXConsentNotFound creates a RevokeFDXConsentNotFound with default headers values
func (*RevokeFDXConsentNotFound) Code ¶
func (o *RevokeFDXConsentNotFound) Code() int
Code gets the status code for the revoke f d x consent not found response
func (*RevokeFDXConsentNotFound) Error ¶
func (o *RevokeFDXConsentNotFound) Error() string
func (*RevokeFDXConsentNotFound) GetPayload ¶
func (o *RevokeFDXConsentNotFound) GetPayload() *models.FDXErrorResponse
func (*RevokeFDXConsentNotFound) IsClientError ¶
func (o *RevokeFDXConsentNotFound) IsClientError() bool
IsClientError returns true when this revoke f d x consent not found response has a 4xx status code
func (*RevokeFDXConsentNotFound) IsCode ¶
func (o *RevokeFDXConsentNotFound) IsCode(code int) bool
IsCode returns true when this revoke f d x consent not found response a status code equal to that given
func (*RevokeFDXConsentNotFound) IsRedirect ¶
func (o *RevokeFDXConsentNotFound) IsRedirect() bool
IsRedirect returns true when this revoke f d x consent not found response has a 3xx status code
func (*RevokeFDXConsentNotFound) IsServerError ¶
func (o *RevokeFDXConsentNotFound) IsServerError() bool
IsServerError returns true when this revoke f d x consent not found response has a 5xx status code
func (*RevokeFDXConsentNotFound) IsSuccess ¶
func (o *RevokeFDXConsentNotFound) IsSuccess() bool
IsSuccess returns true when this revoke f d x consent not found response has a 2xx status code
func (*RevokeFDXConsentNotFound) String ¶
func (o *RevokeFDXConsentNotFound) String() string
type RevokeFDXConsentParams ¶
type RevokeFDXConsentParams struct { /* ConsentRevocation. Revocation details */ ConsentRevocation *models.FDXConsentRevocation /* ConsentID. Consent id Default: "default" */ ConsentID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RevokeFDXConsentParams contains all the parameters to send to the API endpoint
for the revoke f d x consent operation. Typically these are written to a http.Request.
func NewRevokeFDXConsentParams ¶
func NewRevokeFDXConsentParams() *RevokeFDXConsentParams
NewRevokeFDXConsentParams creates a new RevokeFDXConsentParams 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 NewRevokeFDXConsentParamsWithContext ¶
func NewRevokeFDXConsentParamsWithContext(ctx context.Context) *RevokeFDXConsentParams
NewRevokeFDXConsentParamsWithContext creates a new RevokeFDXConsentParams object with the ability to set a context for a request.
func NewRevokeFDXConsentParamsWithHTTPClient ¶
func NewRevokeFDXConsentParamsWithHTTPClient(client *http.Client) *RevokeFDXConsentParams
NewRevokeFDXConsentParamsWithHTTPClient creates a new RevokeFDXConsentParams object with the ability to set a custom HTTPClient for a request.
func NewRevokeFDXConsentParamsWithTimeout ¶
func NewRevokeFDXConsentParamsWithTimeout(timeout time.Duration) *RevokeFDXConsentParams
NewRevokeFDXConsentParamsWithTimeout creates a new RevokeFDXConsentParams object with the ability to set a timeout on a request.
func (*RevokeFDXConsentParams) SetConsentID ¶
func (o *RevokeFDXConsentParams) SetConsentID(consentID string)
SetConsentID adds the consentId to the revoke f d x consent params
func (*RevokeFDXConsentParams) SetConsentRevocation ¶
func (o *RevokeFDXConsentParams) SetConsentRevocation(consentRevocation *models.FDXConsentRevocation)
SetConsentRevocation adds the consentRevocation to the revoke f d x consent params
func (*RevokeFDXConsentParams) SetContext ¶
func (o *RevokeFDXConsentParams) SetContext(ctx context.Context)
SetContext adds the context to the revoke f d x consent params
func (*RevokeFDXConsentParams) SetDefaults ¶
func (o *RevokeFDXConsentParams) SetDefaults()
SetDefaults hydrates default values in the revoke f d x consent params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeFDXConsentParams) SetHTTPClient ¶
func (o *RevokeFDXConsentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke f d x consent params
func (*RevokeFDXConsentParams) SetTimeout ¶
func (o *RevokeFDXConsentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke f d x consent params
func (*RevokeFDXConsentParams) WithConsentID ¶
func (o *RevokeFDXConsentParams) WithConsentID(consentID string) *RevokeFDXConsentParams
WithConsentID adds the consentID to the revoke f d x consent params
func (*RevokeFDXConsentParams) WithConsentRevocation ¶
func (o *RevokeFDXConsentParams) WithConsentRevocation(consentRevocation *models.FDXConsentRevocation) *RevokeFDXConsentParams
WithConsentRevocation adds the consentRevocation to the revoke f d x consent params
func (*RevokeFDXConsentParams) WithContext ¶
func (o *RevokeFDXConsentParams) WithContext(ctx context.Context) *RevokeFDXConsentParams
WithContext adds the context to the revoke f d x consent params
func (*RevokeFDXConsentParams) WithDefaults ¶
func (o *RevokeFDXConsentParams) WithDefaults() *RevokeFDXConsentParams
WithDefaults hydrates default values in the revoke f d x consent params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeFDXConsentParams) WithHTTPClient ¶
func (o *RevokeFDXConsentParams) WithHTTPClient(client *http.Client) *RevokeFDXConsentParams
WithHTTPClient adds the HTTPClient to the revoke f d x consent params
func (*RevokeFDXConsentParams) WithTimeout ¶
func (o *RevokeFDXConsentParams) WithTimeout(timeout time.Duration) *RevokeFDXConsentParams
WithTimeout adds the timeout to the revoke f d x consent params
func (*RevokeFDXConsentParams) WriteToRequest ¶
func (o *RevokeFDXConsentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeFDXConsentReader ¶
type RevokeFDXConsentReader struct {
// contains filtered or unexported fields
}
RevokeFDXConsentReader is a Reader for the RevokeFDXConsent structure.
func (*RevokeFDXConsentReader) ReadResponse ¶
func (o *RevokeFDXConsentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeFDXConsentUnauthorized ¶
type RevokeFDXConsentUnauthorized struct {
}RevokeFDXConsentUnauthorized describes a response with status code 401, with default header values.
FDX Error
func NewRevokeFDXConsentUnauthorized ¶
func NewRevokeFDXConsentUnauthorized() *RevokeFDXConsentUnauthorized
NewRevokeFDXConsentUnauthorized creates a RevokeFDXConsentUnauthorized with default headers values
func (*RevokeFDXConsentUnauthorized) Code ¶
func (o *RevokeFDXConsentUnauthorized) Code() int
Code gets the status code for the revoke f d x consent unauthorized response
func (*RevokeFDXConsentUnauthorized) Error ¶
func (o *RevokeFDXConsentUnauthorized) Error() string
func (*RevokeFDXConsentUnauthorized) GetPayload ¶
func (o *RevokeFDXConsentUnauthorized) GetPayload() *models.FDXErrorResponse
func (*RevokeFDXConsentUnauthorized) IsClientError ¶
func (o *RevokeFDXConsentUnauthorized) IsClientError() bool
IsClientError returns true when this revoke f d x consent unauthorized response has a 4xx status code
func (*RevokeFDXConsentUnauthorized) IsCode ¶
func (o *RevokeFDXConsentUnauthorized) IsCode(code int) bool
IsCode returns true when this revoke f d x consent unauthorized response a status code equal to that given
func (*RevokeFDXConsentUnauthorized) IsRedirect ¶
func (o *RevokeFDXConsentUnauthorized) IsRedirect() bool
IsRedirect returns true when this revoke f d x consent unauthorized response has a 3xx status code
func (*RevokeFDXConsentUnauthorized) IsServerError ¶
func (o *RevokeFDXConsentUnauthorized) IsServerError() bool
IsServerError returns true when this revoke f d x consent unauthorized response has a 5xx status code
func (*RevokeFDXConsentUnauthorized) IsSuccess ¶
func (o *RevokeFDXConsentUnauthorized) IsSuccess() bool
IsSuccess returns true when this revoke f d x consent unauthorized response has a 2xx status code
func (*RevokeFDXConsentUnauthorized) String ¶
func (o *RevokeFDXConsentUnauthorized) String() string
Source Files ¶
- fdx_client.go
- fdx_consent_introspect_parameters.go
- fdx_consent_introspect_responses.go
- get_f_d_x_consent_parameters.go
- get_f_d_x_consent_responses.go
- get_f_d_x_consent_revocation_parameters.go
- get_f_d_x_consent_revocation_responses.go
- revoke_f_d_x_consent_parameters.go
- revoke_f_d_x_consent_responses.go