account_access

package
v0.0.0-...-3f933f0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

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 account access API

func (*Client) CreateAccountAccessConsents

CreateAccountAccessConsents creates account access consents

func (*Client) DeleteAccountAccessConsentsConsentID

DeleteAccountAccessConsentsConsentID deletes account access consents

func (*Client) GetAccountAccessConsentsConsentID

GetAccountAccessConsentsConsentID gets account access consents

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	CreateAccountAccessConsents(params *CreateAccountAccessConsentsParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAccountAccessConsentsCreated, error)

	DeleteAccountAccessConsentsConsentID(params *DeleteAccountAccessConsentsConsentIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAccountAccessConsentsConsentIDNoContent, error)

	GetAccountAccessConsentsConsentID(params *GetAccountAccessConsentsConsentIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountAccessConsentsConsentIDOK, 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 account access API client.

type CreateAccountAccessConsentsBadRequest

type CreateAccountAccessConsentsBadRequest struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	Payload *models.OBErrorResponse1
}
CreateAccountAccessConsentsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateAccountAccessConsentsBadRequest

func NewCreateAccountAccessConsentsBadRequest() *CreateAccountAccessConsentsBadRequest

NewCreateAccountAccessConsentsBadRequest creates a CreateAccountAccessConsentsBadRequest with default headers values

func (*CreateAccountAccessConsentsBadRequest) Error

func (*CreateAccountAccessConsentsBadRequest) GetPayload

type CreateAccountAccessConsentsCreated

type CreateAccountAccessConsentsCreated struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	Payload *models.OBReadConsentResponse1
}
CreateAccountAccessConsentsCreated describes a response with status code 201, with default header values.

Account Access Consents Created

func NewCreateAccountAccessConsentsCreated

func NewCreateAccountAccessConsentsCreated() *CreateAccountAccessConsentsCreated

NewCreateAccountAccessConsentsCreated creates a CreateAccountAccessConsentsCreated with default headers values

func (*CreateAccountAccessConsentsCreated) Error

func (*CreateAccountAccessConsentsCreated) GetPayload

type CreateAccountAccessConsentsForbidden

type CreateAccountAccessConsentsForbidden struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	Payload *models.OBErrorResponse1
}
CreateAccountAccessConsentsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateAccountAccessConsentsForbidden

func NewCreateAccountAccessConsentsForbidden() *CreateAccountAccessConsentsForbidden

NewCreateAccountAccessConsentsForbidden creates a CreateAccountAccessConsentsForbidden with default headers values

func (*CreateAccountAccessConsentsForbidden) Error

func (*CreateAccountAccessConsentsForbidden) GetPayload

type CreateAccountAccessConsentsInternalServerError

type CreateAccountAccessConsentsInternalServerError struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	Payload *models.OBErrorResponse1
}
CreateAccountAccessConsentsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewCreateAccountAccessConsentsInternalServerError

func NewCreateAccountAccessConsentsInternalServerError() *CreateAccountAccessConsentsInternalServerError

NewCreateAccountAccessConsentsInternalServerError creates a CreateAccountAccessConsentsInternalServerError with default headers values

func (*CreateAccountAccessConsentsInternalServerError) Error

func (*CreateAccountAccessConsentsInternalServerError) GetPayload

type CreateAccountAccessConsentsMethodNotAllowed

type CreateAccountAccessConsentsMethodNotAllowed struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
CreateAccountAccessConsentsMethodNotAllowed describes a response with status code 405, with default header values.

Method Not Allowed

func NewCreateAccountAccessConsentsMethodNotAllowed

func NewCreateAccountAccessConsentsMethodNotAllowed() *CreateAccountAccessConsentsMethodNotAllowed

NewCreateAccountAccessConsentsMethodNotAllowed creates a CreateAccountAccessConsentsMethodNotAllowed with default headers values

func (*CreateAccountAccessConsentsMethodNotAllowed) Error

type CreateAccountAccessConsentsNotAcceptable

type CreateAccountAccessConsentsNotAcceptable struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
CreateAccountAccessConsentsNotAcceptable describes a response with status code 406, with default header values.

Not Acceptable

func NewCreateAccountAccessConsentsNotAcceptable

func NewCreateAccountAccessConsentsNotAcceptable() *CreateAccountAccessConsentsNotAcceptable

NewCreateAccountAccessConsentsNotAcceptable creates a CreateAccountAccessConsentsNotAcceptable with default headers values

func (*CreateAccountAccessConsentsNotAcceptable) Error

type CreateAccountAccessConsentsParams

type CreateAccountAccessConsentsParams struct {

	/* Authorization.

	   An Authorisation Token as per https://tools.ietf.org/html/rfc6750
	*/
	Authorization string

	/* OBReadConsent1Param.

	   Default
	*/
	OBReadConsent1Param *models.OBReadConsent1

	/* XCustomerUserAgent.

	   Indicates the user-agent that the PSU is using.
	*/
	XCustomerUserAgent *string

	/* XFapiAuthDate.

	     The time when the PSU last logged in with the TPP.
	All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below:
	Sun, 10 Sep 2017 19:43:31 UTC
	*/
	XFapiAuthDate *string

	/* XFapiCustomerIPAddress.

	   The PSU's IP address if the PSU is currently logged in with the TPP.
	*/
	XFapiCustomerIPAddress *string

	/* XFapiInteractionID.

	   An RFC4122 UID used as a correlation id.
	*/
	XFapiInteractionID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateAccountAccessConsentsParams contains all the parameters to send to the API endpoint

for the create account access consents operation.

Typically these are written to a http.Request.

func NewCreateAccountAccessConsentsParams

func NewCreateAccountAccessConsentsParams() *CreateAccountAccessConsentsParams

NewCreateAccountAccessConsentsParams creates a new CreateAccountAccessConsentsParams 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 NewCreateAccountAccessConsentsParamsWithContext

func NewCreateAccountAccessConsentsParamsWithContext(ctx context.Context) *CreateAccountAccessConsentsParams

NewCreateAccountAccessConsentsParamsWithContext creates a new CreateAccountAccessConsentsParams object with the ability to set a context for a request.

func NewCreateAccountAccessConsentsParamsWithHTTPClient

func NewCreateAccountAccessConsentsParamsWithHTTPClient(client *http.Client) *CreateAccountAccessConsentsParams

NewCreateAccountAccessConsentsParamsWithHTTPClient creates a new CreateAccountAccessConsentsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateAccountAccessConsentsParamsWithTimeout

func NewCreateAccountAccessConsentsParamsWithTimeout(timeout time.Duration) *CreateAccountAccessConsentsParams

NewCreateAccountAccessConsentsParamsWithTimeout creates a new CreateAccountAccessConsentsParams object with the ability to set a timeout on a request.

func (*CreateAccountAccessConsentsParams) SetAuthorization

func (o *CreateAccountAccessConsentsParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the create account access consents params

func (*CreateAccountAccessConsentsParams) SetContext

SetContext adds the context to the create account access consents params

func (*CreateAccountAccessConsentsParams) SetDefaults

func (o *CreateAccountAccessConsentsParams) SetDefaults()

SetDefaults hydrates default values in the create account access consents params (not the query body).

All values with no default are reset to their zero value.

func (*CreateAccountAccessConsentsParams) SetHTTPClient

func (o *CreateAccountAccessConsentsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create account access consents params

func (*CreateAccountAccessConsentsParams) SetOBReadConsent1Param

func (o *CreateAccountAccessConsentsParams) SetOBReadConsent1Param(oBReadConsent1Param *models.OBReadConsent1)

SetOBReadConsent1Param adds the oBReadConsent1Param to the create account access consents params

func (*CreateAccountAccessConsentsParams) SetTimeout

func (o *CreateAccountAccessConsentsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create account access consents params

func (*CreateAccountAccessConsentsParams) SetXCustomerUserAgent

func (o *CreateAccountAccessConsentsParams) SetXCustomerUserAgent(xCustomerUserAgent *string)

SetXCustomerUserAgent adds the xCustomerUserAgent to the create account access consents params

func (*CreateAccountAccessConsentsParams) SetXFapiAuthDate

func (o *CreateAccountAccessConsentsParams) SetXFapiAuthDate(xFapiAuthDate *string)

SetXFapiAuthDate adds the xFapiAuthDate to the create account access consents params

func (*CreateAccountAccessConsentsParams) SetXFapiCustomerIPAddress

func (o *CreateAccountAccessConsentsParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)

SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the create account access consents params

func (*CreateAccountAccessConsentsParams) SetXFapiInteractionID

func (o *CreateAccountAccessConsentsParams) SetXFapiInteractionID(xFapiInteractionID *string)

SetXFapiInteractionID adds the xFapiInteractionId to the create account access consents params

func (*CreateAccountAccessConsentsParams) WithAuthorization

func (o *CreateAccountAccessConsentsParams) WithAuthorization(authorization string) *CreateAccountAccessConsentsParams

WithAuthorization adds the authorization to the create account access consents params

func (*CreateAccountAccessConsentsParams) WithContext

WithContext adds the context to the create account access consents params

func (*CreateAccountAccessConsentsParams) WithDefaults

WithDefaults hydrates default values in the create account access consents params (not the query body).

All values with no default are reset to their zero value.

func (*CreateAccountAccessConsentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create account access consents params

func (*CreateAccountAccessConsentsParams) WithOBReadConsent1Param

func (o *CreateAccountAccessConsentsParams) WithOBReadConsent1Param(oBReadConsent1Param *models.OBReadConsent1) *CreateAccountAccessConsentsParams

WithOBReadConsent1Param adds the oBReadConsent1Param to the create account access consents params

func (*CreateAccountAccessConsentsParams) WithTimeout

WithTimeout adds the timeout to the create account access consents params

func (*CreateAccountAccessConsentsParams) WithXCustomerUserAgent

func (o *CreateAccountAccessConsentsParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *CreateAccountAccessConsentsParams

WithXCustomerUserAgent adds the xCustomerUserAgent to the create account access consents params

func (*CreateAccountAccessConsentsParams) WithXFapiAuthDate

func (o *CreateAccountAccessConsentsParams) WithXFapiAuthDate(xFapiAuthDate *string) *CreateAccountAccessConsentsParams

WithXFapiAuthDate adds the xFapiAuthDate to the create account access consents params

func (*CreateAccountAccessConsentsParams) WithXFapiCustomerIPAddress

func (o *CreateAccountAccessConsentsParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *CreateAccountAccessConsentsParams

WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the create account access consents params

func (*CreateAccountAccessConsentsParams) WithXFapiInteractionID

func (o *CreateAccountAccessConsentsParams) WithXFapiInteractionID(xFapiInteractionID *string) *CreateAccountAccessConsentsParams

WithXFapiInteractionID adds the xFapiInteractionID to the create account access consents params

func (*CreateAccountAccessConsentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateAccountAccessConsentsReader

type CreateAccountAccessConsentsReader struct {
	// contains filtered or unexported fields
}

CreateAccountAccessConsentsReader is a Reader for the CreateAccountAccessConsents structure.

func (*CreateAccountAccessConsentsReader) ReadResponse

func (o *CreateAccountAccessConsentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateAccountAccessConsentsTooManyRequests

type CreateAccountAccessConsentsTooManyRequests struct {

	/* Number in seconds to wait
	 */
	RetryAfter int64

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
CreateAccountAccessConsentsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewCreateAccountAccessConsentsTooManyRequests

func NewCreateAccountAccessConsentsTooManyRequests() *CreateAccountAccessConsentsTooManyRequests

NewCreateAccountAccessConsentsTooManyRequests creates a CreateAccountAccessConsentsTooManyRequests with default headers values

func (*CreateAccountAccessConsentsTooManyRequests) Error

type CreateAccountAccessConsentsUnauthorized

type CreateAccountAccessConsentsUnauthorized struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
CreateAccountAccessConsentsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateAccountAccessConsentsUnauthorized

func NewCreateAccountAccessConsentsUnauthorized() *CreateAccountAccessConsentsUnauthorized

NewCreateAccountAccessConsentsUnauthorized creates a CreateAccountAccessConsentsUnauthorized with default headers values

func (*CreateAccountAccessConsentsUnauthorized) Error

type CreateAccountAccessConsentsUnsupportedMediaType

type CreateAccountAccessConsentsUnsupportedMediaType struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
CreateAccountAccessConsentsUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type

func NewCreateAccountAccessConsentsUnsupportedMediaType

func NewCreateAccountAccessConsentsUnsupportedMediaType() *CreateAccountAccessConsentsUnsupportedMediaType

NewCreateAccountAccessConsentsUnsupportedMediaType creates a CreateAccountAccessConsentsUnsupportedMediaType with default headers values

func (*CreateAccountAccessConsentsUnsupportedMediaType) Error

type DeleteAccountAccessConsentsConsentIDBadRequest

type DeleteAccountAccessConsentsConsentIDBadRequest struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	Payload *models.OBErrorResponse1
}
DeleteAccountAccessConsentsConsentIDBadRequest describes a response with status code 400, with default header values.

Bad request

func NewDeleteAccountAccessConsentsConsentIDBadRequest

func NewDeleteAccountAccessConsentsConsentIDBadRequest() *DeleteAccountAccessConsentsConsentIDBadRequest

NewDeleteAccountAccessConsentsConsentIDBadRequest creates a DeleteAccountAccessConsentsConsentIDBadRequest with default headers values

func (*DeleteAccountAccessConsentsConsentIDBadRequest) Error

func (*DeleteAccountAccessConsentsConsentIDBadRequest) GetPayload

type DeleteAccountAccessConsentsConsentIDForbidden

type DeleteAccountAccessConsentsConsentIDForbidden struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	Payload *models.OBErrorResponse1
}
DeleteAccountAccessConsentsConsentIDForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteAccountAccessConsentsConsentIDForbidden

func NewDeleteAccountAccessConsentsConsentIDForbidden() *DeleteAccountAccessConsentsConsentIDForbidden

NewDeleteAccountAccessConsentsConsentIDForbidden creates a DeleteAccountAccessConsentsConsentIDForbidden with default headers values

func (*DeleteAccountAccessConsentsConsentIDForbidden) Error

func (*DeleteAccountAccessConsentsConsentIDForbidden) GetPayload

type DeleteAccountAccessConsentsConsentIDInternalServerError

type DeleteAccountAccessConsentsConsentIDInternalServerError struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	Payload *models.OBErrorResponse1
}
DeleteAccountAccessConsentsConsentIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteAccountAccessConsentsConsentIDInternalServerError

func NewDeleteAccountAccessConsentsConsentIDInternalServerError() *DeleteAccountAccessConsentsConsentIDInternalServerError

NewDeleteAccountAccessConsentsConsentIDInternalServerError creates a DeleteAccountAccessConsentsConsentIDInternalServerError with default headers values

func (*DeleteAccountAccessConsentsConsentIDInternalServerError) Error

func (*DeleteAccountAccessConsentsConsentIDInternalServerError) GetPayload

type DeleteAccountAccessConsentsConsentIDMethodNotAllowed

type DeleteAccountAccessConsentsConsentIDMethodNotAllowed struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
DeleteAccountAccessConsentsConsentIDMethodNotAllowed describes a response with status code 405, with default header values.

Method Not Allowed

func NewDeleteAccountAccessConsentsConsentIDMethodNotAllowed

func NewDeleteAccountAccessConsentsConsentIDMethodNotAllowed() *DeleteAccountAccessConsentsConsentIDMethodNotAllowed

NewDeleteAccountAccessConsentsConsentIDMethodNotAllowed creates a DeleteAccountAccessConsentsConsentIDMethodNotAllowed with default headers values

func (*DeleteAccountAccessConsentsConsentIDMethodNotAllowed) Error

type DeleteAccountAccessConsentsConsentIDNoContent

type DeleteAccountAccessConsentsConsentIDNoContent struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
DeleteAccountAccessConsentsConsentIDNoContent describes a response with status code 204, with default header values.

Account Access Consents Deleted

func NewDeleteAccountAccessConsentsConsentIDNoContent

func NewDeleteAccountAccessConsentsConsentIDNoContent() *DeleteAccountAccessConsentsConsentIDNoContent

NewDeleteAccountAccessConsentsConsentIDNoContent creates a DeleteAccountAccessConsentsConsentIDNoContent with default headers values

func (*DeleteAccountAccessConsentsConsentIDNoContent) Error

type DeleteAccountAccessConsentsConsentIDNotAcceptable

type DeleteAccountAccessConsentsConsentIDNotAcceptable struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
DeleteAccountAccessConsentsConsentIDNotAcceptable describes a response with status code 406, with default header values.

Not Acceptable

func NewDeleteAccountAccessConsentsConsentIDNotAcceptable

func NewDeleteAccountAccessConsentsConsentIDNotAcceptable() *DeleteAccountAccessConsentsConsentIDNotAcceptable

NewDeleteAccountAccessConsentsConsentIDNotAcceptable creates a DeleteAccountAccessConsentsConsentIDNotAcceptable with default headers values

func (*DeleteAccountAccessConsentsConsentIDNotAcceptable) Error

type DeleteAccountAccessConsentsConsentIDParams

type DeleteAccountAccessConsentsConsentIDParams struct {

	/* Authorization.

	   An Authorisation Token as per https://tools.ietf.org/html/rfc6750
	*/
	Authorization string

	/* ConsentID.

	   ConsentId
	*/
	ConsentID string

	/* XCustomerUserAgent.

	   Indicates the user-agent that the PSU is using.
	*/
	XCustomerUserAgent *string

	/* XFapiAuthDate.

	     The time when the PSU last logged in with the TPP.
	All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below:
	Sun, 10 Sep 2017 19:43:31 UTC
	*/
	XFapiAuthDate *string

	/* XFapiCustomerIPAddress.

	   The PSU's IP address if the PSU is currently logged in with the TPP.
	*/
	XFapiCustomerIPAddress *string

	/* XFapiInteractionID.

	   An RFC4122 UID used as a correlation id.
	*/
	XFapiInteractionID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteAccountAccessConsentsConsentIDParams contains all the parameters to send to the API endpoint

for the delete account access consents consent Id operation.

Typically these are written to a http.Request.

func NewDeleteAccountAccessConsentsConsentIDParams

func NewDeleteAccountAccessConsentsConsentIDParams() *DeleteAccountAccessConsentsConsentIDParams

NewDeleteAccountAccessConsentsConsentIDParams creates a new DeleteAccountAccessConsentsConsentIDParams 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 NewDeleteAccountAccessConsentsConsentIDParamsWithContext

func NewDeleteAccountAccessConsentsConsentIDParamsWithContext(ctx context.Context) *DeleteAccountAccessConsentsConsentIDParams

NewDeleteAccountAccessConsentsConsentIDParamsWithContext creates a new DeleteAccountAccessConsentsConsentIDParams object with the ability to set a context for a request.

func NewDeleteAccountAccessConsentsConsentIDParamsWithHTTPClient

func NewDeleteAccountAccessConsentsConsentIDParamsWithHTTPClient(client *http.Client) *DeleteAccountAccessConsentsConsentIDParams

NewDeleteAccountAccessConsentsConsentIDParamsWithHTTPClient creates a new DeleteAccountAccessConsentsConsentIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAccountAccessConsentsConsentIDParamsWithTimeout

func NewDeleteAccountAccessConsentsConsentIDParamsWithTimeout(timeout time.Duration) *DeleteAccountAccessConsentsConsentIDParams

NewDeleteAccountAccessConsentsConsentIDParamsWithTimeout creates a new DeleteAccountAccessConsentsConsentIDParams object with the ability to set a timeout on a request.

func (*DeleteAccountAccessConsentsConsentIDParams) SetAuthorization

func (o *DeleteAccountAccessConsentsConsentIDParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the delete account access consents consent Id params

func (*DeleteAccountAccessConsentsConsentIDParams) SetConsentID

func (o *DeleteAccountAccessConsentsConsentIDParams) SetConsentID(consentID string)

SetConsentID adds the consentId to the delete account access consents consent Id params

func (*DeleteAccountAccessConsentsConsentIDParams) SetContext

SetContext adds the context to the delete account access consents consent Id params

func (*DeleteAccountAccessConsentsConsentIDParams) SetDefaults

SetDefaults hydrates default values in the delete account access consents consent Id params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAccountAccessConsentsConsentIDParams) SetHTTPClient

func (o *DeleteAccountAccessConsentsConsentIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete account access consents consent Id params

func (*DeleteAccountAccessConsentsConsentIDParams) SetTimeout

SetTimeout adds the timeout to the delete account access consents consent Id params

func (*DeleteAccountAccessConsentsConsentIDParams) SetXCustomerUserAgent

func (o *DeleteAccountAccessConsentsConsentIDParams) SetXCustomerUserAgent(xCustomerUserAgent *string)

SetXCustomerUserAgent adds the xCustomerUserAgent to the delete account access consents consent Id params

func (*DeleteAccountAccessConsentsConsentIDParams) SetXFapiAuthDate

func (o *DeleteAccountAccessConsentsConsentIDParams) SetXFapiAuthDate(xFapiAuthDate *string)

SetXFapiAuthDate adds the xFapiAuthDate to the delete account access consents consent Id params

func (*DeleteAccountAccessConsentsConsentIDParams) SetXFapiCustomerIPAddress

func (o *DeleteAccountAccessConsentsConsentIDParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)

SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the delete account access consents consent Id params

func (*DeleteAccountAccessConsentsConsentIDParams) SetXFapiInteractionID

func (o *DeleteAccountAccessConsentsConsentIDParams) SetXFapiInteractionID(xFapiInteractionID *string)

SetXFapiInteractionID adds the xFapiInteractionId to the delete account access consents consent Id params

func (*DeleteAccountAccessConsentsConsentIDParams) WithAuthorization

WithAuthorization adds the authorization to the delete account access consents consent Id params

func (*DeleteAccountAccessConsentsConsentIDParams) WithConsentID

WithConsentID adds the consentID to the delete account access consents consent Id params

func (*DeleteAccountAccessConsentsConsentIDParams) WithContext

WithContext adds the context to the delete account access consents consent Id params

func (*DeleteAccountAccessConsentsConsentIDParams) WithDefaults

WithDefaults hydrates default values in the delete account access consents consent Id params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAccountAccessConsentsConsentIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete account access consents consent Id params

func (*DeleteAccountAccessConsentsConsentIDParams) WithTimeout

WithTimeout adds the timeout to the delete account access consents consent Id params

func (*DeleteAccountAccessConsentsConsentIDParams) WithXCustomerUserAgent

WithXCustomerUserAgent adds the xCustomerUserAgent to the delete account access consents consent Id params

func (*DeleteAccountAccessConsentsConsentIDParams) WithXFapiAuthDate

WithXFapiAuthDate adds the xFapiAuthDate to the delete account access consents consent Id params

func (*DeleteAccountAccessConsentsConsentIDParams) WithXFapiCustomerIPAddress

func (o *DeleteAccountAccessConsentsConsentIDParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *DeleteAccountAccessConsentsConsentIDParams

WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the delete account access consents consent Id params

func (*DeleteAccountAccessConsentsConsentIDParams) WithXFapiInteractionID

WithXFapiInteractionID adds the xFapiInteractionID to the delete account access consents consent Id params

func (*DeleteAccountAccessConsentsConsentIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAccountAccessConsentsConsentIDReader

type DeleteAccountAccessConsentsConsentIDReader struct {
	// contains filtered or unexported fields
}

DeleteAccountAccessConsentsConsentIDReader is a Reader for the DeleteAccountAccessConsentsConsentID structure.

func (*DeleteAccountAccessConsentsConsentIDReader) ReadResponse

func (o *DeleteAccountAccessConsentsConsentIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteAccountAccessConsentsConsentIDTooManyRequests

type DeleteAccountAccessConsentsConsentIDTooManyRequests struct {

	/* Number in seconds to wait
	 */
	RetryAfter int64

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
DeleteAccountAccessConsentsConsentIDTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeleteAccountAccessConsentsConsentIDTooManyRequests

func NewDeleteAccountAccessConsentsConsentIDTooManyRequests() *DeleteAccountAccessConsentsConsentIDTooManyRequests

NewDeleteAccountAccessConsentsConsentIDTooManyRequests creates a DeleteAccountAccessConsentsConsentIDTooManyRequests with default headers values

func (*DeleteAccountAccessConsentsConsentIDTooManyRequests) Error

type DeleteAccountAccessConsentsConsentIDUnauthorized

type DeleteAccountAccessConsentsConsentIDUnauthorized struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
DeleteAccountAccessConsentsConsentIDUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteAccountAccessConsentsConsentIDUnauthorized

func NewDeleteAccountAccessConsentsConsentIDUnauthorized() *DeleteAccountAccessConsentsConsentIDUnauthorized

NewDeleteAccountAccessConsentsConsentIDUnauthorized creates a DeleteAccountAccessConsentsConsentIDUnauthorized with default headers values

func (*DeleteAccountAccessConsentsConsentIDUnauthorized) Error

type GetAccountAccessConsentsConsentIDBadRequest

type GetAccountAccessConsentsConsentIDBadRequest struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	Payload *models.OBErrorResponse1
}
GetAccountAccessConsentsConsentIDBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetAccountAccessConsentsConsentIDBadRequest

func NewGetAccountAccessConsentsConsentIDBadRequest() *GetAccountAccessConsentsConsentIDBadRequest

NewGetAccountAccessConsentsConsentIDBadRequest creates a GetAccountAccessConsentsConsentIDBadRequest with default headers values

func (*GetAccountAccessConsentsConsentIDBadRequest) Error

func (*GetAccountAccessConsentsConsentIDBadRequest) GetPayload

type GetAccountAccessConsentsConsentIDForbidden

type GetAccountAccessConsentsConsentIDForbidden struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	Payload *models.OBErrorResponse1
}
GetAccountAccessConsentsConsentIDForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAccountAccessConsentsConsentIDForbidden

func NewGetAccountAccessConsentsConsentIDForbidden() *GetAccountAccessConsentsConsentIDForbidden

NewGetAccountAccessConsentsConsentIDForbidden creates a GetAccountAccessConsentsConsentIDForbidden with default headers values

func (*GetAccountAccessConsentsConsentIDForbidden) Error

func (*GetAccountAccessConsentsConsentIDForbidden) GetPayload

type GetAccountAccessConsentsConsentIDInternalServerError

type GetAccountAccessConsentsConsentIDInternalServerError struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	Payload *models.OBErrorResponse1
}
GetAccountAccessConsentsConsentIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAccountAccessConsentsConsentIDInternalServerError

func NewGetAccountAccessConsentsConsentIDInternalServerError() *GetAccountAccessConsentsConsentIDInternalServerError

NewGetAccountAccessConsentsConsentIDInternalServerError creates a GetAccountAccessConsentsConsentIDInternalServerError with default headers values

func (*GetAccountAccessConsentsConsentIDInternalServerError) Error

func (*GetAccountAccessConsentsConsentIDInternalServerError) GetPayload

type GetAccountAccessConsentsConsentIDMethodNotAllowed

type GetAccountAccessConsentsConsentIDMethodNotAllowed struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetAccountAccessConsentsConsentIDMethodNotAllowed describes a response with status code 405, with default header values.

Method Not Allowed

func NewGetAccountAccessConsentsConsentIDMethodNotAllowed

func NewGetAccountAccessConsentsConsentIDMethodNotAllowed() *GetAccountAccessConsentsConsentIDMethodNotAllowed

NewGetAccountAccessConsentsConsentIDMethodNotAllowed creates a GetAccountAccessConsentsConsentIDMethodNotAllowed with default headers values

func (*GetAccountAccessConsentsConsentIDMethodNotAllowed) Error

type GetAccountAccessConsentsConsentIDNotAcceptable

type GetAccountAccessConsentsConsentIDNotAcceptable struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetAccountAccessConsentsConsentIDNotAcceptable describes a response with status code 406, with default header values.

Not Acceptable

func NewGetAccountAccessConsentsConsentIDNotAcceptable

func NewGetAccountAccessConsentsConsentIDNotAcceptable() *GetAccountAccessConsentsConsentIDNotAcceptable

NewGetAccountAccessConsentsConsentIDNotAcceptable creates a GetAccountAccessConsentsConsentIDNotAcceptable with default headers values

func (*GetAccountAccessConsentsConsentIDNotAcceptable) Error

type GetAccountAccessConsentsConsentIDOK

type GetAccountAccessConsentsConsentIDOK struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	Payload *models.OBReadConsentResponse1
}
GetAccountAccessConsentsConsentIDOK describes a response with status code 200, with default header values.

Account Access Consents Read

func NewGetAccountAccessConsentsConsentIDOK

func NewGetAccountAccessConsentsConsentIDOK() *GetAccountAccessConsentsConsentIDOK

NewGetAccountAccessConsentsConsentIDOK creates a GetAccountAccessConsentsConsentIDOK with default headers values

func (*GetAccountAccessConsentsConsentIDOK) Error

func (*GetAccountAccessConsentsConsentIDOK) GetPayload

type GetAccountAccessConsentsConsentIDParams

type GetAccountAccessConsentsConsentIDParams struct {

	/* Authorization.

	   An Authorisation Token as per https://tools.ietf.org/html/rfc6750
	*/
	Authorization string

	/* ConsentID.

	   ConsentId
	*/
	ConsentID string

	/* XCustomerUserAgent.

	   Indicates the user-agent that the PSU is using.
	*/
	XCustomerUserAgent *string

	/* XFapiAuthDate.

	     The time when the PSU last logged in with the TPP.
	All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below:
	Sun, 10 Sep 2017 19:43:31 UTC
	*/
	XFapiAuthDate *string

	/* XFapiCustomerIPAddress.

	   The PSU's IP address if the PSU is currently logged in with the TPP.
	*/
	XFapiCustomerIPAddress *string

	/* XFapiInteractionID.

	   An RFC4122 UID used as a correlation id.
	*/
	XFapiInteractionID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAccountAccessConsentsConsentIDParams contains all the parameters to send to the API endpoint

for the get account access consents consent Id operation.

Typically these are written to a http.Request.

func NewGetAccountAccessConsentsConsentIDParams

func NewGetAccountAccessConsentsConsentIDParams() *GetAccountAccessConsentsConsentIDParams

NewGetAccountAccessConsentsConsentIDParams creates a new GetAccountAccessConsentsConsentIDParams 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 NewGetAccountAccessConsentsConsentIDParamsWithContext

func NewGetAccountAccessConsentsConsentIDParamsWithContext(ctx context.Context) *GetAccountAccessConsentsConsentIDParams

NewGetAccountAccessConsentsConsentIDParamsWithContext creates a new GetAccountAccessConsentsConsentIDParams object with the ability to set a context for a request.

func NewGetAccountAccessConsentsConsentIDParamsWithHTTPClient

func NewGetAccountAccessConsentsConsentIDParamsWithHTTPClient(client *http.Client) *GetAccountAccessConsentsConsentIDParams

NewGetAccountAccessConsentsConsentIDParamsWithHTTPClient creates a new GetAccountAccessConsentsConsentIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountAccessConsentsConsentIDParamsWithTimeout

func NewGetAccountAccessConsentsConsentIDParamsWithTimeout(timeout time.Duration) *GetAccountAccessConsentsConsentIDParams

NewGetAccountAccessConsentsConsentIDParamsWithTimeout creates a new GetAccountAccessConsentsConsentIDParams object with the ability to set a timeout on a request.

func (*GetAccountAccessConsentsConsentIDParams) SetAuthorization

func (o *GetAccountAccessConsentsConsentIDParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get account access consents consent Id params

func (*GetAccountAccessConsentsConsentIDParams) SetConsentID

func (o *GetAccountAccessConsentsConsentIDParams) SetConsentID(consentID string)

SetConsentID adds the consentId to the get account access consents consent Id params

func (*GetAccountAccessConsentsConsentIDParams) SetContext

SetContext adds the context to the get account access consents consent Id params

func (*GetAccountAccessConsentsConsentIDParams) SetDefaults

func (o *GetAccountAccessConsentsConsentIDParams) SetDefaults()

SetDefaults hydrates default values in the get account access consents consent Id params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccountAccessConsentsConsentIDParams) SetHTTPClient

func (o *GetAccountAccessConsentsConsentIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get account access consents consent Id params

func (*GetAccountAccessConsentsConsentIDParams) SetTimeout

func (o *GetAccountAccessConsentsConsentIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get account access consents consent Id params

func (*GetAccountAccessConsentsConsentIDParams) SetXCustomerUserAgent

func (o *GetAccountAccessConsentsConsentIDParams) SetXCustomerUserAgent(xCustomerUserAgent *string)

SetXCustomerUserAgent adds the xCustomerUserAgent to the get account access consents consent Id params

func (*GetAccountAccessConsentsConsentIDParams) SetXFapiAuthDate

func (o *GetAccountAccessConsentsConsentIDParams) SetXFapiAuthDate(xFapiAuthDate *string)

SetXFapiAuthDate adds the xFapiAuthDate to the get account access consents consent Id params

func (*GetAccountAccessConsentsConsentIDParams) SetXFapiCustomerIPAddress

func (o *GetAccountAccessConsentsConsentIDParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)

SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the get account access consents consent Id params

func (*GetAccountAccessConsentsConsentIDParams) SetXFapiInteractionID

func (o *GetAccountAccessConsentsConsentIDParams) SetXFapiInteractionID(xFapiInteractionID *string)

SetXFapiInteractionID adds the xFapiInteractionId to the get account access consents consent Id params

func (*GetAccountAccessConsentsConsentIDParams) WithAuthorization

WithAuthorization adds the authorization to the get account access consents consent Id params

func (*GetAccountAccessConsentsConsentIDParams) WithConsentID

WithConsentID adds the consentID to the get account access consents consent Id params

func (*GetAccountAccessConsentsConsentIDParams) WithContext

WithContext adds the context to the get account access consents consent Id params

func (*GetAccountAccessConsentsConsentIDParams) WithDefaults

WithDefaults hydrates default values in the get account access consents consent Id params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccountAccessConsentsConsentIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get account access consents consent Id params

func (*GetAccountAccessConsentsConsentIDParams) WithTimeout

WithTimeout adds the timeout to the get account access consents consent Id params

func (*GetAccountAccessConsentsConsentIDParams) WithXCustomerUserAgent

func (o *GetAccountAccessConsentsConsentIDParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *GetAccountAccessConsentsConsentIDParams

WithXCustomerUserAgent adds the xCustomerUserAgent to the get account access consents consent Id params

func (*GetAccountAccessConsentsConsentIDParams) WithXFapiAuthDate

WithXFapiAuthDate adds the xFapiAuthDate to the get account access consents consent Id params

func (*GetAccountAccessConsentsConsentIDParams) WithXFapiCustomerIPAddress

func (o *GetAccountAccessConsentsConsentIDParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *GetAccountAccessConsentsConsentIDParams

WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the get account access consents consent Id params

func (*GetAccountAccessConsentsConsentIDParams) WithXFapiInteractionID

func (o *GetAccountAccessConsentsConsentIDParams) WithXFapiInteractionID(xFapiInteractionID *string) *GetAccountAccessConsentsConsentIDParams

WithXFapiInteractionID adds the xFapiInteractionID to the get account access consents consent Id params

func (*GetAccountAccessConsentsConsentIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountAccessConsentsConsentIDReader

type GetAccountAccessConsentsConsentIDReader struct {
	// contains filtered or unexported fields
}

GetAccountAccessConsentsConsentIDReader is a Reader for the GetAccountAccessConsentsConsentID structure.

func (*GetAccountAccessConsentsConsentIDReader) ReadResponse

func (o *GetAccountAccessConsentsConsentIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAccountAccessConsentsConsentIDTooManyRequests

type GetAccountAccessConsentsConsentIDTooManyRequests struct {

	/* Number in seconds to wait
	 */
	RetryAfter int64

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetAccountAccessConsentsConsentIDTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetAccountAccessConsentsConsentIDTooManyRequests

func NewGetAccountAccessConsentsConsentIDTooManyRequests() *GetAccountAccessConsentsConsentIDTooManyRequests

NewGetAccountAccessConsentsConsentIDTooManyRequests creates a GetAccountAccessConsentsConsentIDTooManyRequests with default headers values

func (*GetAccountAccessConsentsConsentIDTooManyRequests) Error

type GetAccountAccessConsentsConsentIDUnauthorized

type GetAccountAccessConsentsConsentIDUnauthorized struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetAccountAccessConsentsConsentIDUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetAccountAccessConsentsConsentIDUnauthorized

func NewGetAccountAccessConsentsConsentIDUnauthorized() *GetAccountAccessConsentsConsentIDUnauthorized

NewGetAccountAccessConsentsConsentIDUnauthorized creates a GetAccountAccessConsentsConsentIDUnauthorized with default headers values

func (*GetAccountAccessConsentsConsentIDUnauthorized) Error

Jump to

Keyboard shortcuts

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