f_d_x

package
v0.0.0-...-7b99a6d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

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 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 is the option for Client methods

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.

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

Code gets the status code for the fdx consent introspect not found response

func (*FdxConsentIntrospectNotFound) Error

func (*FdxConsentIntrospectNotFound) GetPayload

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

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

func (*FdxConsentIntrospectOKBody) Validate

func (o *FdxConsentIntrospectOKBody) Validate(formats strfmt.Registry) error

Validate validates this fdx consent introspect o k body

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

WithContext adds the context to the fdx consent introspect params

func (*FdxConsentIntrospectParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the fdx consent introspect params

func (*FdxConsentIntrospectParams) WithTimeout

WithTimeout adds the timeout to the fdx consent introspect params

func (*FdxConsentIntrospectParams) WithToken

WithToken adds the token to the fdx consent introspect params

func (*FdxConsentIntrospectParams) WriteToRequest

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

Code gets the status code for the fdx consent introspect too many requests response

func (*FdxConsentIntrospectTooManyRequests) Error

func (*FdxConsentIntrospectTooManyRequests) GetPayload

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

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

IsSuccess returns true when this fdx consent introspect too many requests response has a 2xx status code

func (*FdxConsentIntrospectTooManyRequests) String

type FdxConsentIntrospectUnauthorized

type FdxConsentIntrospectUnauthorized struct {
	Payload *models.GenericError
}

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

Code gets the status code for the fdx consent introspect unauthorized response

func (*FdxConsentIntrospectUnauthorized) Error

func (*FdxConsentIntrospectUnauthorized) GetPayload

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

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

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

Code gets the status code for the get f d x consent revocation bad request response

func (*GetFDXConsentRevocationBadRequest) Error

func (*GetFDXConsentRevocationBadRequest) GetPayload

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

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

Code gets the status code for the get f d x consent revocation not found response

func (*GetFDXConsentRevocationNotFound) Error

func (*GetFDXConsentRevocationNotFound) GetPayload

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

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

WithConsentID adds the consentID to the get f d x consent revocation params

func (*GetFDXConsentRevocationParams) WithContext

WithContext adds the context to the get f d x consent revocation params

func (*GetFDXConsentRevocationParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get f d x consent revocation params

func (*GetFDXConsentRevocationParams) WithTimeout

WithTimeout adds the timeout to the get f d x consent revocation params

func (*GetFDXConsentRevocationParams) WriteToRequest

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 {
	Payload *models.FDXErrorResponse
}

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

Code gets the status code for the get f d x consent revocation unauthorized response

func (*GetFDXConsentRevocationUnauthorized) Error

func (*GetFDXConsentRevocationUnauthorized) GetPayload

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

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

IsSuccess returns true when this get f d x consent revocation unauthorized response has a 2xx status code

func (*GetFDXConsentRevocationUnauthorized) String

type GetFDXConsentUnauthorized

type GetFDXConsentUnauthorized struct {
	Payload *models.FDXErrorResponse
}

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 (*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 (*RevokeFDXConsentBadRequest) GetPayload

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

WithContext adds the context to the revoke f d x consent params

func (*RevokeFDXConsentParams) WithDefaults

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

WithTimeout adds the timeout to the revoke f d x consent params

func (*RevokeFDXConsentParams) WriteToRequest

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 {
	Payload *models.FDXErrorResponse
}

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

Code gets the status code for the revoke f d x consent unauthorized response

func (*RevokeFDXConsentUnauthorized) Error

func (*RevokeFDXConsentUnauthorized) GetPayload

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

Jump to

Keyboard shortcuts

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