Skip to content

Commit f6f8431

Browse files
authored
Merge pull request #94 from mxenabled/openapi-generator-0.39.0
Generated version 0.39.0
2 parents 968e5b3 + 5d01aee commit f6f8431

5 files changed

Lines changed: 21 additions & 3 deletions

File tree

docs/AccountResponse.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
| **property_type** | **String** | | [optional] |
5353
| **routing_number** | **String** | | [optional] |
5454
| **started_on** | **String** | | [optional] |
55+
| **statement_balance** | **Float** | | [optional] |
5556
| **subtype** | **String** | | [optional] |
5657
| **today_ugl_amount** | **Float** | | [optional] |
5758
| **today_ugl_percentage** | **Float** | | [optional] |
@@ -116,6 +117,7 @@ instance = MxPlatformRuby::AccountResponse.new(
116117
property_type: VEHICLE,
117118
routing_number: 68899990000000,
118119
started_on: 2015-10-13T17:57:37.000Z,
120+
statement_balance: 100.1,
119121
subtype: NONE,
120122
today_ugl_amount: 1000.5,
121123
today_ugl_percentage: 6.9,

lib/mx-platform-ruby/models/account_response.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ class AccountResponse
111111

112112
attr_accessor :started_on
113113

114+
attr_accessor :statement_balance
115+
114116
attr_accessor :subtype
115117

116118
attr_accessor :today_ugl_amount
@@ -180,6 +182,7 @@ def self.attribute_map
180182
:'property_type' => :'property_type',
181183
:'routing_number' => :'routing_number',
182184
:'started_on' => :'started_on',
185+
:'statement_balance' => :'statement_balance',
183186
:'subtype' => :'subtype',
184187
:'today_ugl_amount' => :'today_ugl_amount',
185188
:'today_ugl_percentage' => :'today_ugl_percentage',
@@ -248,6 +251,7 @@ def self.openapi_types
248251
:'property_type' => :'String',
249252
:'routing_number' => :'String',
250253
:'started_on' => :'String',
254+
:'statement_balance' => :'Float',
251255
:'subtype' => :'String',
252256
:'today_ugl_amount' => :'Float',
253257
:'today_ugl_percentage' => :'Float',
@@ -310,6 +314,7 @@ def self.openapi_nullable
310314
:'property_type',
311315
:'routing_number',
312316
:'started_on',
317+
:'statement_balance',
313318
:'subtype',
314319
:'today_ugl_amount',
315320
:'today_ugl_percentage',
@@ -529,6 +534,10 @@ def initialize(attributes = {})
529534
self.started_on = attributes[:'started_on']
530535
end
531536

537+
if attributes.key?(:'statement_balance')
538+
self.statement_balance = attributes[:'statement_balance']
539+
end
540+
532541
if attributes.key?(:'subtype')
533542
self.subtype = attributes[:'subtype']
534543
end
@@ -634,6 +643,7 @@ def ==(o)
634643
property_type == o.property_type &&
635644
routing_number == o.routing_number &&
636645
started_on == o.started_on &&
646+
statement_balance == o.statement_balance &&
637647
subtype == o.subtype &&
638648
today_ugl_amount == o.today_ugl_amount &&
639649
today_ugl_percentage == o.today_ugl_percentage &&
@@ -654,7 +664,7 @@ def eql?(o)
654664
# Calculates hash code according to all attributes.
655665
# @return [Integer] Hash code
656666
def hash
657-
[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
667+
[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
658668
end
659669

660670
# Builds the object from hash

lib/mx-platform-ruby/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
=end
1212

1313
module MxPlatformRuby
14-
VERSION = '0.38.0'
14+
VERSION = '0.39.0'
1515
end

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ gemHomepage: https://github.com/mxenabled/mx-platform-ruby
66
gemLicense: MIT
77
gemName: mx-platform-ruby
88
gemRequiredRubyVersion: ">= 2.6"
9-
gemVersion: 0.38.0
9+
gemVersion: 0.39.0
1010
library: faraday
1111
moduleName: MxPlatformRuby

spec/models/account_response_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,12 @@
313313
end
314314
end
315315

316+
describe 'test attribute "statement_balance"' do
317+
it 'should work' do
318+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
319+
end
320+
end
321+
316322
describe 'test attribute "subtype"' do
317323
it 'should work' do
318324
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/

0 commit comments

Comments
 (0)