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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/config.json +1 -1
- data/ftc_api_v3_client-0.1.1.gem +0 -0
- data/lib/ftc_api_v3_client/api/events_api.rb +3 -103
- data/lib/ftc_api_v3_client/api/leagues_api.rb +0 -56
- data/lib/ftc_api_v3_client/api/regions_api.rb +0 -28
- data/lib/ftc_api_v3_client/api/seasons_api.rb +0 -4
- data/lib/ftc_api_v3_client/api/teams_api.rb +0 -28
- data/lib/ftc_api_v3_client/models/api_v3_advancement_from.rb +16 -1
- data/lib/ftc_api_v3_client/models/api_v3_advancement_from_slot.rb +2 -15
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match.rb +32 -43
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match_details.rb +32 -43
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match_results.rb +31 -2
- data/lib/ftc_api_v3_client/models/api_v3_alliance_playoff_match_participants.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_alliance_selection.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_alliance_simple_match_participants.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_award.rb +4 -30
- data/lib/ftc_api_v3_client/models/api_v3_award_recipient.rb +2 -1
- data/lib/ftc_api_v3_client/models/api_v3_basic_alliance_description.rb +9 -9
- data/lib/ftc_api_v3_client/models/api_v3_center_stage_remote_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_center_stage_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_cs_achievements_detail.rb +138 -26
- data/lib/ftc_api_v3_client/models/api_v3_cs_points_detail.rb +240 -16
- data/lib/ftc_api_v3_client/models/api_v3_cs_remote_achievements_detail.rb +129 -17
- data/lib/ftc_api_v3_client/models/api_v3_cs_remote_points_detail.rb +225 -15
- data/lib/ftc_api_v3_client/models/api_v3_decode_achievements_detail.rb +93 -23
- data/lib/ftc_api_v3_client/models/api_v3_decode_points_detail.rb +180 -12
- data/lib/ftc_api_v3_client/models/api_v3_decode_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_division.rb +2 -30
- data/lib/ftc_api_v3_client/models/api_v3_double_elimination_series_description.rb +34 -19
- data/lib/ftc_api_v3_client/models/api_v3_event.rb +32 -122
- data/lib/ftc_api_v3_client/models/api_v3_event_live_stream.rb +3 -15
- data/lib/ftc_api_v3_client/models/api_v3_event_participant.rb +2 -15
- data/lib/ftc_api_v3_client/models/api_v3_ff_achievements_detail.rb +185 -59
- data/lib/ftc_api_v3_client/models/api_v3_ff_points_detail.rb +285 -19
- data/lib/ftc_api_v3_client/models/api_v3_ff_remote_achievements_detail.rb +175 -35
- data/lib/ftc_api_v3_client/models/api_v3_ff_remote_points_detail.rb +240 -16
- data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_remote_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_into_the_deep_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_itd_achievements_detail.rb +156 -44
- data/lib/ftc_api_v3_client/models/api_v3_itd_points_detail.rb +195 -13
- data/lib/ftc_api_v3_client/models/api_v3_league.rb +4 -30
- data/lib/ftc_api_v3_client/models/api_v3_league_details.rb +4 -30
- data/lib/ftc_api_v3_client/models/api_v3_pit_map.rb +60 -4
- data/lib/ftc_api_v3_client/models/api_v3_pit_map_element.rb +66 -5
- data/lib/ftc_api_v3_client/models/api_v3_playoff_alliance.rb +17 -1
- data/lib/ftc_api_v3_client/models/api_v3_playoff_match_alliance.rb +15 -1
- data/lib/ftc_api_v3_client/models/api_v3_playoff_ranking.rb +90 -6
- data/lib/ftc_api_v3_client/models/api_v3_playoff_series_description.rb +33 -19
- data/lib/ftc_api_v3_client/models/api_v3_playoff_structure.rb +9 -9
- data/lib/ftc_api_v3_client/models/api_v3_power_play_achievements_detail.rb +107 -7
- data/lib/ftc_api_v3_client/models/api_v3_power_play_points_detail.rb +225 -15
- data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_achievements_detail.rb +121 -8
- data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_points_detail.rb +210 -14
- data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_power_play_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_ranking.rb +90 -6
- data/lib/ftc_api_v3_client/models/api_v3_region.rb +2 -30
- data/lib/ftc_api_v3_client/models/api_v3_round_robin_alliance_description.rb +9 -9
- data/lib/ftc_api_v3_client/models/api_v3_season.rb +11 -39
- data/lib/ftc_api_v3_client/models/api_v3_seasons.rb +15 -1
- data/lib/ftc_api_v3_client/models/api_v3_series_alliance_description.rb +10 -24
- data/lib/ftc_api_v3_client/models/api_v3_simple_event.rb +15 -120
- data/lib/ftc_api_v3_client/models/api_v3_simple_team.rb +3 -45
- data/lib/ftc_api_v3_client/models/api_v3_single_award_recipient.rb +4 -31
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match.rb +32 -43
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match_details.rb +32 -43
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match_results.rb +15 -1
- data/lib/ftc_api_v3_client/models/api_v3_skystone_achievements_detail.rb +165 -11
- data/lib/ftc_api_v3_client/models/api_v3_skystone_points_detail.rb +225 -15
- data/lib/ftc_api_v3_client/models/api_v3_skystone_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_team.rb +17 -54
- data/lib/ftc_api_v3_client/models/api_v3_team_avatar.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_team_history.rb +15 -54
- data/lib/ftc_api_v3_client/models/api_v3_ug_achievements_detail.rb +138 -26
- data/lib/ftc_api_v3_client/models/api_v3_ug_points_detail.rb +210 -14
- data/lib/ftc_api_v3_client/models/api_v3_ug_remote_achievements_detail.rb +138 -26
- data/lib/ftc_api_v3_client/models/api_v3_ug_remote_points_detail.rb +210 -14
- data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_remote_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/version.rb +1 -1
- data/update.sh +1 -1
- metadata +2 -1
|
@@ -161,19 +161,10 @@ module FtcApiV3Client
|
|
|
161
161
|
# List of attributes with nullable: true
|
|
162
162
|
def self.openapi_nullable
|
|
163
163
|
Set.new([
|
|
164
|
-
:'
|
|
165
|
-
:'
|
|
166
|
-
:'
|
|
167
|
-
:'
|
|
168
|
-
:'dc_storage_freight',
|
|
169
|
-
:'dc_freight1',
|
|
170
|
-
:'dc_freight2',
|
|
171
|
-
:'dc_freight3',
|
|
172
|
-
:'shared_freight',
|
|
173
|
-
:'eg_delivered',
|
|
174
|
-
:'capped',
|
|
175
|
-
:'minor_penalties',
|
|
176
|
-
:'major_penalties',
|
|
164
|
+
:'auto_robot1',
|
|
165
|
+
:'auto_robot2',
|
|
166
|
+
:'eg_robot1',
|
|
167
|
+
:'eg_robot2',
|
|
177
168
|
])
|
|
178
169
|
end
|
|
179
170
|
|
|
@@ -347,14 +338,6 @@ module FtcApiV3Client
|
|
|
347
338
|
invalid_properties.push('invalid value for "auto_delivered", auto_delivered cannot be nil.')
|
|
348
339
|
end
|
|
349
340
|
|
|
350
|
-
if @auto_robot1.nil?
|
|
351
|
-
invalid_properties.push('invalid value for "auto_robot1", auto_robot1 cannot be nil.')
|
|
352
|
-
end
|
|
353
|
-
|
|
354
|
-
if @auto_robot2.nil?
|
|
355
|
-
invalid_properties.push('invalid value for "auto_robot2", auto_robot2 cannot be nil.')
|
|
356
|
-
end
|
|
357
|
-
|
|
358
341
|
if @preload1.nil?
|
|
359
342
|
invalid_properties.push('invalid value for "preload1", preload1 cannot be nil.')
|
|
360
343
|
end
|
|
@@ -363,16 +346,60 @@ module FtcApiV3Client
|
|
|
363
346
|
invalid_properties.push('invalid value for "preload2", preload2 cannot be nil.')
|
|
364
347
|
end
|
|
365
348
|
|
|
349
|
+
if @auto_storage_freight.nil?
|
|
350
|
+
invalid_properties.push('invalid value for "auto_storage_freight", auto_storage_freight cannot be nil.')
|
|
351
|
+
end
|
|
352
|
+
|
|
353
|
+
if @auto_freight1.nil?
|
|
354
|
+
invalid_properties.push('invalid value for "auto_freight1", auto_freight1 cannot be nil.')
|
|
355
|
+
end
|
|
356
|
+
|
|
357
|
+
if @auto_freight2.nil?
|
|
358
|
+
invalid_properties.push('invalid value for "auto_freight2", auto_freight2 cannot be nil.')
|
|
359
|
+
end
|
|
360
|
+
|
|
361
|
+
if @auto_freight3.nil?
|
|
362
|
+
invalid_properties.push('invalid value for "auto_freight3", auto_freight3 cannot be nil.')
|
|
363
|
+
end
|
|
364
|
+
|
|
365
|
+
if @dc_storage_freight.nil?
|
|
366
|
+
invalid_properties.push('invalid value for "dc_storage_freight", dc_storage_freight cannot be nil.')
|
|
367
|
+
end
|
|
368
|
+
|
|
369
|
+
if @dc_freight1.nil?
|
|
370
|
+
invalid_properties.push('invalid value for "dc_freight1", dc_freight1 cannot be nil.')
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
if @dc_freight2.nil?
|
|
374
|
+
invalid_properties.push('invalid value for "dc_freight2", dc_freight2 cannot be nil.')
|
|
375
|
+
end
|
|
376
|
+
|
|
377
|
+
if @dc_freight3.nil?
|
|
378
|
+
invalid_properties.push('invalid value for "dc_freight3", dc_freight3 cannot be nil.')
|
|
379
|
+
end
|
|
380
|
+
|
|
381
|
+
if @shared_freight.nil?
|
|
382
|
+
invalid_properties.push('invalid value for "shared_freight", shared_freight cannot be nil.')
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
if @eg_delivered.nil?
|
|
386
|
+
invalid_properties.push('invalid value for "eg_delivered", eg_delivered cannot be nil.')
|
|
387
|
+
end
|
|
388
|
+
|
|
366
389
|
if @balanced.nil?
|
|
367
390
|
invalid_properties.push('invalid value for "balanced", balanced cannot be nil.')
|
|
368
391
|
end
|
|
369
392
|
|
|
370
|
-
if @
|
|
371
|
-
invalid_properties.push('invalid value for "
|
|
393
|
+
if @capped.nil?
|
|
394
|
+
invalid_properties.push('invalid value for "capped", capped cannot be nil.')
|
|
395
|
+
end
|
|
396
|
+
|
|
397
|
+
if @minor_penalties.nil?
|
|
398
|
+
invalid_properties.push('invalid value for "minor_penalties", minor_penalties cannot be nil.')
|
|
372
399
|
end
|
|
373
400
|
|
|
374
|
-
if @
|
|
375
|
-
invalid_properties.push('invalid value for "
|
|
401
|
+
if @major_penalties.nil?
|
|
402
|
+
invalid_properties.push('invalid value for "major_penalties", major_penalties cannot be nil.')
|
|
376
403
|
end
|
|
377
404
|
|
|
378
405
|
if @init_tse1.nil?
|
|
@@ -395,13 +422,22 @@ module FtcApiV3Client
|
|
|
395
422
|
def valid?
|
|
396
423
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
397
424
|
return false if @auto_delivered.nil?
|
|
398
|
-
return false if @auto_robot1.nil?
|
|
399
|
-
return false if @auto_robot2.nil?
|
|
400
425
|
return false if @preload1.nil?
|
|
401
426
|
return false if @preload2.nil?
|
|
427
|
+
return false if @auto_storage_freight.nil?
|
|
428
|
+
return false if @auto_freight1.nil?
|
|
429
|
+
return false if @auto_freight2.nil?
|
|
430
|
+
return false if @auto_freight3.nil?
|
|
431
|
+
return false if @dc_storage_freight.nil?
|
|
432
|
+
return false if @dc_freight1.nil?
|
|
433
|
+
return false if @dc_freight2.nil?
|
|
434
|
+
return false if @dc_freight3.nil?
|
|
435
|
+
return false if @shared_freight.nil?
|
|
436
|
+
return false if @eg_delivered.nil?
|
|
402
437
|
return false if @balanced.nil?
|
|
403
|
-
return false if @
|
|
404
|
-
return false if @
|
|
438
|
+
return false if @capped.nil?
|
|
439
|
+
return false if @minor_penalties.nil?
|
|
440
|
+
return false if @major_penalties.nil?
|
|
405
441
|
return false if @init_tse1.nil?
|
|
406
442
|
return false if @init_tse2.nil?
|
|
407
443
|
return false if @shared_tipped.nil?
|
|
@@ -418,26 +454,6 @@ module FtcApiV3Client
|
|
|
418
454
|
@auto_delivered = auto_delivered
|
|
419
455
|
end
|
|
420
456
|
|
|
421
|
-
# Custom attribute writer method with validation
|
|
422
|
-
# @param [Object] auto_robot1 Value to be assigned
|
|
423
|
-
def auto_robot1=(auto_robot1)
|
|
424
|
-
if auto_robot1.nil?
|
|
425
|
-
fail ArgumentError, 'auto_robot1 cannot be nil'
|
|
426
|
-
end
|
|
427
|
-
|
|
428
|
-
@auto_robot1 = auto_robot1
|
|
429
|
-
end
|
|
430
|
-
|
|
431
|
-
# Custom attribute writer method with validation
|
|
432
|
-
# @param [Object] auto_robot2 Value to be assigned
|
|
433
|
-
def auto_robot2=(auto_robot2)
|
|
434
|
-
if auto_robot2.nil?
|
|
435
|
-
fail ArgumentError, 'auto_robot2 cannot be nil'
|
|
436
|
-
end
|
|
437
|
-
|
|
438
|
-
@auto_robot2 = auto_robot2
|
|
439
|
-
end
|
|
440
|
-
|
|
441
457
|
# Custom attribute writer method with validation
|
|
442
458
|
# @param [Object] preload1 Value to be assigned
|
|
443
459
|
def preload1=(preload1)
|
|
@@ -458,6 +474,106 @@ module FtcApiV3Client
|
|
|
458
474
|
@preload2 = preload2
|
|
459
475
|
end
|
|
460
476
|
|
|
477
|
+
# Custom attribute writer method with validation
|
|
478
|
+
# @param [Object] auto_storage_freight Value to be assigned
|
|
479
|
+
def auto_storage_freight=(auto_storage_freight)
|
|
480
|
+
if auto_storage_freight.nil?
|
|
481
|
+
fail ArgumentError, 'auto_storage_freight cannot be nil'
|
|
482
|
+
end
|
|
483
|
+
|
|
484
|
+
@auto_storage_freight = auto_storage_freight
|
|
485
|
+
end
|
|
486
|
+
|
|
487
|
+
# Custom attribute writer method with validation
|
|
488
|
+
# @param [Object] auto_freight1 Value to be assigned
|
|
489
|
+
def auto_freight1=(auto_freight1)
|
|
490
|
+
if auto_freight1.nil?
|
|
491
|
+
fail ArgumentError, 'auto_freight1 cannot be nil'
|
|
492
|
+
end
|
|
493
|
+
|
|
494
|
+
@auto_freight1 = auto_freight1
|
|
495
|
+
end
|
|
496
|
+
|
|
497
|
+
# Custom attribute writer method with validation
|
|
498
|
+
# @param [Object] auto_freight2 Value to be assigned
|
|
499
|
+
def auto_freight2=(auto_freight2)
|
|
500
|
+
if auto_freight2.nil?
|
|
501
|
+
fail ArgumentError, 'auto_freight2 cannot be nil'
|
|
502
|
+
end
|
|
503
|
+
|
|
504
|
+
@auto_freight2 = auto_freight2
|
|
505
|
+
end
|
|
506
|
+
|
|
507
|
+
# Custom attribute writer method with validation
|
|
508
|
+
# @param [Object] auto_freight3 Value to be assigned
|
|
509
|
+
def auto_freight3=(auto_freight3)
|
|
510
|
+
if auto_freight3.nil?
|
|
511
|
+
fail ArgumentError, 'auto_freight3 cannot be nil'
|
|
512
|
+
end
|
|
513
|
+
|
|
514
|
+
@auto_freight3 = auto_freight3
|
|
515
|
+
end
|
|
516
|
+
|
|
517
|
+
# Custom attribute writer method with validation
|
|
518
|
+
# @param [Object] dc_storage_freight Value to be assigned
|
|
519
|
+
def dc_storage_freight=(dc_storage_freight)
|
|
520
|
+
if dc_storage_freight.nil?
|
|
521
|
+
fail ArgumentError, 'dc_storage_freight cannot be nil'
|
|
522
|
+
end
|
|
523
|
+
|
|
524
|
+
@dc_storage_freight = dc_storage_freight
|
|
525
|
+
end
|
|
526
|
+
|
|
527
|
+
# Custom attribute writer method with validation
|
|
528
|
+
# @param [Object] dc_freight1 Value to be assigned
|
|
529
|
+
def dc_freight1=(dc_freight1)
|
|
530
|
+
if dc_freight1.nil?
|
|
531
|
+
fail ArgumentError, 'dc_freight1 cannot be nil'
|
|
532
|
+
end
|
|
533
|
+
|
|
534
|
+
@dc_freight1 = dc_freight1
|
|
535
|
+
end
|
|
536
|
+
|
|
537
|
+
# Custom attribute writer method with validation
|
|
538
|
+
# @param [Object] dc_freight2 Value to be assigned
|
|
539
|
+
def dc_freight2=(dc_freight2)
|
|
540
|
+
if dc_freight2.nil?
|
|
541
|
+
fail ArgumentError, 'dc_freight2 cannot be nil'
|
|
542
|
+
end
|
|
543
|
+
|
|
544
|
+
@dc_freight2 = dc_freight2
|
|
545
|
+
end
|
|
546
|
+
|
|
547
|
+
# Custom attribute writer method with validation
|
|
548
|
+
# @param [Object] dc_freight3 Value to be assigned
|
|
549
|
+
def dc_freight3=(dc_freight3)
|
|
550
|
+
if dc_freight3.nil?
|
|
551
|
+
fail ArgumentError, 'dc_freight3 cannot be nil'
|
|
552
|
+
end
|
|
553
|
+
|
|
554
|
+
@dc_freight3 = dc_freight3
|
|
555
|
+
end
|
|
556
|
+
|
|
557
|
+
# Custom attribute writer method with validation
|
|
558
|
+
# @param [Object] shared_freight Value to be assigned
|
|
559
|
+
def shared_freight=(shared_freight)
|
|
560
|
+
if shared_freight.nil?
|
|
561
|
+
fail ArgumentError, 'shared_freight cannot be nil'
|
|
562
|
+
end
|
|
563
|
+
|
|
564
|
+
@shared_freight = shared_freight
|
|
565
|
+
end
|
|
566
|
+
|
|
567
|
+
# Custom attribute writer method with validation
|
|
568
|
+
# @param [Object] eg_delivered Value to be assigned
|
|
569
|
+
def eg_delivered=(eg_delivered)
|
|
570
|
+
if eg_delivered.nil?
|
|
571
|
+
fail ArgumentError, 'eg_delivered cannot be nil'
|
|
572
|
+
end
|
|
573
|
+
|
|
574
|
+
@eg_delivered = eg_delivered
|
|
575
|
+
end
|
|
576
|
+
|
|
461
577
|
# Custom attribute writer method with validation
|
|
462
578
|
# @param [Object] balanced Value to be assigned
|
|
463
579
|
def balanced=(balanced)
|
|
@@ -469,23 +585,33 @@ module FtcApiV3Client
|
|
|
469
585
|
end
|
|
470
586
|
|
|
471
587
|
# Custom attribute writer method with validation
|
|
472
|
-
# @param [Object]
|
|
473
|
-
def
|
|
474
|
-
if
|
|
475
|
-
fail ArgumentError, '
|
|
588
|
+
# @param [Object] capped Value to be assigned
|
|
589
|
+
def capped=(capped)
|
|
590
|
+
if capped.nil?
|
|
591
|
+
fail ArgumentError, 'capped cannot be nil'
|
|
592
|
+
end
|
|
593
|
+
|
|
594
|
+
@capped = capped
|
|
595
|
+
end
|
|
596
|
+
|
|
597
|
+
# Custom attribute writer method with validation
|
|
598
|
+
# @param [Object] minor_penalties Value to be assigned
|
|
599
|
+
def minor_penalties=(minor_penalties)
|
|
600
|
+
if minor_penalties.nil?
|
|
601
|
+
fail ArgumentError, 'minor_penalties cannot be nil'
|
|
476
602
|
end
|
|
477
603
|
|
|
478
|
-
@
|
|
604
|
+
@minor_penalties = minor_penalties
|
|
479
605
|
end
|
|
480
606
|
|
|
481
607
|
# Custom attribute writer method with validation
|
|
482
|
-
# @param [Object]
|
|
483
|
-
def
|
|
484
|
-
if
|
|
485
|
-
fail ArgumentError, '
|
|
608
|
+
# @param [Object] major_penalties Value to be assigned
|
|
609
|
+
def major_penalties=(major_penalties)
|
|
610
|
+
if major_penalties.nil?
|
|
611
|
+
fail ArgumentError, 'major_penalties cannot be nil'
|
|
486
612
|
end
|
|
487
613
|
|
|
488
|
-
@
|
|
614
|
+
@major_penalties = major_penalties
|
|
489
615
|
end
|
|
490
616
|
|
|
491
617
|
# Custom attribute writer method with validation
|
|
@@ -117,25 +117,6 @@ module FtcApiV3Client
|
|
|
117
117
|
# List of attributes with nullable: true
|
|
118
118
|
def self.openapi_nullable
|
|
119
119
|
Set.new([
|
|
120
|
-
:'carousel_points',
|
|
121
|
-
:'navigation_points',
|
|
122
|
-
:'auto_freight_points',
|
|
123
|
-
:'auto_bonus_points',
|
|
124
|
-
:'dc_hub_points',
|
|
125
|
-
:'dc_shared_points',
|
|
126
|
-
:'dc_storage_points',
|
|
127
|
-
:'eg_delivery_points',
|
|
128
|
-
:'balanced_points',
|
|
129
|
-
:'tipped_points',
|
|
130
|
-
:'parking_points',
|
|
131
|
-
:'capping_points',
|
|
132
|
-
:'auto_points',
|
|
133
|
-
:'dc_points',
|
|
134
|
-
:'endgame_points',
|
|
135
|
-
:'penalty_points',
|
|
136
|
-
:'scored_points',
|
|
137
|
-
:'total_points',
|
|
138
|
-
:'adjust_points'
|
|
139
120
|
])
|
|
140
121
|
end
|
|
141
122
|
|
|
@@ -275,6 +256,82 @@ module FtcApiV3Client
|
|
|
275
256
|
def list_invalid_properties
|
|
276
257
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
277
258
|
invalid_properties = Array.new
|
|
259
|
+
if @carousel_points.nil?
|
|
260
|
+
invalid_properties.push('invalid value for "carousel_points", carousel_points cannot be nil.')
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
if @navigation_points.nil?
|
|
264
|
+
invalid_properties.push('invalid value for "navigation_points", navigation_points cannot be nil.')
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
if @auto_freight_points.nil?
|
|
268
|
+
invalid_properties.push('invalid value for "auto_freight_points", auto_freight_points cannot be nil.')
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
if @auto_bonus_points.nil?
|
|
272
|
+
invalid_properties.push('invalid value for "auto_bonus_points", auto_bonus_points cannot be nil.')
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
if @dc_hub_points.nil?
|
|
276
|
+
invalid_properties.push('invalid value for "dc_hub_points", dc_hub_points cannot be nil.')
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
if @dc_shared_points.nil?
|
|
280
|
+
invalid_properties.push('invalid value for "dc_shared_points", dc_shared_points cannot be nil.')
|
|
281
|
+
end
|
|
282
|
+
|
|
283
|
+
if @dc_storage_points.nil?
|
|
284
|
+
invalid_properties.push('invalid value for "dc_storage_points", dc_storage_points cannot be nil.')
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
if @eg_delivery_points.nil?
|
|
288
|
+
invalid_properties.push('invalid value for "eg_delivery_points", eg_delivery_points cannot be nil.')
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
if @balanced_points.nil?
|
|
292
|
+
invalid_properties.push('invalid value for "balanced_points", balanced_points cannot be nil.')
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
if @tipped_points.nil?
|
|
296
|
+
invalid_properties.push('invalid value for "tipped_points", tipped_points cannot be nil.')
|
|
297
|
+
end
|
|
298
|
+
|
|
299
|
+
if @parking_points.nil?
|
|
300
|
+
invalid_properties.push('invalid value for "parking_points", parking_points cannot be nil.')
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
if @capping_points.nil?
|
|
304
|
+
invalid_properties.push('invalid value for "capping_points", capping_points cannot be nil.')
|
|
305
|
+
end
|
|
306
|
+
|
|
307
|
+
if @auto_points.nil?
|
|
308
|
+
invalid_properties.push('invalid value for "auto_points", auto_points cannot be nil.')
|
|
309
|
+
end
|
|
310
|
+
|
|
311
|
+
if @dc_points.nil?
|
|
312
|
+
invalid_properties.push('invalid value for "dc_points", dc_points cannot be nil.')
|
|
313
|
+
end
|
|
314
|
+
|
|
315
|
+
if @endgame_points.nil?
|
|
316
|
+
invalid_properties.push('invalid value for "endgame_points", endgame_points cannot be nil.')
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
if @penalty_points.nil?
|
|
320
|
+
invalid_properties.push('invalid value for "penalty_points", penalty_points cannot be nil.')
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
if @scored_points.nil?
|
|
324
|
+
invalid_properties.push('invalid value for "scored_points", scored_points cannot be nil.')
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
if @total_points.nil?
|
|
328
|
+
invalid_properties.push('invalid value for "total_points", total_points cannot be nil.')
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
if @adjust_points.nil?
|
|
332
|
+
invalid_properties.push('invalid value for "adjust_points", adjust_points cannot be nil.')
|
|
333
|
+
end
|
|
334
|
+
|
|
278
335
|
invalid_properties
|
|
279
336
|
end
|
|
280
337
|
|
|
@@ -282,9 +339,218 @@ module FtcApiV3Client
|
|
|
282
339
|
# @return true if the model is valid
|
|
283
340
|
def valid?
|
|
284
341
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
342
|
+
return false if @carousel_points.nil?
|
|
343
|
+
return false if @navigation_points.nil?
|
|
344
|
+
return false if @auto_freight_points.nil?
|
|
345
|
+
return false if @auto_bonus_points.nil?
|
|
346
|
+
return false if @dc_hub_points.nil?
|
|
347
|
+
return false if @dc_shared_points.nil?
|
|
348
|
+
return false if @dc_storage_points.nil?
|
|
349
|
+
return false if @eg_delivery_points.nil?
|
|
350
|
+
return false if @balanced_points.nil?
|
|
351
|
+
return false if @tipped_points.nil?
|
|
352
|
+
return false if @parking_points.nil?
|
|
353
|
+
return false if @capping_points.nil?
|
|
354
|
+
return false if @auto_points.nil?
|
|
355
|
+
return false if @dc_points.nil?
|
|
356
|
+
return false if @endgame_points.nil?
|
|
357
|
+
return false if @penalty_points.nil?
|
|
358
|
+
return false if @scored_points.nil?
|
|
359
|
+
return false if @total_points.nil?
|
|
360
|
+
return false if @adjust_points.nil?
|
|
285
361
|
true
|
|
286
362
|
end
|
|
287
363
|
|
|
364
|
+
# Custom attribute writer method with validation
|
|
365
|
+
# @param [Object] carousel_points Value to be assigned
|
|
366
|
+
def carousel_points=(carousel_points)
|
|
367
|
+
if carousel_points.nil?
|
|
368
|
+
fail ArgumentError, 'carousel_points cannot be nil'
|
|
369
|
+
end
|
|
370
|
+
|
|
371
|
+
@carousel_points = carousel_points
|
|
372
|
+
end
|
|
373
|
+
|
|
374
|
+
# Custom attribute writer method with validation
|
|
375
|
+
# @param [Object] navigation_points Value to be assigned
|
|
376
|
+
def navigation_points=(navigation_points)
|
|
377
|
+
if navigation_points.nil?
|
|
378
|
+
fail ArgumentError, 'navigation_points cannot be nil'
|
|
379
|
+
end
|
|
380
|
+
|
|
381
|
+
@navigation_points = navigation_points
|
|
382
|
+
end
|
|
383
|
+
|
|
384
|
+
# Custom attribute writer method with validation
|
|
385
|
+
# @param [Object] auto_freight_points Value to be assigned
|
|
386
|
+
def auto_freight_points=(auto_freight_points)
|
|
387
|
+
if auto_freight_points.nil?
|
|
388
|
+
fail ArgumentError, 'auto_freight_points cannot be nil'
|
|
389
|
+
end
|
|
390
|
+
|
|
391
|
+
@auto_freight_points = auto_freight_points
|
|
392
|
+
end
|
|
393
|
+
|
|
394
|
+
# Custom attribute writer method with validation
|
|
395
|
+
# @param [Object] auto_bonus_points Value to be assigned
|
|
396
|
+
def auto_bonus_points=(auto_bonus_points)
|
|
397
|
+
if auto_bonus_points.nil?
|
|
398
|
+
fail ArgumentError, 'auto_bonus_points cannot be nil'
|
|
399
|
+
end
|
|
400
|
+
|
|
401
|
+
@auto_bonus_points = auto_bonus_points
|
|
402
|
+
end
|
|
403
|
+
|
|
404
|
+
# Custom attribute writer method with validation
|
|
405
|
+
# @param [Object] dc_hub_points Value to be assigned
|
|
406
|
+
def dc_hub_points=(dc_hub_points)
|
|
407
|
+
if dc_hub_points.nil?
|
|
408
|
+
fail ArgumentError, 'dc_hub_points cannot be nil'
|
|
409
|
+
end
|
|
410
|
+
|
|
411
|
+
@dc_hub_points = dc_hub_points
|
|
412
|
+
end
|
|
413
|
+
|
|
414
|
+
# Custom attribute writer method with validation
|
|
415
|
+
# @param [Object] dc_shared_points Value to be assigned
|
|
416
|
+
def dc_shared_points=(dc_shared_points)
|
|
417
|
+
if dc_shared_points.nil?
|
|
418
|
+
fail ArgumentError, 'dc_shared_points cannot be nil'
|
|
419
|
+
end
|
|
420
|
+
|
|
421
|
+
@dc_shared_points = dc_shared_points
|
|
422
|
+
end
|
|
423
|
+
|
|
424
|
+
# Custom attribute writer method with validation
|
|
425
|
+
# @param [Object] dc_storage_points Value to be assigned
|
|
426
|
+
def dc_storage_points=(dc_storage_points)
|
|
427
|
+
if dc_storage_points.nil?
|
|
428
|
+
fail ArgumentError, 'dc_storage_points cannot be nil'
|
|
429
|
+
end
|
|
430
|
+
|
|
431
|
+
@dc_storage_points = dc_storage_points
|
|
432
|
+
end
|
|
433
|
+
|
|
434
|
+
# Custom attribute writer method with validation
|
|
435
|
+
# @param [Object] eg_delivery_points Value to be assigned
|
|
436
|
+
def eg_delivery_points=(eg_delivery_points)
|
|
437
|
+
if eg_delivery_points.nil?
|
|
438
|
+
fail ArgumentError, 'eg_delivery_points cannot be nil'
|
|
439
|
+
end
|
|
440
|
+
|
|
441
|
+
@eg_delivery_points = eg_delivery_points
|
|
442
|
+
end
|
|
443
|
+
|
|
444
|
+
# Custom attribute writer method with validation
|
|
445
|
+
# @param [Object] balanced_points Value to be assigned
|
|
446
|
+
def balanced_points=(balanced_points)
|
|
447
|
+
if balanced_points.nil?
|
|
448
|
+
fail ArgumentError, 'balanced_points cannot be nil'
|
|
449
|
+
end
|
|
450
|
+
|
|
451
|
+
@balanced_points = balanced_points
|
|
452
|
+
end
|
|
453
|
+
|
|
454
|
+
# Custom attribute writer method with validation
|
|
455
|
+
# @param [Object] tipped_points Value to be assigned
|
|
456
|
+
def tipped_points=(tipped_points)
|
|
457
|
+
if tipped_points.nil?
|
|
458
|
+
fail ArgumentError, 'tipped_points cannot be nil'
|
|
459
|
+
end
|
|
460
|
+
|
|
461
|
+
@tipped_points = tipped_points
|
|
462
|
+
end
|
|
463
|
+
|
|
464
|
+
# Custom attribute writer method with validation
|
|
465
|
+
# @param [Object] parking_points Value to be assigned
|
|
466
|
+
def parking_points=(parking_points)
|
|
467
|
+
if parking_points.nil?
|
|
468
|
+
fail ArgumentError, 'parking_points cannot be nil'
|
|
469
|
+
end
|
|
470
|
+
|
|
471
|
+
@parking_points = parking_points
|
|
472
|
+
end
|
|
473
|
+
|
|
474
|
+
# Custom attribute writer method with validation
|
|
475
|
+
# @param [Object] capping_points Value to be assigned
|
|
476
|
+
def capping_points=(capping_points)
|
|
477
|
+
if capping_points.nil?
|
|
478
|
+
fail ArgumentError, 'capping_points cannot be nil'
|
|
479
|
+
end
|
|
480
|
+
|
|
481
|
+
@capping_points = capping_points
|
|
482
|
+
end
|
|
483
|
+
|
|
484
|
+
# Custom attribute writer method with validation
|
|
485
|
+
# @param [Object] auto_points Value to be assigned
|
|
486
|
+
def auto_points=(auto_points)
|
|
487
|
+
if auto_points.nil?
|
|
488
|
+
fail ArgumentError, 'auto_points cannot be nil'
|
|
489
|
+
end
|
|
490
|
+
|
|
491
|
+
@auto_points = auto_points
|
|
492
|
+
end
|
|
493
|
+
|
|
494
|
+
# Custom attribute writer method with validation
|
|
495
|
+
# @param [Object] dc_points Value to be assigned
|
|
496
|
+
def dc_points=(dc_points)
|
|
497
|
+
if dc_points.nil?
|
|
498
|
+
fail ArgumentError, 'dc_points cannot be nil'
|
|
499
|
+
end
|
|
500
|
+
|
|
501
|
+
@dc_points = dc_points
|
|
502
|
+
end
|
|
503
|
+
|
|
504
|
+
# Custom attribute writer method with validation
|
|
505
|
+
# @param [Object] endgame_points Value to be assigned
|
|
506
|
+
def endgame_points=(endgame_points)
|
|
507
|
+
if endgame_points.nil?
|
|
508
|
+
fail ArgumentError, 'endgame_points cannot be nil'
|
|
509
|
+
end
|
|
510
|
+
|
|
511
|
+
@endgame_points = endgame_points
|
|
512
|
+
end
|
|
513
|
+
|
|
514
|
+
# Custom attribute writer method with validation
|
|
515
|
+
# @param [Object] penalty_points Value to be assigned
|
|
516
|
+
def penalty_points=(penalty_points)
|
|
517
|
+
if penalty_points.nil?
|
|
518
|
+
fail ArgumentError, 'penalty_points cannot be nil'
|
|
519
|
+
end
|
|
520
|
+
|
|
521
|
+
@penalty_points = penalty_points
|
|
522
|
+
end
|
|
523
|
+
|
|
524
|
+
# Custom attribute writer method with validation
|
|
525
|
+
# @param [Object] scored_points Value to be assigned
|
|
526
|
+
def scored_points=(scored_points)
|
|
527
|
+
if scored_points.nil?
|
|
528
|
+
fail ArgumentError, 'scored_points cannot be nil'
|
|
529
|
+
end
|
|
530
|
+
|
|
531
|
+
@scored_points = scored_points
|
|
532
|
+
end
|
|
533
|
+
|
|
534
|
+
# Custom attribute writer method with validation
|
|
535
|
+
# @param [Object] total_points Value to be assigned
|
|
536
|
+
def total_points=(total_points)
|
|
537
|
+
if total_points.nil?
|
|
538
|
+
fail ArgumentError, 'total_points cannot be nil'
|
|
539
|
+
end
|
|
540
|
+
|
|
541
|
+
@total_points = total_points
|
|
542
|
+
end
|
|
543
|
+
|
|
544
|
+
# Custom attribute writer method with validation
|
|
545
|
+
# @param [Object] adjust_points Value to be assigned
|
|
546
|
+
def adjust_points=(adjust_points)
|
|
547
|
+
if adjust_points.nil?
|
|
548
|
+
fail ArgumentError, 'adjust_points cannot be nil'
|
|
549
|
+
end
|
|
550
|
+
|
|
551
|
+
@adjust_points = adjust_points
|
|
552
|
+
end
|
|
553
|
+
|
|
288
554
|
# Checks equality by comparing each attribute.
|
|
289
555
|
# @param [Object] Object to be compared
|
|
290
556
|
def ==(o)
|