diff --git a/docs/MemberResponse.md b/docs/MemberResponse.md index 076603c..e5e8ca3 100644 --- a/docs/MemberResponse.md +++ b/docs/MemberResponse.md @@ -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] | @@ -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, diff --git a/lib/mx-platform-ruby/models/member_response.rb b/lib/mx-platform-ruby/models/member_response.rb index 1472d8e..4380963 100644 --- a/lib/mx-platform-ruby/models/member_response.rb +++ b/lib/mx-platform-ruby/models/member_response.rb @@ -15,6 +15,8 @@ module MxPlatformRuby class MemberResponse + attr_accessor :actionable_error + attr_accessor :aggregated_at attr_accessor :background_aggregation_is_disabled @@ -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', @@ -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', @@ -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', @@ -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 @@ -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 && @@ -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 diff --git a/lib/mx-platform-ruby/version.rb b/lib/mx-platform-ruby/version.rb index d94491f..d1b3f41 100644 --- a/lib/mx-platform-ruby/version.rb +++ b/lib/mx-platform-ruby/version.rb @@ -11,5 +11,5 @@ =end module MxPlatformRuby - VERSION = '1.1.0' + VERSION = '1.2.0' end diff --git a/openapi/config.yml b/openapi/config.yml index 79867e8..f9ae9c0 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.1.0 +gemVersion: 1.2.0 library: faraday moduleName: MxPlatformRuby diff --git a/spec/models/member_response_spec.rb b/spec/models/member_response_spec.rb index 67986db..55f69ca 100644 --- a/spec/models/member_response_spec.rb +++ b/spec/models/member_response_spec.rb @@ -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/