ftc_api_v3_client 0.1.1 → 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 (85) 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.1.gem +0 -0
  5. data/lib/ftc_api_v3_client/api/events_api.rb +3 -103
  6. data/lib/ftc_api_v3_client/api/leagues_api.rb +0 -56
  7. data/lib/ftc_api_v3_client/api/regions_api.rb +0 -28
  8. data/lib/ftc_api_v3_client/api/seasons_api.rb +0 -4
  9. data/lib/ftc_api_v3_client/api/teams_api.rb +0 -28
  10. data/lib/ftc_api_v3_client/models/api_v3_advancement_from.rb +16 -1
  11. data/lib/ftc_api_v3_client/models/api_v3_advancement_from_slot.rb +2 -15
  12. data/lib/ftc_api_v3_client/models/api_v3_alliance_match.rb +32 -43
  13. data/lib/ftc_api_v3_client/models/api_v3_alliance_match_details.rb +32 -43
  14. data/lib/ftc_api_v3_client/models/api_v3_alliance_match_results.rb +31 -2
  15. data/lib/ftc_api_v3_client/models/api_v3_alliance_playoff_match_participants.rb +1 -15
  16. data/lib/ftc_api_v3_client/models/api_v3_alliance_selection.rb +1 -15
  17. data/lib/ftc_api_v3_client/models/api_v3_alliance_simple_match_participants.rb +1 -15
  18. data/lib/ftc_api_v3_client/models/api_v3_award.rb +4 -30
  19. data/lib/ftc_api_v3_client/models/api_v3_award_recipient.rb +2 -1
  20. data/lib/ftc_api_v3_client/models/api_v3_basic_alliance_description.rb +9 -9
  21. data/lib/ftc_api_v3_client/models/api_v3_center_stage_remote_score_detail.rb +1 -15
  22. data/lib/ftc_api_v3_client/models/api_v3_center_stage_score_detail.rb +1 -15
  23. data/lib/ftc_api_v3_client/models/api_v3_cs_achievements_detail.rb +138 -26
  24. data/lib/ftc_api_v3_client/models/api_v3_cs_points_detail.rb +240 -16
  25. data/lib/ftc_api_v3_client/models/api_v3_cs_remote_achievements_detail.rb +129 -17
  26. data/lib/ftc_api_v3_client/models/api_v3_cs_remote_points_detail.rb +225 -15
  27. data/lib/ftc_api_v3_client/models/api_v3_decode_achievements_detail.rb +93 -23
  28. data/lib/ftc_api_v3_client/models/api_v3_decode_points_detail.rb +180 -12
  29. data/lib/ftc_api_v3_client/models/api_v3_decode_score_detail.rb +1 -15
  30. data/lib/ftc_api_v3_client/models/api_v3_division.rb +2 -30
  31. data/lib/ftc_api_v3_client/models/api_v3_double_elimination_series_description.rb +34 -19
  32. data/lib/ftc_api_v3_client/models/api_v3_event.rb +32 -122
  33. data/lib/ftc_api_v3_client/models/api_v3_event_live_stream.rb +3 -15
  34. data/lib/ftc_api_v3_client/models/api_v3_event_participant.rb +2 -15
  35. data/lib/ftc_api_v3_client/models/api_v3_ff_achievements_detail.rb +185 -59
  36. data/lib/ftc_api_v3_client/models/api_v3_ff_points_detail.rb +285 -19
  37. data/lib/ftc_api_v3_client/models/api_v3_ff_remote_achievements_detail.rb +175 -35
  38. data/lib/ftc_api_v3_client/models/api_v3_ff_remote_points_detail.rb +240 -16
  39. data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_remote_score_detail.rb +1 -15
  40. data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_score_detail.rb +1 -15
  41. data/lib/ftc_api_v3_client/models/api_v3_into_the_deep_score_detail.rb +1 -15
  42. data/lib/ftc_api_v3_client/models/api_v3_itd_achievements_detail.rb +156 -44
  43. data/lib/ftc_api_v3_client/models/api_v3_itd_points_detail.rb +195 -13
  44. data/lib/ftc_api_v3_client/models/api_v3_league.rb +4 -30
  45. data/lib/ftc_api_v3_client/models/api_v3_league_details.rb +4 -30
  46. data/lib/ftc_api_v3_client/models/api_v3_pit_map.rb +60 -4
  47. data/lib/ftc_api_v3_client/models/api_v3_pit_map_element.rb +66 -5
  48. data/lib/ftc_api_v3_client/models/api_v3_playoff_alliance.rb +17 -1
  49. data/lib/ftc_api_v3_client/models/api_v3_playoff_match_alliance.rb +15 -1
  50. data/lib/ftc_api_v3_client/models/api_v3_playoff_ranking.rb +90 -6
  51. data/lib/ftc_api_v3_client/models/api_v3_playoff_series_description.rb +33 -19
  52. data/lib/ftc_api_v3_client/models/api_v3_playoff_structure.rb +9 -9
  53. data/lib/ftc_api_v3_client/models/api_v3_power_play_achievements_detail.rb +107 -7
  54. data/lib/ftc_api_v3_client/models/api_v3_power_play_points_detail.rb +225 -15
  55. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_achievements_detail.rb +121 -8
  56. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_points_detail.rb +210 -14
  57. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_score_detail.rb +1 -15
  58. data/lib/ftc_api_v3_client/models/api_v3_power_play_score_detail.rb +1 -15
  59. data/lib/ftc_api_v3_client/models/api_v3_ranking.rb +90 -6
  60. data/lib/ftc_api_v3_client/models/api_v3_region.rb +2 -30
  61. data/lib/ftc_api_v3_client/models/api_v3_round_robin_alliance_description.rb +9 -9
  62. data/lib/ftc_api_v3_client/models/api_v3_season.rb +11 -39
  63. data/lib/ftc_api_v3_client/models/api_v3_seasons.rb +15 -1
  64. data/lib/ftc_api_v3_client/models/api_v3_series_alliance_description.rb +10 -24
  65. data/lib/ftc_api_v3_client/models/api_v3_simple_event.rb +15 -120
  66. data/lib/ftc_api_v3_client/models/api_v3_simple_team.rb +3 -45
  67. data/lib/ftc_api_v3_client/models/api_v3_single_award_recipient.rb +4 -31
  68. data/lib/ftc_api_v3_client/models/api_v3_single_team_match.rb +32 -43
  69. data/lib/ftc_api_v3_client/models/api_v3_single_team_match_details.rb +32 -43
  70. data/lib/ftc_api_v3_client/models/api_v3_single_team_match_results.rb +15 -1
  71. data/lib/ftc_api_v3_client/models/api_v3_skystone_achievements_detail.rb +165 -11
  72. data/lib/ftc_api_v3_client/models/api_v3_skystone_points_detail.rb +225 -15
  73. data/lib/ftc_api_v3_client/models/api_v3_skystone_score_detail.rb +1 -15
  74. data/lib/ftc_api_v3_client/models/api_v3_team.rb +17 -54
  75. data/lib/ftc_api_v3_client/models/api_v3_team_avatar.rb +1 -15
  76. data/lib/ftc_api_v3_client/models/api_v3_team_history.rb +15 -54
  77. data/lib/ftc_api_v3_client/models/api_v3_ug_achievements_detail.rb +138 -26
  78. data/lib/ftc_api_v3_client/models/api_v3_ug_points_detail.rb +210 -14
  79. data/lib/ftc_api_v3_client/models/api_v3_ug_remote_achievements_detail.rb +138 -26
  80. data/lib/ftc_api_v3_client/models/api_v3_ug_remote_points_detail.rb +210 -14
  81. data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_remote_score_detail.rb +1 -15
  82. data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_score_detail.rb +1 -15
  83. data/lib/ftc_api_v3_client/version.rb +1 -1
  84. data/update.sh +1 -1
  85. metadata +2 -1
@@ -142,16 +142,8 @@ module FtcApiV3Client
142
142
  # List of attributes with nullable: true
143
143
  def self.openapi_nullable
144
144
  Set.new([
145
- :'auto_backdrop',
146
- :'auto_backstage',
147
- :'dc_backdrop',
148
- :'dc_backstage',
149
- :'mosaics',
150
- :'max_set_line',
151
- :'drone1',
152
- :'drone2',
153
- :'minor_penalties',
154
- :'major_penalties'
145
+ :'eg_robot1',
146
+ :'eg_robot2',
155
147
  ])
156
148
  end
157
149
 
@@ -329,12 +321,44 @@ module FtcApiV3Client
329
321
  invalid_properties.push('invalid value for "target_backdrop_pixel2", target_backdrop_pixel2 cannot be nil.')
330
322
  end
331
323
 
332
- if @eg_robot1.nil?
333
- invalid_properties.push('invalid value for "eg_robot1", eg_robot1 cannot be nil.')
324
+ if @auto_backdrop.nil?
325
+ invalid_properties.push('invalid value for "auto_backdrop", auto_backdrop cannot be nil.')
334
326
  end
335
327
 
336
- if @eg_robot2.nil?
337
- invalid_properties.push('invalid value for "eg_robot2", eg_robot2 cannot be nil.')
328
+ if @auto_backstage.nil?
329
+ invalid_properties.push('invalid value for "auto_backstage", auto_backstage cannot be nil.')
330
+ end
331
+
332
+ if @dc_backdrop.nil?
333
+ invalid_properties.push('invalid value for "dc_backdrop", dc_backdrop cannot be nil.')
334
+ end
335
+
336
+ if @dc_backstage.nil?
337
+ invalid_properties.push('invalid value for "dc_backstage", dc_backstage cannot be nil.')
338
+ end
339
+
340
+ if @mosaics.nil?
341
+ invalid_properties.push('invalid value for "mosaics", mosaics cannot be nil.')
342
+ end
343
+
344
+ if @max_set_line.nil?
345
+ invalid_properties.push('invalid value for "max_set_line", max_set_line cannot be nil.')
346
+ end
347
+
348
+ if @drone1.nil?
349
+ invalid_properties.push('invalid value for "drone1", drone1 cannot be nil.')
350
+ end
351
+
352
+ if @drone2.nil?
353
+ invalid_properties.push('invalid value for "drone2", drone2 cannot be nil.')
354
+ end
355
+
356
+ if @minor_penalties.nil?
357
+ invalid_properties.push('invalid value for "minor_penalties", minor_penalties cannot be nil.')
358
+ end
359
+
360
+ if @major_penalties.nil?
361
+ invalid_properties.push('invalid value for "major_penalties", major_penalties cannot be nil.')
338
362
  end
339
363
 
340
364
  invalid_properties
@@ -352,8 +376,16 @@ module FtcApiV3Client
352
376
  return false if @spike_mark_pixel2.nil?
353
377
  return false if @target_backdrop_pixel1.nil?
354
378
  return false if @target_backdrop_pixel2.nil?
355
- return false if @eg_robot1.nil?
356
- return false if @eg_robot2.nil?
379
+ return false if @auto_backdrop.nil?
380
+ return false if @auto_backstage.nil?
381
+ return false if @dc_backdrop.nil?
382
+ return false if @dc_backstage.nil?
383
+ return false if @mosaics.nil?
384
+ return false if @max_set_line.nil?
385
+ return false if @drone1.nil?
386
+ return false if @drone2.nil?
387
+ return false if @minor_penalties.nil?
388
+ return false if @major_penalties.nil?
357
389
  true
358
390
  end
359
391
 
@@ -438,23 +470,103 @@ module FtcApiV3Client
438
470
  end
439
471
 
440
472
  # Custom attribute writer method with validation
441
- # @param [Object] eg_robot1 Value to be assigned
442
- def eg_robot1=(eg_robot1)
443
- if eg_robot1.nil?
444
- fail ArgumentError, 'eg_robot1 cannot be nil'
473
+ # @param [Object] auto_backdrop Value to be assigned
474
+ def auto_backdrop=(auto_backdrop)
475
+ if auto_backdrop.nil?
476
+ fail ArgumentError, 'auto_backdrop cannot be nil'
477
+ end
478
+
479
+ @auto_backdrop = auto_backdrop
480
+ end
481
+
482
+ # Custom attribute writer method with validation
483
+ # @param [Object] auto_backstage Value to be assigned
484
+ def auto_backstage=(auto_backstage)
485
+ if auto_backstage.nil?
486
+ fail ArgumentError, 'auto_backstage cannot be nil'
487
+ end
488
+
489
+ @auto_backstage = auto_backstage
490
+ end
491
+
492
+ # Custom attribute writer method with validation
493
+ # @param [Object] dc_backdrop Value to be assigned
494
+ def dc_backdrop=(dc_backdrop)
495
+ if dc_backdrop.nil?
496
+ fail ArgumentError, 'dc_backdrop cannot be nil'
497
+ end
498
+
499
+ @dc_backdrop = dc_backdrop
500
+ end
501
+
502
+ # Custom attribute writer method with validation
503
+ # @param [Object] dc_backstage Value to be assigned
504
+ def dc_backstage=(dc_backstage)
505
+ if dc_backstage.nil?
506
+ fail ArgumentError, 'dc_backstage cannot be nil'
507
+ end
508
+
509
+ @dc_backstage = dc_backstage
510
+ end
511
+
512
+ # Custom attribute writer method with validation
513
+ # @param [Object] mosaics Value to be assigned
514
+ def mosaics=(mosaics)
515
+ if mosaics.nil?
516
+ fail ArgumentError, 'mosaics cannot be nil'
517
+ end
518
+
519
+ @mosaics = mosaics
520
+ end
521
+
522
+ # Custom attribute writer method with validation
523
+ # @param [Object] max_set_line Value to be assigned
524
+ def max_set_line=(max_set_line)
525
+ if max_set_line.nil?
526
+ fail ArgumentError, 'max_set_line cannot be nil'
527
+ end
528
+
529
+ @max_set_line = max_set_line
530
+ end
531
+
532
+ # Custom attribute writer method with validation
533
+ # @param [Object] drone1 Value to be assigned
534
+ def drone1=(drone1)
535
+ if drone1.nil?
536
+ fail ArgumentError, 'drone1 cannot be nil'
537
+ end
538
+
539
+ @drone1 = drone1
540
+ end
541
+
542
+ # Custom attribute writer method with validation
543
+ # @param [Object] drone2 Value to be assigned
544
+ def drone2=(drone2)
545
+ if drone2.nil?
546
+ fail ArgumentError, 'drone2 cannot be nil'
547
+ end
548
+
549
+ @drone2 = drone2
550
+ end
551
+
552
+ # Custom attribute writer method with validation
553
+ # @param [Object] minor_penalties Value to be assigned
554
+ def minor_penalties=(minor_penalties)
555
+ if minor_penalties.nil?
556
+ fail ArgumentError, 'minor_penalties cannot be nil'
445
557
  end
446
558
 
447
- @eg_robot1 = eg_robot1
559
+ @minor_penalties = minor_penalties
448
560
  end
449
561
 
450
562
  # Custom attribute writer method with validation
451
- # @param [Object] eg_robot2 Value to be assigned
452
- def eg_robot2=(eg_robot2)
453
- if eg_robot2.nil?
454
- fail ArgumentError, 'eg_robot2 cannot be nil'
563
+ # @param [Object] major_penalties Value to be assigned
564
+ def major_penalties=(major_penalties)
565
+ if major_penalties.nil?
566
+ fail ArgumentError, 'major_penalties cannot be nil'
455
567
  end
456
568
 
457
- @eg_robot2 = eg_robot2
569
+ @major_penalties = major_penalties
458
570
  end
459
571
 
460
572
  # Checks equality by comparing each attribute.
@@ -105,22 +105,6 @@ module FtcApiV3Client
105
105
  # List of attributes with nullable: true
106
106
  def self.openapi_nullable
107
107
  Set.new([
108
- :'auto_navigating_points',
109
- :'auto_randomization_points',
110
- :'auto_backdrop_points',
111
- :'auto_backstage_points',
112
- :'dc_backdrop_points',
113
- :'dc_backstage_points',
114
- :'mosaic_points',
115
- :'set_bonus_points',
116
- :'eg_location_points',
117
- :'eg_drone_points',
118
- :'auto_points',
119
- :'dc_points',
120
- :'endgame_points',
121
- :'penalty_points_committed',
122
- :'pre_penalty_total',
123
- :'adjust_points'
124
108
  ])
125
109
  end
126
110
 
@@ -242,6 +226,70 @@ module FtcApiV3Client
242
226
  def list_invalid_properties
243
227
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
244
228
  invalid_properties = Array.new
229
+ if @auto_navigating_points.nil?
230
+ invalid_properties.push('invalid value for "auto_navigating_points", auto_navigating_points cannot be nil.')
231
+ end
232
+
233
+ if @auto_randomization_points.nil?
234
+ invalid_properties.push('invalid value for "auto_randomization_points", auto_randomization_points cannot be nil.')
235
+ end
236
+
237
+ if @auto_backdrop_points.nil?
238
+ invalid_properties.push('invalid value for "auto_backdrop_points", auto_backdrop_points cannot be nil.')
239
+ end
240
+
241
+ if @auto_backstage_points.nil?
242
+ invalid_properties.push('invalid value for "auto_backstage_points", auto_backstage_points cannot be nil.')
243
+ end
244
+
245
+ if @dc_backdrop_points.nil?
246
+ invalid_properties.push('invalid value for "dc_backdrop_points", dc_backdrop_points cannot be nil.')
247
+ end
248
+
249
+ if @dc_backstage_points.nil?
250
+ invalid_properties.push('invalid value for "dc_backstage_points", dc_backstage_points cannot be nil.')
251
+ end
252
+
253
+ if @mosaic_points.nil?
254
+ invalid_properties.push('invalid value for "mosaic_points", mosaic_points cannot be nil.')
255
+ end
256
+
257
+ if @set_bonus_points.nil?
258
+ invalid_properties.push('invalid value for "set_bonus_points", set_bonus_points cannot be nil.')
259
+ end
260
+
261
+ if @eg_location_points.nil?
262
+ invalid_properties.push('invalid value for "eg_location_points", eg_location_points cannot be nil.')
263
+ end
264
+
265
+ if @eg_drone_points.nil?
266
+ invalid_properties.push('invalid value for "eg_drone_points", eg_drone_points cannot be nil.')
267
+ end
268
+
269
+ if @auto_points.nil?
270
+ invalid_properties.push('invalid value for "auto_points", auto_points cannot be nil.')
271
+ end
272
+
273
+ if @dc_points.nil?
274
+ invalid_properties.push('invalid value for "dc_points", dc_points cannot be nil.')
275
+ end
276
+
277
+ if @endgame_points.nil?
278
+ invalid_properties.push('invalid value for "endgame_points", endgame_points cannot be nil.')
279
+ end
280
+
281
+ if @penalty_points_committed.nil?
282
+ invalid_properties.push('invalid value for "penalty_points_committed", penalty_points_committed cannot be nil.')
283
+ end
284
+
285
+ if @pre_penalty_total.nil?
286
+ invalid_properties.push('invalid value for "pre_penalty_total", pre_penalty_total cannot be nil.')
287
+ end
288
+
289
+ if @adjust_points.nil?
290
+ invalid_properties.push('invalid value for "adjust_points", adjust_points cannot be nil.')
291
+ end
292
+
245
293
  invalid_properties
246
294
  end
247
295
 
@@ -249,9 +297,185 @@ module FtcApiV3Client
249
297
  # @return true if the model is valid
250
298
  def valid?
251
299
  warn '[DEPRECATED] the `valid?` method is obsolete'
300
+ return false if @auto_navigating_points.nil?
301
+ return false if @auto_randomization_points.nil?
302
+ return false if @auto_backdrop_points.nil?
303
+ return false if @auto_backstage_points.nil?
304
+ return false if @dc_backdrop_points.nil?
305
+ return false if @dc_backstage_points.nil?
306
+ return false if @mosaic_points.nil?
307
+ return false if @set_bonus_points.nil?
308
+ return false if @eg_location_points.nil?
309
+ return false if @eg_drone_points.nil?
310
+ return false if @auto_points.nil?
311
+ return false if @dc_points.nil?
312
+ return false if @endgame_points.nil?
313
+ return false if @penalty_points_committed.nil?
314
+ return false if @pre_penalty_total.nil?
315
+ return false if @adjust_points.nil?
252
316
  true
253
317
  end
254
318
 
319
+ # Custom attribute writer method with validation
320
+ # @param [Object] auto_navigating_points Value to be assigned
321
+ def auto_navigating_points=(auto_navigating_points)
322
+ if auto_navigating_points.nil?
323
+ fail ArgumentError, 'auto_navigating_points cannot be nil'
324
+ end
325
+
326
+ @auto_navigating_points = auto_navigating_points
327
+ end
328
+
329
+ # Custom attribute writer method with validation
330
+ # @param [Object] auto_randomization_points Value to be assigned
331
+ def auto_randomization_points=(auto_randomization_points)
332
+ if auto_randomization_points.nil?
333
+ fail ArgumentError, 'auto_randomization_points cannot be nil'
334
+ end
335
+
336
+ @auto_randomization_points = auto_randomization_points
337
+ end
338
+
339
+ # Custom attribute writer method with validation
340
+ # @param [Object] auto_backdrop_points Value to be assigned
341
+ def auto_backdrop_points=(auto_backdrop_points)
342
+ if auto_backdrop_points.nil?
343
+ fail ArgumentError, 'auto_backdrop_points cannot be nil'
344
+ end
345
+
346
+ @auto_backdrop_points = auto_backdrop_points
347
+ end
348
+
349
+ # Custom attribute writer method with validation
350
+ # @param [Object] auto_backstage_points Value to be assigned
351
+ def auto_backstage_points=(auto_backstage_points)
352
+ if auto_backstage_points.nil?
353
+ fail ArgumentError, 'auto_backstage_points cannot be nil'
354
+ end
355
+
356
+ @auto_backstage_points = auto_backstage_points
357
+ end
358
+
359
+ # Custom attribute writer method with validation
360
+ # @param [Object] dc_backdrop_points Value to be assigned
361
+ def dc_backdrop_points=(dc_backdrop_points)
362
+ if dc_backdrop_points.nil?
363
+ fail ArgumentError, 'dc_backdrop_points cannot be nil'
364
+ end
365
+
366
+ @dc_backdrop_points = dc_backdrop_points
367
+ end
368
+
369
+ # Custom attribute writer method with validation
370
+ # @param [Object] dc_backstage_points Value to be assigned
371
+ def dc_backstage_points=(dc_backstage_points)
372
+ if dc_backstage_points.nil?
373
+ fail ArgumentError, 'dc_backstage_points cannot be nil'
374
+ end
375
+
376
+ @dc_backstage_points = dc_backstage_points
377
+ end
378
+
379
+ # Custom attribute writer method with validation
380
+ # @param [Object] mosaic_points Value to be assigned
381
+ def mosaic_points=(mosaic_points)
382
+ if mosaic_points.nil?
383
+ fail ArgumentError, 'mosaic_points cannot be nil'
384
+ end
385
+
386
+ @mosaic_points = mosaic_points
387
+ end
388
+
389
+ # Custom attribute writer method with validation
390
+ # @param [Object] set_bonus_points Value to be assigned
391
+ def set_bonus_points=(set_bonus_points)
392
+ if set_bonus_points.nil?
393
+ fail ArgumentError, 'set_bonus_points cannot be nil'
394
+ end
395
+
396
+ @set_bonus_points = set_bonus_points
397
+ end
398
+
399
+ # Custom attribute writer method with validation
400
+ # @param [Object] eg_location_points Value to be assigned
401
+ def eg_location_points=(eg_location_points)
402
+ if eg_location_points.nil?
403
+ fail ArgumentError, 'eg_location_points cannot be nil'
404
+ end
405
+
406
+ @eg_location_points = eg_location_points
407
+ end
408
+
409
+ # Custom attribute writer method with validation
410
+ # @param [Object] eg_drone_points Value to be assigned
411
+ def eg_drone_points=(eg_drone_points)
412
+ if eg_drone_points.nil?
413
+ fail ArgumentError, 'eg_drone_points cannot be nil'
414
+ end
415
+
416
+ @eg_drone_points = eg_drone_points
417
+ end
418
+
419
+ # Custom attribute writer method with validation
420
+ # @param [Object] auto_points Value to be assigned
421
+ def auto_points=(auto_points)
422
+ if auto_points.nil?
423
+ fail ArgumentError, 'auto_points cannot be nil'
424
+ end
425
+
426
+ @auto_points = auto_points
427
+ end
428
+
429
+ # Custom attribute writer method with validation
430
+ # @param [Object] dc_points Value to be assigned
431
+ def dc_points=(dc_points)
432
+ if dc_points.nil?
433
+ fail ArgumentError, 'dc_points cannot be nil'
434
+ end
435
+
436
+ @dc_points = dc_points
437
+ end
438
+
439
+ # Custom attribute writer method with validation
440
+ # @param [Object] endgame_points Value to be assigned
441
+ def endgame_points=(endgame_points)
442
+ if endgame_points.nil?
443
+ fail ArgumentError, 'endgame_points cannot be nil'
444
+ end
445
+
446
+ @endgame_points = endgame_points
447
+ end
448
+
449
+ # Custom attribute writer method with validation
450
+ # @param [Object] penalty_points_committed Value to be assigned
451
+ def penalty_points_committed=(penalty_points_committed)
452
+ if penalty_points_committed.nil?
453
+ fail ArgumentError, 'penalty_points_committed cannot be nil'
454
+ end
455
+
456
+ @penalty_points_committed = penalty_points_committed
457
+ end
458
+
459
+ # Custom attribute writer method with validation
460
+ # @param [Object] pre_penalty_total Value to be assigned
461
+ def pre_penalty_total=(pre_penalty_total)
462
+ if pre_penalty_total.nil?
463
+ fail ArgumentError, 'pre_penalty_total cannot be nil'
464
+ end
465
+
466
+ @pre_penalty_total = pre_penalty_total
467
+ end
468
+
469
+ # Custom attribute writer method with validation
470
+ # @param [Object] adjust_points Value to be assigned
471
+ def adjust_points=(adjust_points)
472
+ if adjust_points.nil?
473
+ fail ArgumentError, 'adjust_points cannot be nil'
474
+ end
475
+
476
+ @adjust_points = adjust_points
477
+ end
478
+
255
479
  # Checks equality by comparing each attribute.
256
480
  # @param [Object] Object to be compared
257
481
  def ==(o)
@@ -118,15 +118,7 @@ module FtcApiV3Client
118
118
  # List of attributes with nullable: true
119
119
  def self.openapi_nullable
120
120
  Set.new([
121
- :'auto_backdrop',
122
- :'auto_backstage',
123
- :'dc_backdrop',
124
- :'dc_backstage',
125
- :'mosaics',
126
- :'max_set_line',
127
- :'drone',
128
- :'minor_penalties',
129
- :'major_penalties'
121
+ :'eg_robot',
130
122
  ])
131
123
  end
132
124
 
@@ -252,8 +244,40 @@ module FtcApiV3Client
252
244
  invalid_properties.push('invalid value for "target_backdrop_pixel", target_backdrop_pixel cannot be nil.')
253
245
  end
254
246
 
255
- if @eg_robot.nil?
256
- invalid_properties.push('invalid value for "eg_robot", eg_robot cannot be nil.')
247
+ if @auto_backdrop.nil?
248
+ invalid_properties.push('invalid value for "auto_backdrop", auto_backdrop cannot be nil.')
249
+ end
250
+
251
+ if @auto_backstage.nil?
252
+ invalid_properties.push('invalid value for "auto_backstage", auto_backstage cannot be nil.')
253
+ end
254
+
255
+ if @dc_backdrop.nil?
256
+ invalid_properties.push('invalid value for "dc_backdrop", dc_backdrop cannot be nil.')
257
+ end
258
+
259
+ if @dc_backstage.nil?
260
+ invalid_properties.push('invalid value for "dc_backstage", dc_backstage cannot be nil.')
261
+ end
262
+
263
+ if @mosaics.nil?
264
+ invalid_properties.push('invalid value for "mosaics", mosaics cannot be nil.')
265
+ end
266
+
267
+ if @max_set_line.nil?
268
+ invalid_properties.push('invalid value for "max_set_line", max_set_line cannot be nil.')
269
+ end
270
+
271
+ if @drone.nil?
272
+ invalid_properties.push('invalid value for "drone", drone cannot be nil.')
273
+ end
274
+
275
+ if @minor_penalties.nil?
276
+ invalid_properties.push('invalid value for "minor_penalties", minor_penalties cannot be nil.')
277
+ end
278
+
279
+ if @major_penalties.nil?
280
+ invalid_properties.push('invalid value for "major_penalties", major_penalties cannot be nil.')
257
281
  end
258
282
 
259
283
  invalid_properties
@@ -267,7 +291,15 @@ module FtcApiV3Client
267
291
  return false if @robot_auto.nil?
268
292
  return false if @spike_mark_pixel.nil?
269
293
  return false if @target_backdrop_pixel.nil?
270
- return false if @eg_robot.nil?
294
+ return false if @auto_backdrop.nil?
295
+ return false if @auto_backstage.nil?
296
+ return false if @dc_backdrop.nil?
297
+ return false if @dc_backstage.nil?
298
+ return false if @mosaics.nil?
299
+ return false if @max_set_line.nil?
300
+ return false if @drone.nil?
301
+ return false if @minor_penalties.nil?
302
+ return false if @major_penalties.nil?
271
303
  true
272
304
  end
273
305
 
@@ -312,13 +344,93 @@ module FtcApiV3Client
312
344
  end
313
345
 
314
346
  # Custom attribute writer method with validation
315
- # @param [Object] eg_robot Value to be assigned
316
- def eg_robot=(eg_robot)
317
- if eg_robot.nil?
318
- fail ArgumentError, 'eg_robot cannot be nil'
347
+ # @param [Object] auto_backdrop Value to be assigned
348
+ def auto_backdrop=(auto_backdrop)
349
+ if auto_backdrop.nil?
350
+ fail ArgumentError, 'auto_backdrop cannot be nil'
351
+ end
352
+
353
+ @auto_backdrop = auto_backdrop
354
+ end
355
+
356
+ # Custom attribute writer method with validation
357
+ # @param [Object] auto_backstage Value to be assigned
358
+ def auto_backstage=(auto_backstage)
359
+ if auto_backstage.nil?
360
+ fail ArgumentError, 'auto_backstage cannot be nil'
361
+ end
362
+
363
+ @auto_backstage = auto_backstage
364
+ end
365
+
366
+ # Custom attribute writer method with validation
367
+ # @param [Object] dc_backdrop Value to be assigned
368
+ def dc_backdrop=(dc_backdrop)
369
+ if dc_backdrop.nil?
370
+ fail ArgumentError, 'dc_backdrop cannot be nil'
371
+ end
372
+
373
+ @dc_backdrop = dc_backdrop
374
+ end
375
+
376
+ # Custom attribute writer method with validation
377
+ # @param [Object] dc_backstage Value to be assigned
378
+ def dc_backstage=(dc_backstage)
379
+ if dc_backstage.nil?
380
+ fail ArgumentError, 'dc_backstage cannot be nil'
381
+ end
382
+
383
+ @dc_backstage = dc_backstage
384
+ end
385
+
386
+ # Custom attribute writer method with validation
387
+ # @param [Object] mosaics Value to be assigned
388
+ def mosaics=(mosaics)
389
+ if mosaics.nil?
390
+ fail ArgumentError, 'mosaics cannot be nil'
391
+ end
392
+
393
+ @mosaics = mosaics
394
+ end
395
+
396
+ # Custom attribute writer method with validation
397
+ # @param [Object] max_set_line Value to be assigned
398
+ def max_set_line=(max_set_line)
399
+ if max_set_line.nil?
400
+ fail ArgumentError, 'max_set_line cannot be nil'
401
+ end
402
+
403
+ @max_set_line = max_set_line
404
+ end
405
+
406
+ # Custom attribute writer method with validation
407
+ # @param [Object] drone Value to be assigned
408
+ def drone=(drone)
409
+ if drone.nil?
410
+ fail ArgumentError, 'drone cannot be nil'
411
+ end
412
+
413
+ @drone = drone
414
+ end
415
+
416
+ # Custom attribute writer method with validation
417
+ # @param [Object] minor_penalties Value to be assigned
418
+ def minor_penalties=(minor_penalties)
419
+ if minor_penalties.nil?
420
+ fail ArgumentError, 'minor_penalties cannot be nil'
421
+ end
422
+
423
+ @minor_penalties = minor_penalties
424
+ end
425
+
426
+ # Custom attribute writer method with validation
427
+ # @param [Object] major_penalties Value to be assigned
428
+ def major_penalties=(major_penalties)
429
+ if major_penalties.nil?
430
+ fail ArgumentError, 'major_penalties cannot be nil'
319
431
  end
320
432
 
321
- @eg_robot = eg_robot
433
+ @major_penalties = major_penalties
322
434
  end
323
435
 
324
436
  # Checks equality by comparing each attribute.