Skip to content

Commit

Permalink
Generated version 1.2.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.2.0 of this library.
  • Loading branch information
devexperience committed Jan 31, 2025
1 parent 437b1d5 commit dce0524
Show file tree
Hide file tree
Showing 5 changed files with 21 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 @@ -4,6 +4,7 @@

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **actionable_error** | **String** | | [optional] |
| **aggregated_at** | **String** | | [optional] |
| **background_aggregation_is_disabled** | **Boolean** | | [optional] |
| **connection_status** | **String** | | [optional] |
Expand All @@ -30,6 +31,7 @@
require 'mx-platform-ruby'

instance = MxPlatformRuby::MemberResponse.new(
actionable_error: {\"error_type\": \"MEMBER\", \"error_code\": 1000, \"error_message\": \"This Member has no eligible checking, savings, or money market accounts.\", \"user_message\": \"We could not find any accounts eligible for transfers. Please link a checking or savings account.\", \"locale\": \"en\"},
aggregated_at: 2016-10-13T18:07:57.000Z,
background_aggregation_is_disabled: false,
connection_status: CONNECTED,
Expand Down
12 changes: 11 additions & 1 deletion lib/mx-platform-ruby/models/member_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

module MxPlatformRuby
class MemberResponse
attr_accessor :actionable_error

attr_accessor :aggregated_at

attr_accessor :background_aggregation_is_disabled
Expand Down Expand Up @@ -56,6 +58,7 @@ class MemberResponse
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'actionable_error' => :'actionable_error',
:'aggregated_at' => :'aggregated_at',
:'background_aggregation_is_disabled' => :'background_aggregation_is_disabled',
:'connection_status' => :'connection_status',
Expand Down Expand Up @@ -86,6 +89,7 @@ def self.acceptable_attributes
# Attribute type mapping.
def self.openapi_types
{
:'actionable_error' => :'String',
:'aggregated_at' => :'String',
:'background_aggregation_is_disabled' => :'Boolean',
:'connection_status' => :'String',
Expand All @@ -111,6 +115,7 @@ def self.openapi_types
# List of attributes with nullable: true
def self.openapi_nullable
Set.new([
:'actionable_error',
:'aggregated_at',
:'connection_status',
:'guid',
Expand Down Expand Up @@ -147,6 +152,10 @@ def initialize(attributes = {})
h[k.to_sym] = v
}

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

if attributes.key?(:'aggregated_at')
self.aggregated_at = attributes[:'aggregated_at']
end
Expand Down Expand Up @@ -246,6 +255,7 @@ def valid?
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
actionable_error == o.actionable_error &&
aggregated_at == o.aggregated_at &&
background_aggregation_is_disabled == o.background_aggregation_is_disabled &&
connection_status == o.connection_status &&
Expand Down Expand Up @@ -276,7 +286,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, use_cases, user_guid, user_id].hash
[actionable_error, 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.1.0'
VERSION = '1.2.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.1.0
gemVersion: 1.2.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 @@ -27,6 +27,12 @@
end
end

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

describe 'test attribute "aggregated_at"' 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 dce0524

Please sign in to comment.