diff --git a/docs/AccountResponse.md b/docs/AccountResponse.md index f61787d..4e52a95 100644 --- a/docs/AccountResponse.md +++ b/docs/AccountResponse.md @@ -52,6 +52,7 @@ | **property_type** | **String** | | [optional] | | **routing_number** | **String** | | [optional] | | **started_on** | **String** | | [optional] | +| **statement_balance** | **Float** | | [optional] | | **subtype** | **String** | | [optional] | | **today_ugl_amount** | **Float** | | [optional] | | **today_ugl_percentage** | **Float** | | [optional] | @@ -116,6 +117,7 @@ instance = MxPlatformRuby::AccountResponse.new( property_type: VEHICLE, routing_number: 68899990000000, started_on: 2015-10-13T17:57:37.000Z, + statement_balance: 100.1, subtype: NONE, today_ugl_amount: 1000.5, today_ugl_percentage: 6.9, diff --git a/lib/mx-platform-ruby/models/account_response.rb b/lib/mx-platform-ruby/models/account_response.rb index 7598d74..7e8bdcc 100644 --- a/lib/mx-platform-ruby/models/account_response.rb +++ b/lib/mx-platform-ruby/models/account_response.rb @@ -111,6 +111,8 @@ class AccountResponse attr_accessor :started_on + attr_accessor :statement_balance + attr_accessor :subtype attr_accessor :today_ugl_amount @@ -180,6 +182,7 @@ def self.attribute_map :'property_type' => :'property_type', :'routing_number' => :'routing_number', :'started_on' => :'started_on', + :'statement_balance' => :'statement_balance', :'subtype' => :'subtype', :'today_ugl_amount' => :'today_ugl_amount', :'today_ugl_percentage' => :'today_ugl_percentage', @@ -248,6 +251,7 @@ def self.openapi_types :'property_type' => :'String', :'routing_number' => :'String', :'started_on' => :'String', + :'statement_balance' => :'Float', :'subtype' => :'String', :'today_ugl_amount' => :'Float', :'today_ugl_percentage' => :'Float', @@ -310,6 +314,7 @@ def self.openapi_nullable :'property_type', :'routing_number', :'started_on', + :'statement_balance', :'subtype', :'today_ugl_amount', :'today_ugl_percentage', @@ -529,6 +534,10 @@ def initialize(attributes = {}) self.started_on = attributes[:'started_on'] end + if attributes.key?(:'statement_balance') + self.statement_balance = attributes[:'statement_balance'] + end + if attributes.key?(:'subtype') self.subtype = attributes[:'subtype'] end @@ -634,6 +643,7 @@ def ==(o) property_type == o.property_type && routing_number == o.routing_number && started_on == o.started_on && + statement_balance == o.statement_balance && subtype == o.subtype && today_ugl_amount == o.today_ugl_amount && today_ugl_percentage == o.today_ugl_percentage && @@ -654,7 +664,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [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].hash + [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].hash end # Builds the object from hash diff --git a/lib/mx-platform-ruby/version.rb b/lib/mx-platform-ruby/version.rb index 2bebfc9..d9efc16 100644 --- a/lib/mx-platform-ruby/version.rb +++ b/lib/mx-platform-ruby/version.rb @@ -11,5 +11,5 @@ =end module MxPlatformRuby - VERSION = '0.38.0' + VERSION = '0.39.0' end diff --git a/openapi/config.yml b/openapi/config.yml index f9a3623..d8e1f1d 100644 --- a/openapi/config.yml +++ b/openapi/config.yml @@ -6,6 +6,6 @@ gemHomepage: https://github.com/mxenabled/mx-platform-ruby gemLicense: MIT gemName: mx-platform-ruby gemRequiredRubyVersion: ">= 2.6" -gemVersion: 0.38.0 +gemVersion: 0.39.0 library: faraday moduleName: MxPlatformRuby diff --git a/spec/models/account_response_spec.rb b/spec/models/account_response_spec.rb index 63f00bd..966acec 100644 --- a/spec/models/account_response_spec.rb +++ b/spec/models/account_response_spec.rb @@ -313,6 +313,12 @@ end end + describe 'test attribute "statement_balance"' do + it 'should work' do + # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ + end + end + describe 'test attribute "subtype"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/