Name | Type | Description | Notes |
---|---|---|---|
Status | BankConsentStatus | <strong>Type:</strong> BankConsentStatus<br/> Status of the consent. If <code>PRESENT</code>, it means that finAPI has a consent stored and can use it to connect to the bank. If <code>NOT_PRESENT</code>, finAPI will need to acquire a consent when connecting to the bank, which may require login credentials (either passed by the client, or stored in finAPI), and/or user involvement. Note that even when a consent is <code>PRESENT</code>, it may no longer be valid and finAPI will still have to acquire a new consent. | |
ExpiresAt | NullableString | Expiration time of the consent in the format 'YYYY-MM-DD HH:MM:SS.SSS' (german time). |
func NewBankConsent(status BankConsentStatus, expiresAt NullableString, ) *BankConsent
NewBankConsent instantiates a new BankConsent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBankConsentWithDefaults() *BankConsent
NewBankConsentWithDefaults instantiates a new BankConsent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *BankConsent) GetStatus() BankConsentStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *BankConsent) GetStatusOk() (*BankConsentStatus, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BankConsent) SetStatus(v BankConsentStatus)
SetStatus sets Status field to given value.
func (o *BankConsent) GetExpiresAt() string
GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.
func (o *BankConsent) GetExpiresAtOk() (*string, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BankConsent) SetExpiresAt(v string)
SetExpiresAt sets ExpiresAt field to given value.
func (o *BankConsent) SetExpiresAtNil(b bool)
SetExpiresAtNil sets the value for ExpiresAt to be an explicit nil
func (o *BankConsent) UnsetExpiresAt()
UnsetExpiresAt ensures that no value is present for ExpiresAt, not even an explicit nil