Skip to content

Commit

Permalink
Merge pull request #76 from mxenabled/openapi-generator-0.14.1
Browse files Browse the repository at this point in the history
Generated version 0.14.1
  • Loading branch information
nickitza authored Mar 21, 2023
2 parents b2d981a + 9cf6535 commit 079bc8e
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
2 changes: 2 additions & 0 deletions docs/WidgetRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
| **current_institution_code** | **String** | | [optional] |
| **current_institution_guid** | **String** | | [optional] |
| **current_member_guid** | **String** | | [optional] |
| **disable_background_agg** | **Boolean** | | [optional] |
| **disable_institution_search** | **Boolean** | | [optional] |
| **include_identity** | **Boolean** | | [optional] |
| **include_transactions** | **Boolean** | | [optional] |
Expand All @@ -31,6 +32,7 @@ instance = MxPlatformRuby::WidgetRequest.new(
current_institution_code: chase,
current_institution_guid: INS-f1a3285d-e855-b61f-6aa7-8ae575c0e0e9,
current_member_guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
disable_background_agg: false,
disable_institution_search: false,
include_identity: false,
include_transactions: true,
Expand Down
11 changes: 10 additions & 1 deletion lib/mx-platform-ruby/models/widget_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ class WidgetRequest

attr_accessor :current_member_guid

attr_accessor :disable_background_agg

attr_accessor :disable_institution_search

attr_accessor :include_identity
Expand Down Expand Up @@ -53,6 +55,7 @@ def self.attribute_map
:'current_institution_code' => :'current_institution_code',
:'current_institution_guid' => :'current_institution_guid',
:'current_member_guid' => :'current_member_guid',
:'disable_background_agg' => :'disable_background_agg',
:'disable_institution_search' => :'disable_institution_search',
:'include_identity' => :'include_identity',
:'include_transactions' => :'include_transactions',
Expand All @@ -79,6 +82,7 @@ def self.openapi_types
:'current_institution_code' => :'String',
:'current_institution_guid' => :'String',
:'current_member_guid' => :'String',
:'disable_background_agg' => :'Boolean',
:'disable_institution_search' => :'Boolean',
:'include_identity' => :'Boolean',
:'include_transactions' => :'Boolean',
Expand Down Expand Up @@ -133,6 +137,10 @@ def initialize(attributes = {})
self.current_member_guid = attributes[:'current_member_guid']
end

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

if attributes.key?(:'disable_institution_search')
self.disable_institution_search = attributes[:'disable_institution_search']
end
Expand Down Expand Up @@ -202,6 +210,7 @@ def ==(o)
current_institution_code == o.current_institution_code &&
current_institution_guid == o.current_institution_guid &&
current_member_guid == o.current_member_guid &&
disable_background_agg == o.disable_background_agg &&
disable_institution_search == o.disable_institution_search &&
include_identity == o.include_identity &&
include_transactions == o.include_transactions &&
Expand All @@ -223,7 +232,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
[client_redirect_url, color_scheme, current_institution_code, current_institution_guid, current_member_guid, disable_institution_search, include_identity, include_transactions, is_mobile_webview, mode, oauth_referral_source, ui_message_version, ui_message_webview_url_scheme, update_credentials, widget_type].hash
[client_redirect_url, color_scheme, current_institution_code, current_institution_guid, current_member_guid, disable_background_agg, disable_institution_search, include_identity, include_transactions, is_mobile_webview, mode, oauth_referral_source, ui_message_version, ui_message_webview_url_scheme, update_credentials, widget_type].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.14.0'
VERSION = '0.14.1'
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.14.0
gemVersion: 0.14.1
library: faraday
moduleName: MxPlatformRuby
6 changes: 6 additions & 0 deletions spec/models/widget_request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@
end
end

describe 'test attribute "disable_background_agg"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end

describe 'test attribute "disable_institution_search"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
Expand Down

0 comments on commit 079bc8e

Please sign in to comment.