mx-platform-ruby 0.13.2 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2961,6 +2961,84 @@ module MxPlatformRuby
2961
2961
  return data, status_code, headers
2962
2962
  end
2963
2963
 
2964
+ # List accounts by member
2965
+ # This endpoint returns a list of all the accounts associated with the specified `member`.
2966
+ # @param user_guid [String] The unique id for a `user`.
2967
+ # @param member_guid [String] The unique id for a `member`.
2968
+ # @param [Hash] opts the optional parameters
2969
+ # @option opts [Boolean] :member_is_managed_by_user List only accounts whose member is managed by the user.
2970
+ # @option opts [Integer] :page Specify current page.
2971
+ # @option opts [Integer] :records_per_page Specify records per page.
2972
+ # @return [AccountsResponseBody]
2973
+ def list_member_accounts(user_guid, member_guid, opts = {})
2974
+ data, _status_code, _headers = list_member_accounts_with_http_info(user_guid, member_guid, opts)
2975
+ data
2976
+ end
2977
+
2978
+ # List accounts by member
2979
+ # This endpoint returns a list of all the accounts associated with the specified `member`.
2980
+ # @param user_guid [String] The unique id for a `user`.
2981
+ # @param member_guid [String] The unique id for a `member`.
2982
+ # @param [Hash] opts the optional parameters
2983
+ # @option opts [Boolean] :member_is_managed_by_user List only accounts whose member is managed by the user.
2984
+ # @option opts [Integer] :page Specify current page.
2985
+ # @option opts [Integer] :records_per_page Specify records per page.
2986
+ # @return [Array<(AccountsResponseBody, Integer, Hash)>] AccountsResponseBody data, response status code and response headers
2987
+ def list_member_accounts_with_http_info(user_guid, member_guid, opts = {})
2988
+ if @api_client.config.debugging
2989
+ @api_client.config.logger.debug 'Calling API: MxPlatformApi.list_member_accounts ...'
2990
+ end
2991
+ # verify the required parameter 'user_guid' is set
2992
+ if @api_client.config.client_side_validation && user_guid.nil?
2993
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_member_accounts"
2994
+ end
2995
+ # verify the required parameter 'member_guid' is set
2996
+ if @api_client.config.client_side_validation && member_guid.nil?
2997
+ fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.list_member_accounts"
2998
+ end
2999
+ # resource path
3000
+ local_var_path = '/users/{user_guid}/members/{member_guid}/accounts'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s)).sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s))
3001
+
3002
+ # query parameters
3003
+ query_params = opts[:query_params] || {}
3004
+ query_params[:'member_is_managed_by_user'] = opts[:'member_is_managed_by_user'] if !opts[:'member_is_managed_by_user'].nil?
3005
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
3006
+ query_params[:'records_per_page'] = opts[:'records_per_page'] if !opts[:'records_per_page'].nil?
3007
+
3008
+ # header parameters
3009
+ header_params = opts[:header_params] || {}
3010
+ # HTTP header 'Accept' (if needed)
3011
+ header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json'])
3012
+
3013
+ # form parameters
3014
+ form_params = opts[:form_params] || {}
3015
+
3016
+ # http body (model)
3017
+ post_body = opts[:debug_body]
3018
+
3019
+ # return_type
3020
+ return_type = opts[:debug_return_type] || 'AccountsResponseBody'
3021
+
3022
+ # auth_names
3023
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
3024
+
3025
+ new_options = opts.merge(
3026
+ :operation => :"MxPlatformApi.list_member_accounts",
3027
+ :header_params => header_params,
3028
+ :query_params => query_params,
3029
+ :form_params => form_params,
3030
+ :body => post_body,
3031
+ :auth_names => auth_names,
3032
+ :return_type => return_type
3033
+ )
3034
+
3035
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
3036
+ if @api_client.config.debugging
3037
+ @api_client.config.logger.debug "API called: MxPlatformApi#list_member_accounts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3038
+ end
3039
+ return data, status_code, headers
3040
+ end
3041
+
2964
3042
  # List member challenges
2965
3043
  # Use this endpoint for information on what multi-factor authentication challenges need to be answered in order to aggregate a member. If the aggregation is not challenged, i.e., the member does not have a connection status of `CHALLENGED`, then code `204 No Content` will be returned. If the aggregation has been challenged, i.e., the member does have a connection status of `CHALLENGED`, then code `200 OK` will be returned - along with the corresponding credentials.
2966
3044
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
@@ -3847,6 +3925,7 @@ module MxPlatformRuby
3847
3925
  # This endpoint returns a list of all the accounts associated with the specified `user`.
3848
3926
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
3849
3927
  # @param [Hash] opts the optional parameters
3928
+ # @option opts [Boolean] :member_is_managed_by_user List only accounts whose member is managed by the user.
3850
3929
  # @option opts [Integer] :page Specify current page.
3851
3930
  # @option opts [Integer] :records_per_page Specify records per page.
3852
3931
  # @return [AccountsResponseBody]
@@ -3859,6 +3938,7 @@ module MxPlatformRuby
3859
3938
  # This endpoint returns a list of all the accounts associated with the specified &#x60;user&#x60;.
3860
3939
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
3861
3940
  # @param [Hash] opts the optional parameters
3941
+ # @option opts [Boolean] :member_is_managed_by_user List only accounts whose member is managed by the user.
3862
3942
  # @option opts [Integer] :page Specify current page.
3863
3943
  # @option opts [Integer] :records_per_page Specify records per page.
3864
3944
  # @return [Array<(AccountsResponseBody, Integer, Hash)>] AccountsResponseBody data, response status code and response headers
@@ -3875,6 +3955,7 @@ module MxPlatformRuby
3875
3955
 
3876
3956
  # query parameters
3877
3957
  query_params = opts[:query_params] || {}
3958
+ query_params[:'member_is_managed_by_user'] = opts[:'member_is_managed_by_user'] if !opts[:'member_is_managed_by_user'].nil?
3878
3959
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
3879
3960
  query_params[:'records_per_page'] = opts[:'records_per_page'] if !opts[:'records_per_page'].nil?
3880
3961
 
@@ -3917,6 +3998,9 @@ module MxPlatformRuby
3917
3998
  # @param [Hash] opts the optional parameters
3918
3999
  # @option opts [Integer] :page Specify current page.
3919
4000
  # @option opts [Integer] :records_per_page Specify records per page.
4001
+ # @option opts [String] :id The user &#x60;id&#x60; to search for.
4002
+ # @option opts [String] :email The user &#x60;email&#x60; to search for.
4003
+ # @option opts [Boolean] :is_disabled Search for users that are diabled.
3920
4004
  # @return [UsersResponseBody]
3921
4005
  def list_users(opts = {})
3922
4006
  data, _status_code, _headers = list_users_with_http_info(opts)
@@ -3928,6 +4012,9 @@ module MxPlatformRuby
3928
4012
  # @param [Hash] opts the optional parameters
3929
4013
  # @option opts [Integer] :page Specify current page.
3930
4014
  # @option opts [Integer] :records_per_page Specify records per page.
4015
+ # @option opts [String] :id The user &#x60;id&#x60; to search for.
4016
+ # @option opts [String] :email The user &#x60;email&#x60; to search for.
4017
+ # @option opts [Boolean] :is_disabled Search for users that are diabled.
3931
4018
  # @return [Array<(UsersResponseBody, Integer, Hash)>] UsersResponseBody data, response status code and response headers
3932
4019
  def list_users_with_http_info(opts = {})
3933
4020
  if @api_client.config.debugging
@@ -3940,6 +4027,9 @@ module MxPlatformRuby
3940
4027
  query_params = opts[:query_params] || {}
3941
4028
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
3942
4029
  query_params[:'records_per_page'] = opts[:'records_per_page'] if !opts[:'records_per_page'].nil?
4030
+ query_params[:'id'] = opts[:'id'] if !opts[:'id'].nil?
4031
+ query_params[:'email'] = opts[:'email'] if !opts[:'email'].nil?
4032
+ query_params[:'is_disabled'] = opts[:'is_disabled'] if !opts[:'is_disabled'].nil?
3943
4033
 
3944
4034
  # header parameters
3945
4035
  header_params = opts[:header_params] || {}
@@ -4044,6 +4134,81 @@ module MxPlatformRuby
4044
4134
  return data, status_code, headers
4045
4135
  end
4046
4136
 
4137
+ # Read account by member
4138
+ # This endpoint allows you to read the attributes of an `account` resource.
4139
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
4140
+ # @param member_guid [String] The unique id for a &#x60;member&#x60;.
4141
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
4142
+ # @param [Hash] opts the optional parameters
4143
+ # @return [AccountResponseBody]
4144
+ def read_account_by_member(account_guid, member_guid, user_guid, opts = {})
4145
+ data, _status_code, _headers = read_account_by_member_with_http_info(account_guid, member_guid, user_guid, opts)
4146
+ data
4147
+ end
4148
+
4149
+ # Read account by member
4150
+ # This endpoint allows you to read the attributes of an &#x60;account&#x60; resource.
4151
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
4152
+ # @param member_guid [String] The unique id for a &#x60;member&#x60;.
4153
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
4154
+ # @param [Hash] opts the optional parameters
4155
+ # @return [Array<(AccountResponseBody, Integer, Hash)>] AccountResponseBody data, response status code and response headers
4156
+ def read_account_by_member_with_http_info(account_guid, member_guid, user_guid, opts = {})
4157
+ if @api_client.config.debugging
4158
+ @api_client.config.logger.debug 'Calling API: MxPlatformApi.read_account_by_member ...'
4159
+ end
4160
+ # verify the required parameter 'account_guid' is set
4161
+ if @api_client.config.client_side_validation && account_guid.nil?
4162
+ fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.read_account_by_member"
4163
+ end
4164
+ # verify the required parameter 'member_guid' is set
4165
+ if @api_client.config.client_side_validation && member_guid.nil?
4166
+ fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.read_account_by_member"
4167
+ end
4168
+ # verify the required parameter 'user_guid' is set
4169
+ if @api_client.config.client_side_validation && user_guid.nil?
4170
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.read_account_by_member"
4171
+ end
4172
+ # resource path
4173
+ local_var_path = '/users/{user_guid}/members/{member_guid}/accounts/{account_guid}'.sub('{' + 'account_guid' + '}', CGI.escape(account_guid.to_s)).sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
4174
+
4175
+ # query parameters
4176
+ query_params = opts[:query_params] || {}
4177
+
4178
+ # header parameters
4179
+ header_params = opts[:header_params] || {}
4180
+ # HTTP header 'Accept' (if needed)
4181
+ header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json'])
4182
+
4183
+ # form parameters
4184
+ form_params = opts[:form_params] || {}
4185
+
4186
+ # http body (model)
4187
+ post_body = opts[:debug_body]
4188
+
4189
+ # return_type
4190
+ return_type = opts[:debug_return_type] || 'AccountResponseBody'
4191
+
4192
+ # auth_names
4193
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
4194
+
4195
+ new_options = opts.merge(
4196
+ :operation => :"MxPlatformApi.read_account_by_member",
4197
+ :header_params => header_params,
4198
+ :query_params => query_params,
4199
+ :form_params => form_params,
4200
+ :body => post_body,
4201
+ :auth_names => auth_names,
4202
+ :return_type => return_type
4203
+ )
4204
+
4205
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
4206
+ if @api_client.config.debugging
4207
+ @api_client.config.logger.debug "API called: MxPlatformApi#read_account_by_member\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4208
+ end
4209
+ return data, status_code, headers
4210
+ end
4211
+
4047
4212
  # Read a custom category
4048
4213
  # Use this endpoint to read the attributes of either a default category or a custom category.
4049
4214
  # @param category_guid [String] The unique id for a &#x60;category&#x60;.
@@ -25,6 +25,8 @@ module MxPlatformRuby
25
25
 
26
26
  attr_accessor :member_guid
27
27
 
28
+ attr_accessor :passed_validation
29
+
28
30
  attr_accessor :routing_number
29
31
 
30
32
  attr_accessor :transit_number
@@ -39,6 +41,7 @@ module MxPlatformRuby
39
41
  :'guid' => :'guid',
40
42
  :'institution_number' => :'institution_number',
41
43
  :'member_guid' => :'member_guid',
44
+ :'passed_validation' => :'passed_validation',
42
45
  :'routing_number' => :'routing_number',
43
46
  :'transit_number' => :'transit_number',
44
47
  :'user_guid' => :'user_guid'
@@ -58,6 +61,7 @@ module MxPlatformRuby
58
61
  :'guid' => :'String',
59
62
  :'institution_number' => :'String',
60
63
  :'member_guid' => :'String',
64
+ :'passed_validation' => :'Boolean',
61
65
  :'routing_number' => :'String',
62
66
  :'transit_number' => :'String',
63
67
  :'user_guid' => :'String'
@@ -72,6 +76,7 @@ module MxPlatformRuby
72
76
  :'guid',
73
77
  :'institution_number',
74
78
  :'member_guid',
79
+ :'passed_validation',
75
80
  :'routing_number',
76
81
  :'transit_number',
77
82
  :'user_guid'
@@ -113,6 +118,10 @@ module MxPlatformRuby
113
118
  self.member_guid = attributes[:'member_guid']
114
119
  end
115
120
 
121
+ if attributes.key?(:'passed_validation')
122
+ self.passed_validation = attributes[:'passed_validation']
123
+ end
124
+
116
125
  if attributes.key?(:'routing_number')
117
126
  self.routing_number = attributes[:'routing_number']
118
127
  end
@@ -149,6 +158,7 @@ module MxPlatformRuby
149
158
  guid == o.guid &&
150
159
  institution_number == o.institution_number &&
151
160
  member_guid == o.member_guid &&
161
+ passed_validation == o.passed_validation &&
152
162
  routing_number == o.routing_number &&
153
163
  transit_number == o.transit_number &&
154
164
  user_guid == o.user_guid
@@ -163,7 +173,7 @@ module MxPlatformRuby
163
173
  # Calculates hash code according to all attributes.
164
174
  # @return [Integer] Hash code
165
175
  def hash
166
- [account_guid, account_number, guid, institution_number, member_guid, routing_number, transit_number, user_guid].hash
176
+ [account_guid, account_number, guid, institution_number, member_guid, passed_validation, routing_number, transit_number, user_guid].hash
167
177
  end
168
178
 
169
179
  # Builds the object from hash
@@ -25,8 +25,12 @@ module MxPlatformRuby
25
25
 
26
26
  attr_accessor :email
27
27
 
28
+ attr_accessor :first_name
29
+
28
30
  attr_accessor :guid
29
31
 
32
+ attr_accessor :last_name
33
+
30
34
  attr_accessor :member_guid
31
35
 
32
36
  attr_accessor :owner_name
@@ -47,7 +51,9 @@ module MxPlatformRuby
47
51
  :'city' => :'city',
48
52
  :'country' => :'country',
49
53
  :'email' => :'email',
54
+ :'first_name' => :'first_name',
50
55
  :'guid' => :'guid',
56
+ :'last_name' => :'last_name',
51
57
  :'member_guid' => :'member_guid',
52
58
  :'owner_name' => :'owner_name',
53
59
  :'phone' => :'phone',
@@ -70,7 +76,9 @@ module MxPlatformRuby
70
76
  :'city' => :'String',
71
77
  :'country' => :'String',
72
78
  :'email' => :'String',
79
+ :'first_name' => :'String',
73
80
  :'guid' => :'String',
81
+ :'last_name' => :'String',
74
82
  :'member_guid' => :'String',
75
83
  :'owner_name' => :'String',
76
84
  :'phone' => :'String',
@@ -88,7 +96,9 @@ module MxPlatformRuby
88
96
  :'city',
89
97
  :'country',
90
98
  :'email',
99
+ :'first_name',
91
100
  :'guid',
101
+ :'last_name',
92
102
  :'member_guid',
93
103
  :'owner_name',
94
104
  :'phone',
@@ -133,10 +143,18 @@ module MxPlatformRuby
133
143
  self.email = attributes[:'email']
134
144
  end
135
145
 
146
+ if attributes.key?(:'first_name')
147
+ self.first_name = attributes[:'first_name']
148
+ end
149
+
136
150
  if attributes.key?(:'guid')
137
151
  self.guid = attributes[:'guid']
138
152
  end
139
153
 
154
+ if attributes.key?(:'last_name')
155
+ self.last_name = attributes[:'last_name']
156
+ end
157
+
140
158
  if attributes.key?(:'member_guid')
141
159
  self.member_guid = attributes[:'member_guid']
142
160
  end
@@ -185,7 +203,9 @@ module MxPlatformRuby
185
203
  city == o.city &&
186
204
  country == o.country &&
187
205
  email == o.email &&
206
+ first_name == o.first_name &&
188
207
  guid == o.guid &&
208
+ last_name == o.last_name &&
189
209
  member_guid == o.member_guid &&
190
210
  owner_name == o.owner_name &&
191
211
  phone == o.phone &&
@@ -203,7 +223,7 @@ module MxPlatformRuby
203
223
  # Calculates hash code according to all attributes.
204
224
  # @return [Integer] Hash code
205
225
  def hash
206
- [account_guid, address, city, country, email, guid, member_guid, owner_name, phone, postal_code, state, user_guid].hash
226
+ [account_guid, address, city, country, email, first_name, guid, last_name, member_guid, owner_name, phone, postal_code, state, user_guid].hash
207
227
  end
208
228
 
209
229
  # Builds the object from hash
@@ -23,14 +23,20 @@ module MxPlatformRuby
23
23
 
24
24
  attr_accessor :current_member_guid
25
25
 
26
+ attr_accessor :disable_background_agg
27
+
26
28
  attr_accessor :disable_institution_search
27
29
 
30
+ attr_accessor :include_identity
31
+
28
32
  attr_accessor :include_transactions
29
33
 
30
34
  attr_accessor :is_mobile_webview
31
35
 
32
36
  attr_accessor :mode
33
37
 
38
+ attr_accessor :oauth_referral_source
39
+
34
40
  attr_accessor :ui_message_version
35
41
 
36
42
  attr_accessor :ui_message_webview_url_scheme
@@ -44,10 +50,13 @@ module MxPlatformRuby
44
50
  :'color_scheme' => :'color_scheme',
45
51
  :'current_institution_code' => :'current_institution_code',
46
52
  :'current_member_guid' => :'current_member_guid',
53
+ :'disable_background_agg' => :'disable_background_agg',
47
54
  :'disable_institution_search' => :'disable_institution_search',
55
+ :'include_identity' => :'include_identity',
48
56
  :'include_transactions' => :'include_transactions',
49
57
  :'is_mobile_webview' => :'is_mobile_webview',
50
58
  :'mode' => :'mode',
59
+ :'oauth_referral_source' => :'oauth_referral_source',
51
60
  :'ui_message_version' => :'ui_message_version',
52
61
  :'ui_message_webview_url_scheme' => :'ui_message_webview_url_scheme',
53
62
  :'update_credentials' => :'update_credentials'
@@ -66,10 +75,13 @@ module MxPlatformRuby
66
75
  :'color_scheme' => :'String',
67
76
  :'current_institution_code' => :'String',
68
77
  :'current_member_guid' => :'String',
78
+ :'disable_background_agg' => :'Boolean',
69
79
  :'disable_institution_search' => :'Boolean',
80
+ :'include_identity' => :'Boolean',
70
81
  :'include_transactions' => :'Boolean',
71
82
  :'is_mobile_webview' => :'Boolean',
72
83
  :'mode' => :'String',
84
+ :'oauth_referral_source' => :'String',
73
85
  :'ui_message_version' => :'Integer',
74
86
  :'ui_message_webview_url_scheme' => :'String',
75
87
  :'update_credentials' => :'Boolean'
@@ -113,10 +125,18 @@ module MxPlatformRuby
113
125
  self.current_member_guid = attributes[:'current_member_guid']
114
126
  end
115
127
 
128
+ if attributes.key?(:'disable_background_agg')
129
+ self.disable_background_agg = attributes[:'disable_background_agg']
130
+ end
131
+
116
132
  if attributes.key?(:'disable_institution_search')
117
133
  self.disable_institution_search = attributes[:'disable_institution_search']
118
134
  end
119
135
 
136
+ if attributes.key?(:'include_identity')
137
+ self.include_identity = attributes[:'include_identity']
138
+ end
139
+
120
140
  if attributes.key?(:'include_transactions')
121
141
  self.include_transactions = attributes[:'include_transactions']
122
142
  end
@@ -129,6 +149,10 @@ module MxPlatformRuby
129
149
  self.mode = attributes[:'mode']
130
150
  end
131
151
 
152
+ if attributes.key?(:'oauth_referral_source')
153
+ self.oauth_referral_source = attributes[:'oauth_referral_source']
154
+ end
155
+
132
156
  if attributes.key?(:'ui_message_version')
133
157
  self.ui_message_version = attributes[:'ui_message_version']
134
158
  end
@@ -164,10 +188,13 @@ module MxPlatformRuby
164
188
  color_scheme == o.color_scheme &&
165
189
  current_institution_code == o.current_institution_code &&
166
190
  current_member_guid == o.current_member_guid &&
191
+ disable_background_agg == o.disable_background_agg &&
167
192
  disable_institution_search == o.disable_institution_search &&
193
+ include_identity == o.include_identity &&
168
194
  include_transactions == o.include_transactions &&
169
195
  is_mobile_webview == o.is_mobile_webview &&
170
196
  mode == o.mode &&
197
+ oauth_referral_source == o.oauth_referral_source &&
171
198
  ui_message_version == o.ui_message_version &&
172
199
  ui_message_webview_url_scheme == o.ui_message_webview_url_scheme &&
173
200
  update_credentials == o.update_credentials
@@ -182,7 +209,7 @@ module MxPlatformRuby
182
209
  # Calculates hash code according to all attributes.
183
210
  # @return [Integer] Hash code
184
211
  def hash
185
- [client_redirect_url, color_scheme, current_institution_code, current_member_guid, disable_institution_search, include_transactions, is_mobile_webview, mode, ui_message_version, ui_message_webview_url_scheme, update_credentials].hash
212
+ [client_redirect_url, color_scheme, current_institution_code, 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].hash
186
213
  end
187
214
 
188
215
  # Builds the object from hash
@@ -17,8 +17,6 @@ module MxPlatformRuby
17
17
  class MemberCreateRequest
18
18
  attr_accessor :background_aggregation_is_disabled
19
19
 
20
- attr_accessor :client_redirect_url
21
-
22
20
  attr_accessor :credentials
23
21
 
24
22
  attr_accessor :id
@@ -35,7 +33,6 @@ module MxPlatformRuby
35
33
  def self.attribute_map
36
34
  {
37
35
  :'background_aggregation_is_disabled' => :'background_aggregation_is_disabled',
38
- :'client_redirect_url' => :'client_redirect_url',
39
36
  :'credentials' => :'credentials',
40
37
  :'id' => :'id',
41
38
  :'institution_code' => :'institution_code',
@@ -54,7 +51,6 @@ module MxPlatformRuby
54
51
  def self.openapi_types
55
52
  {
56
53
  :'background_aggregation_is_disabled' => :'Boolean',
57
- :'client_redirect_url' => :'String',
58
54
  :'credentials' => :'Array<CredentialRequest>',
59
55
  :'id' => :'String',
60
56
  :'institution_code' => :'String',
@@ -89,10 +85,6 @@ module MxPlatformRuby
89
85
  self.background_aggregation_is_disabled = attributes[:'background_aggregation_is_disabled']
90
86
  end
91
87
 
92
- if attributes.key?(:'client_redirect_url')
93
- self.client_redirect_url = attributes[:'client_redirect_url']
94
- end
95
-
96
88
  if attributes.key?(:'credentials')
97
89
  if (value = attributes[:'credentials']).is_a?(Array)
98
90
  self.credentials = value
@@ -149,7 +141,6 @@ module MxPlatformRuby
149
141
  return true if self.equal?(o)
150
142
  self.class == o.class &&
151
143
  background_aggregation_is_disabled == o.background_aggregation_is_disabled &&
152
- client_redirect_url == o.client_redirect_url &&
153
144
  credentials == o.credentials &&
154
145
  id == o.id &&
155
146
  institution_code == o.institution_code &&
@@ -167,7 +158,7 @@ module MxPlatformRuby
167
158
  # Calculates hash code according to all attributes.
168
159
  # @return [Integer] Hash code
169
160
  def hash
170
- [background_aggregation_is_disabled, client_redirect_url, credentials, id, institution_code, is_oauth, metadata, skip_aggregation].hash
161
+ [background_aggregation_is_disabled, credentials, id, institution_code, is_oauth, metadata, skip_aggregation].hash
171
162
  end
172
163
 
173
164
  # Builds the object from hash
@@ -15,6 +15,8 @@ require 'time'
15
15
 
16
16
  module MxPlatformRuby
17
17
  class MemberCreateRequestBody
18
+ attr_accessor :client_redirect_url
19
+
18
20
  attr_accessor :member
19
21
 
20
22
  attr_accessor :referral_source
@@ -24,6 +26,7 @@ module MxPlatformRuby
24
26
  # Attribute mapping from ruby-style variable name to JSON key.
25
27
  def self.attribute_map
26
28
  {
29
+ :'client_redirect_url' => :'client_redirect_url',
27
30
  :'member' => :'member',
28
31
  :'referral_source' => :'referral_source',
29
32
  :'ui_message_webview_url_scheme' => :'ui_message_webview_url_scheme'
@@ -38,6 +41,7 @@ module MxPlatformRuby
38
41
  # Attribute type mapping.
39
42
  def self.openapi_types
40
43
  {
44
+ :'client_redirect_url' => :'String',
41
45
  :'member' => :'MemberCreateRequest',
42
46
  :'referral_source' => :'String',
43
47
  :'ui_message_webview_url_scheme' => :'String'
@@ -65,6 +69,10 @@ module MxPlatformRuby
65
69
  h[k.to_sym] = v
66
70
  }
67
71
 
72
+ if attributes.key?(:'client_redirect_url')
73
+ self.client_redirect_url = attributes[:'client_redirect_url']
74
+ end
75
+
68
76
  if attributes.key?(:'member')
69
77
  self.member = attributes[:'member']
70
78
  end
@@ -96,6 +104,7 @@ module MxPlatformRuby
96
104
  def ==(o)
97
105
  return true if self.equal?(o)
98
106
  self.class == o.class &&
107
+ client_redirect_url == o.client_redirect_url &&
99
108
  member == o.member &&
100
109
  referral_source == o.referral_source &&
101
110
  ui_message_webview_url_scheme == o.ui_message_webview_url_scheme
@@ -110,7 +119,7 @@ module MxPlatformRuby
110
119
  # Calculates hash code according to all attributes.
111
120
  # @return [Integer] Hash code
112
121
  def hash
113
- [member, referral_source, ui_message_webview_url_scheme].hash
122
+ [client_redirect_url, member, referral_source, ui_message_webview_url_scheme].hash
114
123
  end
115
124
 
116
125
  # Builds the object from hash
@@ -17,6 +17,8 @@ module MxPlatformRuby
17
17
  class MemberResponse
18
18
  attr_accessor :aggregated_at
19
19
 
20
+ attr_accessor :background_aggregation_is_disabled
21
+
20
22
  attr_accessor :connection_status
21
23
 
22
24
  attr_accessor :guid
@@ -47,6 +49,7 @@ module MxPlatformRuby
47
49
  def self.attribute_map
48
50
  {
49
51
  :'aggregated_at' => :'aggregated_at',
52
+ :'background_aggregation_is_disabled' => :'background_aggregation_is_disabled',
50
53
  :'connection_status' => :'connection_status',
51
54
  :'guid' => :'guid',
52
55
  :'id' => :'id',
@@ -72,6 +75,7 @@ module MxPlatformRuby
72
75
  def self.openapi_types
73
76
  {
74
77
  :'aggregated_at' => :'String',
78
+ :'background_aggregation_is_disabled' => :'Boolean',
75
79
  :'connection_status' => :'String',
76
80
  :'guid' => :'String',
77
81
  :'id' => :'String',
@@ -127,6 +131,10 @@ module MxPlatformRuby
127
131
  self.aggregated_at = attributes[:'aggregated_at']
128
132
  end
129
133
 
134
+ if attributes.key?(:'background_aggregation_is_disabled')
135
+ self.background_aggregation_is_disabled = attributes[:'background_aggregation_is_disabled']
136
+ end
137
+
130
138
  if attributes.key?(:'connection_status')
131
139
  self.connection_status = attributes[:'connection_status']
132
140
  end
@@ -199,6 +207,7 @@ module MxPlatformRuby
199
207
  return true if self.equal?(o)
200
208
  self.class == o.class &&
201
209
  aggregated_at == o.aggregated_at &&
210
+ background_aggregation_is_disabled == o.background_aggregation_is_disabled &&
202
211
  connection_status == o.connection_status &&
203
212
  guid == o.guid &&
204
213
  id == o.id &&
@@ -223,7 +232,7 @@ module MxPlatformRuby
223
232
  # Calculates hash code according to all attributes.
224
233
  # @return [Integer] Hash code
225
234
  def hash
226
- [aggregated_at, connection_status, guid, id, institution_code, is_being_aggregated, is_managed_by_user, is_oauth, metadata, name, oauth_window_uri, successfully_aggregated_at, user_guid, user_id].hash
235
+ [aggregated_at, background_aggregation_is_disabled, connection_status, guid, id, institution_code, is_being_aggregated, is_managed_by_user, is_oauth, metadata, name, oauth_window_uri, successfully_aggregated_at, user_guid, user_id].hash
227
236
  end
228
237
 
229
238
  # Builds the object from hash