Skip to content

Commit

Permalink
Merge pull request #88 from mxenabled/openapi-generator-0.30.0
Browse files Browse the repository at this point in the history
Generated version 0.30.0
  • Loading branch information
nickitza authored Jun 20, 2024
2 parents f85c3f3 + 48bf5b2 commit 0e08ef8
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 3 deletions.
2 changes: 2 additions & 0 deletions docs/MemberStatusResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
| **connection_status** | **String** | | [optional] |
| **guid** | **String** | | [optional] |
| **has_processed_accounts** | **Boolean** | | [optional] |
| **has_processed_account_numbers** | **Boolean** | | [optional] |
| **has_processed_transactions** | **Boolean** | | [optional] |
| **is_authenticated** | **Boolean** | | [optional] |
| **is_being_aggregated** | **Boolean** | | [optional] |
Expand All @@ -25,6 +26,7 @@ instance = MxPlatformRuby::MemberStatusResponse.new(
connection_status: CONNECTED,
guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
has_processed_accounts: true,
has_processed_account_numbers: true,
has_processed_transactions: false,
is_authenticated: false,
is_being_aggregated: false,
Expand Down
12 changes: 11 additions & 1 deletion lib/mx-platform-ruby/models/member_status_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ class MemberStatusResponse

attr_accessor :has_processed_accounts

attr_accessor :has_processed_account_numbers

attr_accessor :has_processed_transactions

attr_accessor :is_authenticated
Expand All @@ -41,6 +43,7 @@ def self.attribute_map
:'connection_status' => :'connection_status',
:'guid' => :'guid',
:'has_processed_accounts' => :'has_processed_accounts',
:'has_processed_account_numbers' => :'has_processed_account_numbers',
:'has_processed_transactions' => :'has_processed_transactions',
:'is_authenticated' => :'is_authenticated',
:'is_being_aggregated' => :'is_being_aggregated',
Expand All @@ -61,6 +64,7 @@ def self.openapi_types
:'connection_status' => :'String',
:'guid' => :'String',
:'has_processed_accounts' => :'Boolean',
:'has_processed_account_numbers' => :'Boolean',
:'has_processed_transactions' => :'Boolean',
:'is_authenticated' => :'Boolean',
:'is_being_aggregated' => :'Boolean',
Expand All @@ -75,6 +79,7 @@ def self.openapi_nullable
:'connection_status',
:'guid',
:'has_processed_accounts',
:'has_processed_account_numbers',
:'has_processed_transactions',
:'is_authenticated',
:'is_being_aggregated',
Expand Down Expand Up @@ -119,6 +124,10 @@ def initialize(attributes = {})
self.has_processed_accounts = attributes[:'has_processed_accounts']
end

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

if attributes.key?(:'has_processed_transactions')
self.has_processed_transactions = attributes[:'has_processed_transactions']
end
Expand Down Expand Up @@ -161,6 +170,7 @@ def ==(o)
connection_status == o.connection_status &&
guid == o.guid &&
has_processed_accounts == o.has_processed_accounts &&
has_processed_account_numbers == o.has_processed_account_numbers &&
has_processed_transactions == o.has_processed_transactions &&
is_authenticated == o.is_authenticated &&
is_being_aggregated == o.is_being_aggregated &&
Expand All @@ -176,7 +186,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
[aggregated_at, challenges, connection_status, guid, has_processed_accounts, has_processed_transactions, is_authenticated, is_being_aggregated, successfully_aggregated_at].hash
[aggregated_at, challenges, connection_status, guid, has_processed_accounts, has_processed_account_numbers, has_processed_transactions, is_authenticated, is_being_aggregated, successfully_aggregated_at].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.29.0'
VERSION = '0.30.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.29.0
gemVersion: 0.30.0
library: faraday
moduleName: MxPlatformRuby
6 changes: 6 additions & 0 deletions spec/models/member_status_response_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@
end
end

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

describe 'test attribute "has_processed_transactions"' 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 0e08ef8

Please sign in to comment.