ynab 2.0.0.rc1 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +1 -1
  4. data/lib/ynab/api/transactions_api.rb +0 -16
  5. data/lib/ynab/models/account.rb +0 -36
  6. data/lib/ynab/models/account_response.rb +0 -4
  7. data/lib/ynab/models/account_response_data.rb +0 -4
  8. data/lib/ynab/models/accounts_response.rb +0 -4
  9. data/lib/ynab/models/accounts_response_data.rb +0 -8
  10. data/lib/ynab/models/budget_detail.rb +0 -8
  11. data/lib/ynab/models/budget_detail_response.rb +0 -4
  12. data/lib/ynab/models/budget_detail_response_data.rb +0 -8
  13. data/lib/ynab/models/budget_settings_response.rb +0 -4
  14. data/lib/ynab/models/budget_settings_response_data.rb +0 -4
  15. data/lib/ynab/models/budget_summary.rb +0 -8
  16. data/lib/ynab/models/budget_summary_response.rb +0 -4
  17. data/lib/ynab/models/budget_summary_response_data.rb +0 -4
  18. data/lib/ynab/models/bulk_response.rb +0 -4
  19. data/lib/ynab/models/bulk_response_data.rb +0 -4
  20. data/lib/ynab/models/bulk_response_data_bulk.rb +0 -8
  21. data/lib/ynab/models/bulk_transactions.rb +0 -4
  22. data/lib/ynab/models/categories_response.rb +0 -4
  23. data/lib/ynab/models/categories_response_data.rb +0 -8
  24. data/lib/ynab/models/category.rb +0 -36
  25. data/lib/ynab/models/category_group.rb +0 -16
  26. data/lib/ynab/models/category_group_with_categories.rb +0 -20
  27. data/lib/ynab/models/category_group_with_categories_all_of.rb +0 -4
  28. data/lib/ynab/models/category_response.rb +0 -4
  29. data/lib/ynab/models/category_response_data.rb +0 -4
  30. data/lib/ynab/models/currency_format.rb +0 -32
  31. data/lib/ynab/models/date_format.rb +0 -4
  32. data/lib/ynab/models/error_detail.rb +0 -12
  33. data/lib/ynab/models/error_response.rb +0 -4
  34. data/lib/ynab/models/hybrid_transaction.rb +0 -52
  35. data/lib/ynab/models/hybrid_transaction_all_of.rb +0 -12
  36. data/lib/ynab/models/hybrid_transactions_response.rb +0 -4
  37. data/lib/ynab/models/hybrid_transactions_response_data.rb +0 -4
  38. data/lib/ynab/models/month_detail.rb +0 -28
  39. data/lib/ynab/models/month_detail_all_of.rb +0 -4
  40. data/lib/ynab/models/month_detail_response.rb +0 -4
  41. data/lib/ynab/models/month_detail_response_data.rb +0 -4
  42. data/lib/ynab/models/month_summaries_response.rb +0 -4
  43. data/lib/ynab/models/month_summaries_response_data.rb +0 -8
  44. data/lib/ynab/models/month_summary.rb +0 -24
  45. data/lib/ynab/models/patch_month_category_wrapper.rb +0 -4
  46. data/lib/ynab/models/patch_transactions_wrapper.rb +0 -4
  47. data/lib/ynab/models/payee.rb +0 -12
  48. data/lib/ynab/models/payee_location.rb +0 -20
  49. data/lib/ynab/models/payee_location_response.rb +0 -4
  50. data/lib/ynab/models/payee_location_response_data.rb +0 -4
  51. data/lib/ynab/models/payee_locations_response.rb +0 -4
  52. data/lib/ynab/models/payee_locations_response_data.rb +0 -4
  53. data/lib/ynab/models/payee_response.rb +0 -4
  54. data/lib/ynab/models/payee_response_data.rb +0 -4
  55. data/lib/ynab/models/payees_response.rb +0 -4
  56. data/lib/ynab/models/payees_response_data.rb +0 -8
  57. data/lib/ynab/models/post_account_wrapper.rb +0 -4
  58. data/lib/ynab/models/put_transaction_wrapper.rb +0 -4
  59. data/lib/ynab/models/save_account.rb +0 -12
  60. data/lib/ynab/models/save_category_response.rb +0 -4
  61. data/lib/ynab/models/save_category_response_data.rb +0 -8
  62. data/lib/ynab/models/save_month_category.rb +0 -4
  63. data/lib/ynab/models/save_sub_transaction.rb +0 -20
  64. data/lib/ynab/models/save_transaction.rb +0 -32
  65. data/lib/ynab/models/save_transaction_with_id.rb +0 -32
  66. data/lib/ynab/models/save_transaction_with_optional_fields.rb +0 -32
  67. data/lib/ynab/models/save_transactions_response.rb +0 -4
  68. data/lib/ynab/models/save_transactions_response_data.rb +0 -8
  69. data/lib/ynab/models/scheduled_sub_transaction.rb +0 -16
  70. data/lib/ynab/models/scheduled_transaction_detail.rb +0 -44
  71. data/lib/ynab/models/scheduled_transaction_detail_all_of.rb +0 -8
  72. data/lib/ynab/models/scheduled_transaction_response.rb +0 -4
  73. data/lib/ynab/models/scheduled_transaction_response_data.rb +0 -4
  74. data/lib/ynab/models/scheduled_transaction_summary.rb +0 -36
  75. data/lib/ynab/models/scheduled_transactions_response.rb +0 -4
  76. data/lib/ynab/models/scheduled_transactions_response_data.rb +0 -8
  77. data/lib/ynab/models/sub_transaction.rb +0 -16
  78. data/lib/ynab/models/transaction_detail.rb +0 -48
  79. data/lib/ynab/models/transaction_detail_all_of.rb +0 -8
  80. data/lib/ynab/models/transaction_response.rb +0 -4
  81. data/lib/ynab/models/transaction_response_data.rb +0 -4
  82. data/lib/ynab/models/transaction_summary.rb +0 -40
  83. data/lib/ynab/models/transactions_import_response.rb +0 -4
  84. data/lib/ynab/models/transactions_import_response_data.rb +0 -4
  85. data/lib/ynab/models/transactions_response.rb +0 -4
  86. data/lib/ynab/models/transactions_response_data.rb +0 -8
  87. data/lib/ynab/models/user.rb +0 -4
  88. data/lib/ynab/models/user_response.rb +0 -4
  89. data/lib/ynab/models/user_response_data.rb +0 -4
  90. data/lib/ynab/version.rb +1 -1
  91. data/templates/api.mustache +213 -0
  92. data/templates/partial_model_generic.mustache +305 -0
  93. metadata +6 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9d748b2240c0fd89db37f5b2c4b0ddde93305d40f6f7b6671858cf92f9a1953
4
- data.tar.gz: 4779f85e097034853bae07f72e464198d96ea4aa83fa8b19cc1edae4fd0be9a2
3
+ metadata.gz: 376e9bdd8f0bd3297a0f8e7d7e7d3924f6763773c791d86063bff5d675d20517
4
+ data.tar.gz: 5d1611601e740c6d8280f2f4057edbcd21791b523ac7064f996917b107b8c3e7
5
5
  SHA512:
6
- metadata.gz: e9c8cd0b451e406b52ed58e2762f55e389c3875aa9f23defbf777c4afa15650beb0cef56e54c7eba9b7e19a9c71fa05559b613d2adde9ce580b16fe6a4d5c390
7
- data.tar.gz: 1ee8edb4021e5b12e97dd927f1f1281520f58a5ce222c01a1ca6e63a52b9e34af37bef6c5efcbcd9ec057ab575a1adea36a453326eaf770c72ddb6ca52dc714d
6
+ metadata.gz: 81c0c4ad36f870329f74407cb2c901d19a37f2236251e451879fbaaec8ea34cfc822dbdd22888ef0be50758b45aac381a87169c14499a71215460d397835098b
7
+ data.tar.gz: ab3f318ee83b37ba72ea6732d99c35b6a467b99127a12c5bc23d7a37c83274580100e139ca18f2239666548b4f25493cd5824a7d0596da0f379a25437d29d359
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ynab (1.31.0)
4
+ ynab (4.31.0)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -39,4 +39,4 @@ DEPENDENCIES
39
39
  ynab!
40
40
 
41
41
  BUNDLED WITH
42
- 2.3.24
42
+ 2.4.19
data/README.md CHANGED
@@ -8,7 +8,7 @@ This is the Ruby client for the YNAB API.
8
8
  Please read the [YNAB API documentation](https://api.ynab.com) for an
9
9
  overview of using the API and a complete list of available resources.
10
10
 
11
- This client is generated using the [Swagger Code Generator](https://github.com/swagger-api/swagger-codegen).
11
+ This client is generated using the [OpenAPI Generator](https://openapi-generator.tech/).
12
12
 
13
13
  ## Installation
14
14
 
@@ -260,10 +260,6 @@ module YNAB
260
260
  if @api_client.config.client_side_validation && budget_id.nil?
261
261
  fail ArgumentError, "Missing the required parameter 'budget_id' when calling TransactionsApi.get_transactions"
262
262
  end
263
- allowable_values = ["uncategorized", "unapproved"]
264
- if @api_client.config.client_side_validation && opts[:'type'] && !allowable_values.include?(opts[:'type'])
265
- fail ArgumentError, "invalid value for \"type\", must be one of #{allowable_values}"
266
- end
267
263
  # resource path
268
264
  local_var_path = '/budgets/{budget_id}/transactions'.sub('{' + 'budget_id' + '}', CGI.escape(budget_id.to_s))
269
265
 
@@ -342,10 +338,6 @@ module YNAB
342
338
  if @api_client.config.client_side_validation && account_id.nil?
343
339
  fail ArgumentError, "Missing the required parameter 'account_id' when calling TransactionsApi.get_transactions_by_account"
344
340
  end
345
- allowable_values = ["uncategorized", "unapproved"]
346
- if @api_client.config.client_side_validation && opts[:'type'] && !allowable_values.include?(opts[:'type'])
347
- fail ArgumentError, "invalid value for \"type\", must be one of #{allowable_values}"
348
- end
349
341
  # resource path
350
342
  local_var_path = '/budgets/{budget_id}/accounts/{account_id}/transactions'.sub('{' + 'budget_id' + '}', CGI.escape(budget_id.to_s)).sub('{' + 'account_id' + '}', CGI.escape(account_id.to_s))
351
343
 
@@ -424,10 +416,6 @@ module YNAB
424
416
  if @api_client.config.client_side_validation && category_id.nil?
425
417
  fail ArgumentError, "Missing the required parameter 'category_id' when calling TransactionsApi.get_transactions_by_category"
426
418
  end
427
- allowable_values = ["uncategorized", "unapproved"]
428
- if @api_client.config.client_side_validation && opts[:'type'] && !allowable_values.include?(opts[:'type'])
429
- fail ArgumentError, "invalid value for \"type\", must be one of #{allowable_values}"
430
- end
431
419
  # resource path
432
420
  local_var_path = '/budgets/{budget_id}/categories/{category_id}/transactions'.sub('{' + 'budget_id' + '}', CGI.escape(budget_id.to_s)).sub('{' + 'category_id' + '}', CGI.escape(category_id.to_s))
433
421
 
@@ -506,10 +494,6 @@ module YNAB
506
494
  if @api_client.config.client_side_validation && payee_id.nil?
507
495
  fail ArgumentError, "Missing the required parameter 'payee_id' when calling TransactionsApi.get_transactions_by_payee"
508
496
  end
509
- allowable_values = ["uncategorized", "unapproved"]
510
- if @api_client.config.client_side_validation && opts[:'type'] && !allowable_values.include?(opts[:'type'])
511
- fail ArgumentError, "invalid value for \"type\", must be one of #{allowable_values}"
512
- end
513
497
  # resource path
514
498
  local_var_path = '/budgets/{budget_id}/payees/{payee_id}/transactions'.sub('{' + 'budget_id' + '}', CGI.escape(budget_id.to_s)).sub('{' + 'payee_id' + '}', CGI.escape(payee_id.to_s))
515
499
 
@@ -248,42 +248,6 @@ module YNAB
248
248
  # @return Array for valid properties with the reasons
249
249
  def list_invalid_properties
250
250
  invalid_properties = Array.new
251
- if @id.nil?
252
- invalid_properties.push('invalid value for "id", id cannot be nil.')
253
- end
254
-
255
- if @name.nil?
256
- invalid_properties.push('invalid value for "name", name cannot be nil.')
257
- end
258
-
259
- if @type.nil?
260
- invalid_properties.push('invalid value for "type", type cannot be nil.')
261
- end
262
-
263
- if @on_budget.nil?
264
- invalid_properties.push('invalid value for "on_budget", on_budget cannot be nil.')
265
- end
266
-
267
- if @closed.nil?
268
- invalid_properties.push('invalid value for "closed", closed cannot be nil.')
269
- end
270
-
271
- if @balance.nil?
272
- invalid_properties.push('invalid value for "balance", balance cannot be nil.')
273
- end
274
-
275
- if @cleared_balance.nil?
276
- invalid_properties.push('invalid value for "cleared_balance", cleared_balance cannot be nil.')
277
- end
278
-
279
- if @uncleared_balance.nil?
280
- invalid_properties.push('invalid value for "uncleared_balance", uncleared_balance cannot be nil.')
281
- end
282
-
283
- if @deleted.nil?
284
- invalid_properties.push('invalid value for "deleted", deleted cannot be nil.')
285
- end
286
-
287
251
  invalid_properties
288
252
  end
289
253
 
@@ -66,10 +66,6 @@ module YNAB
66
66
  # @return Array for valid properties with the reasons
67
67
  def list_invalid_properties
68
68
  invalid_properties = Array.new
69
- if @data.nil?
70
- invalid_properties.push('invalid value for "data", data cannot be nil.')
71
- end
72
-
73
69
  invalid_properties
74
70
  end
75
71
 
@@ -66,10 +66,6 @@ module YNAB
66
66
  # @return Array for valid properties with the reasons
67
67
  def list_invalid_properties
68
68
  invalid_properties = Array.new
69
- if @account.nil?
70
- invalid_properties.push('invalid value for "account", account cannot be nil.')
71
- end
72
-
73
69
  invalid_properties
74
70
  end
75
71
 
@@ -66,10 +66,6 @@ module YNAB
66
66
  # @return Array for valid properties with the reasons
67
67
  def list_invalid_properties
68
68
  invalid_properties = Array.new
69
- if @data.nil?
70
- invalid_properties.push('invalid value for "data", data cannot be nil.')
71
- end
72
-
73
69
  invalid_properties
74
70
  end
75
71
 
@@ -77,14 +77,6 @@ module YNAB
77
77
  # @return Array for valid properties with the reasons
78
78
  def list_invalid_properties
79
79
  invalid_properties = Array.new
80
- if @accounts.nil?
81
- invalid_properties.push('invalid value for "accounts", accounts cannot be nil.')
82
- end
83
-
84
- if @server_knowledge.nil?
85
- invalid_properties.push('invalid value for "server_knowledge", server_knowledge cannot be nil.')
86
- end
87
-
88
80
  invalid_properties
89
81
  end
90
82
 
@@ -227,14 +227,6 @@ module YNAB
227
227
  # @return Array for valid properties with the reasons
228
228
  def list_invalid_properties
229
229
  invalid_properties = Array.new
230
- if @id.nil?
231
- invalid_properties.push('invalid value for "id", id cannot be nil.')
232
- end
233
-
234
- if @name.nil?
235
- invalid_properties.push('invalid value for "name", name cannot be nil.')
236
- end
237
-
238
230
  invalid_properties
239
231
  end
240
232
 
@@ -66,10 +66,6 @@ module YNAB
66
66
  # @return Array for valid properties with the reasons
67
67
  def list_invalid_properties
68
68
  invalid_properties = Array.new
69
- if @data.nil?
70
- invalid_properties.push('invalid value for "data", data cannot be nil.')
71
- end
72
-
73
69
  invalid_properties
74
70
  end
75
71
 
@@ -75,14 +75,6 @@ module YNAB
75
75
  # @return Array for valid properties with the reasons
76
76
  def list_invalid_properties
77
77
  invalid_properties = Array.new
78
- if @budget.nil?
79
- invalid_properties.push('invalid value for "budget", budget cannot be nil.')
80
- end
81
-
82
- if @server_knowledge.nil?
83
- invalid_properties.push('invalid value for "server_knowledge", server_knowledge cannot be nil.')
84
- end
85
-
86
78
  invalid_properties
87
79
  end
88
80
 
@@ -66,10 +66,6 @@ module YNAB
66
66
  # @return Array for valid properties with the reasons
67
67
  def list_invalid_properties
68
68
  invalid_properties = Array.new
69
- if @data.nil?
70
- invalid_properties.push('invalid value for "data", data cannot be nil.')
71
- end
72
-
73
69
  invalid_properties
74
70
  end
75
71
 
@@ -66,10 +66,6 @@ module YNAB
66
66
  # @return Array for valid properties with the reasons
67
67
  def list_invalid_properties
68
68
  invalid_properties = Array.new
69
- if @settings.nil?
70
- invalid_properties.push('invalid value for "settings", settings cannot be nil.')
71
- end
72
-
73
69
  invalid_properties
74
70
  end
75
71
 
@@ -130,14 +130,6 @@ module YNAB
130
130
  # @return Array for valid properties with the reasons
131
131
  def list_invalid_properties
132
132
  invalid_properties = Array.new
133
- if @id.nil?
134
- invalid_properties.push('invalid value for "id", id cannot be nil.')
135
- end
136
-
137
- if @name.nil?
138
- invalid_properties.push('invalid value for "name", name cannot be nil.')
139
- end
140
-
141
133
  invalid_properties
142
134
  end
143
135
 
@@ -66,10 +66,6 @@ module YNAB
66
66
  # @return Array for valid properties with the reasons
67
67
  def list_invalid_properties
68
68
  invalid_properties = Array.new
69
- if @data.nil?
70
- invalid_properties.push('invalid value for "data", data cannot be nil.')
71
- end
72
-
73
69
  invalid_properties
74
70
  end
75
71
 
@@ -76,10 +76,6 @@ module YNAB
76
76
  # @return Array for valid properties with the reasons
77
77
  def list_invalid_properties
78
78
  invalid_properties = Array.new
79
- if @budgets.nil?
80
- invalid_properties.push('invalid value for "budgets", budgets cannot be nil.')
81
- end
82
-
83
79
  invalid_properties
84
80
  end
85
81
 
@@ -66,10 +66,6 @@ module YNAB
66
66
  # @return Array for valid properties with the reasons
67
67
  def list_invalid_properties
68
68
  invalid_properties = Array.new
69
- if @data.nil?
70
- invalid_properties.push('invalid value for "data", data cannot be nil.')
71
- end
72
-
73
69
  invalid_properties
74
70
  end
75
71
 
@@ -66,10 +66,6 @@ module YNAB
66
66
  # @return Array for valid properties with the reasons
67
67
  def list_invalid_properties
68
68
  invalid_properties = Array.new
69
- if @bulk.nil?
70
- invalid_properties.push('invalid value for "bulk", bulk cannot be nil.')
71
- end
72
-
73
69
  invalid_properties
74
70
  end
75
71
 
@@ -80,14 +80,6 @@ module YNAB
80
80
  # @return Array for valid properties with the reasons
81
81
  def list_invalid_properties
82
82
  invalid_properties = Array.new
83
- if @transaction_ids.nil?
84
- invalid_properties.push('invalid value for "transaction_ids", transaction_ids cannot be nil.')
85
- end
86
-
87
- if @duplicate_import_ids.nil?
88
- invalid_properties.push('invalid value for "duplicate_import_ids", duplicate_import_ids cannot be nil.')
89
- end
90
-
91
83
  invalid_properties
92
84
  end
93
85
 
@@ -68,10 +68,6 @@ module YNAB
68
68
  # @return Array for valid properties with the reasons
69
69
  def list_invalid_properties
70
70
  invalid_properties = Array.new
71
- if @transactions.nil?
72
- invalid_properties.push('invalid value for "transactions", transactions cannot be nil.')
73
- end
74
-
75
71
  invalid_properties
76
72
  end
77
73
 
@@ -66,10 +66,6 @@ module YNAB
66
66
  # @return Array for valid properties with the reasons
67
67
  def list_invalid_properties
68
68
  invalid_properties = Array.new
69
- if @data.nil?
70
- invalid_properties.push('invalid value for "data", data cannot be nil.')
71
- end
72
-
73
69
  invalid_properties
74
70
  end
75
71
 
@@ -77,14 +77,6 @@ module YNAB
77
77
  # @return Array for valid properties with the reasons
78
78
  def list_invalid_properties
79
79
  invalid_properties = Array.new
80
- if @category_groups.nil?
81
- invalid_properties.push('invalid value for "category_groups", category_groups cannot be nil.')
82
- end
83
-
84
- if @server_knowledge.nil?
85
- invalid_properties.push('invalid value for "server_knowledge", server_knowledge cannot be nil.')
86
- end
87
-
88
80
  invalid_properties
89
81
  end
90
82
 
@@ -296,38 +296,6 @@ module YNAB
296
296
  # @return Array for valid properties with the reasons
297
297
  def list_invalid_properties
298
298
  invalid_properties = Array.new
299
- if @id.nil?
300
- invalid_properties.push('invalid value for "id", id cannot be nil.')
301
- end
302
-
303
- if @category_group_id.nil?
304
- invalid_properties.push('invalid value for "category_group_id", category_group_id cannot be nil.')
305
- end
306
-
307
- if @name.nil?
308
- invalid_properties.push('invalid value for "name", name cannot be nil.')
309
- end
310
-
311
- if @hidden.nil?
312
- invalid_properties.push('invalid value for "hidden", hidden cannot be nil.')
313
- end
314
-
315
- if @budgeted.nil?
316
- invalid_properties.push('invalid value for "budgeted", budgeted cannot be nil.')
317
- end
318
-
319
- if @activity.nil?
320
- invalid_properties.push('invalid value for "activity", activity cannot be nil.')
321
- end
322
-
323
- if @balance.nil?
324
- invalid_properties.push('invalid value for "balance", balance cannot be nil.')
325
- end
326
-
327
- if @deleted.nil?
328
- invalid_properties.push('invalid value for "deleted", deleted cannot be nil.')
329
- end
330
-
331
299
  invalid_properties
332
300
  end
333
301
 
@@ -350,10 +318,6 @@ module YNAB
350
318
  # Custom attribute writer method checking allowed values (enum).
351
319
  # @param [Object] goal_type Object to be assigned
352
320
  def goal_type=(goal_type)
353
- validator = EnumAttributeValidator.new('String', ["TB", "TBD", "MF", "NEED", "DEBT", "null"])
354
- unless validator.valid?(goal_type)
355
- fail ArgumentError, "invalid value for \"goal_type\", must be one of #{validator.allowable_values}."
356
- end
357
321
  @goal_type = goal_type
358
322
  end
359
323
 
@@ -92,22 +92,6 @@ module YNAB
92
92
  # @return Array for valid properties with the reasons
93
93
  def list_invalid_properties
94
94
  invalid_properties = Array.new
95
- if @id.nil?
96
- invalid_properties.push('invalid value for "id", id cannot be nil.')
97
- end
98
-
99
- if @name.nil?
100
- invalid_properties.push('invalid value for "name", name cannot be nil.')
101
- end
102
-
103
- if @hidden.nil?
104
- invalid_properties.push('invalid value for "hidden", hidden cannot be nil.')
105
- end
106
-
107
- if @deleted.nil?
108
- invalid_properties.push('invalid value for "deleted", deleted cannot be nil.')
109
- end
110
-
111
95
  invalid_properties
112
96
  end
113
97
 
@@ -111,26 +111,6 @@ module YNAB
111
111
  # @return Array for valid properties with the reasons
112
112
  def list_invalid_properties
113
113
  invalid_properties = Array.new
114
- if @id.nil?
115
- invalid_properties.push('invalid value for "id", id cannot be nil.')
116
- end
117
-
118
- if @name.nil?
119
- invalid_properties.push('invalid value for "name", name cannot be nil.')
120
- end
121
-
122
- if @hidden.nil?
123
- invalid_properties.push('invalid value for "hidden", hidden cannot be nil.')
124
- end
125
-
126
- if @deleted.nil?
127
- invalid_properties.push('invalid value for "deleted", deleted cannot be nil.')
128
- end
129
-
130
- if @categories.nil?
131
- invalid_properties.push('invalid value for "categories", categories cannot be nil.')
132
- end
133
-
134
114
  invalid_properties
135
115
  end
136
116
 
@@ -69,10 +69,6 @@ module YNAB
69
69
  # @return Array for valid properties with the reasons
70
70
  def list_invalid_properties
71
71
  invalid_properties = Array.new
72
- if @categories.nil?
73
- invalid_properties.push('invalid value for "categories", categories cannot be nil.')
74
- end
75
-
76
72
  invalid_properties
77
73
  end
78
74
 
@@ -66,10 +66,6 @@ module YNAB
66
66
  # @return Array for valid properties with the reasons
67
67
  def list_invalid_properties
68
68
  invalid_properties = Array.new
69
- if @data.nil?
70
- invalid_properties.push('invalid value for "data", data cannot be nil.')
71
- end
72
-
73
69
  invalid_properties
74
70
  end
75
71
 
@@ -66,10 +66,6 @@ module YNAB
66
66
  # @return Array for valid properties with the reasons
67
67
  def list_invalid_properties
68
68
  invalid_properties = Array.new
69
- if @category.nil?
70
- invalid_properties.push('invalid value for "category", category cannot be nil.')
71
- end
72
-
73
69
  invalid_properties
74
70
  end
75
71
 
@@ -123,38 +123,6 @@ module YNAB
123
123
  # @return Array for valid properties with the reasons
124
124
  def list_invalid_properties
125
125
  invalid_properties = Array.new
126
- if @iso_code.nil?
127
- invalid_properties.push('invalid value for "iso_code", iso_code cannot be nil.')
128
- end
129
-
130
- if @example_format.nil?
131
- invalid_properties.push('invalid value for "example_format", example_format cannot be nil.')
132
- end
133
-
134
- if @decimal_digits.nil?
135
- invalid_properties.push('invalid value for "decimal_digits", decimal_digits cannot be nil.')
136
- end
137
-
138
- if @decimal_separator.nil?
139
- invalid_properties.push('invalid value for "decimal_separator", decimal_separator cannot be nil.')
140
- end
141
-
142
- if @symbol_first.nil?
143
- invalid_properties.push('invalid value for "symbol_first", symbol_first cannot be nil.')
144
- end
145
-
146
- if @group_separator.nil?
147
- invalid_properties.push('invalid value for "group_separator", group_separator cannot be nil.')
148
- end
149
-
150
- if @currency_symbol.nil?
151
- invalid_properties.push('invalid value for "currency_symbol", currency_symbol cannot be nil.')
152
- end
153
-
154
- if @display_symbol.nil?
155
- invalid_properties.push('invalid value for "display_symbol", display_symbol cannot be nil.')
156
- end
157
-
158
126
  invalid_properties
159
127
  end
160
128
 
@@ -67,10 +67,6 @@ module YNAB
67
67
  # @return Array for valid properties with the reasons
68
68
  def list_invalid_properties
69
69
  invalid_properties = Array.new
70
- if @format.nil?
71
- invalid_properties.push('invalid value for "format", format cannot be nil.')
72
- end
73
-
74
70
  invalid_properties
75
71
  end
76
72
 
@@ -82,18 +82,6 @@ module YNAB
82
82
  # @return Array for valid properties with the reasons
83
83
  def list_invalid_properties
84
84
  invalid_properties = Array.new
85
- if @id.nil?
86
- invalid_properties.push('invalid value for "id", id cannot be nil.')
87
- end
88
-
89
- if @name.nil?
90
- invalid_properties.push('invalid value for "name", name cannot be nil.')
91
- end
92
-
93
- if @detail.nil?
94
- invalid_properties.push('invalid value for "detail", detail cannot be nil.')
95
- end
96
-
97
85
  invalid_properties
98
86
  end
99
87
 
@@ -66,10 +66,6 @@ module YNAB
66
66
  # @return Array for valid properties with the reasons
67
67
  def list_invalid_properties
68
68
  invalid_properties = Array.new
69
- if @error.nil?
70
- invalid_properties.push('invalid value for "error", error cannot be nil.')
71
- end
72
-
73
69
  invalid_properties
74
70
  end
75
71