From 9b5524dac43e4dbf957e5170b6e734ad20a530a6 Mon Sep 17 00:00:00 2001 From: devexperience Date: Thu, 11 Jul 2024 17:42:42 +0000 Subject: [PATCH] Generated version 0.33.0 This commit was automatically created by a GitHub Action to generate version 0.33.0 of this library. --- docs/AccountResponse.md | 2 ++ lib/mx-platform-ruby/models/account_response.rb | 12 +++++++++++- lib/mx-platform-ruby/version.rb | 2 +- openapi/config.yml | 2 +- spec/models/account_response_spec.rb | 6 ++++++ 5 files changed, 21 insertions(+), 3 deletions(-) diff --git a/docs/AccountResponse.md b/docs/AccountResponse.md index 1b6a437..f61787d 100644 --- a/docs/AccountResponse.md +++ b/docs/AccountResponse.md @@ -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] | @@ -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, diff --git a/lib/mx-platform-ruby/models/account_response.rb b/lib/mx-platform-ruby/models/account_response.rb index 41d1247..7598d74 100644 --- a/lib/mx-platform-ruby/models/account_response.rb +++ b/lib/mx-platform-ruby/models/account_response.rb @@ -119,6 +119,8 @@ class AccountResponse attr_accessor :total_account_value + attr_accessor :total_account_value_ugl + attr_accessor :type attr_accessor :updated_at @@ -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', @@ -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', @@ -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', @@ -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 @@ -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 && @@ -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 diff --git a/lib/mx-platform-ruby/version.rb b/lib/mx-platform-ruby/version.rb index b566c58..092289d 100644 --- a/lib/mx-platform-ruby/version.rb +++ b/lib/mx-platform-ruby/version.rb @@ -11,5 +11,5 @@ =end module MxPlatformRuby - VERSION = '0.32.0' + VERSION = '0.33.0' end diff --git a/openapi/config.yml b/openapi/config.yml index d092d88..e1ed06e 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.32.0 +gemVersion: 0.33.0 library: faraday moduleName: MxPlatformRuby diff --git a/spec/models/account_response_spec.rb b/spec/models/account_response_spec.rb index ca05566..63f00bd 100644 --- a/spec/models/account_response_spec.rb +++ b/spec/models/account_response_spec.rb @@ -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/