ftc_api_v3_client 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/config.json +1 -1
  4. data/ftc_api_v3_client-0.1.0.gem +0 -0
  5. data/ftc_api_v3_client-0.1.1.gem +0 -0
  6. data/lib/ftc_api_v3_client/api/events_api.rb +0 -104
  7. data/lib/ftc_api_v3_client/api/leagues_api.rb +0 -56
  8. data/lib/ftc_api_v3_client/api/regions_api.rb +0 -28
  9. data/lib/ftc_api_v3_client/api/seasons_api.rb +0 -4
  10. data/lib/ftc_api_v3_client/api/teams_api.rb +0 -28
  11. data/lib/ftc_api_v3_client/models/api_v3_advancement_from.rb +1 -0
  12. data/lib/ftc_api_v3_client/models/api_v3_advancement_from_slot.rb +2 -15
  13. data/lib/ftc_api_v3_client/models/api_v3_alliance_match.rb +8 -60
  14. data/lib/ftc_api_v3_client/models/api_v3_alliance_match_details.rb +8 -60
  15. data/lib/ftc_api_v3_client/models/api_v3_alliance_match_results.rb +1 -0
  16. data/lib/ftc_api_v3_client/models/api_v3_alliance_playoff_match_participants.rb +1 -15
  17. data/lib/ftc_api_v3_client/models/api_v3_alliance_selection.rb +1 -15
  18. data/lib/ftc_api_v3_client/models/api_v3_alliance_simple_match_participants.rb +1 -15
  19. data/lib/ftc_api_v3_client/models/api_v3_award.rb +4 -30
  20. data/lib/ftc_api_v3_client/models/api_v3_award_recipient.rb +2 -0
  21. data/lib/ftc_api_v3_client/models/api_v3_basic_alliance_description.rb +1 -15
  22. data/lib/ftc_api_v3_client/models/api_v3_center_stage_remote_score_detail.rb +1 -15
  23. data/lib/ftc_api_v3_client/models/api_v3_center_stage_score_detail.rb +1 -15
  24. data/lib/ftc_api_v3_client/models/api_v3_cs_achievements_detail.rb +2 -30
  25. data/lib/ftc_api_v3_client/models/api_v3_cs_remote_achievements_detail.rb +1 -15
  26. data/lib/ftc_api_v3_client/models/api_v3_decode_achievements_detail.rb +2 -30
  27. data/lib/ftc_api_v3_client/models/api_v3_decode_score_detail.rb +1 -15
  28. data/lib/ftc_api_v3_client/models/api_v3_division.rb +2 -30
  29. data/lib/ftc_api_v3_client/models/api_v3_double_elimination_series_description.rb +3 -30
  30. data/lib/ftc_api_v3_client/models/api_v3_event.rb +17 -120
  31. data/lib/ftc_api_v3_client/models/api_v3_event_live_stream.rb +3 -15
  32. data/lib/ftc_api_v3_client/models/api_v3_event_participant.rb +2 -15
  33. data/lib/ftc_api_v3_client/models/api_v3_ff_achievements_detail.rb +4 -60
  34. data/lib/ftc_api_v3_client/models/api_v3_ff_remote_achievements_detail.rb +2 -30
  35. data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_remote_score_detail.rb +1 -15
  36. data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_score_detail.rb +1 -15
  37. data/lib/ftc_api_v3_client/models/api_v3_into_the_deep_score_detail.rb +1 -15
  38. data/lib/ftc_api_v3_client/models/api_v3_itd_achievements_detail.rb +4 -60
  39. data/lib/ftc_api_v3_client/models/api_v3_league.rb +4 -30
  40. data/lib/ftc_api_v3_client/models/api_v3_league_details.rb +4 -30
  41. data/lib/ftc_api_v3_client/models/api_v3_pit_map_element.rb +6 -0
  42. data/lib/ftc_api_v3_client/models/api_v3_playoff_alliance.rb +2 -0
  43. data/lib/ftc_api_v3_client/models/api_v3_playoff_series_description.rb +2 -30
  44. data/lib/ftc_api_v3_client/models/api_v3_playoff_structure.rb +1 -15
  45. data/lib/ftc_api_v3_client/models/api_v3_power_play_achievements_detail.rb +2 -0
  46. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_achievements_detail.rb +1 -0
  47. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_score_detail.rb +1 -15
  48. data/lib/ftc_api_v3_client/models/api_v3_power_play_score_detail.rb +1 -15
  49. data/lib/ftc_api_v3_client/models/api_v3_region.rb +2 -30
  50. data/lib/ftc_api_v3_client/models/api_v3_round_robin_alliance_description.rb +1 -15
  51. data/lib/ftc_api_v3_client/models/api_v3_season.rb +3 -45
  52. data/lib/ftc_api_v3_client/models/api_v3_series_alliance_description.rb +2 -30
  53. data/lib/ftc_api_v3_client/models/api_v3_simple_event.rb +15 -120
  54. data/lib/ftc_api_v3_client/models/api_v3_simple_team.rb +3 -45
  55. data/lib/ftc_api_v3_client/models/api_v3_single_award_recipient.rb +4 -30
  56. data/lib/ftc_api_v3_client/models/api_v3_single_team_match.rb +8 -60
  57. data/lib/ftc_api_v3_client/models/api_v3_single_team_match_details.rb +8 -60
  58. data/lib/ftc_api_v3_client/models/api_v3_skystone_score_detail.rb +1 -15
  59. data/lib/ftc_api_v3_client/models/api_v3_team.rb +9 -60
  60. data/lib/ftc_api_v3_client/models/api_v3_team_avatar.rb +1 -15
  61. data/lib/ftc_api_v3_client/models/api_v3_team_history.rb +7 -60
  62. data/lib/ftc_api_v3_client/models/api_v3_ug_achievements_detail.rb +2 -30
  63. data/lib/ftc_api_v3_client/models/api_v3_ug_remote_achievements_detail.rb +2 -30
  64. data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_remote_score_detail.rb +1 -15
  65. data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_score_detail.rb +1 -15
  66. data/lib/ftc_api_v3_client/version.rb +1 -1
  67. data/update.sh +1 -1
  68. metadata +3 -1
@@ -104,6 +104,9 @@ module FtcApiV3Client
104
104
  # List of attributes with nullable: true
105
105
  def self.openapi_nullable
106
106
  Set.new([
107
+ :'name',
108
+ :'short_name',
109
+ :'bracket_half',
107
110
  ])
108
111
  end
109
112
 
@@ -191,14 +194,6 @@ module FtcApiV3Client
191
194
  invalid_properties.push('invalid value for "series_id", series_id cannot be nil.')
192
195
  end
193
196
 
194
- if @name.nil?
195
- invalid_properties.push('invalid value for "name", name cannot be nil.')
196
- end
197
-
198
- if @short_name.nil?
199
- invalid_properties.push('invalid value for "short_name", short_name cannot be nil.')
200
- end
201
-
202
197
  if @matches_to_win.nil?
203
198
  invalid_properties.push('invalid value for "matches_to_win", matches_to_win cannot be nil.')
204
199
  end
@@ -231,8 +226,6 @@ module FtcApiV3Client
231
226
  def valid?
232
227
  warn '[DEPRECATED] the `valid?` method is obsolete'
233
228
  return false if @series_id.nil?
234
- return false if @name.nil?
235
- return false if @short_name.nil?
236
229
  return false if @matches_to_win.nil?
237
230
  return false if @round.nil?
238
231
  return false if @red.nil?
@@ -252,26 +245,6 @@ module FtcApiV3Client
252
245
  @series_id = series_id
253
246
  end
254
247
 
255
- # Custom attribute writer method with validation
256
- # @param [Object] name Value to be assigned
257
- def name=(name)
258
- if name.nil?
259
- fail ArgumentError, 'name cannot be nil'
260
- end
261
-
262
- @name = name
263
- end
264
-
265
- # Custom attribute writer method with validation
266
- # @param [Object] short_name Value to be assigned
267
- def short_name=(short_name)
268
- if short_name.nil?
269
- fail ArgumentError, 'short_name cannot be nil'
270
- end
271
-
272
- @short_name = short_name
273
- end
274
-
275
248
  # Custom attribute writer method with validation
276
249
  # @param [Object] matches_to_win Value to be assigned
277
250
  def matches_to_win=(matches_to_win)
@@ -155,6 +155,23 @@ module FtcApiV3Client
155
155
  # List of attributes with nullable: true
156
156
  def self.openapi_nullable
157
157
  Set.new([
158
+ :'code',
159
+ :'name',
160
+ :'type',
161
+ :'format',
162
+ :'start_date',
163
+ :'end_date',
164
+ :'region_code',
165
+ :'league_code',
166
+ :'parent_event_code',
167
+ :'venue',
168
+ :'street_address',
169
+ :'street_address2',
170
+ :'city',
171
+ :'state',
172
+ :'country',
173
+ :'website',
174
+ :'timezone'
158
175
  ])
159
176
  end
160
177
 
@@ -298,34 +315,6 @@ module FtcApiV3Client
298
315
  def list_invalid_properties
299
316
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
300
317
  invalid_properties = Array.new
301
- if @code.nil?
302
- invalid_properties.push('invalid value for "code", code cannot be nil.')
303
- end
304
-
305
- if @name.nil?
306
- invalid_properties.push('invalid value for "name", name cannot be nil.')
307
- end
308
-
309
- if @type.nil?
310
- invalid_properties.push('invalid value for "type", type cannot be nil.')
311
- end
312
-
313
- if @format.nil?
314
- invalid_properties.push('invalid value for "format", format cannot be nil.')
315
- end
316
-
317
- if @start_date.nil?
318
- invalid_properties.push('invalid value for "start_date", start_date cannot be nil.')
319
- end
320
-
321
- if @end_date.nil?
322
- invalid_properties.push('invalid value for "end_date", end_date cannot be nil.')
323
- end
324
-
325
- if @region_code.nil?
326
- invalid_properties.push('invalid value for "region_code", region_code cannot be nil.')
327
- end
328
-
329
318
  if @divisions.nil?
330
319
  invalid_properties.push('invalid value for "divisions", divisions cannot be nil.')
331
320
  end
@@ -338,10 +327,6 @@ module FtcApiV3Client
338
327
  invalid_properties.push('invalid value for "published", published cannot be nil.')
339
328
  end
340
329
 
341
- if @timezone.nil?
342
- invalid_properties.push('invalid value for "timezone", timezone cannot be nil.')
343
- end
344
-
345
330
  invalid_properties
346
331
  end
347
332
 
@@ -349,90 +334,12 @@ module FtcApiV3Client
349
334
  # @return true if the model is valid
350
335
  def valid?
351
336
  warn '[DEPRECATED] the `valid?` method is obsolete'
352
- return false if @code.nil?
353
- return false if @name.nil?
354
- return false if @type.nil?
355
- return false if @format.nil?
356
- return false if @start_date.nil?
357
- return false if @end_date.nil?
358
- return false if @region_code.nil?
359
337
  return false if @divisions.nil?
360
338
  return false if @field_count.nil?
361
339
  return false if @published.nil?
362
- return false if @timezone.nil?
363
340
  true
364
341
  end
365
342
 
366
- # Custom attribute writer method with validation
367
- # @param [Object] code Value to be assigned
368
- def code=(code)
369
- if code.nil?
370
- fail ArgumentError, 'code cannot be nil'
371
- end
372
-
373
- @code = code
374
- end
375
-
376
- # Custom attribute writer method with validation
377
- # @param [Object] name Value to be assigned
378
- def name=(name)
379
- if name.nil?
380
- fail ArgumentError, 'name cannot be nil'
381
- end
382
-
383
- @name = name
384
- end
385
-
386
- # Custom attribute writer method with validation
387
- # @param [Object] type Value to be assigned
388
- def type=(type)
389
- if type.nil?
390
- fail ArgumentError, 'type cannot be nil'
391
- end
392
-
393
- @type = type
394
- end
395
-
396
- # Custom attribute writer method with validation
397
- # @param [Object] format Value to be assigned
398
- def format=(format)
399
- if format.nil?
400
- fail ArgumentError, 'format cannot be nil'
401
- end
402
-
403
- @format = format
404
- end
405
-
406
- # Custom attribute writer method with validation
407
- # @param [Object] start_date Value to be assigned
408
- def start_date=(start_date)
409
- if start_date.nil?
410
- fail ArgumentError, 'start_date cannot be nil'
411
- end
412
-
413
- @start_date = start_date
414
- end
415
-
416
- # Custom attribute writer method with validation
417
- # @param [Object] end_date Value to be assigned
418
- def end_date=(end_date)
419
- if end_date.nil?
420
- fail ArgumentError, 'end_date cannot be nil'
421
- end
422
-
423
- @end_date = end_date
424
- end
425
-
426
- # Custom attribute writer method with validation
427
- # @param [Object] region_code Value to be assigned
428
- def region_code=(region_code)
429
- if region_code.nil?
430
- fail ArgumentError, 'region_code cannot be nil'
431
- end
432
-
433
- @region_code = region_code
434
- end
435
-
436
343
  # Custom attribute writer method with validation
437
344
  # @param [Object] divisions Value to be assigned
438
345
  def divisions=(divisions)
@@ -463,16 +370,6 @@ module FtcApiV3Client
463
370
  @published = published
464
371
  end
465
372
 
466
- # Custom attribute writer method with validation
467
- # @param [Object] timezone Value to be assigned
468
- def timezone=(timezone)
469
- if timezone.nil?
470
- fail ArgumentError, 'timezone cannot be nil'
471
- end
472
-
473
- @timezone = timezone
474
- end
475
-
476
373
  # Checks equality by comparing each attribute.
477
374
  # @param [Object] Object to be compared
478
375
  def ==(o)
@@ -52,6 +52,9 @@ module FtcApiV3Client
52
52
  # List of attributes with nullable: true
53
53
  def self.openapi_nullable
54
54
  Set.new([
55
+ :'url',
56
+ :'date',
57
+ :'label'
55
58
  ])
56
59
  end
57
60
 
@@ -91,10 +94,6 @@ module FtcApiV3Client
91
94
  def list_invalid_properties
92
95
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
93
96
  invalid_properties = Array.new
94
- if @url.nil?
95
- invalid_properties.push('invalid value for "url", url cannot be nil.')
96
- end
97
-
98
97
  invalid_properties
99
98
  end
100
99
 
@@ -102,20 +101,9 @@ module FtcApiV3Client
102
101
  # @return true if the model is valid
103
102
  def valid?
104
103
  warn '[DEPRECATED] the `valid?` method is obsolete'
105
- return false if @url.nil?
106
104
  true
107
105
  end
108
106
 
109
- # Custom attribute writer method with validation
110
- # @param [Object] url Value to be assigned
111
- def url=(url)
112
- if url.nil?
113
- fail ArgumentError, 'url cannot be nil'
114
- end
115
-
116
- @url = url
117
- end
118
-
119
107
  # Checks equality by comparing each attribute.
120
108
  # @param [Object] Object to be compared
121
109
  def ==(o)
@@ -74,6 +74,8 @@ module FtcApiV3Client
74
74
  # List of attributes with nullable: true
75
75
  def self.openapi_nullable
76
76
  Set.new([
77
+ :'competing_type',
78
+ :'division_event_code'
77
79
  ])
78
80
  end
79
81
 
@@ -119,10 +121,6 @@ module FtcApiV3Client
119
121
  invalid_properties.push('invalid value for "team", team cannot be nil.')
120
122
  end
121
123
 
122
- if @competing_type.nil?
123
- invalid_properties.push('invalid value for "competing_type", competing_type cannot be nil.')
124
- end
125
-
126
124
  invalid_properties
127
125
  end
128
126
 
@@ -131,7 +129,6 @@ module FtcApiV3Client
131
129
  def valid?
132
130
  warn '[DEPRECATED] the `valid?` method is obsolete'
133
131
  return false if @team.nil?
134
- return false if @competing_type.nil?
135
132
  true
136
133
  end
137
134
 
@@ -145,16 +142,6 @@ module FtcApiV3Client
145
142
  @team = team
146
143
  end
147
144
 
148
- # Custom attribute writer method with validation
149
- # @param [Object] competing_type Value to be assigned
150
- def competing_type=(competing_type)
151
- if competing_type.nil?
152
- fail ArgumentError, 'competing_type cannot be nil'
153
- end
154
-
155
- @competing_type = competing_type
156
- end
157
-
158
145
  # Checks equality by comparing each attribute.
159
146
  # @param [Object] Object to be compared
160
147
  def ==(o)
@@ -161,6 +161,10 @@ module FtcApiV3Client
161
161
  # List of attributes with nullable: true
162
162
  def self.openapi_nullable
163
163
  Set.new([
164
+ :'auto_robot1',
165
+ :'auto_robot2',
166
+ :'eg_robot1',
167
+ :'eg_robot2',
164
168
  ])
165
169
  end
166
170
 
@@ -334,14 +338,6 @@ module FtcApiV3Client
334
338
  invalid_properties.push('invalid value for "auto_delivered", auto_delivered cannot be nil.')
335
339
  end
336
340
 
337
- if @auto_robot1.nil?
338
- invalid_properties.push('invalid value for "auto_robot1", auto_robot1 cannot be nil.')
339
- end
340
-
341
- if @auto_robot2.nil?
342
- invalid_properties.push('invalid value for "auto_robot2", auto_robot2 cannot be nil.')
343
- end
344
-
345
341
  if @preload1.nil?
346
342
  invalid_properties.push('invalid value for "preload1", preload1 cannot be nil.')
347
343
  end
@@ -394,14 +390,6 @@ module FtcApiV3Client
394
390
  invalid_properties.push('invalid value for "balanced", balanced cannot be nil.')
395
391
  end
396
392
 
397
- if @eg_robot1.nil?
398
- invalid_properties.push('invalid value for "eg_robot1", eg_robot1 cannot be nil.')
399
- end
400
-
401
- if @eg_robot2.nil?
402
- invalid_properties.push('invalid value for "eg_robot2", eg_robot2 cannot be nil.')
403
- end
404
-
405
393
  if @capped.nil?
406
394
  invalid_properties.push('invalid value for "capped", capped cannot be nil.')
407
395
  end
@@ -434,8 +422,6 @@ module FtcApiV3Client
434
422
  def valid?
435
423
  warn '[DEPRECATED] the `valid?` method is obsolete'
436
424
  return false if @auto_delivered.nil?
437
- return false if @auto_robot1.nil?
438
- return false if @auto_robot2.nil?
439
425
  return false if @preload1.nil?
440
426
  return false if @preload2.nil?
441
427
  return false if @auto_storage_freight.nil?
@@ -449,8 +435,6 @@ module FtcApiV3Client
449
435
  return false if @shared_freight.nil?
450
436
  return false if @eg_delivered.nil?
451
437
  return false if @balanced.nil?
452
- return false if @eg_robot1.nil?
453
- return false if @eg_robot2.nil?
454
438
  return false if @capped.nil?
455
439
  return false if @minor_penalties.nil?
456
440
  return false if @major_penalties.nil?
@@ -470,26 +454,6 @@ module FtcApiV3Client
470
454
  @auto_delivered = auto_delivered
471
455
  end
472
456
 
473
- # Custom attribute writer method with validation
474
- # @param [Object] auto_robot1 Value to be assigned
475
- def auto_robot1=(auto_robot1)
476
- if auto_robot1.nil?
477
- fail ArgumentError, 'auto_robot1 cannot be nil'
478
- end
479
-
480
- @auto_robot1 = auto_robot1
481
- end
482
-
483
- # Custom attribute writer method with validation
484
- # @param [Object] auto_robot2 Value to be assigned
485
- def auto_robot2=(auto_robot2)
486
- if auto_robot2.nil?
487
- fail ArgumentError, 'auto_robot2 cannot be nil'
488
- end
489
-
490
- @auto_robot2 = auto_robot2
491
- end
492
-
493
457
  # Custom attribute writer method with validation
494
458
  # @param [Object] preload1 Value to be assigned
495
459
  def preload1=(preload1)
@@ -620,26 +584,6 @@ module FtcApiV3Client
620
584
  @balanced = balanced
621
585
  end
622
586
 
623
- # Custom attribute writer method with validation
624
- # @param [Object] eg_robot1 Value to be assigned
625
- def eg_robot1=(eg_robot1)
626
- if eg_robot1.nil?
627
- fail ArgumentError, 'eg_robot1 cannot be nil'
628
- end
629
-
630
- @eg_robot1 = eg_robot1
631
- end
632
-
633
- # Custom attribute writer method with validation
634
- # @param [Object] eg_robot2 Value to be assigned
635
- def eg_robot2=(eg_robot2)
636
- if eg_robot2.nil?
637
- fail ArgumentError, 'eg_robot2 cannot be nil'
638
- end
639
-
640
- @eg_robot2 = eg_robot2
641
- end
642
-
643
587
  # Custom attribute writer method with validation
644
588
  # @param [Object] capped Value to be assigned
645
589
  def capped=(capped)
@@ -135,6 +135,8 @@ module FtcApiV3Client
135
135
  # List of attributes with nullable: true
136
136
  def self.openapi_nullable
137
137
  Set.new([
138
+ :'auto_robot',
139
+ :'eg_robot',
138
140
  ])
139
141
  end
140
142
 
@@ -272,10 +274,6 @@ module FtcApiV3Client
272
274
  invalid_properties.push('invalid value for "auto_delivered", auto_delivered cannot be nil.')
273
275
  end
274
276
 
275
- if @auto_robot.nil?
276
- invalid_properties.push('invalid value for "auto_robot", auto_robot cannot be nil.')
277
- end
278
-
279
277
  if @preload.nil?
280
278
  invalid_properties.push('invalid value for "preload", preload cannot be nil.')
281
279
  end
@@ -320,10 +318,6 @@ module FtcApiV3Client
320
318
  invalid_properties.push('invalid value for "balanced", balanced cannot be nil.')
321
319
  end
322
320
 
323
- if @eg_robot.nil?
324
- invalid_properties.push('invalid value for "eg_robot", eg_robot cannot be nil.')
325
- end
326
-
327
321
  if @capped.nil?
328
322
  invalid_properties.push('invalid value for "capped", capped cannot be nil.')
329
323
  end
@@ -348,7 +342,6 @@ module FtcApiV3Client
348
342
  def valid?
349
343
  warn '[DEPRECATED] the `valid?` method is obsolete'
350
344
  return false if @auto_delivered.nil?
351
- return false if @auto_robot.nil?
352
345
  return false if @preload.nil?
353
346
  return false if @auto_storage_freight.nil?
354
347
  return false if @auto_freight1.nil?
@@ -360,7 +353,6 @@ module FtcApiV3Client
360
353
  return false if @dc_freight3.nil?
361
354
  return false if @eg_delivered.nil?
362
355
  return false if @balanced.nil?
363
- return false if @eg_robot.nil?
364
356
  return false if @capped.nil?
365
357
  return false if @minor_penalties.nil?
366
358
  return false if @major_penalties.nil?
@@ -378,16 +370,6 @@ module FtcApiV3Client
378
370
  @auto_delivered = auto_delivered
379
371
  end
380
372
 
381
- # Custom attribute writer method with validation
382
- # @param [Object] auto_robot Value to be assigned
383
- def auto_robot=(auto_robot)
384
- if auto_robot.nil?
385
- fail ArgumentError, 'auto_robot cannot be nil'
386
- end
387
-
388
- @auto_robot = auto_robot
389
- end
390
-
391
373
  # Custom attribute writer method with validation
392
374
  # @param [Object] preload Value to be assigned
393
375
  def preload=(preload)
@@ -498,16 +480,6 @@ module FtcApiV3Client
498
480
  @balanced = balanced
499
481
  end
500
482
 
501
- # Custom attribute writer method with validation
502
- # @param [Object] eg_robot Value to be assigned
503
- def eg_robot=(eg_robot)
504
- if eg_robot.nil?
505
- fail ArgumentError, 'eg_robot cannot be nil'
506
- end
507
-
508
- @eg_robot = eg_robot
509
- end
510
-
511
483
  # Custom attribute writer method with validation
512
484
  # @param [Object] capped Value to be assigned
513
485
  def capped=(capped)
@@ -53,6 +53,7 @@ module FtcApiV3Client
53
53
  # List of attributes with nullable: true
54
54
  def self.openapi_nullable
55
55
  Set.new([
56
+ :'type',
56
57
  ])
57
58
  end
58
59
 
@@ -96,10 +97,6 @@ module FtcApiV3Client
96
97
  def list_invalid_properties
97
98
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
98
99
  invalid_properties = Array.new
99
- if @type.nil?
100
- invalid_properties.push('invalid value for "type", type cannot be nil.')
101
- end
102
-
103
100
  if @achievements.nil?
104
101
  invalid_properties.push('invalid value for "achievements", achievements cannot be nil.')
105
102
  end
@@ -115,22 +112,11 @@ module FtcApiV3Client
115
112
  # @return true if the model is valid
116
113
  def valid?
117
114
  warn '[DEPRECATED] the `valid?` method is obsolete'
118
- return false if @type.nil?
119
115
  return false if @achievements.nil?
120
116
  return false if @points.nil?
121
117
  true
122
118
  end
123
119
 
124
- # Custom attribute writer method with validation
125
- # @param [Object] type Value to be assigned
126
- def type=(type)
127
- if type.nil?
128
- fail ArgumentError, 'type cannot be nil'
129
- end
130
-
131
- @type = type
132
- end
133
-
134
120
  # Custom attribute writer method with validation
135
121
  # @param [Object] achievements Value to be assigned
136
122
  def achievements=(achievements)
@@ -53,6 +53,7 @@ module FtcApiV3Client
53
53
  # List of attributes with nullable: true
54
54
  def self.openapi_nullable
55
55
  Set.new([
56
+ :'type',
56
57
  ])
57
58
  end
58
59
 
@@ -96,10 +97,6 @@ module FtcApiV3Client
96
97
  def list_invalid_properties
97
98
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
98
99
  invalid_properties = Array.new
99
- if @type.nil?
100
- invalid_properties.push('invalid value for "type", type cannot be nil.')
101
- end
102
-
103
100
  if @achievements.nil?
104
101
  invalid_properties.push('invalid value for "achievements", achievements cannot be nil.')
105
102
  end
@@ -115,22 +112,11 @@ module FtcApiV3Client
115
112
  # @return true if the model is valid
116
113
  def valid?
117
114
  warn '[DEPRECATED] the `valid?` method is obsolete'
118
- return false if @type.nil?
119
115
  return false if @achievements.nil?
120
116
  return false if @points.nil?
121
117
  true
122
118
  end
123
119
 
124
- # Custom attribute writer method with validation
125
- # @param [Object] type Value to be assigned
126
- def type=(type)
127
- if type.nil?
128
- fail ArgumentError, 'type cannot be nil'
129
- end
130
-
131
- @type = type
132
- end
133
-
134
120
  # Custom attribute writer method with validation
135
121
  # @param [Object] achievements Value to be assigned
136
122
  def achievements=(achievements)
@@ -53,6 +53,7 @@ module FtcApiV3Client
53
53
  # List of attributes with nullable: true
54
54
  def self.openapi_nullable
55
55
  Set.new([
56
+ :'type',
56
57
  ])
57
58
  end
58
59
 
@@ -96,10 +97,6 @@ module FtcApiV3Client
96
97
  def list_invalid_properties
97
98
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
98
99
  invalid_properties = Array.new
99
- if @type.nil?
100
- invalid_properties.push('invalid value for "type", type cannot be nil.')
101
- end
102
-
103
100
  if @achievements.nil?
104
101
  invalid_properties.push('invalid value for "achievements", achievements cannot be nil.')
105
102
  end
@@ -115,22 +112,11 @@ module FtcApiV3Client
115
112
  # @return true if the model is valid
116
113
  def valid?
117
114
  warn '[DEPRECATED] the `valid?` method is obsolete'
118
- return false if @type.nil?
119
115
  return false if @achievements.nil?
120
116
  return false if @points.nil?
121
117
  true
122
118
  end
123
119
 
124
- # Custom attribute writer method with validation
125
- # @param [Object] type Value to be assigned
126
- def type=(type)
127
- if type.nil?
128
- fail ArgumentError, 'type cannot be nil'
129
- end
130
-
131
- @type = type
132
- end
133
-
134
120
  # Custom attribute writer method with validation
135
121
  # @param [Object] achievements Value to be assigned
136
122
  def achievements=(achievements)