@@ -73,6 +73,7 @@ class AccountResponse(BaseModel):
7373 property_type : Optional [StrictStr ] = None
7474 routing_number : Optional [StrictStr ] = None
7575 started_on : Optional [StrictStr ] = None
76+ statement_balance : Optional [Union [StrictFloat , StrictInt ]] = None
7677 subtype : Optional [StrictStr ] = None
7778 today_ugl_amount : Optional [Union [StrictFloat , StrictInt ]] = None
7879 today_ugl_percentage : Optional [Union [StrictFloat , StrictInt ]] = None
@@ -82,7 +83,7 @@ class AccountResponse(BaseModel):
8283 updated_at : Optional [StrictStr ] = None
8384 user_guid : Optional [StrictStr ] = None
8485 user_id : Optional [StrictStr ] = None
85- __properties = ["account_number" , "account_ownership" , "annuity_policy_to_date" , "annuity_provider" , "annuity_term_year" , "apr" , "apy" , "available_balance" , "available_credit" , "balance" , "cash_balance" , "cash_surrender_value" , "created_at" , "credit_limit" , "currency_code" , "day_payment_is_due" , "death_benefit" , "guid" , "holdings_value" , "id" , "imported_at" , "institution_code" , "insured_name" , "interest_rate" , "is_closed" , "is_hidden" , "is_manual" , "last_payment" , "last_payment_at" , "loan_amount" , "margin_balance" , "matures_on" , "member_guid" , "member_id" , "member_is_managed_by_user" , "metadata" , "minimum_balance" , "minimum_payment" , "name" , "nickname" , "original_balance" , "pay_out_amount" , "payment_due_at" , "payoff_balance" , "premium_amount" , "property_type" , "routing_number" , "started_on" , "subtype" , "today_ugl_amount" , "today_ugl_percentage" , "total_account_value" , "total_account_value_ugl" , "type" , "updated_at" , "user_guid" , "user_id" ]
86+ __properties = ["account_number" , "account_ownership" , "annuity_policy_to_date" , "annuity_provider" , "annuity_term_year" , "apr" , "apy" , "available_balance" , "available_credit" , "balance" , "cash_balance" , "cash_surrender_value" , "created_at" , "credit_limit" , "currency_code" , "day_payment_is_due" , "death_benefit" , "guid" , "holdings_value" , "id" , "imported_at" , "institution_code" , "insured_name" , "interest_rate" , "is_closed" , "is_hidden" , "is_manual" , "last_payment" , "last_payment_at" , "loan_amount" , "margin_balance" , "matures_on" , "member_guid" , "member_id" , "member_is_managed_by_user" , "metadata" , "minimum_balance" , "minimum_payment" , "name" , "nickname" , "original_balance" , "pay_out_amount" , "payment_due_at" , "payoff_balance" , "premium_amount" , "property_type" , "routing_number" , "started_on" , "statement_balance" , " subtype" , "today_ugl_amount" , "today_ugl_percentage" , "total_account_value" , "total_account_value_ugl" , "type" , "updated_at" , "user_guid" , "user_id" ]
8687
8788 class Config :
8889 """Pydantic configuration"""
@@ -343,6 +344,11 @@ def to_dict(self):
343344 if self .started_on is None and "started_on" in self .__fields_set__ :
344345 _dict ['started_on' ] = None
345346
347+ # set to None if statement_balance (nullable) is None
348+ # and __fields_set__ contains the field
349+ if self .statement_balance is None and "statement_balance" in self .__fields_set__ :
350+ _dict ['statement_balance' ] = None
351+
346352 # set to None if subtype (nullable) is None
347353 # and __fields_set__ contains the field
348354 if self .subtype is None and "subtype" in self .__fields_set__ :
@@ -448,6 +454,7 @@ def from_dict(cls, obj: dict) -> AccountResponse:
448454 "property_type" : obj .get ("property_type" ),
449455 "routing_number" : obj .get ("routing_number" ),
450456 "started_on" : obj .get ("started_on" ),
457+ "statement_balance" : obj .get ("statement_balance" ),
451458 "subtype" : obj .get ("subtype" ),
452459 "today_ugl_amount" : obj .get ("today_ugl_amount" ),
453460 "today_ugl_percentage" : obj .get ("today_ugl_percentage" ),
0 commit comments