Skip to content

Commit

Permalink
Generated version 0.45.0
Browse files Browse the repository at this point in the history
This commit was automatically created by a GitHub Action to generate version 0.45.0 of this library.
  • Loading branch information
devexperience committed Oct 25, 2024
1 parent 0004837 commit 01d6b80
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 4 deletions.
2 changes: 2 additions & 0 deletions docs/AccountResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
| **currency_code** | **String** | | [optional] |
| **day_payment_is_due** | **Integer** | | [optional] |
| **death_benefit** | **Integer** | | [optional] |
| **federal_insurance_status** | **String** | | [optional] |
| **guid** | **String** | | [optional] |
| **holdings_value** | **Float** | | [optional] |
| **id** | **String** | | [optional] |
Expand Down Expand Up @@ -86,6 +87,7 @@ instance = MxPlatformRuby::AccountResponse.new(
currency_code: USD,
day_payment_is_due: 20,
death_benefit: 1000,
federal_insurance_status: INSURED,
guid: ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1,
holdings_value: 1000.0,
id: 1040434698,
Expand Down
2 changes: 2 additions & 0 deletions docs/InstitutionResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
| **supports_account_statement** | **Boolean** | | [optional] |
| **supports_account_verification** | **Boolean** | | [optional] |
| **supports_oauth** | **Boolean** | | [optional] |
| **supports_tax_document** | **Boolean** | | [optional] |
| **supports_transaction_history** | **Boolean** | | [optional] |
| **trouble_signing_in_url** | **String** | | [optional] |
| **url** | **String** | | [optional] |
Expand All @@ -36,6 +37,7 @@ instance = MxPlatformRuby::InstitutionResponse.new(
supports_account_statement: true,
supports_account_verification: true,
supports_oauth: true,
supports_tax_document: true,
supports_transaction_history: true,
trouble_signing_in_url: https://example.url.chase.com/login-trouble,
url: https://www.chase.com
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 @@ -49,6 +49,8 @@ class AccountResponse

attr_accessor :death_benefit

attr_accessor :federal_insurance_status

attr_accessor :guid

attr_accessor :holdings_value
Expand Down Expand Up @@ -151,6 +153,7 @@ def self.attribute_map
:'currency_code' => :'currency_code',
:'day_payment_is_due' => :'day_payment_is_due',
:'death_benefit' => :'death_benefit',
:'federal_insurance_status' => :'federal_insurance_status',
:'guid' => :'guid',
:'holdings_value' => :'holdings_value',
:'id' => :'id',
Expand Down Expand Up @@ -220,6 +223,7 @@ def self.openapi_types
:'currency_code' => :'String',
:'day_payment_is_due' => :'Integer',
:'death_benefit' => :'Integer',
:'federal_insurance_status' => :'String',
:'guid' => :'String',
:'holdings_value' => :'Float',
:'id' => :'String',
Expand Down Expand Up @@ -283,6 +287,7 @@ def self.openapi_nullable
:'currency_code',
:'day_payment_is_due',
:'death_benefit',
:'federal_insurance_status',
:'guid',
:'holdings_value',
:'id',
Expand Down Expand Up @@ -410,6 +415,10 @@ def initialize(attributes = {})
self.death_benefit = attributes[:'death_benefit']
end

if attributes.key?(:'federal_insurance_status')
self.federal_insurance_status = attributes[:'federal_insurance_status']
end

if attributes.key?(:'guid')
self.guid = attributes[:'guid']
end
Expand Down Expand Up @@ -612,6 +621,7 @@ def ==(o)
currency_code == o.currency_code &&
day_payment_is_due == o.day_payment_is_due &&
death_benefit == o.death_benefit &&
federal_insurance_status == o.federal_insurance_status &&
guid == o.guid &&
holdings_value == o.holdings_value &&
id == o.id &&
Expand Down Expand Up @@ -664,7 +674,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, statement_balance, 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, federal_insurance_status, 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
12 changes: 11 additions & 1 deletion lib/mx-platform-ruby/models/institution_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ class InstitutionResponse

attr_accessor :supports_oauth

attr_accessor :supports_tax_document

attr_accessor :supports_transaction_history

attr_accessor :trouble_signing_in_url
Expand All @@ -57,6 +59,7 @@ def self.attribute_map
:'supports_account_statement' => :'supports_account_statement',
:'supports_account_verification' => :'supports_account_verification',
:'supports_oauth' => :'supports_oauth',
:'supports_tax_document' => :'supports_tax_document',
:'supports_transaction_history' => :'supports_transaction_history',
:'trouble_signing_in_url' => :'trouble_signing_in_url',
:'url' => :'url'
Expand All @@ -82,6 +85,7 @@ def self.openapi_types
:'supports_account_statement' => :'Boolean',
:'supports_account_verification' => :'Boolean',
:'supports_oauth' => :'Boolean',
:'supports_tax_document' => :'Boolean',
:'supports_transaction_history' => :'Boolean',
:'trouble_signing_in_url' => :'String',
:'url' => :'String'
Expand All @@ -102,6 +106,7 @@ def self.openapi_nullable
:'supports_account_statement',
:'supports_account_verification',
:'supports_oauth',
:'supports_tax_document',
:'supports_transaction_history',
:'trouble_signing_in_url',
:'url'
Expand Down Expand Up @@ -167,6 +172,10 @@ def initialize(attributes = {})
self.supports_oauth = attributes[:'supports_oauth']
end

if attributes.key?(:'supports_tax_document')
self.supports_tax_document = attributes[:'supports_tax_document']
end

if attributes.key?(:'supports_transaction_history')
self.supports_transaction_history = attributes[:'supports_transaction_history']
end
Expand Down Expand Up @@ -211,6 +220,7 @@ def ==(o)
supports_account_statement == o.supports_account_statement &&
supports_account_verification == o.supports_account_verification &&
supports_oauth == o.supports_oauth &&
supports_tax_document == o.supports_tax_document &&
supports_transaction_history == o.supports_transaction_history &&
trouble_signing_in_url == o.trouble_signing_in_url &&
url == o.url
Expand All @@ -225,7 +235,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
[code, forgot_password_url, forgot_username_url, instructional_text, medium_logo_url, name, small_logo_url, supports_account_identification, supports_account_statement, supports_account_verification, supports_oauth, supports_transaction_history, trouble_signing_in_url, url].hash
[code, forgot_password_url, forgot_username_url, instructional_text, medium_logo_url, name, small_logo_url, supports_account_identification, supports_account_statement, supports_account_verification, supports_oauth, supports_tax_document, supports_transaction_history, trouble_signing_in_url, url].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.44.1'
VERSION = '0.45.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.44.1
gemVersion: 0.45.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 @@ -129,6 +129,12 @@
end
end

describe 'test attribute "federal_insurance_status"' do
it 'should work' do
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
end
end

describe 'test attribute "guid"' do
it 'should work' do
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
Expand Down
6 changes: 6 additions & 0 deletions spec/models/institution_response_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@
end
end

describe 'test attribute "supports_tax_document"' do
it 'should work' do
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
end
end

describe 'test attribute "supports_transaction_history"' 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 01d6b80

Please sign in to comment.