ftc_api_v3_client 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/config.json +1 -1
- data/ftc_api_v3_client-0.1.0.gem +0 -0
- data/lib/ftc_api_v3_client/api/events_api.rb +0 -4
- data/lib/ftc_api_v3_client/models/api_v3_advancement_from.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match.rb +4 -45
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match_details.rb +4 -45
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match_results.rb +2 -30
- data/lib/ftc_api_v3_client/models/api_v3_award_recipient.rb +1 -0
- data/lib/ftc_api_v3_client/models/api_v3_basic_alliance_description.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_cs_achievements_detail.rb +10 -150
- data/lib/ftc_api_v3_client/models/api_v3_cs_points_detail.rb +16 -240
- data/lib/ftc_api_v3_client/models/api_v3_cs_remote_achievements_detail.rb +9 -135
- data/lib/ftc_api_v3_client/models/api_v3_cs_remote_points_detail.rb +15 -225
- data/lib/ftc_api_v3_client/models/api_v3_decode_achievements_detail.rb +7 -105
- data/lib/ftc_api_v3_client/models/api_v3_decode_points_detail.rb +12 -180
- data/lib/ftc_api_v3_client/models/api_v3_double_elimination_series_description.rb +3 -45
- data/lib/ftc_api_v3_client/models/api_v3_event.rb +2 -15
- data/lib/ftc_api_v3_client/models/api_v3_ff_achievements_detail.rb +13 -195
- data/lib/ftc_api_v3_client/models/api_v3_ff_points_detail.rb +19 -285
- data/lib/ftc_api_v3_client/models/api_v3_ff_remote_achievements_detail.rb +12 -180
- data/lib/ftc_api_v3_client/models/api_v3_ff_remote_points_detail.rb +16 -240
- data/lib/ftc_api_v3_client/models/api_v3_itd_achievements_detail.rb +12 -180
- data/lib/ftc_api_v3_client/models/api_v3_itd_points_detail.rb +13 -195
- data/lib/ftc_api_v3_client/models/api_v3_pit_map.rb +4 -60
- data/lib/ftc_api_v3_client/models/api_v3_pit_map_element.rb +5 -60
- data/lib/ftc_api_v3_client/models/api_v3_playoff_alliance.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_playoff_match_alliance.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_playoff_ranking.rb +6 -90
- data/lib/ftc_api_v3_client/models/api_v3_playoff_series_description.rb +3 -45
- data/lib/ftc_api_v3_client/models/api_v3_playoff_structure.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_power_play_achievements_detail.rb +7 -105
- data/lib/ftc_api_v3_client/models/api_v3_power_play_points_detail.rb +15 -225
- data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_achievements_detail.rb +8 -120
- data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_points_detail.rb +14 -210
- data/lib/ftc_api_v3_client/models/api_v3_ranking.rb +6 -90
- data/lib/ftc_api_v3_client/models/api_v3_round_robin_alliance_description.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_season.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_seasons.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_series_alliance_description.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_single_award_recipient.rb +1 -0
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match.rb +4 -45
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match_details.rb +4 -45
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match_results.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_skystone_achievements_detail.rb +11 -165
- data/lib/ftc_api_v3_client/models/api_v3_skystone_points_detail.rb +15 -225
- data/lib/ftc_api_v3_client/models/api_v3_team.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_team_history.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_ug_achievements_detail.rb +10 -150
- data/lib/ftc_api_v3_client/models/api_v3_ug_points_detail.rb +14 -210
- data/lib/ftc_api_v3_client/models/api_v3_ug_remote_achievements_detail.rb +10 -150
- data/lib/ftc_api_v3_client/models/api_v3_ug_remote_points_detail.rb +14 -210
- data/lib/ftc_api_v3_client/version.rb +1 -1
- data/update.sh +1 -1
- metadata +2 -1
|
@@ -116,6 +116,17 @@ module FtcApiV3Client
|
|
|
116
116
|
# List of attributes with nullable: true
|
|
117
117
|
def self.openapi_nullable
|
|
118
118
|
Set.new([
|
|
119
|
+
:'auto_delivered',
|
|
120
|
+
:'auto_returned',
|
|
121
|
+
:'auto_placed',
|
|
122
|
+
:'driver_controlled_delivered',
|
|
123
|
+
:'driver_controlled_returned',
|
|
124
|
+
:'driver_controlled_placed',
|
|
125
|
+
:'tallest_skyscraper',
|
|
126
|
+
:'robot1_capstone_level',
|
|
127
|
+
:'robot2_capstone_level',
|
|
128
|
+
:'minor_penalties',
|
|
129
|
+
:'major_penalties'
|
|
119
130
|
])
|
|
120
131
|
end
|
|
121
132
|
|
|
@@ -269,18 +280,6 @@ module FtcApiV3Client
|
|
|
269
280
|
invalid_properties.push('invalid value for "auto_stones", auto_stones cannot be nil.')
|
|
270
281
|
end
|
|
271
282
|
|
|
272
|
-
if @auto_delivered.nil?
|
|
273
|
-
invalid_properties.push('invalid value for "auto_delivered", auto_delivered cannot be nil.')
|
|
274
|
-
end
|
|
275
|
-
|
|
276
|
-
if @auto_returned.nil?
|
|
277
|
-
invalid_properties.push('invalid value for "auto_returned", auto_returned cannot be nil.')
|
|
278
|
-
end
|
|
279
|
-
|
|
280
|
-
if @auto_placed.nil?
|
|
281
|
-
invalid_properties.push('invalid value for "auto_placed", auto_placed cannot be nil.')
|
|
282
|
-
end
|
|
283
|
-
|
|
284
283
|
if @first_returned_is_skystone.nil?
|
|
285
284
|
invalid_properties.push('invalid value for "first_returned_is_skystone", first_returned_is_skystone cannot be nil.')
|
|
286
285
|
end
|
|
@@ -289,22 +288,6 @@ module FtcApiV3Client
|
|
|
289
288
|
invalid_properties.push('invalid value for "foundation_repositioned", foundation_repositioned cannot be nil.')
|
|
290
289
|
end
|
|
291
290
|
|
|
292
|
-
if @driver_controlled_delivered.nil?
|
|
293
|
-
invalid_properties.push('invalid value for "driver_controlled_delivered", driver_controlled_delivered cannot be nil.')
|
|
294
|
-
end
|
|
295
|
-
|
|
296
|
-
if @driver_controlled_returned.nil?
|
|
297
|
-
invalid_properties.push('invalid value for "driver_controlled_returned", driver_controlled_returned cannot be nil.')
|
|
298
|
-
end
|
|
299
|
-
|
|
300
|
-
if @driver_controlled_placed.nil?
|
|
301
|
-
invalid_properties.push('invalid value for "driver_controlled_placed", driver_controlled_placed cannot be nil.')
|
|
302
|
-
end
|
|
303
|
-
|
|
304
|
-
if @tallest_skyscraper.nil?
|
|
305
|
-
invalid_properties.push('invalid value for "tallest_skyscraper", tallest_skyscraper cannot be nil.')
|
|
306
|
-
end
|
|
307
|
-
|
|
308
291
|
if @robot1_parked.nil?
|
|
309
292
|
invalid_properties.push('invalid value for "robot1_parked", robot1_parked cannot be nil.')
|
|
310
293
|
end
|
|
@@ -313,26 +296,10 @@ module FtcApiV3Client
|
|
|
313
296
|
invalid_properties.push('invalid value for "robot2_parked", robot2_parked cannot be nil.')
|
|
314
297
|
end
|
|
315
298
|
|
|
316
|
-
if @robot1_capstone_level.nil?
|
|
317
|
-
invalid_properties.push('invalid value for "robot1_capstone_level", robot1_capstone_level cannot be nil.')
|
|
318
|
-
end
|
|
319
|
-
|
|
320
|
-
if @robot2_capstone_level.nil?
|
|
321
|
-
invalid_properties.push('invalid value for "robot2_capstone_level", robot2_capstone_level cannot be nil.')
|
|
322
|
-
end
|
|
323
|
-
|
|
324
299
|
if @foundation_moved.nil?
|
|
325
300
|
invalid_properties.push('invalid value for "foundation_moved", foundation_moved cannot be nil.')
|
|
326
301
|
end
|
|
327
302
|
|
|
328
|
-
if @minor_penalties.nil?
|
|
329
|
-
invalid_properties.push('invalid value for "minor_penalties", minor_penalties cannot be nil.')
|
|
330
|
-
end
|
|
331
|
-
|
|
332
|
-
if @major_penalties.nil?
|
|
333
|
-
invalid_properties.push('invalid value for "major_penalties", major_penalties cannot be nil.')
|
|
334
|
-
end
|
|
335
|
-
|
|
336
303
|
invalid_properties
|
|
337
304
|
end
|
|
338
305
|
|
|
@@ -343,22 +310,11 @@ module FtcApiV3Client
|
|
|
343
310
|
return false if @robot1_navigated.nil?
|
|
344
311
|
return false if @robot2_navigated.nil?
|
|
345
312
|
return false if @auto_stones.nil?
|
|
346
|
-
return false if @auto_delivered.nil?
|
|
347
|
-
return false if @auto_returned.nil?
|
|
348
|
-
return false if @auto_placed.nil?
|
|
349
313
|
return false if @first_returned_is_skystone.nil?
|
|
350
314
|
return false if @foundation_repositioned.nil?
|
|
351
|
-
return false if @driver_controlled_delivered.nil?
|
|
352
|
-
return false if @driver_controlled_returned.nil?
|
|
353
|
-
return false if @driver_controlled_placed.nil?
|
|
354
|
-
return false if @tallest_skyscraper.nil?
|
|
355
315
|
return false if @robot1_parked.nil?
|
|
356
316
|
return false if @robot2_parked.nil?
|
|
357
|
-
return false if @robot1_capstone_level.nil?
|
|
358
|
-
return false if @robot2_capstone_level.nil?
|
|
359
317
|
return false if @foundation_moved.nil?
|
|
360
|
-
return false if @minor_penalties.nil?
|
|
361
|
-
return false if @major_penalties.nil?
|
|
362
318
|
true
|
|
363
319
|
end
|
|
364
320
|
|
|
@@ -392,36 +348,6 @@ module FtcApiV3Client
|
|
|
392
348
|
@auto_stones = auto_stones
|
|
393
349
|
end
|
|
394
350
|
|
|
395
|
-
# Custom attribute writer method with validation
|
|
396
|
-
# @param [Object] auto_delivered Value to be assigned
|
|
397
|
-
def auto_delivered=(auto_delivered)
|
|
398
|
-
if auto_delivered.nil?
|
|
399
|
-
fail ArgumentError, 'auto_delivered cannot be nil'
|
|
400
|
-
end
|
|
401
|
-
|
|
402
|
-
@auto_delivered = auto_delivered
|
|
403
|
-
end
|
|
404
|
-
|
|
405
|
-
# Custom attribute writer method with validation
|
|
406
|
-
# @param [Object] auto_returned Value to be assigned
|
|
407
|
-
def auto_returned=(auto_returned)
|
|
408
|
-
if auto_returned.nil?
|
|
409
|
-
fail ArgumentError, 'auto_returned cannot be nil'
|
|
410
|
-
end
|
|
411
|
-
|
|
412
|
-
@auto_returned = auto_returned
|
|
413
|
-
end
|
|
414
|
-
|
|
415
|
-
# Custom attribute writer method with validation
|
|
416
|
-
# @param [Object] auto_placed Value to be assigned
|
|
417
|
-
def auto_placed=(auto_placed)
|
|
418
|
-
if auto_placed.nil?
|
|
419
|
-
fail ArgumentError, 'auto_placed cannot be nil'
|
|
420
|
-
end
|
|
421
|
-
|
|
422
|
-
@auto_placed = auto_placed
|
|
423
|
-
end
|
|
424
|
-
|
|
425
351
|
# Custom attribute writer method with validation
|
|
426
352
|
# @param [Object] first_returned_is_skystone Value to be assigned
|
|
427
353
|
def first_returned_is_skystone=(first_returned_is_skystone)
|
|
@@ -442,46 +368,6 @@ module FtcApiV3Client
|
|
|
442
368
|
@foundation_repositioned = foundation_repositioned
|
|
443
369
|
end
|
|
444
370
|
|
|
445
|
-
# Custom attribute writer method with validation
|
|
446
|
-
# @param [Object] driver_controlled_delivered Value to be assigned
|
|
447
|
-
def driver_controlled_delivered=(driver_controlled_delivered)
|
|
448
|
-
if driver_controlled_delivered.nil?
|
|
449
|
-
fail ArgumentError, 'driver_controlled_delivered cannot be nil'
|
|
450
|
-
end
|
|
451
|
-
|
|
452
|
-
@driver_controlled_delivered = driver_controlled_delivered
|
|
453
|
-
end
|
|
454
|
-
|
|
455
|
-
# Custom attribute writer method with validation
|
|
456
|
-
# @param [Object] driver_controlled_returned Value to be assigned
|
|
457
|
-
def driver_controlled_returned=(driver_controlled_returned)
|
|
458
|
-
if driver_controlled_returned.nil?
|
|
459
|
-
fail ArgumentError, 'driver_controlled_returned cannot be nil'
|
|
460
|
-
end
|
|
461
|
-
|
|
462
|
-
@driver_controlled_returned = driver_controlled_returned
|
|
463
|
-
end
|
|
464
|
-
|
|
465
|
-
# Custom attribute writer method with validation
|
|
466
|
-
# @param [Object] driver_controlled_placed Value to be assigned
|
|
467
|
-
def driver_controlled_placed=(driver_controlled_placed)
|
|
468
|
-
if driver_controlled_placed.nil?
|
|
469
|
-
fail ArgumentError, 'driver_controlled_placed cannot be nil'
|
|
470
|
-
end
|
|
471
|
-
|
|
472
|
-
@driver_controlled_placed = driver_controlled_placed
|
|
473
|
-
end
|
|
474
|
-
|
|
475
|
-
# Custom attribute writer method with validation
|
|
476
|
-
# @param [Object] tallest_skyscraper Value to be assigned
|
|
477
|
-
def tallest_skyscraper=(tallest_skyscraper)
|
|
478
|
-
if tallest_skyscraper.nil?
|
|
479
|
-
fail ArgumentError, 'tallest_skyscraper cannot be nil'
|
|
480
|
-
end
|
|
481
|
-
|
|
482
|
-
@tallest_skyscraper = tallest_skyscraper
|
|
483
|
-
end
|
|
484
|
-
|
|
485
371
|
# Custom attribute writer method with validation
|
|
486
372
|
# @param [Object] robot1_parked Value to be assigned
|
|
487
373
|
def robot1_parked=(robot1_parked)
|
|
@@ -502,26 +388,6 @@ module FtcApiV3Client
|
|
|
502
388
|
@robot2_parked = robot2_parked
|
|
503
389
|
end
|
|
504
390
|
|
|
505
|
-
# Custom attribute writer method with validation
|
|
506
|
-
# @param [Object] robot1_capstone_level Value to be assigned
|
|
507
|
-
def robot1_capstone_level=(robot1_capstone_level)
|
|
508
|
-
if robot1_capstone_level.nil?
|
|
509
|
-
fail ArgumentError, 'robot1_capstone_level cannot be nil'
|
|
510
|
-
end
|
|
511
|
-
|
|
512
|
-
@robot1_capstone_level = robot1_capstone_level
|
|
513
|
-
end
|
|
514
|
-
|
|
515
|
-
# Custom attribute writer method with validation
|
|
516
|
-
# @param [Object] robot2_capstone_level Value to be assigned
|
|
517
|
-
def robot2_capstone_level=(robot2_capstone_level)
|
|
518
|
-
if robot2_capstone_level.nil?
|
|
519
|
-
fail ArgumentError, 'robot2_capstone_level cannot be nil'
|
|
520
|
-
end
|
|
521
|
-
|
|
522
|
-
@robot2_capstone_level = robot2_capstone_level
|
|
523
|
-
end
|
|
524
|
-
|
|
525
391
|
# Custom attribute writer method with validation
|
|
526
392
|
# @param [Object] foundation_moved Value to be assigned
|
|
527
393
|
def foundation_moved=(foundation_moved)
|
|
@@ -532,26 +398,6 @@ module FtcApiV3Client
|
|
|
532
398
|
@foundation_moved = foundation_moved
|
|
533
399
|
end
|
|
534
400
|
|
|
535
|
-
# Custom attribute writer method with validation
|
|
536
|
-
# @param [Object] minor_penalties Value to be assigned
|
|
537
|
-
def minor_penalties=(minor_penalties)
|
|
538
|
-
if minor_penalties.nil?
|
|
539
|
-
fail ArgumentError, 'minor_penalties cannot be nil'
|
|
540
|
-
end
|
|
541
|
-
|
|
542
|
-
@minor_penalties = minor_penalties
|
|
543
|
-
end
|
|
544
|
-
|
|
545
|
-
# Custom attribute writer method with validation
|
|
546
|
-
# @param [Object] major_penalties Value to be assigned
|
|
547
|
-
def major_penalties=(major_penalties)
|
|
548
|
-
if major_penalties.nil?
|
|
549
|
-
fail ArgumentError, 'major_penalties cannot be nil'
|
|
550
|
-
end
|
|
551
|
-
|
|
552
|
-
@major_penalties = major_penalties
|
|
553
|
-
end
|
|
554
|
-
|
|
555
401
|
# Checks equality by comparing each attribute.
|
|
556
402
|
# @param [Object] Object to be compared
|
|
557
403
|
def ==(o)
|
|
@@ -101,6 +101,21 @@ module FtcApiV3Client
|
|
|
101
101
|
# List of attributes with nullable: true
|
|
102
102
|
def self.openapi_nullable
|
|
103
103
|
Set.new([
|
|
104
|
+
:'auto_delivery_points',
|
|
105
|
+
:'auto_placed_points',
|
|
106
|
+
:'repositioned_points',
|
|
107
|
+
:'navigation_points',
|
|
108
|
+
:'driver_controlled_delivery_points',
|
|
109
|
+
:'driver_controlled_placed_points',
|
|
110
|
+
:'skyscraper_bonus_points',
|
|
111
|
+
:'capstone_points',
|
|
112
|
+
:'parking_points',
|
|
113
|
+
:'autonomous_points',
|
|
114
|
+
:'driver_controlled_points',
|
|
115
|
+
:'end_game_points',
|
|
116
|
+
:'penalty_points',
|
|
117
|
+
:'total_points',
|
|
118
|
+
:'adjust_points'
|
|
104
119
|
])
|
|
105
120
|
end
|
|
106
121
|
|
|
@@ -216,66 +231,6 @@ module FtcApiV3Client
|
|
|
216
231
|
def list_invalid_properties
|
|
217
232
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
218
233
|
invalid_properties = Array.new
|
|
219
|
-
if @auto_delivery_points.nil?
|
|
220
|
-
invalid_properties.push('invalid value for "auto_delivery_points", auto_delivery_points cannot be nil.')
|
|
221
|
-
end
|
|
222
|
-
|
|
223
|
-
if @auto_placed_points.nil?
|
|
224
|
-
invalid_properties.push('invalid value for "auto_placed_points", auto_placed_points cannot be nil.')
|
|
225
|
-
end
|
|
226
|
-
|
|
227
|
-
if @repositioned_points.nil?
|
|
228
|
-
invalid_properties.push('invalid value for "repositioned_points", repositioned_points cannot be nil.')
|
|
229
|
-
end
|
|
230
|
-
|
|
231
|
-
if @navigation_points.nil?
|
|
232
|
-
invalid_properties.push('invalid value for "navigation_points", navigation_points cannot be nil.')
|
|
233
|
-
end
|
|
234
|
-
|
|
235
|
-
if @driver_controlled_delivery_points.nil?
|
|
236
|
-
invalid_properties.push('invalid value for "driver_controlled_delivery_points", driver_controlled_delivery_points cannot be nil.')
|
|
237
|
-
end
|
|
238
|
-
|
|
239
|
-
if @driver_controlled_placed_points.nil?
|
|
240
|
-
invalid_properties.push('invalid value for "driver_controlled_placed_points", driver_controlled_placed_points cannot be nil.')
|
|
241
|
-
end
|
|
242
|
-
|
|
243
|
-
if @skyscraper_bonus_points.nil?
|
|
244
|
-
invalid_properties.push('invalid value for "skyscraper_bonus_points", skyscraper_bonus_points cannot be nil.')
|
|
245
|
-
end
|
|
246
|
-
|
|
247
|
-
if @capstone_points.nil?
|
|
248
|
-
invalid_properties.push('invalid value for "capstone_points", capstone_points cannot be nil.')
|
|
249
|
-
end
|
|
250
|
-
|
|
251
|
-
if @parking_points.nil?
|
|
252
|
-
invalid_properties.push('invalid value for "parking_points", parking_points cannot be nil.')
|
|
253
|
-
end
|
|
254
|
-
|
|
255
|
-
if @autonomous_points.nil?
|
|
256
|
-
invalid_properties.push('invalid value for "autonomous_points", autonomous_points cannot be nil.')
|
|
257
|
-
end
|
|
258
|
-
|
|
259
|
-
if @driver_controlled_points.nil?
|
|
260
|
-
invalid_properties.push('invalid value for "driver_controlled_points", driver_controlled_points cannot be nil.')
|
|
261
|
-
end
|
|
262
|
-
|
|
263
|
-
if @end_game_points.nil?
|
|
264
|
-
invalid_properties.push('invalid value for "end_game_points", end_game_points cannot be nil.')
|
|
265
|
-
end
|
|
266
|
-
|
|
267
|
-
if @penalty_points.nil?
|
|
268
|
-
invalid_properties.push('invalid value for "penalty_points", penalty_points cannot be nil.')
|
|
269
|
-
end
|
|
270
|
-
|
|
271
|
-
if @total_points.nil?
|
|
272
|
-
invalid_properties.push('invalid value for "total_points", total_points cannot be nil.')
|
|
273
|
-
end
|
|
274
|
-
|
|
275
|
-
if @adjust_points.nil?
|
|
276
|
-
invalid_properties.push('invalid value for "adjust_points", adjust_points cannot be nil.')
|
|
277
|
-
end
|
|
278
|
-
|
|
279
234
|
invalid_properties
|
|
280
235
|
end
|
|
281
236
|
|
|
@@ -283,174 +238,9 @@ module FtcApiV3Client
|
|
|
283
238
|
# @return true if the model is valid
|
|
284
239
|
def valid?
|
|
285
240
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
286
|
-
return false if @auto_delivery_points.nil?
|
|
287
|
-
return false if @auto_placed_points.nil?
|
|
288
|
-
return false if @repositioned_points.nil?
|
|
289
|
-
return false if @navigation_points.nil?
|
|
290
|
-
return false if @driver_controlled_delivery_points.nil?
|
|
291
|
-
return false if @driver_controlled_placed_points.nil?
|
|
292
|
-
return false if @skyscraper_bonus_points.nil?
|
|
293
|
-
return false if @capstone_points.nil?
|
|
294
|
-
return false if @parking_points.nil?
|
|
295
|
-
return false if @autonomous_points.nil?
|
|
296
|
-
return false if @driver_controlled_points.nil?
|
|
297
|
-
return false if @end_game_points.nil?
|
|
298
|
-
return false if @penalty_points.nil?
|
|
299
|
-
return false if @total_points.nil?
|
|
300
|
-
return false if @adjust_points.nil?
|
|
301
241
|
true
|
|
302
242
|
end
|
|
303
243
|
|
|
304
|
-
# Custom attribute writer method with validation
|
|
305
|
-
# @param [Object] auto_delivery_points Value to be assigned
|
|
306
|
-
def auto_delivery_points=(auto_delivery_points)
|
|
307
|
-
if auto_delivery_points.nil?
|
|
308
|
-
fail ArgumentError, 'auto_delivery_points cannot be nil'
|
|
309
|
-
end
|
|
310
|
-
|
|
311
|
-
@auto_delivery_points = auto_delivery_points
|
|
312
|
-
end
|
|
313
|
-
|
|
314
|
-
# Custom attribute writer method with validation
|
|
315
|
-
# @param [Object] auto_placed_points Value to be assigned
|
|
316
|
-
def auto_placed_points=(auto_placed_points)
|
|
317
|
-
if auto_placed_points.nil?
|
|
318
|
-
fail ArgumentError, 'auto_placed_points cannot be nil'
|
|
319
|
-
end
|
|
320
|
-
|
|
321
|
-
@auto_placed_points = auto_placed_points
|
|
322
|
-
end
|
|
323
|
-
|
|
324
|
-
# Custom attribute writer method with validation
|
|
325
|
-
# @param [Object] repositioned_points Value to be assigned
|
|
326
|
-
def repositioned_points=(repositioned_points)
|
|
327
|
-
if repositioned_points.nil?
|
|
328
|
-
fail ArgumentError, 'repositioned_points cannot be nil'
|
|
329
|
-
end
|
|
330
|
-
|
|
331
|
-
@repositioned_points = repositioned_points
|
|
332
|
-
end
|
|
333
|
-
|
|
334
|
-
# Custom attribute writer method with validation
|
|
335
|
-
# @param [Object] navigation_points Value to be assigned
|
|
336
|
-
def navigation_points=(navigation_points)
|
|
337
|
-
if navigation_points.nil?
|
|
338
|
-
fail ArgumentError, 'navigation_points cannot be nil'
|
|
339
|
-
end
|
|
340
|
-
|
|
341
|
-
@navigation_points = navigation_points
|
|
342
|
-
end
|
|
343
|
-
|
|
344
|
-
# Custom attribute writer method with validation
|
|
345
|
-
# @param [Object] driver_controlled_delivery_points Value to be assigned
|
|
346
|
-
def driver_controlled_delivery_points=(driver_controlled_delivery_points)
|
|
347
|
-
if driver_controlled_delivery_points.nil?
|
|
348
|
-
fail ArgumentError, 'driver_controlled_delivery_points cannot be nil'
|
|
349
|
-
end
|
|
350
|
-
|
|
351
|
-
@driver_controlled_delivery_points = driver_controlled_delivery_points
|
|
352
|
-
end
|
|
353
|
-
|
|
354
|
-
# Custom attribute writer method with validation
|
|
355
|
-
# @param [Object] driver_controlled_placed_points Value to be assigned
|
|
356
|
-
def driver_controlled_placed_points=(driver_controlled_placed_points)
|
|
357
|
-
if driver_controlled_placed_points.nil?
|
|
358
|
-
fail ArgumentError, 'driver_controlled_placed_points cannot be nil'
|
|
359
|
-
end
|
|
360
|
-
|
|
361
|
-
@driver_controlled_placed_points = driver_controlled_placed_points
|
|
362
|
-
end
|
|
363
|
-
|
|
364
|
-
# Custom attribute writer method with validation
|
|
365
|
-
# @param [Object] skyscraper_bonus_points Value to be assigned
|
|
366
|
-
def skyscraper_bonus_points=(skyscraper_bonus_points)
|
|
367
|
-
if skyscraper_bonus_points.nil?
|
|
368
|
-
fail ArgumentError, 'skyscraper_bonus_points cannot be nil'
|
|
369
|
-
end
|
|
370
|
-
|
|
371
|
-
@skyscraper_bonus_points = skyscraper_bonus_points
|
|
372
|
-
end
|
|
373
|
-
|
|
374
|
-
# Custom attribute writer method with validation
|
|
375
|
-
# @param [Object] capstone_points Value to be assigned
|
|
376
|
-
def capstone_points=(capstone_points)
|
|
377
|
-
if capstone_points.nil?
|
|
378
|
-
fail ArgumentError, 'capstone_points cannot be nil'
|
|
379
|
-
end
|
|
380
|
-
|
|
381
|
-
@capstone_points = capstone_points
|
|
382
|
-
end
|
|
383
|
-
|
|
384
|
-
# Custom attribute writer method with validation
|
|
385
|
-
# @param [Object] parking_points Value to be assigned
|
|
386
|
-
def parking_points=(parking_points)
|
|
387
|
-
if parking_points.nil?
|
|
388
|
-
fail ArgumentError, 'parking_points cannot be nil'
|
|
389
|
-
end
|
|
390
|
-
|
|
391
|
-
@parking_points = parking_points
|
|
392
|
-
end
|
|
393
|
-
|
|
394
|
-
# Custom attribute writer method with validation
|
|
395
|
-
# @param [Object] autonomous_points Value to be assigned
|
|
396
|
-
def autonomous_points=(autonomous_points)
|
|
397
|
-
if autonomous_points.nil?
|
|
398
|
-
fail ArgumentError, 'autonomous_points cannot be nil'
|
|
399
|
-
end
|
|
400
|
-
|
|
401
|
-
@autonomous_points = autonomous_points
|
|
402
|
-
end
|
|
403
|
-
|
|
404
|
-
# Custom attribute writer method with validation
|
|
405
|
-
# @param [Object] driver_controlled_points Value to be assigned
|
|
406
|
-
def driver_controlled_points=(driver_controlled_points)
|
|
407
|
-
if driver_controlled_points.nil?
|
|
408
|
-
fail ArgumentError, 'driver_controlled_points cannot be nil'
|
|
409
|
-
end
|
|
410
|
-
|
|
411
|
-
@driver_controlled_points = driver_controlled_points
|
|
412
|
-
end
|
|
413
|
-
|
|
414
|
-
# Custom attribute writer method with validation
|
|
415
|
-
# @param [Object] end_game_points Value to be assigned
|
|
416
|
-
def end_game_points=(end_game_points)
|
|
417
|
-
if end_game_points.nil?
|
|
418
|
-
fail ArgumentError, 'end_game_points cannot be nil'
|
|
419
|
-
end
|
|
420
|
-
|
|
421
|
-
@end_game_points = end_game_points
|
|
422
|
-
end
|
|
423
|
-
|
|
424
|
-
# Custom attribute writer method with validation
|
|
425
|
-
# @param [Object] penalty_points Value to be assigned
|
|
426
|
-
def penalty_points=(penalty_points)
|
|
427
|
-
if penalty_points.nil?
|
|
428
|
-
fail ArgumentError, 'penalty_points cannot be nil'
|
|
429
|
-
end
|
|
430
|
-
|
|
431
|
-
@penalty_points = penalty_points
|
|
432
|
-
end
|
|
433
|
-
|
|
434
|
-
# Custom attribute writer method with validation
|
|
435
|
-
# @param [Object] total_points Value to be assigned
|
|
436
|
-
def total_points=(total_points)
|
|
437
|
-
if total_points.nil?
|
|
438
|
-
fail ArgumentError, 'total_points cannot be nil'
|
|
439
|
-
end
|
|
440
|
-
|
|
441
|
-
@total_points = total_points
|
|
442
|
-
end
|
|
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
|
-
|
|
454
244
|
# Checks equality by comparing each attribute.
|
|
455
245
|
# @param [Object] Object to be compared
|
|
456
246
|
def ==(o)
|
|
@@ -86,6 +86,7 @@ module FtcApiV3Client
|
|
|
86
86
|
# List of attributes with nullable: true
|
|
87
87
|
def self.openapi_nullable
|
|
88
88
|
Set.new([
|
|
89
|
+
:'rookie_cmp_year',
|
|
89
90
|
])
|
|
90
91
|
end
|
|
91
92
|
|
|
@@ -177,10 +178,6 @@ module FtcApiV3Client
|
|
|
177
178
|
invalid_properties.push('invalid value for "affiliations", affiliations cannot be nil.')
|
|
178
179
|
end
|
|
179
180
|
|
|
180
|
-
if @rookie_cmp_year.nil?
|
|
181
|
-
invalid_properties.push('invalid value for "rookie_cmp_year", rookie_cmp_year cannot be nil.')
|
|
182
|
-
end
|
|
183
|
-
|
|
184
181
|
if @display_number.nil?
|
|
185
182
|
invalid_properties.push('invalid value for "display_number", display_number cannot be nil.')
|
|
186
183
|
end
|
|
@@ -195,7 +192,6 @@ module FtcApiV3Client
|
|
|
195
192
|
return false if @number.nil?
|
|
196
193
|
return false if @name.nil?
|
|
197
194
|
return false if @affiliations.nil?
|
|
198
|
-
return false if @rookie_cmp_year.nil?
|
|
199
195
|
return false if @display_number.nil?
|
|
200
196
|
true
|
|
201
197
|
end
|
|
@@ -230,16 +226,6 @@ module FtcApiV3Client
|
|
|
230
226
|
@affiliations = affiliations
|
|
231
227
|
end
|
|
232
228
|
|
|
233
|
-
# Custom attribute writer method with validation
|
|
234
|
-
# @param [Object] rookie_cmp_year Value to be assigned
|
|
235
|
-
def rookie_cmp_year=(rookie_cmp_year)
|
|
236
|
-
if rookie_cmp_year.nil?
|
|
237
|
-
fail ArgumentError, 'rookie_cmp_year cannot be nil'
|
|
238
|
-
end
|
|
239
|
-
|
|
240
|
-
@rookie_cmp_year = rookie_cmp_year
|
|
241
|
-
end
|
|
242
|
-
|
|
243
229
|
# Custom attribute writer method with validation
|
|
244
230
|
# @param [Object] display_number Value to be assigned
|
|
245
231
|
def display_number=(display_number)
|
|
@@ -82,6 +82,7 @@ module FtcApiV3Client
|
|
|
82
82
|
# List of attributes with nullable: true
|
|
83
83
|
def self.openapi_nullable
|
|
84
84
|
Set.new([
|
|
85
|
+
:'rookie_cmp_year',
|
|
85
86
|
])
|
|
86
87
|
end
|
|
87
88
|
|
|
@@ -173,10 +174,6 @@ module FtcApiV3Client
|
|
|
173
174
|
invalid_properties.push('invalid value for "affiliations", affiliations cannot be nil.')
|
|
174
175
|
end
|
|
175
176
|
|
|
176
|
-
if @rookie_cmp_year.nil?
|
|
177
|
-
invalid_properties.push('invalid value for "rookie_cmp_year", rookie_cmp_year cannot be nil.')
|
|
178
|
-
end
|
|
179
|
-
|
|
180
177
|
if @seasons.nil?
|
|
181
178
|
invalid_properties.push('invalid value for "seasons", seasons cannot be nil.')
|
|
182
179
|
end
|
|
@@ -195,7 +192,6 @@ module FtcApiV3Client
|
|
|
195
192
|
return false if @number.nil?
|
|
196
193
|
return false if @name.nil?
|
|
197
194
|
return false if @affiliations.nil?
|
|
198
|
-
return false if @rookie_cmp_year.nil?
|
|
199
195
|
return false if @seasons.nil?
|
|
200
196
|
return false if @display_number.nil?
|
|
201
197
|
true
|
|
@@ -231,16 +227,6 @@ module FtcApiV3Client
|
|
|
231
227
|
@affiliations = affiliations
|
|
232
228
|
end
|
|
233
229
|
|
|
234
|
-
# Custom attribute writer method with validation
|
|
235
|
-
# @param [Object] rookie_cmp_year Value to be assigned
|
|
236
|
-
def rookie_cmp_year=(rookie_cmp_year)
|
|
237
|
-
if rookie_cmp_year.nil?
|
|
238
|
-
fail ArgumentError, 'rookie_cmp_year cannot be nil'
|
|
239
|
-
end
|
|
240
|
-
|
|
241
|
-
@rookie_cmp_year = rookie_cmp_year
|
|
242
|
-
end
|
|
243
|
-
|
|
244
230
|
# Custom attribute writer method with validation
|
|
245
231
|
# @param [Object] seasons Value to be assigned
|
|
246
232
|
def seasons=(seasons)
|