Skip to content

Commit

Permalink
Generated version 0.33.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.33.0 of this library.
  • Loading branch information
devexperience committed Jul 11, 2024
1 parent 5041c14 commit 9b5524d
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 @@ -56,6 +56,7 @@
| **today_ugl_amount** | **Float** | | [optional] |
| **today_ugl_percentage** | **Float** | | [optional] |
| **total_account_value** | **Float** | | [optional] |
| **total_account_value_ugl** | **Float** | | [optional] |
| **type** | **String** | | [optional] |
| **updated_at** | **String** | | [optional] |
| **user_guid** | **String** | | [optional] |
Expand Down Expand Up @@ -119,6 +120,7 @@ instance = MxPlatformRuby::AccountResponse.new(
today_ugl_amount: 1000.5,
today_ugl_percentage: 6.9,
total_account_value: 1.0,
total_account_value_ugl: 1.1,
type: SAVINGS,
updated_at: 2016-10-13T18:08:00.000Z,
user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54,
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 @@ -119,6 +119,8 @@ class AccountResponse

attr_accessor :total_account_value

attr_accessor :total_account_value_ugl

attr_accessor :type

attr_accessor :updated_at
Expand Down Expand Up @@ -182,6 +184,7 @@ def self.attribute_map
:'today_ugl_amount' => :'today_ugl_amount',
:'today_ugl_percentage' => :'today_ugl_percentage',
:'total_account_value' => :'total_account_value',
:'total_account_value_ugl' => :'total_account_value_ugl',
:'type' => :'type',
:'updated_at' => :'updated_at',
:'user_guid' => :'user_guid',
Expand Down Expand Up @@ -249,6 +252,7 @@ def self.openapi_types
:'today_ugl_amount' => :'Float',
:'today_ugl_percentage' => :'Float',
:'total_account_value' => :'Float',
:'total_account_value_ugl' => :'Float',
:'type' => :'String',
:'updated_at' => :'String',
:'user_guid' => :'String',
Expand Down Expand Up @@ -310,6 +314,7 @@ def self.openapi_nullable
:'today_ugl_amount',
:'today_ugl_percentage',
:'total_account_value',
:'total_account_value_ugl',
:'type',
:'updated_at',
:'user_guid',
Expand Down Expand Up @@ -540,6 +545,10 @@ def initialize(attributes = {})
self.total_account_value = attributes[:'total_account_value']
end

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

if attributes.key?(:'type')
self.type = attributes[:'type']
end
Expand Down Expand Up @@ -629,6 +638,7 @@ def ==(o)
today_ugl_amount == o.today_ugl_amount &&
today_ugl_percentage == o.today_ugl_percentage &&
total_account_value == o.total_account_value &&
total_account_value_ugl == o.total_account_value_ugl &&
type == o.type &&
updated_at == o.updated_at &&
user_guid == o.user_guid &&
Expand All @@ -644,7 +654,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, 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, 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.32.0'
VERSION = '0.33.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.32.0
gemVersion: 0.33.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 @@ -337,6 +337,12 @@
end
end

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

describe 'test attribute "type"' 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 9b5524d

Please sign in to comment.