Skip to content

Commit

Permalink
Generated version 1.1.0
Browse files Browse the repository at this point in the history
This commit was automatically created by a GitHub Action to generate version 1.1.0 of this library.
  • Loading branch information
devexperience committed Nov 27, 2024
1 parent fb95bc7 commit 437b1d5
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 3 deletions.
2 changes: 2 additions & 0 deletions docs/MemberResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -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] |

Expand All @@ -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
)
Expand Down
14 changes: 13 additions & 1 deletion lib/mx-platform-ruby/models/member_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ class MemberResponse

attr_accessor :successfully_aggregated_at

attr_accessor :use_cases

attr_accessor :user_guid

attr_accessor :user_id
Expand All @@ -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'
}
Expand Down Expand Up @@ -99,6 +102,7 @@ def self.openapi_types
:'name' => :'String',
:'oauth_window_uri' => :'String',
:'successfully_aggregated_at' => :'String',
:'use_cases' => :'Array<String>',
:'user_guid' => :'String',
:'user_id' => :'String'
}
Expand All @@ -122,6 +126,7 @@ def self.openapi_nullable
:'name',
:'oauth_window_uri',
:'successfully_aggregated_at',
:'use_cases',
:'user_guid',
:'user_id'
])
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
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 = '1.0.0'
VERSION = '1.1.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: 1.0.0
gemVersion: 1.1.0
library: faraday
moduleName: MxPlatformRuby
6 changes: 6 additions & 0 deletions spec/models/member_response_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 437b1d5

Please sign in to comment.