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
@@ -100,21 +100,6 @@ module FtcApiV3Client
100
100
  # List of attributes with nullable: true
101
101
  def self.openapi_nullable
102
102
  Set.new([
103
- :'auto_navigating_points',
104
- :'auto_randomization_points',
105
- :'auto_backdrop_points',
106
- :'auto_backstage_points',
107
- :'dc_backdrop_points',
108
- :'dc_backstage_points',
109
- :'mosaic_points',
110
- :'set_bonus_points',
111
- :'eg_location_points',
112
- :'eg_drone_points',
113
- :'auto_points',
114
- :'dc_points',
115
- :'endgame_points',
116
- :'penalty_points_committed',
117
- :'pre_penalty_total'
118
103
  ])
119
104
  end
120
105
 
@@ -230,6 +215,66 @@ module FtcApiV3Client
230
215
  def list_invalid_properties
231
216
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
232
217
  invalid_properties = Array.new
218
+ if @auto_navigating_points.nil?
219
+ invalid_properties.push('invalid value for "auto_navigating_points", auto_navigating_points cannot be nil.')
220
+ end
221
+
222
+ if @auto_randomization_points.nil?
223
+ invalid_properties.push('invalid value for "auto_randomization_points", auto_randomization_points cannot be nil.')
224
+ end
225
+
226
+ if @auto_backdrop_points.nil?
227
+ invalid_properties.push('invalid value for "auto_backdrop_points", auto_backdrop_points cannot be nil.')
228
+ end
229
+
230
+ if @auto_backstage_points.nil?
231
+ invalid_properties.push('invalid value for "auto_backstage_points", auto_backstage_points cannot be nil.')
232
+ end
233
+
234
+ if @dc_backdrop_points.nil?
235
+ invalid_properties.push('invalid value for "dc_backdrop_points", dc_backdrop_points cannot be nil.')
236
+ end
237
+
238
+ if @dc_backstage_points.nil?
239
+ invalid_properties.push('invalid value for "dc_backstage_points", dc_backstage_points cannot be nil.')
240
+ end
241
+
242
+ if @mosaic_points.nil?
243
+ invalid_properties.push('invalid value for "mosaic_points", mosaic_points cannot be nil.')
244
+ end
245
+
246
+ if @set_bonus_points.nil?
247
+ invalid_properties.push('invalid value for "set_bonus_points", set_bonus_points cannot be nil.')
248
+ end
249
+
250
+ if @eg_location_points.nil?
251
+ invalid_properties.push('invalid value for "eg_location_points", eg_location_points cannot be nil.')
252
+ end
253
+
254
+ if @eg_drone_points.nil?
255
+ invalid_properties.push('invalid value for "eg_drone_points", eg_drone_points cannot be nil.')
256
+ end
257
+
258
+ if @auto_points.nil?
259
+ invalid_properties.push('invalid value for "auto_points", auto_points cannot be nil.')
260
+ end
261
+
262
+ if @dc_points.nil?
263
+ invalid_properties.push('invalid value for "dc_points", dc_points cannot be nil.')
264
+ end
265
+
266
+ if @endgame_points.nil?
267
+ invalid_properties.push('invalid value for "endgame_points", endgame_points cannot be nil.')
268
+ end
269
+
270
+ if @penalty_points_committed.nil?
271
+ invalid_properties.push('invalid value for "penalty_points_committed", penalty_points_committed cannot be nil.')
272
+ end
273
+
274
+ if @pre_penalty_total.nil?
275
+ invalid_properties.push('invalid value for "pre_penalty_total", pre_penalty_total cannot be nil.')
276
+ end
277
+
233
278
  invalid_properties
234
279
  end
235
280
 
@@ -237,9 +282,174 @@ module FtcApiV3Client
237
282
  # @return true if the model is valid
238
283
  def valid?
239
284
  warn '[DEPRECATED] the `valid?` method is obsolete'
285
+ return false if @auto_navigating_points.nil?
286
+ return false if @auto_randomization_points.nil?
287
+ return false if @auto_backdrop_points.nil?
288
+ return false if @auto_backstage_points.nil?
289
+ return false if @dc_backdrop_points.nil?
290
+ return false if @dc_backstage_points.nil?
291
+ return false if @mosaic_points.nil?
292
+ return false if @set_bonus_points.nil?
293
+ return false if @eg_location_points.nil?
294
+ return false if @eg_drone_points.nil?
295
+ return false if @auto_points.nil?
296
+ return false if @dc_points.nil?
297
+ return false if @endgame_points.nil?
298
+ return false if @penalty_points_committed.nil?
299
+ return false if @pre_penalty_total.nil?
240
300
  true
241
301
  end
242
302
 
303
+ # Custom attribute writer method with validation
304
+ # @param [Object] auto_navigating_points Value to be assigned
305
+ def auto_navigating_points=(auto_navigating_points)
306
+ if auto_navigating_points.nil?
307
+ fail ArgumentError, 'auto_navigating_points cannot be nil'
308
+ end
309
+
310
+ @auto_navigating_points = auto_navigating_points
311
+ end
312
+
313
+ # Custom attribute writer method with validation
314
+ # @param [Object] auto_randomization_points Value to be assigned
315
+ def auto_randomization_points=(auto_randomization_points)
316
+ if auto_randomization_points.nil?
317
+ fail ArgumentError, 'auto_randomization_points cannot be nil'
318
+ end
319
+
320
+ @auto_randomization_points = auto_randomization_points
321
+ end
322
+
323
+ # Custom attribute writer method with validation
324
+ # @param [Object] auto_backdrop_points Value to be assigned
325
+ def auto_backdrop_points=(auto_backdrop_points)
326
+ if auto_backdrop_points.nil?
327
+ fail ArgumentError, 'auto_backdrop_points cannot be nil'
328
+ end
329
+
330
+ @auto_backdrop_points = auto_backdrop_points
331
+ end
332
+
333
+ # Custom attribute writer method with validation
334
+ # @param [Object] auto_backstage_points Value to be assigned
335
+ def auto_backstage_points=(auto_backstage_points)
336
+ if auto_backstage_points.nil?
337
+ fail ArgumentError, 'auto_backstage_points cannot be nil'
338
+ end
339
+
340
+ @auto_backstage_points = auto_backstage_points
341
+ end
342
+
343
+ # Custom attribute writer method with validation
344
+ # @param [Object] dc_backdrop_points Value to be assigned
345
+ def dc_backdrop_points=(dc_backdrop_points)
346
+ if dc_backdrop_points.nil?
347
+ fail ArgumentError, 'dc_backdrop_points cannot be nil'
348
+ end
349
+
350
+ @dc_backdrop_points = dc_backdrop_points
351
+ end
352
+
353
+ # Custom attribute writer method with validation
354
+ # @param [Object] dc_backstage_points Value to be assigned
355
+ def dc_backstage_points=(dc_backstage_points)
356
+ if dc_backstage_points.nil?
357
+ fail ArgumentError, 'dc_backstage_points cannot be nil'
358
+ end
359
+
360
+ @dc_backstage_points = dc_backstage_points
361
+ end
362
+
363
+ # Custom attribute writer method with validation
364
+ # @param [Object] mosaic_points Value to be assigned
365
+ def mosaic_points=(mosaic_points)
366
+ if mosaic_points.nil?
367
+ fail ArgumentError, 'mosaic_points cannot be nil'
368
+ end
369
+
370
+ @mosaic_points = mosaic_points
371
+ end
372
+
373
+ # Custom attribute writer method with validation
374
+ # @param [Object] set_bonus_points Value to be assigned
375
+ def set_bonus_points=(set_bonus_points)
376
+ if set_bonus_points.nil?
377
+ fail ArgumentError, 'set_bonus_points cannot be nil'
378
+ end
379
+
380
+ @set_bonus_points = set_bonus_points
381
+ end
382
+
383
+ # Custom attribute writer method with validation
384
+ # @param [Object] eg_location_points Value to be assigned
385
+ def eg_location_points=(eg_location_points)
386
+ if eg_location_points.nil?
387
+ fail ArgumentError, 'eg_location_points cannot be nil'
388
+ end
389
+
390
+ @eg_location_points = eg_location_points
391
+ end
392
+
393
+ # Custom attribute writer method with validation
394
+ # @param [Object] eg_drone_points Value to be assigned
395
+ def eg_drone_points=(eg_drone_points)
396
+ if eg_drone_points.nil?
397
+ fail ArgumentError, 'eg_drone_points cannot be nil'
398
+ end
399
+
400
+ @eg_drone_points = eg_drone_points
401
+ end
402
+
403
+ # Custom attribute writer method with validation
404
+ # @param [Object] auto_points Value to be assigned
405
+ def auto_points=(auto_points)
406
+ if auto_points.nil?
407
+ fail ArgumentError, 'auto_points cannot be nil'
408
+ end
409
+
410
+ @auto_points = auto_points
411
+ end
412
+
413
+ # Custom attribute writer method with validation
414
+ # @param [Object] dc_points Value to be assigned
415
+ def dc_points=(dc_points)
416
+ if dc_points.nil?
417
+ fail ArgumentError, 'dc_points cannot be nil'
418
+ end
419
+
420
+ @dc_points = dc_points
421
+ end
422
+
423
+ # Custom attribute writer method with validation
424
+ # @param [Object] endgame_points Value to be assigned
425
+ def endgame_points=(endgame_points)
426
+ if endgame_points.nil?
427
+ fail ArgumentError, 'endgame_points cannot be nil'
428
+ end
429
+
430
+ @endgame_points = endgame_points
431
+ end
432
+
433
+ # Custom attribute writer method with validation
434
+ # @param [Object] penalty_points_committed Value to be assigned
435
+ def penalty_points_committed=(penalty_points_committed)
436
+ if penalty_points_committed.nil?
437
+ fail ArgumentError, 'penalty_points_committed cannot be nil'
438
+ end
439
+
440
+ @penalty_points_committed = penalty_points_committed
441
+ end
442
+
443
+ # Custom attribute writer method with validation
444
+ # @param [Object] pre_penalty_total Value to be assigned
445
+ def pre_penalty_total=(pre_penalty_total)
446
+ if pre_penalty_total.nil?
447
+ fail ArgumentError, 'pre_penalty_total cannot be nil'
448
+ end
449
+
450
+ @pre_penalty_total = pre_penalty_total
451
+ end
452
+
243
453
  # Checks equality by comparing each attribute.
244
454
  # @param [Object] Object to be compared
245
455
  def ==(o)
@@ -114,13 +114,8 @@ module FtcApiV3Client
114
114
  # List of attributes with nullable: true
115
115
  def self.openapi_nullable
116
116
  Set.new([
117
- :'auto_classified_artifacts',
118
- :'auto_overflow_artifacts',
119
- :'teleop_classified_artifacts',
120
- :'teleop_overflow_artifacts',
121
- :'teleop_depot_artifacts',
122
- :'minor_fouls',
123
- :'major_fouls'
117
+ :'robot1_teleop',
118
+ :'robot2_teleop',
124
119
  ])
125
120
  end
126
121
 
@@ -228,6 +223,14 @@ module FtcApiV3Client
228
223
  def list_invalid_properties
229
224
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
230
225
  invalid_properties = Array.new
226
+ if @auto_classified_artifacts.nil?
227
+ invalid_properties.push('invalid value for "auto_classified_artifacts", auto_classified_artifacts cannot be nil.')
228
+ end
229
+
230
+ if @auto_overflow_artifacts.nil?
231
+ invalid_properties.push('invalid value for "auto_overflow_artifacts", auto_overflow_artifacts cannot be nil.')
232
+ end
233
+
231
234
  if @auto_classifier_state.nil?
232
235
  invalid_properties.push('invalid value for "auto_classifier_state", auto_classifier_state cannot be nil.')
233
236
  end
@@ -240,16 +243,28 @@ module FtcApiV3Client
240
243
  invalid_properties.push('invalid value for "robot2_auto", robot2_auto cannot be nil.')
241
244
  end
242
245
 
246
+ if @teleop_classified_artifacts.nil?
247
+ invalid_properties.push('invalid value for "teleop_classified_artifacts", teleop_classified_artifacts cannot be nil.')
248
+ end
249
+
250
+ if @teleop_overflow_artifacts.nil?
251
+ invalid_properties.push('invalid value for "teleop_overflow_artifacts", teleop_overflow_artifacts cannot be nil.')
252
+ end
253
+
254
+ if @teleop_depot_artifacts.nil?
255
+ invalid_properties.push('invalid value for "teleop_depot_artifacts", teleop_depot_artifacts cannot be nil.')
256
+ end
257
+
243
258
  if @teleop_classifier_state.nil?
244
259
  invalid_properties.push('invalid value for "teleop_classifier_state", teleop_classifier_state cannot be nil.')
245
260
  end
246
261
 
247
- if @robot1_teleop.nil?
248
- invalid_properties.push('invalid value for "robot1_teleop", robot1_teleop cannot be nil.')
262
+ if @minor_fouls.nil?
263
+ invalid_properties.push('invalid value for "minor_fouls", minor_fouls cannot be nil.')
249
264
  end
250
265
 
251
- if @robot2_teleop.nil?
252
- invalid_properties.push('invalid value for "robot2_teleop", robot2_teleop cannot be nil.')
266
+ if @major_fouls.nil?
267
+ invalid_properties.push('invalid value for "major_fouls", major_fouls cannot be nil.')
253
268
  end
254
269
 
255
270
  invalid_properties
@@ -259,15 +274,40 @@ module FtcApiV3Client
259
274
  # @return true if the model is valid
260
275
  def valid?
261
276
  warn '[DEPRECATED] the `valid?` method is obsolete'
277
+ return false if @auto_classified_artifacts.nil?
278
+ return false if @auto_overflow_artifacts.nil?
262
279
  return false if @auto_classifier_state.nil?
263
280
  return false if @robot1_auto.nil?
264
281
  return false if @robot2_auto.nil?
282
+ return false if @teleop_classified_artifacts.nil?
283
+ return false if @teleop_overflow_artifacts.nil?
284
+ return false if @teleop_depot_artifacts.nil?
265
285
  return false if @teleop_classifier_state.nil?
266
- return false if @robot1_teleop.nil?
267
- return false if @robot2_teleop.nil?
286
+ return false if @minor_fouls.nil?
287
+ return false if @major_fouls.nil?
268
288
  true
269
289
  end
270
290
 
291
+ # Custom attribute writer method with validation
292
+ # @param [Object] auto_classified_artifacts Value to be assigned
293
+ def auto_classified_artifacts=(auto_classified_artifacts)
294
+ if auto_classified_artifacts.nil?
295
+ fail ArgumentError, 'auto_classified_artifacts cannot be nil'
296
+ end
297
+
298
+ @auto_classified_artifacts = auto_classified_artifacts
299
+ end
300
+
301
+ # Custom attribute writer method with validation
302
+ # @param [Object] auto_overflow_artifacts Value to be assigned
303
+ def auto_overflow_artifacts=(auto_overflow_artifacts)
304
+ if auto_overflow_artifacts.nil?
305
+ fail ArgumentError, 'auto_overflow_artifacts cannot be nil'
306
+ end
307
+
308
+ @auto_overflow_artifacts = auto_overflow_artifacts
309
+ end
310
+
271
311
  # Custom attribute writer method with validation
272
312
  # @param [Object] auto_classifier_state Value to be assigned
273
313
  def auto_classifier_state=(auto_classifier_state)
@@ -298,6 +338,36 @@ module FtcApiV3Client
298
338
  @robot2_auto = robot2_auto
299
339
  end
300
340
 
341
+ # Custom attribute writer method with validation
342
+ # @param [Object] teleop_classified_artifacts Value to be assigned
343
+ def teleop_classified_artifacts=(teleop_classified_artifacts)
344
+ if teleop_classified_artifacts.nil?
345
+ fail ArgumentError, 'teleop_classified_artifacts cannot be nil'
346
+ end
347
+
348
+ @teleop_classified_artifacts = teleop_classified_artifacts
349
+ end
350
+
351
+ # Custom attribute writer method with validation
352
+ # @param [Object] teleop_overflow_artifacts Value to be assigned
353
+ def teleop_overflow_artifacts=(teleop_overflow_artifacts)
354
+ if teleop_overflow_artifacts.nil?
355
+ fail ArgumentError, 'teleop_overflow_artifacts cannot be nil'
356
+ end
357
+
358
+ @teleop_overflow_artifacts = teleop_overflow_artifacts
359
+ end
360
+
361
+ # Custom attribute writer method with validation
362
+ # @param [Object] teleop_depot_artifacts Value to be assigned
363
+ def teleop_depot_artifacts=(teleop_depot_artifacts)
364
+ if teleop_depot_artifacts.nil?
365
+ fail ArgumentError, 'teleop_depot_artifacts cannot be nil'
366
+ end
367
+
368
+ @teleop_depot_artifacts = teleop_depot_artifacts
369
+ end
370
+
301
371
  # Custom attribute writer method with validation
302
372
  # @param [Object] teleop_classifier_state Value to be assigned
303
373
  def teleop_classifier_state=(teleop_classifier_state)
@@ -309,23 +379,23 @@ module FtcApiV3Client
309
379
  end
310
380
 
311
381
  # Custom attribute writer method with validation
312
- # @param [Object] robot1_teleop Value to be assigned
313
- def robot1_teleop=(robot1_teleop)
314
- if robot1_teleop.nil?
315
- fail ArgumentError, 'robot1_teleop cannot be nil'
382
+ # @param [Object] minor_fouls Value to be assigned
383
+ def minor_fouls=(minor_fouls)
384
+ if minor_fouls.nil?
385
+ fail ArgumentError, 'minor_fouls cannot be nil'
316
386
  end
317
387
 
318
- @robot1_teleop = robot1_teleop
388
+ @minor_fouls = minor_fouls
319
389
  end
320
390
 
321
391
  # Custom attribute writer method with validation
322
- # @param [Object] robot2_teleop Value to be assigned
323
- def robot2_teleop=(robot2_teleop)
324
- if robot2_teleop.nil?
325
- fail ArgumentError, 'robot2_teleop cannot be nil'
392
+ # @param [Object] major_fouls Value to be assigned
393
+ def major_fouls=(major_fouls)
394
+ if major_fouls.nil?
395
+ fail ArgumentError, 'major_fouls cannot be nil'
326
396
  end
327
397
 
328
- @robot2_teleop = robot2_teleop
398
+ @major_fouls = major_fouls
329
399
  end
330
400
 
331
401
  # Checks equality by comparing each attribute.
@@ -101,18 +101,6 @@ module FtcApiV3Client
101
101
  # List of attributes with nullable: true
102
102
  def self.openapi_nullable
103
103
  Set.new([
104
- :'auto_leave_points',
105
- :'auto_artifact_points',
106
- :'auto_pattern_points',
107
- :'teleop_artifact_points',
108
- :'teleop_depot_points',
109
- :'teleop_pattern_points',
110
- :'teleop_base_points',
111
- :'auto_points',
112
- :'teleop_points',
113
- :'foul_points_committed',
114
- :'pre_foul_total',
115
- :'adjust_points'
116
104
  ])
117
105
  end
118
106
 
@@ -228,6 +216,50 @@ module FtcApiV3Client
228
216
  def list_invalid_properties
229
217
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
230
218
  invalid_properties = Array.new
219
+ if @auto_leave_points.nil?
220
+ invalid_properties.push('invalid value for "auto_leave_points", auto_leave_points cannot be nil.')
221
+ end
222
+
223
+ if @auto_artifact_points.nil?
224
+ invalid_properties.push('invalid value for "auto_artifact_points", auto_artifact_points cannot be nil.')
225
+ end
226
+
227
+ if @auto_pattern_points.nil?
228
+ invalid_properties.push('invalid value for "auto_pattern_points", auto_pattern_points cannot be nil.')
229
+ end
230
+
231
+ if @teleop_artifact_points.nil?
232
+ invalid_properties.push('invalid value for "teleop_artifact_points", teleop_artifact_points cannot be nil.')
233
+ end
234
+
235
+ if @teleop_depot_points.nil?
236
+ invalid_properties.push('invalid value for "teleop_depot_points", teleop_depot_points cannot be nil.')
237
+ end
238
+
239
+ if @teleop_pattern_points.nil?
240
+ invalid_properties.push('invalid value for "teleop_pattern_points", teleop_pattern_points cannot be nil.')
241
+ end
242
+
243
+ if @teleop_base_points.nil?
244
+ invalid_properties.push('invalid value for "teleop_base_points", teleop_base_points cannot be nil.')
245
+ end
246
+
247
+ if @auto_points.nil?
248
+ invalid_properties.push('invalid value for "auto_points", auto_points cannot be nil.')
249
+ end
250
+
251
+ if @teleop_points.nil?
252
+ invalid_properties.push('invalid value for "teleop_points", teleop_points cannot be nil.')
253
+ end
254
+
255
+ if @foul_points_committed.nil?
256
+ invalid_properties.push('invalid value for "foul_points_committed", foul_points_committed cannot be nil.')
257
+ end
258
+
259
+ if @pre_foul_total.nil?
260
+ invalid_properties.push('invalid value for "pre_foul_total", pre_foul_total cannot be nil.')
261
+ end
262
+
231
263
  if @movement_rp.nil?
232
264
  invalid_properties.push('invalid value for "movement_rp", movement_rp cannot be nil.')
233
265
  end
@@ -240,6 +272,10 @@ module FtcApiV3Client
240
272
  invalid_properties.push('invalid value for "pattern_rp", pattern_rp cannot be nil.')
241
273
  end
242
274
 
275
+ if @adjust_points.nil?
276
+ invalid_properties.push('invalid value for "adjust_points", adjust_points cannot be nil.')
277
+ end
278
+
243
279
  invalid_properties
244
280
  end
245
281
 
@@ -247,12 +283,134 @@ module FtcApiV3Client
247
283
  # @return true if the model is valid
248
284
  def valid?
249
285
  warn '[DEPRECATED] the `valid?` method is obsolete'
286
+ return false if @auto_leave_points.nil?
287
+ return false if @auto_artifact_points.nil?
288
+ return false if @auto_pattern_points.nil?
289
+ return false if @teleop_artifact_points.nil?
290
+ return false if @teleop_depot_points.nil?
291
+ return false if @teleop_pattern_points.nil?
292
+ return false if @teleop_base_points.nil?
293
+ return false if @auto_points.nil?
294
+ return false if @teleop_points.nil?
295
+ return false if @foul_points_committed.nil?
296
+ return false if @pre_foul_total.nil?
250
297
  return false if @movement_rp.nil?
251
298
  return false if @goal_rp.nil?
252
299
  return false if @pattern_rp.nil?
300
+ return false if @adjust_points.nil?
253
301
  true
254
302
  end
255
303
 
304
+ # Custom attribute writer method with validation
305
+ # @param [Object] auto_leave_points Value to be assigned
306
+ def auto_leave_points=(auto_leave_points)
307
+ if auto_leave_points.nil?
308
+ fail ArgumentError, 'auto_leave_points cannot be nil'
309
+ end
310
+
311
+ @auto_leave_points = auto_leave_points
312
+ end
313
+
314
+ # Custom attribute writer method with validation
315
+ # @param [Object] auto_artifact_points Value to be assigned
316
+ def auto_artifact_points=(auto_artifact_points)
317
+ if auto_artifact_points.nil?
318
+ fail ArgumentError, 'auto_artifact_points cannot be nil'
319
+ end
320
+
321
+ @auto_artifact_points = auto_artifact_points
322
+ end
323
+
324
+ # Custom attribute writer method with validation
325
+ # @param [Object] auto_pattern_points Value to be assigned
326
+ def auto_pattern_points=(auto_pattern_points)
327
+ if auto_pattern_points.nil?
328
+ fail ArgumentError, 'auto_pattern_points cannot be nil'
329
+ end
330
+
331
+ @auto_pattern_points = auto_pattern_points
332
+ end
333
+
334
+ # Custom attribute writer method with validation
335
+ # @param [Object] teleop_artifact_points Value to be assigned
336
+ def teleop_artifact_points=(teleop_artifact_points)
337
+ if teleop_artifact_points.nil?
338
+ fail ArgumentError, 'teleop_artifact_points cannot be nil'
339
+ end
340
+
341
+ @teleop_artifact_points = teleop_artifact_points
342
+ end
343
+
344
+ # Custom attribute writer method with validation
345
+ # @param [Object] teleop_depot_points Value to be assigned
346
+ def teleop_depot_points=(teleop_depot_points)
347
+ if teleop_depot_points.nil?
348
+ fail ArgumentError, 'teleop_depot_points cannot be nil'
349
+ end
350
+
351
+ @teleop_depot_points = teleop_depot_points
352
+ end
353
+
354
+ # Custom attribute writer method with validation
355
+ # @param [Object] teleop_pattern_points Value to be assigned
356
+ def teleop_pattern_points=(teleop_pattern_points)
357
+ if teleop_pattern_points.nil?
358
+ fail ArgumentError, 'teleop_pattern_points cannot be nil'
359
+ end
360
+
361
+ @teleop_pattern_points = teleop_pattern_points
362
+ end
363
+
364
+ # Custom attribute writer method with validation
365
+ # @param [Object] teleop_base_points Value to be assigned
366
+ def teleop_base_points=(teleop_base_points)
367
+ if teleop_base_points.nil?
368
+ fail ArgumentError, 'teleop_base_points cannot be nil'
369
+ end
370
+
371
+ @teleop_base_points = teleop_base_points
372
+ end
373
+
374
+ # Custom attribute writer method with validation
375
+ # @param [Object] auto_points Value to be assigned
376
+ def auto_points=(auto_points)
377
+ if auto_points.nil?
378
+ fail ArgumentError, 'auto_points cannot be nil'
379
+ end
380
+
381
+ @auto_points = auto_points
382
+ end
383
+
384
+ # Custom attribute writer method with validation
385
+ # @param [Object] teleop_points Value to be assigned
386
+ def teleop_points=(teleop_points)
387
+ if teleop_points.nil?
388
+ fail ArgumentError, 'teleop_points cannot be nil'
389
+ end
390
+
391
+ @teleop_points = teleop_points
392
+ end
393
+
394
+ # Custom attribute writer method with validation
395
+ # @param [Object] foul_points_committed Value to be assigned
396
+ def foul_points_committed=(foul_points_committed)
397
+ if foul_points_committed.nil?
398
+ fail ArgumentError, 'foul_points_committed cannot be nil'
399
+ end
400
+
401
+ @foul_points_committed = foul_points_committed
402
+ end
403
+
404
+ # Custom attribute writer method with validation
405
+ # @param [Object] pre_foul_total Value to be assigned
406
+ def pre_foul_total=(pre_foul_total)
407
+ if pre_foul_total.nil?
408
+ fail ArgumentError, 'pre_foul_total cannot be nil'
409
+ end
410
+
411
+ @pre_foul_total = pre_foul_total
412
+ end
413
+
256
414
  # Custom attribute writer method with validation
257
415
  # @param [Object] movement_rp Value to be assigned
258
416
  def movement_rp=(movement_rp)
@@ -283,6 +441,16 @@ module FtcApiV3Client
283
441
  @pattern_rp = pattern_rp
284
442
  end
285
443
 
444
+ # Custom attribute writer method with validation
445
+ # @param [Object] adjust_points Value to be assigned
446
+ def adjust_points=(adjust_points)
447
+ if adjust_points.nil?
448
+ fail ArgumentError, 'adjust_points cannot be nil'
449
+ end
450
+
451
+ @adjust_points = adjust_points
452
+ end
453
+
286
454
  # Checks equality by comparing each attribute.
287
455
  # @param [Object] Object to be compared
288
456
  def ==(o)