ynab 1.16.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ynab.rb +3 -1
- data/lib/ynab/api/accounts_api.rb +1 -1
- data/lib/ynab/api/budgets_api.rb +1 -1
- data/lib/ynab/api/categories_api.rb +1 -1
- data/lib/ynab/api/deprecated_api.rb +1 -1
- data/lib/ynab/api/months_api.rb +1 -1
- data/lib/ynab/api/payee_locations_api.rb +1 -1
- data/lib/ynab/api/payees_api.rb +1 -1
- data/lib/ynab/api/scheduled_transactions_api.rb +1 -1
- data/lib/ynab/api/transactions_api.rb +53 -1
- data/lib/ynab/api/user_api.rb +1 -1
- data/lib/ynab/api_client.rb +1 -1
- data/lib/ynab/configuration.rb +1 -1
- data/lib/ynab/models/account.rb +3 -2
- data/lib/ynab/models/account_response.rb +3 -2
- data/lib/ynab/models/account_response_data.rb +3 -2
- data/lib/ynab/models/accounts_response.rb +3 -2
- data/lib/ynab/models/accounts_response_data.rb +3 -2
- data/lib/ynab/models/budget_detail.rb +3 -2
- data/lib/ynab/models/budget_detail_response.rb +3 -2
- data/lib/ynab/models/budget_detail_response_data.rb +3 -2
- data/lib/ynab/models/budget_settings.rb +3 -2
- data/lib/ynab/models/budget_settings_response.rb +3 -2
- data/lib/ynab/models/budget_settings_response_data.rb +3 -2
- data/lib/ynab/models/budget_summary.rb +3 -2
- data/lib/ynab/models/budget_summary_response.rb +3 -2
- data/lib/ynab/models/budget_summary_response_data.rb +3 -2
- data/lib/ynab/models/bulk_response.rb +3 -2
- data/lib/ynab/models/bulk_response_data.rb +3 -2
- data/lib/ynab/models/bulk_response_data_bulk.rb +3 -2
- data/lib/ynab/models/bulk_transactions.rb +3 -2
- data/lib/ynab/models/categories_response.rb +3 -2
- data/lib/ynab/models/categories_response_data.rb +3 -2
- data/lib/ynab/models/category.rb +3 -2
- data/lib/ynab/models/category_group.rb +3 -2
- data/lib/ynab/models/category_group_with_categories.rb +3 -2
- data/lib/ynab/models/category_response.rb +3 -2
- data/lib/ynab/models/category_response_data.rb +3 -2
- data/lib/ynab/models/currency_format.rb +3 -2
- data/lib/ynab/models/date_format.rb +3 -2
- data/lib/ynab/models/error_detail.rb +3 -2
- data/lib/ynab/models/error_response.rb +3 -2
- data/lib/ynab/models/hybrid_transaction.rb +3 -2
- data/lib/ynab/models/hybrid_transactions_response.rb +3 -2
- data/lib/ynab/models/hybrid_transactions_response_data.rb +3 -2
- data/lib/ynab/models/month_detail.rb +3 -2
- data/lib/ynab/models/month_detail_response.rb +3 -2
- data/lib/ynab/models/month_detail_response_data.rb +3 -2
- data/lib/ynab/models/month_summaries_response.rb +3 -2
- data/lib/ynab/models/month_summaries_response_data.rb +3 -2
- data/lib/ynab/models/month_summary.rb +3 -2
- data/lib/ynab/models/payee.rb +3 -2
- data/lib/ynab/models/payee_location.rb +3 -2
- data/lib/ynab/models/payee_location_response.rb +3 -2
- data/lib/ynab/models/payee_location_response_data.rb +3 -2
- data/lib/ynab/models/payee_locations_response.rb +3 -2
- data/lib/ynab/models/payee_locations_response_data.rb +3 -2
- data/lib/ynab/models/payee_response.rb +3 -2
- data/lib/ynab/models/payee_response_data.rb +3 -2
- data/lib/ynab/models/payees_response.rb +3 -2
- data/lib/ynab/models/payees_response_data.rb +3 -2
- data/lib/ynab/models/save_category_response.rb +3 -2
- data/lib/ynab/models/save_category_response_data.rb +3 -2
- data/lib/ynab/models/save_month_category.rb +3 -2
- data/lib/ynab/models/save_month_category_wrapper.rb +3 -2
- data/lib/ynab/models/save_sub_transaction.rb +4 -3
- data/lib/ynab/models/save_transaction.rb +3 -2
- data/lib/ynab/models/save_transaction_wrapper.rb +3 -2
- data/lib/ynab/models/save_transactions_response.rb +3 -2
- data/lib/ynab/models/save_transactions_response_data.rb +3 -2
- data/lib/ynab/models/save_transactions_wrapper.rb +3 -2
- data/lib/ynab/models/scheduled_sub_transaction.rb +3 -2
- data/lib/ynab/models/scheduled_transaction_detail.rb +3 -2
- data/lib/ynab/models/scheduled_transaction_response.rb +3 -2
- data/lib/ynab/models/scheduled_transaction_response_data.rb +3 -2
- data/lib/ynab/models/scheduled_transaction_summary.rb +3 -2
- data/lib/ynab/models/scheduled_transactions_response.rb +3 -2
- data/lib/ynab/models/scheduled_transactions_response_data.rb +3 -2
- data/lib/ynab/models/sub_transaction.rb +3 -2
- data/lib/ynab/models/transaction_detail.rb +3 -2
- data/lib/ynab/models/transaction_response.rb +3 -2
- data/lib/ynab/models/transaction_response_data.rb +3 -2
- data/lib/ynab/models/transaction_summary.rb +3 -2
- data/lib/ynab/models/transactions_import_response.rb +189 -0
- data/lib/ynab/models/transactions_import_response_data.rb +192 -0
- data/lib/ynab/models/transactions_response.rb +3 -2
- data/lib/ynab/models/transactions_response_data.rb +3 -2
- data/lib/ynab/models/update_transaction.rb +3 -2
- data/lib/ynab/models/update_transactions_wrapper.rb +3 -2
- data/lib/ynab/models/user.rb +3 -2
- data/lib/ynab/models/user_response.rb +3 -2
- data/lib/ynab/models/user_response_data.rb +3 -2
- data/lib/ynab/version.rb +1 -1
- metadata +4 -2
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.13
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -88,7 +88,7 @@ module YNAB
|
|
88
88
|
return nil unless attributes.is_a?(Hash)
|
89
89
|
self.class.swagger_types.each_pair do |key, type|
|
90
90
|
if type =~ /\AArray<(.*)>/i
|
91
|
-
# check to ensure the input is an array given that the
|
91
|
+
# check to ensure the input is an array given that the attribute
|
92
92
|
# is documented as an array but the input is not
|
93
93
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
94
94
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -184,5 +184,6 @@ module YNAB
|
|
184
184
|
value
|
185
185
|
end
|
186
186
|
end
|
187
|
+
|
187
188
|
end
|
188
189
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.13
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -103,7 +103,7 @@ module YNAB
|
|
103
103
|
return nil unless attributes.is_a?(Hash)
|
104
104
|
self.class.swagger_types.each_pair do |key, type|
|
105
105
|
if type =~ /\AArray<(.*)>/i
|
106
|
-
# check to ensure the input is an array given that the
|
106
|
+
# check to ensure the input is an array given that the attribute
|
107
107
|
# is documented as an array but the input is not
|
108
108
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
109
109
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -199,5 +199,6 @@ module YNAB
|
|
199
199
|
value
|
200
200
|
end
|
201
201
|
end
|
202
|
+
|
202
203
|
end
|
203
204
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.13
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -89,7 +89,7 @@ module YNAB
|
|
89
89
|
return nil unless attributes.is_a?(Hash)
|
90
90
|
self.class.swagger_types.each_pair do |key, type|
|
91
91
|
if type =~ /\AArray<(.*)>/i
|
92
|
-
# check to ensure the input is an array given that the
|
92
|
+
# check to ensure the input is an array given that the attribute
|
93
93
|
# is documented as an array but the input is not
|
94
94
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
95
95
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -185,5 +185,6 @@ module YNAB
|
|
185
185
|
value
|
186
186
|
end
|
187
187
|
end
|
188
|
+
|
188
189
|
end
|
189
190
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.13
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -88,7 +88,7 @@ module YNAB
|
|
88
88
|
return nil unless attributes.is_a?(Hash)
|
89
89
|
self.class.swagger_types.each_pair do |key, type|
|
90
90
|
if type =~ /\AArray<(.*)>/i
|
91
|
-
# check to ensure the input is an array given that the
|
91
|
+
# check to ensure the input is an array given that the attribute
|
92
92
|
# is documented as an array but the input is not
|
93
93
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
94
94
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -184,5 +184,6 @@ module YNAB
|
|
184
184
|
value
|
185
185
|
end
|
186
186
|
end
|
187
|
+
|
187
188
|
end
|
188
189
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.13
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -17,7 +17,7 @@ module YNAB
|
|
17
17
|
# The subtransaction amount in milliunits format.
|
18
18
|
attr_accessor :amount
|
19
19
|
|
20
|
-
# The payee for the subtransaction.
|
20
|
+
# The payee for the subtransaction.
|
21
21
|
attr_accessor :payee_id
|
22
22
|
|
23
23
|
# The payee name. If a `payee_name` value is provided and `payee_id` has a null value, the `payee_name` value will be used to resolve the payee by either (1) a matching payee rename rule (only if import_id is also specified on parent transaction) or (2) a payee with the same name or (3) creation of a new payee.
|
@@ -158,7 +158,7 @@ module YNAB
|
|
158
158
|
return nil unless attributes.is_a?(Hash)
|
159
159
|
self.class.swagger_types.each_pair do |key, type|
|
160
160
|
if type =~ /\AArray<(.*)>/i
|
161
|
-
# check to ensure the input is an array given that the
|
161
|
+
# check to ensure the input is an array given that the attribute
|
162
162
|
# is documented as an array but the input is not
|
163
163
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
164
164
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -254,5 +254,6 @@ module YNAB
|
|
254
254
|
value
|
255
255
|
end
|
256
256
|
end
|
257
|
+
|
257
258
|
end
|
258
259
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.13
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -300,7 +300,7 @@ module YNAB
|
|
300
300
|
return nil unless attributes.is_a?(Hash)
|
301
301
|
self.class.swagger_types.each_pair do |key, type|
|
302
302
|
if type =~ /\AArray<(.*)>/i
|
303
|
-
# check to ensure the input is an array given that the
|
303
|
+
# check to ensure the input is an array given that the attribute
|
304
304
|
# is documented as an array but the input is not
|
305
305
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
306
306
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -396,5 +396,6 @@ module YNAB
|
|
396
396
|
value
|
397
397
|
end
|
398
398
|
end
|
399
|
+
|
399
400
|
end
|
400
401
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.13
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -88,7 +88,7 @@ module YNAB
|
|
88
88
|
return nil unless attributes.is_a?(Hash)
|
89
89
|
self.class.swagger_types.each_pair do |key, type|
|
90
90
|
if type =~ /\AArray<(.*)>/i
|
91
|
-
# check to ensure the input is an array given that the
|
91
|
+
# check to ensure the input is an array given that the attribute
|
92
92
|
# is documented as an array but the input is not
|
93
93
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
94
94
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -184,5 +184,6 @@ module YNAB
|
|
184
184
|
value
|
185
185
|
end
|
186
186
|
end
|
187
|
+
|
187
188
|
end
|
188
189
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.13
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -88,7 +88,7 @@ module YNAB
|
|
88
88
|
return nil unless attributes.is_a?(Hash)
|
89
89
|
self.class.swagger_types.each_pair do |key, type|
|
90
90
|
if type =~ /\AArray<(.*)>/i
|
91
|
-
# check to ensure the input is an array given that the
|
91
|
+
# check to ensure the input is an array given that the attribute
|
92
92
|
# is documented as an array but the input is not
|
93
93
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
94
94
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -184,5 +184,6 @@ module YNAB
|
|
184
184
|
value
|
185
185
|
end
|
186
186
|
end
|
187
|
+
|
187
188
|
end
|
188
189
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.13
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -140,7 +140,7 @@ module YNAB
|
|
140
140
|
return nil unless attributes.is_a?(Hash)
|
141
141
|
self.class.swagger_types.each_pair do |key, type|
|
142
142
|
if type =~ /\AArray<(.*)>/i
|
143
|
-
# check to ensure the input is an array given that the
|
143
|
+
# check to ensure the input is an array given that the attribute
|
144
144
|
# is documented as an array but the input is not
|
145
145
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
146
146
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -236,5 +236,6 @@ module YNAB
|
|
236
236
|
value
|
237
237
|
end
|
238
238
|
end
|
239
|
+
|
239
240
|
end
|
240
241
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.13
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -94,7 +94,7 @@ module YNAB
|
|
94
94
|
return nil unless attributes.is_a?(Hash)
|
95
95
|
self.class.swagger_types.each_pair do |key, type|
|
96
96
|
if type =~ /\AArray<(.*)>/i
|
97
|
-
# check to ensure the input is an array given that the
|
97
|
+
# check to ensure the input is an array given that the attribute
|
98
98
|
# is documented as an array but the input is not
|
99
99
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
100
100
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -190,5 +190,6 @@ module YNAB
|
|
190
190
|
value
|
191
191
|
end
|
192
192
|
end
|
193
|
+
|
193
194
|
end
|
194
195
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.13
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -169,7 +169,7 @@ module YNAB
|
|
169
169
|
return nil unless attributes.is_a?(Hash)
|
170
170
|
self.class.swagger_types.each_pair do |key, type|
|
171
171
|
if type =~ /\AArray<(.*)>/i
|
172
|
-
# check to ensure the input is an array given that the
|
172
|
+
# check to ensure the input is an array given that the attribute
|
173
173
|
# is documented as an array but the input is not
|
174
174
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
175
175
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -265,5 +265,6 @@ module YNAB
|
|
265
265
|
value
|
266
266
|
end
|
267
267
|
end
|
268
|
+
|
268
269
|
end
|
269
270
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.13
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -318,7 +318,7 @@ module YNAB
|
|
318
318
|
return nil unless attributes.is_a?(Hash)
|
319
319
|
self.class.swagger_types.each_pair do |key, type|
|
320
320
|
if type =~ /\AArray<(.*)>/i
|
321
|
-
# check to ensure the input is an array given that the
|
321
|
+
# check to ensure the input is an array given that the attribute
|
322
322
|
# is documented as an array but the input is not
|
323
323
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
324
324
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -414,5 +414,6 @@ module YNAB
|
|
414
414
|
value
|
415
415
|
end
|
416
416
|
end
|
417
|
+
|
417
418
|
end
|
418
419
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.13
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -88,7 +88,7 @@ module YNAB
|
|
88
88
|
return nil unless attributes.is_a?(Hash)
|
89
89
|
self.class.swagger_types.each_pair do |key, type|
|
90
90
|
if type =~ /\AArray<(.*)>/i
|
91
|
-
# check to ensure the input is an array given that the
|
91
|
+
# check to ensure the input is an array given that the attribute
|
92
92
|
# is documented as an array but the input is not
|
93
93
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
94
94
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -184,5 +184,6 @@ module YNAB
|
|
184
184
|
value
|
185
185
|
end
|
186
186
|
end
|
187
|
+
|
187
188
|
end
|
188
189
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.13
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -88,7 +88,7 @@ module YNAB
|
|
88
88
|
return nil unless attributes.is_a?(Hash)
|
89
89
|
self.class.swagger_types.each_pair do |key, type|
|
90
90
|
if type =~ /\AArray<(.*)>/i
|
91
|
-
# check to ensure the input is an array given that the
|
91
|
+
# check to ensure the input is an array given that the attribute
|
92
92
|
# is documented as an array but the input is not
|
93
93
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
94
94
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -184,5 +184,6 @@ module YNAB
|
|
184
184
|
value
|
185
185
|
end
|
186
186
|
end
|
187
|
+
|
187
188
|
end
|
188
189
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.13
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -269,7 +269,7 @@ module YNAB
|
|
269
269
|
return nil unless attributes.is_a?(Hash)
|
270
270
|
self.class.swagger_types.each_pair do |key, type|
|
271
271
|
if type =~ /\AArray<(.*)>/i
|
272
|
-
# check to ensure the input is an array given that the
|
272
|
+
# check to ensure the input is an array given that the attribute
|
273
273
|
# is documented as an array but the input is not
|
274
274
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
275
275
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -365,5 +365,6 @@ module YNAB
|
|
365
365
|
value
|
366
366
|
end
|
367
367
|
end
|
368
|
+
|
368
369
|
end
|
369
370
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.13
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -88,7 +88,7 @@ module YNAB
|
|
88
88
|
return nil unless attributes.is_a?(Hash)
|
89
89
|
self.class.swagger_types.each_pair do |key, type|
|
90
90
|
if type =~ /\AArray<(.*)>/i
|
91
|
-
# check to ensure the input is an array given that the
|
91
|
+
# check to ensure the input is an array given that the attribute
|
92
92
|
# is documented as an array but the input is not
|
93
93
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
94
94
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -184,5 +184,6 @@ module YNAB
|
|
184
184
|
value
|
185
185
|
end
|
186
186
|
end
|
187
|
+
|
187
188
|
end
|
188
189
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.13
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -105,7 +105,7 @@ module YNAB
|
|
105
105
|
return nil unless attributes.is_a?(Hash)
|
106
106
|
self.class.swagger_types.each_pair do |key, type|
|
107
107
|
if type =~ /\AArray<(.*)>/i
|
108
|
-
# check to ensure the input is an array given that the
|
108
|
+
# check to ensure the input is an array given that the attribute
|
109
109
|
# is documented as an array but the input is not
|
110
110
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
111
111
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -201,5 +201,6 @@ module YNAB
|
|
201
201
|
value
|
202
202
|
end
|
203
203
|
end
|
204
|
+
|
204
205
|
end
|
205
206
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.13
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -187,7 +187,7 @@ module YNAB
|
|
187
187
|
return nil unless attributes.is_a?(Hash)
|
188
188
|
self.class.swagger_types.each_pair do |key, type|
|
189
189
|
if type =~ /\AArray<(.*)>/i
|
190
|
-
# check to ensure the input is an array given that the
|
190
|
+
# check to ensure the input is an array given that the attribute
|
191
191
|
# is documented as an array but the input is not
|
192
192
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
193
193
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -283,5 +283,6 @@ module YNAB
|
|
283
283
|
value
|
284
284
|
end
|
285
285
|
end
|
286
|
+
|
286
287
|
end
|
287
288
|
end
|