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
|
@@ -146,6 +146,16 @@ module FtcApiV3Client
|
|
|
146
146
|
# List of attributes with nullable: true
|
|
147
147
|
def self.openapi_nullable
|
|
148
148
|
Set.new([
|
|
149
|
+
:'auto_tower_low',
|
|
150
|
+
:'auto_tower_mid',
|
|
151
|
+
:'auto_tower_high',
|
|
152
|
+
:'dc_tower_low',
|
|
153
|
+
:'dc_tower_mid',
|
|
154
|
+
:'dc_tower_high',
|
|
155
|
+
:'wobble1_rings',
|
|
156
|
+
:'wobble2_rings',
|
|
157
|
+
:'minor_penalties',
|
|
158
|
+
:'major_penalties'
|
|
149
159
|
])
|
|
150
160
|
end
|
|
151
161
|
|
|
@@ -309,18 +319,6 @@ module FtcApiV3Client
|
|
|
309
319
|
invalid_properties.push('invalid value for "wobble2_delivered", wobble2_delivered cannot be nil.')
|
|
310
320
|
end
|
|
311
321
|
|
|
312
|
-
if @auto_tower_low.nil?
|
|
313
|
-
invalid_properties.push('invalid value for "auto_tower_low", auto_tower_low cannot be nil.')
|
|
314
|
-
end
|
|
315
|
-
|
|
316
|
-
if @auto_tower_mid.nil?
|
|
317
|
-
invalid_properties.push('invalid value for "auto_tower_mid", auto_tower_mid cannot be nil.')
|
|
318
|
-
end
|
|
319
|
-
|
|
320
|
-
if @auto_tower_high.nil?
|
|
321
|
-
invalid_properties.push('invalid value for "auto_tower_high", auto_tower_high cannot be nil.')
|
|
322
|
-
end
|
|
323
|
-
|
|
324
322
|
if @auto_power_shot_left.nil?
|
|
325
323
|
invalid_properties.push('invalid value for "auto_power_shot_left", auto_power_shot_left cannot be nil.')
|
|
326
324
|
end
|
|
@@ -333,18 +331,6 @@ module FtcApiV3Client
|
|
|
333
331
|
invalid_properties.push('invalid value for "auto_power_shot_right", auto_power_shot_right cannot be nil.')
|
|
334
332
|
end
|
|
335
333
|
|
|
336
|
-
if @dc_tower_low.nil?
|
|
337
|
-
invalid_properties.push('invalid value for "dc_tower_low", dc_tower_low cannot be nil.')
|
|
338
|
-
end
|
|
339
|
-
|
|
340
|
-
if @dc_tower_mid.nil?
|
|
341
|
-
invalid_properties.push('invalid value for "dc_tower_mid", dc_tower_mid cannot be nil.')
|
|
342
|
-
end
|
|
343
|
-
|
|
344
|
-
if @dc_tower_high.nil?
|
|
345
|
-
invalid_properties.push('invalid value for "dc_tower_high", dc_tower_high cannot be nil.')
|
|
346
|
-
end
|
|
347
|
-
|
|
348
334
|
if @wobble1_end.nil?
|
|
349
335
|
invalid_properties.push('invalid value for "wobble1_end", wobble1_end cannot be nil.')
|
|
350
336
|
end
|
|
@@ -353,14 +339,6 @@ module FtcApiV3Client
|
|
|
353
339
|
invalid_properties.push('invalid value for "wobble2_end", wobble2_end cannot be nil.')
|
|
354
340
|
end
|
|
355
341
|
|
|
356
|
-
if @wobble1_rings.nil?
|
|
357
|
-
invalid_properties.push('invalid value for "wobble1_rings", wobble1_rings cannot be nil.')
|
|
358
|
-
end
|
|
359
|
-
|
|
360
|
-
if @wobble2_rings.nil?
|
|
361
|
-
invalid_properties.push('invalid value for "wobble2_rings", wobble2_rings cannot be nil.')
|
|
362
|
-
end
|
|
363
|
-
|
|
364
342
|
if @end_power_shot_left.nil?
|
|
365
343
|
invalid_properties.push('invalid value for "end_power_shot_left", end_power_shot_left cannot be nil.')
|
|
366
344
|
end
|
|
@@ -373,14 +351,6 @@ module FtcApiV3Client
|
|
|
373
351
|
invalid_properties.push('invalid value for "end_power_shot_right", end_power_shot_right cannot be nil.')
|
|
374
352
|
end
|
|
375
353
|
|
|
376
|
-
if @minor_penalties.nil?
|
|
377
|
-
invalid_properties.push('invalid value for "minor_penalties", minor_penalties cannot be nil.')
|
|
378
|
-
end
|
|
379
|
-
|
|
380
|
-
if @major_penalties.nil?
|
|
381
|
-
invalid_properties.push('invalid value for "major_penalties", major_penalties cannot be nil.')
|
|
382
|
-
end
|
|
383
|
-
|
|
384
354
|
invalid_properties
|
|
385
355
|
end
|
|
386
356
|
|
|
@@ -391,24 +361,14 @@ module FtcApiV3Client
|
|
|
391
361
|
return false if @robot_navigated.nil?
|
|
392
362
|
return false if @wobble1_delivered.nil?
|
|
393
363
|
return false if @wobble2_delivered.nil?
|
|
394
|
-
return false if @auto_tower_low.nil?
|
|
395
|
-
return false if @auto_tower_mid.nil?
|
|
396
|
-
return false if @auto_tower_high.nil?
|
|
397
364
|
return false if @auto_power_shot_left.nil?
|
|
398
365
|
return false if @auto_power_shot_center.nil?
|
|
399
366
|
return false if @auto_power_shot_right.nil?
|
|
400
|
-
return false if @dc_tower_low.nil?
|
|
401
|
-
return false if @dc_tower_mid.nil?
|
|
402
|
-
return false if @dc_tower_high.nil?
|
|
403
367
|
return false if @wobble1_end.nil?
|
|
404
368
|
return false if @wobble2_end.nil?
|
|
405
|
-
return false if @wobble1_rings.nil?
|
|
406
|
-
return false if @wobble2_rings.nil?
|
|
407
369
|
return false if @end_power_shot_left.nil?
|
|
408
370
|
return false if @end_power_shot_center.nil?
|
|
409
371
|
return false if @end_power_shot_right.nil?
|
|
410
|
-
return false if @minor_penalties.nil?
|
|
411
|
-
return false if @major_penalties.nil?
|
|
412
372
|
true
|
|
413
373
|
end
|
|
414
374
|
|
|
@@ -442,36 +402,6 @@ module FtcApiV3Client
|
|
|
442
402
|
@wobble2_delivered = wobble2_delivered
|
|
443
403
|
end
|
|
444
404
|
|
|
445
|
-
# Custom attribute writer method with validation
|
|
446
|
-
# @param [Object] auto_tower_low Value to be assigned
|
|
447
|
-
def auto_tower_low=(auto_tower_low)
|
|
448
|
-
if auto_tower_low.nil?
|
|
449
|
-
fail ArgumentError, 'auto_tower_low cannot be nil'
|
|
450
|
-
end
|
|
451
|
-
|
|
452
|
-
@auto_tower_low = auto_tower_low
|
|
453
|
-
end
|
|
454
|
-
|
|
455
|
-
# Custom attribute writer method with validation
|
|
456
|
-
# @param [Object] auto_tower_mid Value to be assigned
|
|
457
|
-
def auto_tower_mid=(auto_tower_mid)
|
|
458
|
-
if auto_tower_mid.nil?
|
|
459
|
-
fail ArgumentError, 'auto_tower_mid cannot be nil'
|
|
460
|
-
end
|
|
461
|
-
|
|
462
|
-
@auto_tower_mid = auto_tower_mid
|
|
463
|
-
end
|
|
464
|
-
|
|
465
|
-
# Custom attribute writer method with validation
|
|
466
|
-
# @param [Object] auto_tower_high Value to be assigned
|
|
467
|
-
def auto_tower_high=(auto_tower_high)
|
|
468
|
-
if auto_tower_high.nil?
|
|
469
|
-
fail ArgumentError, 'auto_tower_high cannot be nil'
|
|
470
|
-
end
|
|
471
|
-
|
|
472
|
-
@auto_tower_high = auto_tower_high
|
|
473
|
-
end
|
|
474
|
-
|
|
475
405
|
# Custom attribute writer method with validation
|
|
476
406
|
# @param [Object] auto_power_shot_left Value to be assigned
|
|
477
407
|
def auto_power_shot_left=(auto_power_shot_left)
|
|
@@ -502,36 +432,6 @@ module FtcApiV3Client
|
|
|
502
432
|
@auto_power_shot_right = auto_power_shot_right
|
|
503
433
|
end
|
|
504
434
|
|
|
505
|
-
# Custom attribute writer method with validation
|
|
506
|
-
# @param [Object] dc_tower_low Value to be assigned
|
|
507
|
-
def dc_tower_low=(dc_tower_low)
|
|
508
|
-
if dc_tower_low.nil?
|
|
509
|
-
fail ArgumentError, 'dc_tower_low cannot be nil'
|
|
510
|
-
end
|
|
511
|
-
|
|
512
|
-
@dc_tower_low = dc_tower_low
|
|
513
|
-
end
|
|
514
|
-
|
|
515
|
-
# Custom attribute writer method with validation
|
|
516
|
-
# @param [Object] dc_tower_mid Value to be assigned
|
|
517
|
-
def dc_tower_mid=(dc_tower_mid)
|
|
518
|
-
if dc_tower_mid.nil?
|
|
519
|
-
fail ArgumentError, 'dc_tower_mid cannot be nil'
|
|
520
|
-
end
|
|
521
|
-
|
|
522
|
-
@dc_tower_mid = dc_tower_mid
|
|
523
|
-
end
|
|
524
|
-
|
|
525
|
-
# Custom attribute writer method with validation
|
|
526
|
-
# @param [Object] dc_tower_high Value to be assigned
|
|
527
|
-
def dc_tower_high=(dc_tower_high)
|
|
528
|
-
if dc_tower_high.nil?
|
|
529
|
-
fail ArgumentError, 'dc_tower_high cannot be nil'
|
|
530
|
-
end
|
|
531
|
-
|
|
532
|
-
@dc_tower_high = dc_tower_high
|
|
533
|
-
end
|
|
534
|
-
|
|
535
435
|
# Custom attribute writer method with validation
|
|
536
436
|
# @param [Object] wobble1_end Value to be assigned
|
|
537
437
|
def wobble1_end=(wobble1_end)
|
|
@@ -552,26 +452,6 @@ module FtcApiV3Client
|
|
|
552
452
|
@wobble2_end = wobble2_end
|
|
553
453
|
end
|
|
554
454
|
|
|
555
|
-
# Custom attribute writer method with validation
|
|
556
|
-
# @param [Object] wobble1_rings Value to be assigned
|
|
557
|
-
def wobble1_rings=(wobble1_rings)
|
|
558
|
-
if wobble1_rings.nil?
|
|
559
|
-
fail ArgumentError, 'wobble1_rings cannot be nil'
|
|
560
|
-
end
|
|
561
|
-
|
|
562
|
-
@wobble1_rings = wobble1_rings
|
|
563
|
-
end
|
|
564
|
-
|
|
565
|
-
# Custom attribute writer method with validation
|
|
566
|
-
# @param [Object] wobble2_rings Value to be assigned
|
|
567
|
-
def wobble2_rings=(wobble2_rings)
|
|
568
|
-
if wobble2_rings.nil?
|
|
569
|
-
fail ArgumentError, 'wobble2_rings cannot be nil'
|
|
570
|
-
end
|
|
571
|
-
|
|
572
|
-
@wobble2_rings = wobble2_rings
|
|
573
|
-
end
|
|
574
|
-
|
|
575
455
|
# Custom attribute writer method with validation
|
|
576
456
|
# @param [Object] end_power_shot_left Value to be assigned
|
|
577
457
|
def end_power_shot_left=(end_power_shot_left)
|
|
@@ -602,26 +482,6 @@ module FtcApiV3Client
|
|
|
602
482
|
@end_power_shot_right = end_power_shot_right
|
|
603
483
|
end
|
|
604
484
|
|
|
605
|
-
# Custom attribute writer method with validation
|
|
606
|
-
# @param [Object] minor_penalties Value to be assigned
|
|
607
|
-
def minor_penalties=(minor_penalties)
|
|
608
|
-
if minor_penalties.nil?
|
|
609
|
-
fail ArgumentError, 'minor_penalties cannot be nil'
|
|
610
|
-
end
|
|
611
|
-
|
|
612
|
-
@minor_penalties = minor_penalties
|
|
613
|
-
end
|
|
614
|
-
|
|
615
|
-
# Custom attribute writer method with validation
|
|
616
|
-
# @param [Object] major_penalties Value to be assigned
|
|
617
|
-
def major_penalties=(major_penalties)
|
|
618
|
-
if major_penalties.nil?
|
|
619
|
-
fail ArgumentError, 'major_penalties cannot be nil'
|
|
620
|
-
end
|
|
621
|
-
|
|
622
|
-
@major_penalties = major_penalties
|
|
623
|
-
end
|
|
624
|
-
|
|
625
485
|
# Checks equality by comparing each attribute.
|
|
626
486
|
# @param [Object] Object to be compared
|
|
627
487
|
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)
|
data/update.sh
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
openapi-generator generate -i https://ftc-scoring.firstinspires.org/api-docs/openapi.json -g ruby -c config.json
|
|
1
|
+
openapi-generator generate -i https://ftc-scoring.firstinspires.org/api-docs/openapi.json -g ruby -c config.json --openapi-normalizer SET_PRIMITIVE_TYPES_TO_NULLABLE="integer,number"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ftc_api_v3_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -194,6 +194,7 @@ files:
|
|
|
194
194
|
- docs/RegionsApi.md
|
|
195
195
|
- docs/SeasonsApi.md
|
|
196
196
|
- docs/TeamsApi.md
|
|
197
|
+
- ftc_api_v3_client-0.1.0.gem
|
|
197
198
|
- ftc_api_v3_client.gemspec
|
|
198
199
|
- git_push.sh
|
|
199
200
|
- lib/ftc_api_v3_client.rb
|