Name | Type | Description | Notes |
---|---|---|---|
Id | int64 | Rule identifier | |
Category | Category | <strong>Type:</strong> Category<br/> The category that this rule assigns to the transactions that it matches | |
Direction | TransactionDirection | <strong>Type:</strong> TransactionDirection<br/> Direction for the rule. 'Income' means that the rule applies to transactions with a positive amount only, 'Spending' means it applies to transactions with a negative amount only. | |
CreationDate | string | Timestamp of when the rule was created, in the format 'YYYY-MM-DD HH:MM:SS.SSS' (german time) | |
Iban | string | The IBAN for this rule |
func NewIbanRule(id int64, category Category, direction TransactionDirection, creationDate string, iban string, ) *IbanRule
NewIbanRule instantiates a new IbanRule 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 NewIbanRuleWithDefaults() *IbanRule
NewIbanRuleWithDefaults instantiates a new IbanRule 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 *IbanRule) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
func (o *IbanRule) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IbanRule) SetId(v int64)
SetId sets Id field to given value.
func (o *IbanRule) GetCategory() Category
GetCategory returns the Category field if non-nil, zero value otherwise.
func (o *IbanRule) GetCategoryOk() (*Category, bool)
GetCategoryOk returns a tuple with the Category field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IbanRule) SetCategory(v Category)
SetCategory sets Category field to given value.
func (o *IbanRule) GetDirection() TransactionDirection
GetDirection returns the Direction field if non-nil, zero value otherwise.
func (o *IbanRule) GetDirectionOk() (*TransactionDirection, bool)
GetDirectionOk returns a tuple with the Direction field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IbanRule) SetDirection(v TransactionDirection)
SetDirection sets Direction field to given value.
func (o *IbanRule) GetCreationDate() string
GetCreationDate returns the CreationDate field if non-nil, zero value otherwise.
func (o *IbanRule) GetCreationDateOk() (*string, bool)
GetCreationDateOk returns a tuple with the CreationDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IbanRule) SetCreationDate(v string)
SetCreationDate sets CreationDate field to given value.
func (o *IbanRule) GetIban() string
GetIban returns the Iban field if non-nil, zero value otherwise.
func (o *IbanRule) GetIbanOk() (*string, bool)
GetIbanOk returns a tuple with the Iban field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IbanRule) SetIban(v string)
SetIban sets Iban field to given value.