diff --git a/docs/MemberResponse.md b/docs/MemberResponse.md index 1879f14..076603c 100644 --- a/docs/MemberResponse.md +++ b/docs/MemberResponse.md @@ -20,6 +20,7 @@ | **name** | **String** | | [optional] | | **oauth_window_uri** | **String** | | [optional] | | **successfully_aggregated_at** | **String** | | [optional] | +| **use_cases** | **Array<String>** | | [optional] | | **user_guid** | **String** | | [optional] | | **user_id** | **String** | | [optional] | @@ -45,6 +46,7 @@ instance = MxPlatformRuby::MemberResponse.new( name: Chase Bank, oauth_window_uri: https://mxbank.mx.com/oauth/authorize?client_id=b8OikQ4Ep3NuSUrQ13DdvFuwpNx-qqoAsJDVAQCyLkQ&redirect_uri=https%3A%2F%2Fint-app.moneydesktop.com%2Foauth%2Fredirect_from&response_type=code&scope=openid&state=d745bd4ee6f0f9c184757f574bcc2df2, successfully_aggregated_at: 2016-10-13T17:57:38.000Z, + use_cases: ["PFM","IAV"], user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54, user_id: user123 ) diff --git a/lib/mx-platform-ruby/models/member_response.rb b/lib/mx-platform-ruby/models/member_response.rb index 89dcf1f..1472d8e 100644 --- a/lib/mx-platform-ruby/models/member_response.rb +++ b/lib/mx-platform-ruby/models/member_response.rb @@ -47,6 +47,8 @@ class MemberResponse attr_accessor :successfully_aggregated_at + attr_accessor :use_cases + attr_accessor :user_guid attr_accessor :user_id @@ -70,6 +72,7 @@ def self.attribute_map :'name' => :'name', :'oauth_window_uri' => :'oauth_window_uri', :'successfully_aggregated_at' => :'successfully_aggregated_at', + :'use_cases' => :'use_cases', :'user_guid' => :'user_guid', :'user_id' => :'user_id' } @@ -99,6 +102,7 @@ def self.openapi_types :'name' => :'String', :'oauth_window_uri' => :'String', :'successfully_aggregated_at' => :'String', + :'use_cases' => :'Array', :'user_guid' => :'String', :'user_id' => :'String' } @@ -122,6 +126,7 @@ def self.openapi_nullable :'name', :'oauth_window_uri', :'successfully_aggregated_at', + :'use_cases', :'user_guid', :'user_id' ]) @@ -206,6 +211,12 @@ def initialize(attributes = {}) self.successfully_aggregated_at = attributes[:'successfully_aggregated_at'] end + if attributes.key?(:'use_cases') + if (value = attributes[:'use_cases']).is_a?(Array) + self.use_cases = value + end + end + if attributes.key?(:'user_guid') self.user_guid = attributes[:'user_guid'] end @@ -251,6 +262,7 @@ def ==(o) name == o.name && oauth_window_uri == o.oauth_window_uri && successfully_aggregated_at == o.successfully_aggregated_at && + use_cases == o.use_cases && user_guid == o.user_guid && user_id == o.user_id end @@ -264,7 +276,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [aggregated_at, background_aggregation_is_disabled, connection_status, guid, id, institution_code, is_being_aggregated, is_managed_by_user, is_manual, is_oauth, metadata, most_recent_job_detail_code, most_recent_job_detail_text, name, oauth_window_uri, successfully_aggregated_at, user_guid, user_id].hash + [aggregated_at, background_aggregation_is_disabled, connection_status, guid, id, institution_code, is_being_aggregated, is_managed_by_user, is_manual, is_oauth, metadata, most_recent_job_detail_code, most_recent_job_detail_text, name, oauth_window_uri, successfully_aggregated_at, use_cases, 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 d4d0920..d94491f 100644 --- a/lib/mx-platform-ruby/version.rb +++ b/lib/mx-platform-ruby/version.rb @@ -11,5 +11,5 @@ =end module MxPlatformRuby - VERSION = '1.0.0' + VERSION = '1.1.0' end diff --git a/openapi/config.yml b/openapi/config.yml index e221d99..79867e8 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: 1.0.0 +gemVersion: 1.1.0 library: faraday moduleName: MxPlatformRuby diff --git a/spec/models/member_response_spec.rb b/spec/models/member_response_spec.rb index 388d894..67986db 100644 --- a/spec/models/member_response_spec.rb +++ b/spec/models/member_response_spec.rb @@ -123,6 +123,12 @@ end end + describe 'test attribute "use_cases"' do + it 'should work' do + # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ + end + end + describe 'test attribute "user_guid"' do it 'should work' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/