Skip to content

Commit 410b2c7

Browse files
author
devexperience
committed
Generated version 0.19.1
This commit was automatically created by a GitHub Action to generate version 0.19.1 of this library.
1 parent 541ebd2 commit 410b2c7

9 files changed

Lines changed: 41 additions & 23 deletions

docs/AccountCreateRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
require 'mx-platform-ruby'
3434

3535
instance = MxPlatformRuby::AccountCreateRequest.new(
36-
account_subtype_name: SAVINGS,
36+
account_subtype_name: PERSONAL,
3737
account_type: 2,
3838
apr: 1.0,
3939
apy: 1.0,

docs/AccountCreateRequestBody.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
| Name | Type | Description | Notes |
66
| ---- | ---- | ----------- | ----- |
7-
| **skip_webhook** | **Boolean** | | [optional] |
87
| **account** | [**AccountCreateRequest**](AccountCreateRequest.md) | | [optional] |
98

109
## Example
@@ -13,7 +12,6 @@
1312
require 'mx-platform-ruby'
1413

1514
instance = MxPlatformRuby::AccountCreateRequestBody.new(
16-
skip_webhook: true,
1715
account: null
1816
)
1917
```

docs/AccountResponse.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949
| **payment_due_at** | **String** | | [optional] |
5050
| **payoff_balance** | **Float** | | [optional] |
5151
| **premium_amount** | **Float** | | [optional] |
52+
| **property_type** | **Integer** | | [optional] |
53+
| **property_type_name** | **String** | | [optional] |
5254
| **routing_number** | **String** | | [optional] |
5355
| **started_on** | **String** | | [optional] |
5456
| **subtype** | **String** | | [optional] |
@@ -111,6 +113,8 @@ instance = MxPlatformRuby::AccountResponse.new(
111113
payment_due_at: 2015-10-13T17:57:37.000Z,
112114
payoff_balance: 10.0,
113115
premium_amount: 1.0,
116+
property_type: 1,
117+
property_type_name: VEHICLE,
114118
routing_number: 68899990000000,
115119
started_on: 2015-10-13T17:57:37.000Z,
116120
subtype: NONE,

lib/mx-platform-ruby/models/account_create_request_body.rb

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,11 @@
1515

1616
module MxPlatformRuby
1717
class AccountCreateRequestBody
18-
attr_accessor :skip_webhook
19-
2018
attr_accessor :account
2119

2220
# Attribute mapping from ruby-style variable name to JSON key.
2321
def self.attribute_map
2422
{
25-
:'skip_webhook' => :'skip_webhook',
2623
:'account' => :'account'
2724
}
2825
end
@@ -35,15 +32,13 @@ def self.acceptable_attributes
3532
# Attribute type mapping.
3633
def self.openapi_types
3734
{
38-
:'skip_webhook' => :'Boolean',
3935
:'account' => :'AccountCreateRequest'
4036
}
4137
end
4238

4339
# List of attributes with nullable: true
4440
def self.openapi_nullable
4541
Set.new([
46-
:'skip_webhook',
4742
])
4843
end
4944

@@ -62,10 +57,6 @@ def initialize(attributes = {})
6257
h[k.to_sym] = v
6358
}
6459

65-
if attributes.key?(:'skip_webhook')
66-
self.skip_webhook = attributes[:'skip_webhook']
67-
end
68-
6960
if attributes.key?(:'account')
7061
self.account = attributes[:'account']
7162
end
@@ -89,7 +80,6 @@ def valid?
8980
def ==(o)
9081
return true if self.equal?(o)
9182
self.class == o.class &&
92-
skip_webhook == o.skip_webhook &&
9383
account == o.account
9484
end
9585

@@ -102,7 +92,7 @@ def eql?(o)
10292
# Calculates hash code according to all attributes.
10393
# @return [Integer] Hash code
10494
def hash
105-
[skip_webhook, account].hash
95+
[account].hash
10696
end
10797

10898
# Builds the object from hash

lib/mx-platform-ruby/models/account_response.rb

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ class AccountResponse
105105

106106
attr_accessor :premium_amount
107107

108+
attr_accessor :property_type
109+
110+
attr_accessor :property_type_name
111+
108112
attr_accessor :routing_number
109113

110114
attr_accessor :started_on
@@ -173,6 +177,8 @@ def self.attribute_map
173177
:'payment_due_at' => :'payment_due_at',
174178
:'payoff_balance' => :'payoff_balance',
175179
:'premium_amount' => :'premium_amount',
180+
:'property_type' => :'property_type',
181+
:'property_type_name' => :'property_type_name',
176182
:'routing_number' => :'routing_number',
177183
:'started_on' => :'started_on',
178184
:'subtype' => :'subtype',
@@ -239,6 +245,8 @@ def self.openapi_types
239245
:'payment_due_at' => :'String',
240246
:'payoff_balance' => :'Float',
241247
:'premium_amount' => :'Float',
248+
:'property_type' => :'Integer',
249+
:'property_type_name' => :'String',
242250
:'routing_number' => :'String',
243251
:'started_on' => :'String',
244252
:'subtype' => :'String',
@@ -299,6 +307,8 @@ def self.openapi_nullable
299307
:'payment_due_at',
300308
:'payoff_balance',
301309
:'premium_amount',
310+
:'property_type',
311+
:'property_type_name',
302312
:'routing_number',
303313
:'started_on',
304314
:'subtype',
@@ -507,6 +517,14 @@ def initialize(attributes = {})
507517
self.premium_amount = attributes[:'premium_amount']
508518
end
509519

520+
if attributes.key?(:'property_type')
521+
self.property_type = attributes[:'property_type']
522+
end
523+
524+
if attributes.key?(:'property_type_name')
525+
self.property_type_name = attributes[:'property_type_name']
526+
end
527+
510528
if attributes.key?(:'routing_number')
511529
self.routing_number = attributes[:'routing_number']
512530
end
@@ -611,6 +629,8 @@ def ==(o)
611629
payment_due_at == o.payment_due_at &&
612630
payoff_balance == o.payoff_balance &&
613631
premium_amount == o.premium_amount &&
632+
property_type == o.property_type &&
633+
property_type_name == o.property_type_name &&
614634
routing_number == o.routing_number &&
615635
started_on == o.started_on &&
616636
subtype == o.subtype &&
@@ -632,7 +652,7 @@ def eql?(o)
632652
# Calculates hash code according to all attributes.
633653
# @return [Integer] Hash code
634654
def hash
635-
[account_number, account_ownership, annuity_policy_to_date, annuity_provider, annuity_term_year, apr, apy, available_balance, available_credit, balance, cash_balance, cash_surrender_value, created_at, credit_limit, currency_code, day_payment_is_due, death_benefit, guid, holdings_value, id, imported_at, interest_rate, institution_code, insured_name, is_closed, is_hidden, is_manual, last_payment, last_payment_at, loan_amount, margin_balance, matures_on, member_guid, member_id, member_is_managed_by_user, metadata, minimum_balance, minimum_payment, name, nickname, original_balance, pay_out_amount, payment_due_at, payoff_balance, premium_amount, routing_number, started_on, subtype, today_ugl_amount, today_ugl_percentage, total_account_value, type, updated_at, user_guid, user_id].hash
655+
[account_number, account_ownership, annuity_policy_to_date, annuity_provider, annuity_term_year, apr, apy, available_balance, available_credit, balance, cash_balance, cash_surrender_value, created_at, credit_limit, currency_code, day_payment_is_due, death_benefit, guid, holdings_value, id, imported_at, interest_rate, institution_code, insured_name, is_closed, is_hidden, is_manual, last_payment, last_payment_at, loan_amount, margin_balance, matures_on, member_guid, member_id, member_is_managed_by_user, metadata, minimum_balance, minimum_payment, name, nickname, original_balance, pay_out_amount, payment_due_at, payoff_balance, premium_amount, property_type, property_type_name, routing_number, started_on, subtype, today_ugl_amount, today_ugl_percentage, total_account_value, type, updated_at, user_guid, user_id].hash
636656
end
637657

638658
# Builds the object from hash

lib/mx-platform-ruby/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
=end
1212

1313
module MxPlatformRuby
14-
VERSION = '0.19.0'
14+
VERSION = '0.19.1'
1515
end

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ gemHomepage: https://github.com/mxenabled/mx-platform-ruby
66
gemLicense: MIT
77
gemName: mx-platform-ruby
88
gemRequiredRubyVersion: ">= 2.6"
9-
gemVersion: 0.19.0
9+
gemVersion: 0.19.1
1010
library: faraday
1111
moduleName: MxPlatformRuby

spec/models/account_create_request_body_spec.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@
2525
expect(instance).to be_instance_of(MxPlatformRuby::AccountCreateRequestBody)
2626
end
2727
end
28-
describe 'test attribute "skip_webhook"' do
29-
it 'should work' do
30-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31-
end
32-
end
33-
3428
describe 'test attribute "account"' do
3529
it 'should work' do
3630
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers

spec/models/account_response_spec.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,18 @@
295295
end
296296
end
297297

298+
describe 'test attribute "property_type"' do
299+
it 'should work' do
300+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
301+
end
302+
end
303+
304+
describe 'test attribute "property_type_name"' do
305+
it 'should work' do
306+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
307+
end
308+
end
309+
298310
describe 'test attribute "routing_number"' do
299311
it 'should work' do
300312
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers

0 commit comments

Comments
 (0)