Skip to content

Commit

Permalink
Generated version 0.39.0
Browse files Browse the repository at this point in the history
This pull request was automatically generated by a GitHub Action to generate version 0.39.0 of this library.
  • Loading branch information
devexperience committed Aug 13, 2024
1 parent 968e5b3 commit 5d01aee
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 3 deletions.
2 changes: 2 additions & 0 deletions docs/AccountResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -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] |
Expand Down Expand Up @@ -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,
Expand Down
12 changes: 11 additions & 1 deletion lib/mx-platform-ruby/models/account_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ class AccountResponse

attr_accessor :started_on

attr_accessor :statement_balance

attr_accessor :subtype

attr_accessor :today_ugl_amount
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -310,6 +314,7 @@ def self.openapi_nullable
:'property_type',
:'routing_number',
:'started_on',
:'statement_balance',
:'subtype',
:'today_ugl_amount',
:'today_ugl_percentage',
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 &&
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/mx-platform-ruby/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
=end

module MxPlatformRuby
VERSION = '0.38.0'
VERSION = '0.39.0'
end
2 changes: 1 addition & 1 deletion openapi/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions spec/models/account_response_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 5d01aee

Please sign in to comment.