Skip to content

Commit 437b1d5

Browse files
author
devexperience
committed
Generated version 1.1.0
This commit was automatically created by a GitHub Action to generate version 1.1.0 of this library.
1 parent fb95bc7 commit 437b1d5

5 files changed

Lines changed: 23 additions & 3 deletions

File tree

docs/MemberResponse.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
| **name** | **String** | | [optional] |
2121
| **oauth_window_uri** | **String** | | [optional] |
2222
| **successfully_aggregated_at** | **String** | | [optional] |
23+
| **use_cases** | **Array<String>** | | [optional] |
2324
| **user_guid** | **String** | | [optional] |
2425
| **user_id** | **String** | | [optional] |
2526

@@ -45,6 +46,7 @@ instance = MxPlatformRuby::MemberResponse.new(
4546
name: Chase Bank,
4647
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,
4748
successfully_aggregated_at: 2016-10-13T17:57:38.000Z,
49+
use_cases: ["PFM","IAV"],
4850
user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54,
4951
user_id: user123
5052
)

lib/mx-platform-ruby/models/member_response.rb

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ class MemberResponse
4747

4848
attr_accessor :successfully_aggregated_at
4949

50+
attr_accessor :use_cases
51+
5052
attr_accessor :user_guid
5153

5254
attr_accessor :user_id
@@ -70,6 +72,7 @@ def self.attribute_map
7072
:'name' => :'name',
7173
:'oauth_window_uri' => :'oauth_window_uri',
7274
:'successfully_aggregated_at' => :'successfully_aggregated_at',
75+
:'use_cases' => :'use_cases',
7376
:'user_guid' => :'user_guid',
7477
:'user_id' => :'user_id'
7578
}
@@ -99,6 +102,7 @@ def self.openapi_types
99102
:'name' => :'String',
100103
:'oauth_window_uri' => :'String',
101104
:'successfully_aggregated_at' => :'String',
105+
:'use_cases' => :'Array<String>',
102106
:'user_guid' => :'String',
103107
:'user_id' => :'String'
104108
}
@@ -122,6 +126,7 @@ def self.openapi_nullable
122126
:'name',
123127
:'oauth_window_uri',
124128
:'successfully_aggregated_at',
129+
:'use_cases',
125130
:'user_guid',
126131
:'user_id'
127132
])
@@ -206,6 +211,12 @@ def initialize(attributes = {})
206211
self.successfully_aggregated_at = attributes[:'successfully_aggregated_at']
207212
end
208213

214+
if attributes.key?(:'use_cases')
215+
if (value = attributes[:'use_cases']).is_a?(Array)
216+
self.use_cases = value
217+
end
218+
end
219+
209220
if attributes.key?(:'user_guid')
210221
self.user_guid = attributes[:'user_guid']
211222
end
@@ -251,6 +262,7 @@ def ==(o)
251262
name == o.name &&
252263
oauth_window_uri == o.oauth_window_uri &&
253264
successfully_aggregated_at == o.successfully_aggregated_at &&
265+
use_cases == o.use_cases &&
254266
user_guid == o.user_guid &&
255267
user_id == o.user_id
256268
end
@@ -264,7 +276,7 @@ def eql?(o)
264276
# Calculates hash code according to all attributes.
265277
# @return [Integer] Hash code
266278
def hash
267-
[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
279+
[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
268280
end
269281

270282
# Builds the object from hash

lib/mx-platform-ruby/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
=end
1212

1313
module MxPlatformRuby
14-
VERSION = '1.0.0'
14+
VERSION = '1.1.0'
1515
end

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ gemHomepage: https://github.com/mxenabled/mx-platform-ruby
66
gemLicense: MIT
77
gemName: mx-platform-ruby
88
gemRequiredRubyVersion: ">= 2.6"
9-
gemVersion: 1.0.0
9+
gemVersion: 1.1.0
1010
library: faraday
1111
moduleName: MxPlatformRuby

spec/models/member_response_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,12 @@
123123
end
124124
end
125125

126+
describe 'test attribute "use_cases"' do
127+
it 'should work' do
128+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
129+
end
130+
end
131+
126132
describe 'test attribute "user_guid"' do
127133
it 'should work' do
128134
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/

0 commit comments

Comments
 (0)