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
|
@@ -150,6 +150,16 @@ module FtcApiV3Client
|
|
|
150
150
|
# List of attributes with nullable: true
|
|
151
151
|
def self.openapi_nullable
|
|
152
152
|
Set.new([
|
|
153
|
+
:'auto_tower_low',
|
|
154
|
+
:'auto_tower_mid',
|
|
155
|
+
:'auto_tower_high',
|
|
156
|
+
:'dc_tower_low',
|
|
157
|
+
:'dc_tower_mid',
|
|
158
|
+
:'dc_tower_high',
|
|
159
|
+
:'wobble1_rings',
|
|
160
|
+
:'wobble2_rings',
|
|
161
|
+
:'minor_penalties',
|
|
162
|
+
:'major_penalties'
|
|
153
163
|
])
|
|
154
164
|
end
|
|
155
165
|
|
|
@@ -323,18 +333,6 @@ module FtcApiV3Client
|
|
|
323
333
|
invalid_properties.push('invalid value for "wobble2_delivered", wobble2_delivered cannot be nil.')
|
|
324
334
|
end
|
|
325
335
|
|
|
326
|
-
if @auto_tower_low.nil?
|
|
327
|
-
invalid_properties.push('invalid value for "auto_tower_low", auto_tower_low cannot be nil.')
|
|
328
|
-
end
|
|
329
|
-
|
|
330
|
-
if @auto_tower_mid.nil?
|
|
331
|
-
invalid_properties.push('invalid value for "auto_tower_mid", auto_tower_mid cannot be nil.')
|
|
332
|
-
end
|
|
333
|
-
|
|
334
|
-
if @auto_tower_high.nil?
|
|
335
|
-
invalid_properties.push('invalid value for "auto_tower_high", auto_tower_high cannot be nil.')
|
|
336
|
-
end
|
|
337
|
-
|
|
338
336
|
if @auto_power_shot_left.nil?
|
|
339
337
|
invalid_properties.push('invalid value for "auto_power_shot_left", auto_power_shot_left cannot be nil.')
|
|
340
338
|
end
|
|
@@ -347,18 +345,6 @@ module FtcApiV3Client
|
|
|
347
345
|
invalid_properties.push('invalid value for "auto_power_shot_right", auto_power_shot_right cannot be nil.')
|
|
348
346
|
end
|
|
349
347
|
|
|
350
|
-
if @dc_tower_low.nil?
|
|
351
|
-
invalid_properties.push('invalid value for "dc_tower_low", dc_tower_low cannot be nil.')
|
|
352
|
-
end
|
|
353
|
-
|
|
354
|
-
if @dc_tower_mid.nil?
|
|
355
|
-
invalid_properties.push('invalid value for "dc_tower_mid", dc_tower_mid cannot be nil.')
|
|
356
|
-
end
|
|
357
|
-
|
|
358
|
-
if @dc_tower_high.nil?
|
|
359
|
-
invalid_properties.push('invalid value for "dc_tower_high", dc_tower_high cannot be nil.')
|
|
360
|
-
end
|
|
361
|
-
|
|
362
348
|
if @wobble1_end.nil?
|
|
363
349
|
invalid_properties.push('invalid value for "wobble1_end", wobble1_end cannot be nil.')
|
|
364
350
|
end
|
|
@@ -367,14 +353,6 @@ module FtcApiV3Client
|
|
|
367
353
|
invalid_properties.push('invalid value for "wobble2_end", wobble2_end cannot be nil.')
|
|
368
354
|
end
|
|
369
355
|
|
|
370
|
-
if @wobble1_rings.nil?
|
|
371
|
-
invalid_properties.push('invalid value for "wobble1_rings", wobble1_rings cannot be nil.')
|
|
372
|
-
end
|
|
373
|
-
|
|
374
|
-
if @wobble2_rings.nil?
|
|
375
|
-
invalid_properties.push('invalid value for "wobble2_rings", wobble2_rings cannot be nil.')
|
|
376
|
-
end
|
|
377
|
-
|
|
378
356
|
if @end_power_shot_left.nil?
|
|
379
357
|
invalid_properties.push('invalid value for "end_power_shot_left", end_power_shot_left cannot be nil.')
|
|
380
358
|
end
|
|
@@ -387,14 +365,6 @@ module FtcApiV3Client
|
|
|
387
365
|
invalid_properties.push('invalid value for "end_power_shot_right", end_power_shot_right cannot be nil.')
|
|
388
366
|
end
|
|
389
367
|
|
|
390
|
-
if @minor_penalties.nil?
|
|
391
|
-
invalid_properties.push('invalid value for "minor_penalties", minor_penalties cannot be nil.')
|
|
392
|
-
end
|
|
393
|
-
|
|
394
|
-
if @major_penalties.nil?
|
|
395
|
-
invalid_properties.push('invalid value for "major_penalties", major_penalties cannot be nil.')
|
|
396
|
-
end
|
|
397
|
-
|
|
398
368
|
invalid_properties
|
|
399
369
|
end
|
|
400
370
|
|
|
@@ -406,24 +376,14 @@ module FtcApiV3Client
|
|
|
406
376
|
return false if @robot2_navigated.nil?
|
|
407
377
|
return false if @wobble1_delivered.nil?
|
|
408
378
|
return false if @wobble2_delivered.nil?
|
|
409
|
-
return false if @auto_tower_low.nil?
|
|
410
|
-
return false if @auto_tower_mid.nil?
|
|
411
|
-
return false if @auto_tower_high.nil?
|
|
412
379
|
return false if @auto_power_shot_left.nil?
|
|
413
380
|
return false if @auto_power_shot_center.nil?
|
|
414
381
|
return false if @auto_power_shot_right.nil?
|
|
415
|
-
return false if @dc_tower_low.nil?
|
|
416
|
-
return false if @dc_tower_mid.nil?
|
|
417
|
-
return false if @dc_tower_high.nil?
|
|
418
382
|
return false if @wobble1_end.nil?
|
|
419
383
|
return false if @wobble2_end.nil?
|
|
420
|
-
return false if @wobble1_rings.nil?
|
|
421
|
-
return false if @wobble2_rings.nil?
|
|
422
384
|
return false if @end_power_shot_left.nil?
|
|
423
385
|
return false if @end_power_shot_center.nil?
|
|
424
386
|
return false if @end_power_shot_right.nil?
|
|
425
|
-
return false if @minor_penalties.nil?
|
|
426
|
-
return false if @major_penalties.nil?
|
|
427
387
|
true
|
|
428
388
|
end
|
|
429
389
|
|
|
@@ -467,36 +427,6 @@ module FtcApiV3Client
|
|
|
467
427
|
@wobble2_delivered = wobble2_delivered
|
|
468
428
|
end
|
|
469
429
|
|
|
470
|
-
# Custom attribute writer method with validation
|
|
471
|
-
# @param [Object] auto_tower_low Value to be assigned
|
|
472
|
-
def auto_tower_low=(auto_tower_low)
|
|
473
|
-
if auto_tower_low.nil?
|
|
474
|
-
fail ArgumentError, 'auto_tower_low cannot be nil'
|
|
475
|
-
end
|
|
476
|
-
|
|
477
|
-
@auto_tower_low = auto_tower_low
|
|
478
|
-
end
|
|
479
|
-
|
|
480
|
-
# Custom attribute writer method with validation
|
|
481
|
-
# @param [Object] auto_tower_mid Value to be assigned
|
|
482
|
-
def auto_tower_mid=(auto_tower_mid)
|
|
483
|
-
if auto_tower_mid.nil?
|
|
484
|
-
fail ArgumentError, 'auto_tower_mid cannot be nil'
|
|
485
|
-
end
|
|
486
|
-
|
|
487
|
-
@auto_tower_mid = auto_tower_mid
|
|
488
|
-
end
|
|
489
|
-
|
|
490
|
-
# Custom attribute writer method with validation
|
|
491
|
-
# @param [Object] auto_tower_high Value to be assigned
|
|
492
|
-
def auto_tower_high=(auto_tower_high)
|
|
493
|
-
if auto_tower_high.nil?
|
|
494
|
-
fail ArgumentError, 'auto_tower_high cannot be nil'
|
|
495
|
-
end
|
|
496
|
-
|
|
497
|
-
@auto_tower_high = auto_tower_high
|
|
498
|
-
end
|
|
499
|
-
|
|
500
430
|
# Custom attribute writer method with validation
|
|
501
431
|
# @param [Object] auto_power_shot_left Value to be assigned
|
|
502
432
|
def auto_power_shot_left=(auto_power_shot_left)
|
|
@@ -527,36 +457,6 @@ module FtcApiV3Client
|
|
|
527
457
|
@auto_power_shot_right = auto_power_shot_right
|
|
528
458
|
end
|
|
529
459
|
|
|
530
|
-
# Custom attribute writer method with validation
|
|
531
|
-
# @param [Object] dc_tower_low Value to be assigned
|
|
532
|
-
def dc_tower_low=(dc_tower_low)
|
|
533
|
-
if dc_tower_low.nil?
|
|
534
|
-
fail ArgumentError, 'dc_tower_low cannot be nil'
|
|
535
|
-
end
|
|
536
|
-
|
|
537
|
-
@dc_tower_low = dc_tower_low
|
|
538
|
-
end
|
|
539
|
-
|
|
540
|
-
# Custom attribute writer method with validation
|
|
541
|
-
# @param [Object] dc_tower_mid Value to be assigned
|
|
542
|
-
def dc_tower_mid=(dc_tower_mid)
|
|
543
|
-
if dc_tower_mid.nil?
|
|
544
|
-
fail ArgumentError, 'dc_tower_mid cannot be nil'
|
|
545
|
-
end
|
|
546
|
-
|
|
547
|
-
@dc_tower_mid = dc_tower_mid
|
|
548
|
-
end
|
|
549
|
-
|
|
550
|
-
# Custom attribute writer method with validation
|
|
551
|
-
# @param [Object] dc_tower_high Value to be assigned
|
|
552
|
-
def dc_tower_high=(dc_tower_high)
|
|
553
|
-
if dc_tower_high.nil?
|
|
554
|
-
fail ArgumentError, 'dc_tower_high cannot be nil'
|
|
555
|
-
end
|
|
556
|
-
|
|
557
|
-
@dc_tower_high = dc_tower_high
|
|
558
|
-
end
|
|
559
|
-
|
|
560
460
|
# Custom attribute writer method with validation
|
|
561
461
|
# @param [Object] wobble1_end Value to be assigned
|
|
562
462
|
def wobble1_end=(wobble1_end)
|
|
@@ -577,26 +477,6 @@ module FtcApiV3Client
|
|
|
577
477
|
@wobble2_end = wobble2_end
|
|
578
478
|
end
|
|
579
479
|
|
|
580
|
-
# Custom attribute writer method with validation
|
|
581
|
-
# @param [Object] wobble1_rings Value to be assigned
|
|
582
|
-
def wobble1_rings=(wobble1_rings)
|
|
583
|
-
if wobble1_rings.nil?
|
|
584
|
-
fail ArgumentError, 'wobble1_rings cannot be nil'
|
|
585
|
-
end
|
|
586
|
-
|
|
587
|
-
@wobble1_rings = wobble1_rings
|
|
588
|
-
end
|
|
589
|
-
|
|
590
|
-
# Custom attribute writer method with validation
|
|
591
|
-
# @param [Object] wobble2_rings Value to be assigned
|
|
592
|
-
def wobble2_rings=(wobble2_rings)
|
|
593
|
-
if wobble2_rings.nil?
|
|
594
|
-
fail ArgumentError, 'wobble2_rings cannot be nil'
|
|
595
|
-
end
|
|
596
|
-
|
|
597
|
-
@wobble2_rings = wobble2_rings
|
|
598
|
-
end
|
|
599
|
-
|
|
600
480
|
# Custom attribute writer method with validation
|
|
601
481
|
# @param [Object] end_power_shot_left Value to be assigned
|
|
602
482
|
def end_power_shot_left=(end_power_shot_left)
|
|
@@ -627,26 +507,6 @@ module FtcApiV3Client
|
|
|
627
507
|
@end_power_shot_right = end_power_shot_right
|
|
628
508
|
end
|
|
629
509
|
|
|
630
|
-
# Custom attribute writer method with validation
|
|
631
|
-
# @param [Object] minor_penalties Value to be assigned
|
|
632
|
-
def minor_penalties=(minor_penalties)
|
|
633
|
-
if minor_penalties.nil?
|
|
634
|
-
fail ArgumentError, 'minor_penalties cannot be nil'
|
|
635
|
-
end
|
|
636
|
-
|
|
637
|
-
@minor_penalties = minor_penalties
|
|
638
|
-
end
|
|
639
|
-
|
|
640
|
-
# Custom attribute writer method with validation
|
|
641
|
-
# @param [Object] major_penalties Value to be assigned
|
|
642
|
-
def major_penalties=(major_penalties)
|
|
643
|
-
if major_penalties.nil?
|
|
644
|
-
fail ArgumentError, 'major_penalties cannot be nil'
|
|
645
|
-
end
|
|
646
|
-
|
|
647
|
-
@major_penalties = major_penalties
|
|
648
|
-
end
|
|
649
|
-
|
|
650
510
|
# Checks equality by comparing each attribute.
|
|
651
511
|
# @param [Object] Object to be compared
|
|
652
512
|
def ==(o)
|
|
@@ -97,6 +97,20 @@ module FtcApiV3Client
|
|
|
97
97
|
# List of attributes with nullable: true
|
|
98
98
|
def self.openapi_nullable
|
|
99
99
|
Set.new([
|
|
100
|
+
:'auto_navigation_points',
|
|
101
|
+
:'auto_wobble_points',
|
|
102
|
+
:'auto_tower_points',
|
|
103
|
+
:'auto_power_shot_points',
|
|
104
|
+
:'dc_tower_points',
|
|
105
|
+
:'end_wobble_points',
|
|
106
|
+
:'end_wobble_ring_points',
|
|
107
|
+
:'end_power_shot_points',
|
|
108
|
+
:'auto_points',
|
|
109
|
+
:'dc_points',
|
|
110
|
+
:'endgame_points',
|
|
111
|
+
:'penalty_points_committed',
|
|
112
|
+
:'pre_penalty_total',
|
|
113
|
+
:'adjust_points'
|
|
100
114
|
])
|
|
101
115
|
end
|
|
102
116
|
|
|
@@ -206,62 +220,6 @@ module FtcApiV3Client
|
|
|
206
220
|
def list_invalid_properties
|
|
207
221
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
208
222
|
invalid_properties = Array.new
|
|
209
|
-
if @auto_navigation_points.nil?
|
|
210
|
-
invalid_properties.push('invalid value for "auto_navigation_points", auto_navigation_points cannot be nil.')
|
|
211
|
-
end
|
|
212
|
-
|
|
213
|
-
if @auto_wobble_points.nil?
|
|
214
|
-
invalid_properties.push('invalid value for "auto_wobble_points", auto_wobble_points cannot be nil.')
|
|
215
|
-
end
|
|
216
|
-
|
|
217
|
-
if @auto_tower_points.nil?
|
|
218
|
-
invalid_properties.push('invalid value for "auto_tower_points", auto_tower_points cannot be nil.')
|
|
219
|
-
end
|
|
220
|
-
|
|
221
|
-
if @auto_power_shot_points.nil?
|
|
222
|
-
invalid_properties.push('invalid value for "auto_power_shot_points", auto_power_shot_points cannot be nil.')
|
|
223
|
-
end
|
|
224
|
-
|
|
225
|
-
if @dc_tower_points.nil?
|
|
226
|
-
invalid_properties.push('invalid value for "dc_tower_points", dc_tower_points cannot be nil.')
|
|
227
|
-
end
|
|
228
|
-
|
|
229
|
-
if @end_wobble_points.nil?
|
|
230
|
-
invalid_properties.push('invalid value for "end_wobble_points", end_wobble_points cannot be nil.')
|
|
231
|
-
end
|
|
232
|
-
|
|
233
|
-
if @end_wobble_ring_points.nil?
|
|
234
|
-
invalid_properties.push('invalid value for "end_wobble_ring_points", end_wobble_ring_points cannot be nil.')
|
|
235
|
-
end
|
|
236
|
-
|
|
237
|
-
if @end_power_shot_points.nil?
|
|
238
|
-
invalid_properties.push('invalid value for "end_power_shot_points", end_power_shot_points cannot be nil.')
|
|
239
|
-
end
|
|
240
|
-
|
|
241
|
-
if @auto_points.nil?
|
|
242
|
-
invalid_properties.push('invalid value for "auto_points", auto_points cannot be nil.')
|
|
243
|
-
end
|
|
244
|
-
|
|
245
|
-
if @dc_points.nil?
|
|
246
|
-
invalid_properties.push('invalid value for "dc_points", dc_points cannot be nil.')
|
|
247
|
-
end
|
|
248
|
-
|
|
249
|
-
if @endgame_points.nil?
|
|
250
|
-
invalid_properties.push('invalid value for "endgame_points", endgame_points cannot be nil.')
|
|
251
|
-
end
|
|
252
|
-
|
|
253
|
-
if @penalty_points_committed.nil?
|
|
254
|
-
invalid_properties.push('invalid value for "penalty_points_committed", penalty_points_committed cannot be nil.')
|
|
255
|
-
end
|
|
256
|
-
|
|
257
|
-
if @pre_penalty_total.nil?
|
|
258
|
-
invalid_properties.push('invalid value for "pre_penalty_total", pre_penalty_total cannot be nil.')
|
|
259
|
-
end
|
|
260
|
-
|
|
261
|
-
if @adjust_points.nil?
|
|
262
|
-
invalid_properties.push('invalid value for "adjust_points", adjust_points cannot be nil.')
|
|
263
|
-
end
|
|
264
|
-
|
|
265
223
|
invalid_properties
|
|
266
224
|
end
|
|
267
225
|
|
|
@@ -269,163 +227,9 @@ module FtcApiV3Client
|
|
|
269
227
|
# @return true if the model is valid
|
|
270
228
|
def valid?
|
|
271
229
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
272
|
-
return false if @auto_navigation_points.nil?
|
|
273
|
-
return false if @auto_wobble_points.nil?
|
|
274
|
-
return false if @auto_tower_points.nil?
|
|
275
|
-
return false if @auto_power_shot_points.nil?
|
|
276
|
-
return false if @dc_tower_points.nil?
|
|
277
|
-
return false if @end_wobble_points.nil?
|
|
278
|
-
return false if @end_wobble_ring_points.nil?
|
|
279
|
-
return false if @end_power_shot_points.nil?
|
|
280
|
-
return false if @auto_points.nil?
|
|
281
|
-
return false if @dc_points.nil?
|
|
282
|
-
return false if @endgame_points.nil?
|
|
283
|
-
return false if @penalty_points_committed.nil?
|
|
284
|
-
return false if @pre_penalty_total.nil?
|
|
285
|
-
return false if @adjust_points.nil?
|
|
286
230
|
true
|
|
287
231
|
end
|
|
288
232
|
|
|
289
|
-
# Custom attribute writer method with validation
|
|
290
|
-
# @param [Object] auto_navigation_points Value to be assigned
|
|
291
|
-
def auto_navigation_points=(auto_navigation_points)
|
|
292
|
-
if auto_navigation_points.nil?
|
|
293
|
-
fail ArgumentError, 'auto_navigation_points cannot be nil'
|
|
294
|
-
end
|
|
295
|
-
|
|
296
|
-
@auto_navigation_points = auto_navigation_points
|
|
297
|
-
end
|
|
298
|
-
|
|
299
|
-
# Custom attribute writer method with validation
|
|
300
|
-
# @param [Object] auto_wobble_points Value to be assigned
|
|
301
|
-
def auto_wobble_points=(auto_wobble_points)
|
|
302
|
-
if auto_wobble_points.nil?
|
|
303
|
-
fail ArgumentError, 'auto_wobble_points cannot be nil'
|
|
304
|
-
end
|
|
305
|
-
|
|
306
|
-
@auto_wobble_points = auto_wobble_points
|
|
307
|
-
end
|
|
308
|
-
|
|
309
|
-
# Custom attribute writer method with validation
|
|
310
|
-
# @param [Object] auto_tower_points Value to be assigned
|
|
311
|
-
def auto_tower_points=(auto_tower_points)
|
|
312
|
-
if auto_tower_points.nil?
|
|
313
|
-
fail ArgumentError, 'auto_tower_points cannot be nil'
|
|
314
|
-
end
|
|
315
|
-
|
|
316
|
-
@auto_tower_points = auto_tower_points
|
|
317
|
-
end
|
|
318
|
-
|
|
319
|
-
# Custom attribute writer method with validation
|
|
320
|
-
# @param [Object] auto_power_shot_points Value to be assigned
|
|
321
|
-
def auto_power_shot_points=(auto_power_shot_points)
|
|
322
|
-
if auto_power_shot_points.nil?
|
|
323
|
-
fail ArgumentError, 'auto_power_shot_points cannot be nil'
|
|
324
|
-
end
|
|
325
|
-
|
|
326
|
-
@auto_power_shot_points = auto_power_shot_points
|
|
327
|
-
end
|
|
328
|
-
|
|
329
|
-
# Custom attribute writer method with validation
|
|
330
|
-
# @param [Object] dc_tower_points Value to be assigned
|
|
331
|
-
def dc_tower_points=(dc_tower_points)
|
|
332
|
-
if dc_tower_points.nil?
|
|
333
|
-
fail ArgumentError, 'dc_tower_points cannot be nil'
|
|
334
|
-
end
|
|
335
|
-
|
|
336
|
-
@dc_tower_points = dc_tower_points
|
|
337
|
-
end
|
|
338
|
-
|
|
339
|
-
# Custom attribute writer method with validation
|
|
340
|
-
# @param [Object] end_wobble_points Value to be assigned
|
|
341
|
-
def end_wobble_points=(end_wobble_points)
|
|
342
|
-
if end_wobble_points.nil?
|
|
343
|
-
fail ArgumentError, 'end_wobble_points cannot be nil'
|
|
344
|
-
end
|
|
345
|
-
|
|
346
|
-
@end_wobble_points = end_wobble_points
|
|
347
|
-
end
|
|
348
|
-
|
|
349
|
-
# Custom attribute writer method with validation
|
|
350
|
-
# @param [Object] end_wobble_ring_points Value to be assigned
|
|
351
|
-
def end_wobble_ring_points=(end_wobble_ring_points)
|
|
352
|
-
if end_wobble_ring_points.nil?
|
|
353
|
-
fail ArgumentError, 'end_wobble_ring_points cannot be nil'
|
|
354
|
-
end
|
|
355
|
-
|
|
356
|
-
@end_wobble_ring_points = end_wobble_ring_points
|
|
357
|
-
end
|
|
358
|
-
|
|
359
|
-
# Custom attribute writer method with validation
|
|
360
|
-
# @param [Object] end_power_shot_points Value to be assigned
|
|
361
|
-
def end_power_shot_points=(end_power_shot_points)
|
|
362
|
-
if end_power_shot_points.nil?
|
|
363
|
-
fail ArgumentError, 'end_power_shot_points cannot be nil'
|
|
364
|
-
end
|
|
365
|
-
|
|
366
|
-
@end_power_shot_points = end_power_shot_points
|
|
367
|
-
end
|
|
368
|
-
|
|
369
|
-
# Custom attribute writer method with validation
|
|
370
|
-
# @param [Object] auto_points Value to be assigned
|
|
371
|
-
def auto_points=(auto_points)
|
|
372
|
-
if auto_points.nil?
|
|
373
|
-
fail ArgumentError, 'auto_points cannot be nil'
|
|
374
|
-
end
|
|
375
|
-
|
|
376
|
-
@auto_points = auto_points
|
|
377
|
-
end
|
|
378
|
-
|
|
379
|
-
# Custom attribute writer method with validation
|
|
380
|
-
# @param [Object] dc_points Value to be assigned
|
|
381
|
-
def dc_points=(dc_points)
|
|
382
|
-
if dc_points.nil?
|
|
383
|
-
fail ArgumentError, 'dc_points cannot be nil'
|
|
384
|
-
end
|
|
385
|
-
|
|
386
|
-
@dc_points = dc_points
|
|
387
|
-
end
|
|
388
|
-
|
|
389
|
-
# Custom attribute writer method with validation
|
|
390
|
-
# @param [Object] endgame_points Value to be assigned
|
|
391
|
-
def endgame_points=(endgame_points)
|
|
392
|
-
if endgame_points.nil?
|
|
393
|
-
fail ArgumentError, 'endgame_points cannot be nil'
|
|
394
|
-
end
|
|
395
|
-
|
|
396
|
-
@endgame_points = endgame_points
|
|
397
|
-
end
|
|
398
|
-
|
|
399
|
-
# Custom attribute writer method with validation
|
|
400
|
-
# @param [Object] penalty_points_committed Value to be assigned
|
|
401
|
-
def penalty_points_committed=(penalty_points_committed)
|
|
402
|
-
if penalty_points_committed.nil?
|
|
403
|
-
fail ArgumentError, 'penalty_points_committed cannot be nil'
|
|
404
|
-
end
|
|
405
|
-
|
|
406
|
-
@penalty_points_committed = penalty_points_committed
|
|
407
|
-
end
|
|
408
|
-
|
|
409
|
-
# Custom attribute writer method with validation
|
|
410
|
-
# @param [Object] pre_penalty_total Value to be assigned
|
|
411
|
-
def pre_penalty_total=(pre_penalty_total)
|
|
412
|
-
if pre_penalty_total.nil?
|
|
413
|
-
fail ArgumentError, 'pre_penalty_total cannot be nil'
|
|
414
|
-
end
|
|
415
|
-
|
|
416
|
-
@pre_penalty_total = pre_penalty_total
|
|
417
|
-
end
|
|
418
|
-
|
|
419
|
-
# Custom attribute writer method with validation
|
|
420
|
-
# @param [Object] adjust_points Value to be assigned
|
|
421
|
-
def adjust_points=(adjust_points)
|
|
422
|
-
if adjust_points.nil?
|
|
423
|
-
fail ArgumentError, 'adjust_points cannot be nil'
|
|
424
|
-
end
|
|
425
|
-
|
|
426
|
-
@adjust_points = adjust_points
|
|
427
|
-
end
|
|
428
|
-
|
|
429
233
|
# Checks equality by comparing each attribute.
|
|
430
234
|
# @param [Object] Object to be compared
|
|
431
235
|
def ==(o)
|