Skip to content

Commit a1d5ef7

Browse files
author
devexperience
committed
Generated version 1.6.0
This commit was automatically created by a GitHub Action to generate version 1.6.0 of this library.
1 parent 2fcbd8e commit a1d5ef7

File tree

7 files changed

+25
-11
lines changed

7 files changed

+25
-11
lines changed

docs/AccountResponse.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@
108108
| **payment_due_at_set_by** | **Integer** | | [optional] |
109109
| **payoff_balance** | **Float** | | [optional] |
110110
| **payoff_balance_set_by** | **Integer** | | [optional] |
111-
| **premium_amount** | **String** | | [optional] |
112-
| **property_type** | **Integer** | | [optional] |
111+
| **premium_amount** | **Float** | | [optional] |
112+
| **property_type** | **String** | | [optional] |
113113
| **routing_number** | **String** | | [optional] |
114114
| **started_on** | **String** | | [optional] |
115115
| **started_on_set_by** | **Integer** | | [optional] |
@@ -239,7 +239,7 @@ instance = MxPlatformRuby::AccountResponse.new(
239239
payoff_balance: 10.0,
240240
payoff_balance_set_by: 1,
241241
premium_amount: 3900,
242-
property_type: 1,
242+
property_type: VEHICLE,
243243
routing_number: 68899990000000,
244244
started_on: 2015-10-13T17:57:37.000Z,
245245
started_on_set_by: 1,

docs/MxPlatformApi.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ All URIs are relative to *https://api.mx.com*
115115

116116
## aggregate_member
117117

118-
> <MemberResponseBody> aggregate_member(member_guid, user_guid)
118+
> <MemberResponseBody> aggregate_member(member_guid, user_guid, opts)
119119
120120
Aggregate member
121121

@@ -136,10 +136,14 @@ end
136136
api_instance = MxPlatformRuby::MxPlatformApi.new
137137
member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique id for a `member`.
138138
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
139+
opts = {
140+
include_holdings: false, # Boolean | When set to `false`, the aggregation will not gather holdings data. Defaults to `true`.
141+
include_transactions: false # Boolean | When set to `false`, the aggregation will not gather transactions data. Defaults to `true`.
142+
}
139143

140144
begin
141145
# Aggregate member
142-
result = api_instance.aggregate_member(member_guid, user_guid)
146+
result = api_instance.aggregate_member(member_guid, user_guid, opts)
143147
p result
144148
rescue MxPlatformRuby::ApiError => e
145149
puts "Error when calling MxPlatformApi->aggregate_member: #{e}"
@@ -150,12 +154,12 @@ end
150154

151155
This returns an Array which contains the response data, status code and headers.
152156

153-
> <Array(<MemberResponseBody>, Integer, Hash)> aggregate_member_with_http_info(member_guid, user_guid)
157+
> <Array(<MemberResponseBody>, Integer, Hash)> aggregate_member_with_http_info(member_guid, user_guid, opts)
154158
155159
```ruby
156160
begin
157161
# Aggregate member
158-
data, status_code, headers = api_instance.aggregate_member_with_http_info(member_guid, user_guid)
162+
data, status_code, headers = api_instance.aggregate_member_with_http_info(member_guid, user_guid, opts)
159163
p status_code # => 2xx
160164
p headers # => { ... }
161165
p data # => <MemberResponseBody>
@@ -170,6 +174,8 @@ end
170174
| ---- | ---- | ----------- | ----- |
171175
| **member_guid** | **String** | The unique id for a &#x60;member&#x60;. | |
172176
| **user_guid** | **String** | The unique id for a &#x60;user&#x60;. | |
177+
| **include_holdings** | **Boolean** | When set to &#x60;false&#x60;, the aggregation will not gather holdings data. Defaults to &#x60;true&#x60;. | [optional] |
178+
| **include_transactions** | **Boolean** | When set to &#x60;false&#x60;, the aggregation will not gather transactions data. Defaults to &#x60;true&#x60;. | [optional] |
173179

174180
### Return type
175181

lib/mx-platform-ruby/api/mx_platform_api.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ def initialize(api_client = ApiClient.default)
2424
# @param member_guid [String] The unique id for a &#x60;member&#x60;.
2525
# @param user_guid [String] The unique id for a &#x60;user&#x60;.
2626
# @param [Hash] opts the optional parameters
27+
# @option opts [Boolean] :include_holdings When set to &#x60;false&#x60;, the aggregation will not gather holdings data. Defaults to &#x60;true&#x60;.
28+
# @option opts [Boolean] :include_transactions When set to &#x60;false&#x60;, the aggregation will not gather transactions data. Defaults to &#x60;true&#x60;.
2729
# @return [MemberResponseBody]
2830
def aggregate_member(member_guid, user_guid, opts = {})
2931
data, _status_code, _headers = aggregate_member_with_http_info(member_guid, user_guid, opts)
@@ -35,6 +37,8 @@ def aggregate_member(member_guid, user_guid, opts = {})
3537
# @param member_guid [String] The unique id for a &#x60;member&#x60;.
3638
# @param user_guid [String] The unique id for a &#x60;user&#x60;.
3739
# @param [Hash] opts the optional parameters
40+
# @option opts [Boolean] :include_holdings When set to &#x60;false&#x60;, the aggregation will not gather holdings data. Defaults to &#x60;true&#x60;.
41+
# @option opts [Boolean] :include_transactions When set to &#x60;false&#x60;, the aggregation will not gather transactions data. Defaults to &#x60;true&#x60;.
3842
# @return [Array<(MemberResponseBody, Integer, Hash)>] MemberResponseBody data, response status code and response headers
3943
def aggregate_member_with_http_info(member_guid, user_guid, opts = {})
4044
if @api_client.config.debugging
@@ -53,6 +57,8 @@ def aggregate_member_with_http_info(member_guid, user_guid, opts = {})
5357

5458
# query parameters
5559
query_params = opts[:query_params] || {}
60+
query_params[:'include_holdings'] = opts[:'include_holdings'] if !opts[:'include_holdings'].nil?
61+
query_params[:'include_transactions'] = opts[:'include_transactions'] if !opts[:'include_transactions'].nil?
5662

5763
# header parameters
5864
header_params = opts[:header_params] || {}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,8 +502,8 @@ def self.openapi_types
502502
:'payment_due_at_set_by' => :'Integer',
503503
:'payoff_balance' => :'Float',
504504
:'payoff_balance_set_by' => :'Integer',
505-
:'premium_amount' => :'String',
506-
:'property_type' => :'Integer',
505+
:'premium_amount' => :'Float',
506+
:'property_type' => :'String',
507507
:'routing_number' => :'String',
508508
:'started_on' => :'String',
509509
:'started_on_set_by' => :'Integer',

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 = '1.5.0'
14+
VERSION = '1.6.0'
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: 1.5.0
9+
gemVersion: 1.6.0
1010
library: faraday
1111
moduleName: MxPlatformRuby

spec/api/mx_platform_api_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
# @param member_guid The unique id for a &#x60;member&#x60;.
3939
# @param user_guid The unique id for a &#x60;user&#x60;.
4040
# @param [Hash] opts the optional parameters
41+
# @option opts [Boolean] :include_holdings When set to &#x60;false&#x60;, the aggregation will not gather holdings data. Defaults to &#x60;true&#x60;.
42+
# @option opts [Boolean] :include_transactions When set to &#x60;false&#x60;, the aggregation will not gather transactions data. Defaults to &#x60;true&#x60;.
4143
# @return [MemberResponseBody]
4244
describe 'aggregate_member test' do
4345
it 'should work' do

0 commit comments

Comments
 (0)