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
|
@@ -135,18 +135,8 @@ module FtcApiV3Client
|
|
|
135
135
|
# List of attributes with nullable: true
|
|
136
136
|
def self.openapi_nullable
|
|
137
137
|
Set.new([
|
|
138
|
-
:'
|
|
139
|
-
:'
|
|
140
|
-
:'auto_freight2',
|
|
141
|
-
:'auto_freight3',
|
|
142
|
-
:'dc_storage_freight',
|
|
143
|
-
:'dc_freight1',
|
|
144
|
-
:'dc_freight2',
|
|
145
|
-
:'dc_freight3',
|
|
146
|
-
:'eg_delivered',
|
|
147
|
-
:'capped',
|
|
148
|
-
:'minor_penalties',
|
|
149
|
-
:'major_penalties',
|
|
138
|
+
:'auto_robot',
|
|
139
|
+
:'eg_robot',
|
|
150
140
|
])
|
|
151
141
|
end
|
|
152
142
|
|
|
@@ -284,20 +274,60 @@ module FtcApiV3Client
|
|
|
284
274
|
invalid_properties.push('invalid value for "auto_delivered", auto_delivered cannot be nil.')
|
|
285
275
|
end
|
|
286
276
|
|
|
287
|
-
if @auto_robot.nil?
|
|
288
|
-
invalid_properties.push('invalid value for "auto_robot", auto_robot cannot be nil.')
|
|
289
|
-
end
|
|
290
|
-
|
|
291
277
|
if @preload.nil?
|
|
292
278
|
invalid_properties.push('invalid value for "preload", preload cannot be nil.')
|
|
293
279
|
end
|
|
294
280
|
|
|
281
|
+
if @auto_storage_freight.nil?
|
|
282
|
+
invalid_properties.push('invalid value for "auto_storage_freight", auto_storage_freight cannot be nil.')
|
|
283
|
+
end
|
|
284
|
+
|
|
285
|
+
if @auto_freight1.nil?
|
|
286
|
+
invalid_properties.push('invalid value for "auto_freight1", auto_freight1 cannot be nil.')
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
if @auto_freight2.nil?
|
|
290
|
+
invalid_properties.push('invalid value for "auto_freight2", auto_freight2 cannot be nil.')
|
|
291
|
+
end
|
|
292
|
+
|
|
293
|
+
if @auto_freight3.nil?
|
|
294
|
+
invalid_properties.push('invalid value for "auto_freight3", auto_freight3 cannot be nil.')
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
if @dc_storage_freight.nil?
|
|
298
|
+
invalid_properties.push('invalid value for "dc_storage_freight", dc_storage_freight cannot be nil.')
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
if @dc_freight1.nil?
|
|
302
|
+
invalid_properties.push('invalid value for "dc_freight1", dc_freight1 cannot be nil.')
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
if @dc_freight2.nil?
|
|
306
|
+
invalid_properties.push('invalid value for "dc_freight2", dc_freight2 cannot be nil.')
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
if @dc_freight3.nil?
|
|
310
|
+
invalid_properties.push('invalid value for "dc_freight3", dc_freight3 cannot be nil.')
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
if @eg_delivered.nil?
|
|
314
|
+
invalid_properties.push('invalid value for "eg_delivered", eg_delivered cannot be nil.')
|
|
315
|
+
end
|
|
316
|
+
|
|
295
317
|
if @balanced.nil?
|
|
296
318
|
invalid_properties.push('invalid value for "balanced", balanced cannot be nil.')
|
|
297
319
|
end
|
|
298
320
|
|
|
299
|
-
if @
|
|
300
|
-
invalid_properties.push('invalid value for "
|
|
321
|
+
if @capped.nil?
|
|
322
|
+
invalid_properties.push('invalid value for "capped", capped cannot be nil.')
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
if @minor_penalties.nil?
|
|
326
|
+
invalid_properties.push('invalid value for "minor_penalties", minor_penalties cannot be nil.')
|
|
327
|
+
end
|
|
328
|
+
|
|
329
|
+
if @major_penalties.nil?
|
|
330
|
+
invalid_properties.push('invalid value for "major_penalties", major_penalties cannot be nil.')
|
|
301
331
|
end
|
|
302
332
|
|
|
303
333
|
if @init_tse.nil?
|
|
@@ -312,10 +342,20 @@ module FtcApiV3Client
|
|
|
312
342
|
def valid?
|
|
313
343
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
314
344
|
return false if @auto_delivered.nil?
|
|
315
|
-
return false if @auto_robot.nil?
|
|
316
345
|
return false if @preload.nil?
|
|
346
|
+
return false if @auto_storage_freight.nil?
|
|
347
|
+
return false if @auto_freight1.nil?
|
|
348
|
+
return false if @auto_freight2.nil?
|
|
349
|
+
return false if @auto_freight3.nil?
|
|
350
|
+
return false if @dc_storage_freight.nil?
|
|
351
|
+
return false if @dc_freight1.nil?
|
|
352
|
+
return false if @dc_freight2.nil?
|
|
353
|
+
return false if @dc_freight3.nil?
|
|
354
|
+
return false if @eg_delivered.nil?
|
|
317
355
|
return false if @balanced.nil?
|
|
318
|
-
return false if @
|
|
356
|
+
return false if @capped.nil?
|
|
357
|
+
return false if @minor_penalties.nil?
|
|
358
|
+
return false if @major_penalties.nil?
|
|
319
359
|
return false if @init_tse.nil?
|
|
320
360
|
true
|
|
321
361
|
end
|
|
@@ -330,16 +370,6 @@ module FtcApiV3Client
|
|
|
330
370
|
@auto_delivered = auto_delivered
|
|
331
371
|
end
|
|
332
372
|
|
|
333
|
-
# Custom attribute writer method with validation
|
|
334
|
-
# @param [Object] auto_robot Value to be assigned
|
|
335
|
-
def auto_robot=(auto_robot)
|
|
336
|
-
if auto_robot.nil?
|
|
337
|
-
fail ArgumentError, 'auto_robot cannot be nil'
|
|
338
|
-
end
|
|
339
|
-
|
|
340
|
-
@auto_robot = auto_robot
|
|
341
|
-
end
|
|
342
|
-
|
|
343
373
|
# Custom attribute writer method with validation
|
|
344
374
|
# @param [Object] preload Value to be assigned
|
|
345
375
|
def preload=(preload)
|
|
@@ -350,6 +380,96 @@ module FtcApiV3Client
|
|
|
350
380
|
@preload = preload
|
|
351
381
|
end
|
|
352
382
|
|
|
383
|
+
# Custom attribute writer method with validation
|
|
384
|
+
# @param [Object] auto_storage_freight Value to be assigned
|
|
385
|
+
def auto_storage_freight=(auto_storage_freight)
|
|
386
|
+
if auto_storage_freight.nil?
|
|
387
|
+
fail ArgumentError, 'auto_storage_freight cannot be nil'
|
|
388
|
+
end
|
|
389
|
+
|
|
390
|
+
@auto_storage_freight = auto_storage_freight
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
# Custom attribute writer method with validation
|
|
394
|
+
# @param [Object] auto_freight1 Value to be assigned
|
|
395
|
+
def auto_freight1=(auto_freight1)
|
|
396
|
+
if auto_freight1.nil?
|
|
397
|
+
fail ArgumentError, 'auto_freight1 cannot be nil'
|
|
398
|
+
end
|
|
399
|
+
|
|
400
|
+
@auto_freight1 = auto_freight1
|
|
401
|
+
end
|
|
402
|
+
|
|
403
|
+
# Custom attribute writer method with validation
|
|
404
|
+
# @param [Object] auto_freight2 Value to be assigned
|
|
405
|
+
def auto_freight2=(auto_freight2)
|
|
406
|
+
if auto_freight2.nil?
|
|
407
|
+
fail ArgumentError, 'auto_freight2 cannot be nil'
|
|
408
|
+
end
|
|
409
|
+
|
|
410
|
+
@auto_freight2 = auto_freight2
|
|
411
|
+
end
|
|
412
|
+
|
|
413
|
+
# Custom attribute writer method with validation
|
|
414
|
+
# @param [Object] auto_freight3 Value to be assigned
|
|
415
|
+
def auto_freight3=(auto_freight3)
|
|
416
|
+
if auto_freight3.nil?
|
|
417
|
+
fail ArgumentError, 'auto_freight3 cannot be nil'
|
|
418
|
+
end
|
|
419
|
+
|
|
420
|
+
@auto_freight3 = auto_freight3
|
|
421
|
+
end
|
|
422
|
+
|
|
423
|
+
# Custom attribute writer method with validation
|
|
424
|
+
# @param [Object] dc_storage_freight Value to be assigned
|
|
425
|
+
def dc_storage_freight=(dc_storage_freight)
|
|
426
|
+
if dc_storage_freight.nil?
|
|
427
|
+
fail ArgumentError, 'dc_storage_freight cannot be nil'
|
|
428
|
+
end
|
|
429
|
+
|
|
430
|
+
@dc_storage_freight = dc_storage_freight
|
|
431
|
+
end
|
|
432
|
+
|
|
433
|
+
# Custom attribute writer method with validation
|
|
434
|
+
# @param [Object] dc_freight1 Value to be assigned
|
|
435
|
+
def dc_freight1=(dc_freight1)
|
|
436
|
+
if dc_freight1.nil?
|
|
437
|
+
fail ArgumentError, 'dc_freight1 cannot be nil'
|
|
438
|
+
end
|
|
439
|
+
|
|
440
|
+
@dc_freight1 = dc_freight1
|
|
441
|
+
end
|
|
442
|
+
|
|
443
|
+
# Custom attribute writer method with validation
|
|
444
|
+
# @param [Object] dc_freight2 Value to be assigned
|
|
445
|
+
def dc_freight2=(dc_freight2)
|
|
446
|
+
if dc_freight2.nil?
|
|
447
|
+
fail ArgumentError, 'dc_freight2 cannot be nil'
|
|
448
|
+
end
|
|
449
|
+
|
|
450
|
+
@dc_freight2 = dc_freight2
|
|
451
|
+
end
|
|
452
|
+
|
|
453
|
+
# Custom attribute writer method with validation
|
|
454
|
+
# @param [Object] dc_freight3 Value to be assigned
|
|
455
|
+
def dc_freight3=(dc_freight3)
|
|
456
|
+
if dc_freight3.nil?
|
|
457
|
+
fail ArgumentError, 'dc_freight3 cannot be nil'
|
|
458
|
+
end
|
|
459
|
+
|
|
460
|
+
@dc_freight3 = dc_freight3
|
|
461
|
+
end
|
|
462
|
+
|
|
463
|
+
# Custom attribute writer method with validation
|
|
464
|
+
# @param [Object] eg_delivered Value to be assigned
|
|
465
|
+
def eg_delivered=(eg_delivered)
|
|
466
|
+
if eg_delivered.nil?
|
|
467
|
+
fail ArgumentError, 'eg_delivered cannot be nil'
|
|
468
|
+
end
|
|
469
|
+
|
|
470
|
+
@eg_delivered = eg_delivered
|
|
471
|
+
end
|
|
472
|
+
|
|
353
473
|
# Custom attribute writer method with validation
|
|
354
474
|
# @param [Object] balanced Value to be assigned
|
|
355
475
|
def balanced=(balanced)
|
|
@@ -361,13 +481,33 @@ module FtcApiV3Client
|
|
|
361
481
|
end
|
|
362
482
|
|
|
363
483
|
# Custom attribute writer method with validation
|
|
364
|
-
# @param [Object]
|
|
365
|
-
def
|
|
366
|
-
if
|
|
367
|
-
fail ArgumentError, '
|
|
484
|
+
# @param [Object] capped Value to be assigned
|
|
485
|
+
def capped=(capped)
|
|
486
|
+
if capped.nil?
|
|
487
|
+
fail ArgumentError, 'capped cannot be nil'
|
|
488
|
+
end
|
|
489
|
+
|
|
490
|
+
@capped = capped
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
# Custom attribute writer method with validation
|
|
494
|
+
# @param [Object] minor_penalties Value to be assigned
|
|
495
|
+
def minor_penalties=(minor_penalties)
|
|
496
|
+
if minor_penalties.nil?
|
|
497
|
+
fail ArgumentError, 'minor_penalties cannot be nil'
|
|
498
|
+
end
|
|
499
|
+
|
|
500
|
+
@minor_penalties = minor_penalties
|
|
501
|
+
end
|
|
502
|
+
|
|
503
|
+
# Custom attribute writer method with validation
|
|
504
|
+
# @param [Object] major_penalties Value to be assigned
|
|
505
|
+
def major_penalties=(major_penalties)
|
|
506
|
+
if major_penalties.nil?
|
|
507
|
+
fail ArgumentError, 'major_penalties cannot be nil'
|
|
368
508
|
end
|
|
369
509
|
|
|
370
|
-
@
|
|
510
|
+
@major_penalties = major_penalties
|
|
371
511
|
end
|
|
372
512
|
|
|
373
513
|
# Custom attribute writer method with validation
|
|
@@ -104,22 +104,6 @@ module FtcApiV3Client
|
|
|
104
104
|
# List of attributes with nullable: true
|
|
105
105
|
def self.openapi_nullable
|
|
106
106
|
Set.new([
|
|
107
|
-
:'carousel_points',
|
|
108
|
-
:'navigation_points',
|
|
109
|
-
:'auto_freight_points',
|
|
110
|
-
:'auto_bonus_points',
|
|
111
|
-
:'dc_hub_points',
|
|
112
|
-
:'dc_storage_points',
|
|
113
|
-
:'eg_delivery_points',
|
|
114
|
-
:'balanced_points',
|
|
115
|
-
:'parking_points',
|
|
116
|
-
:'capping_points',
|
|
117
|
-
:'auto_points',
|
|
118
|
-
:'dc_points',
|
|
119
|
-
:'endgame_points',
|
|
120
|
-
:'penalty_points',
|
|
121
|
-
:'scored_points',
|
|
122
|
-
:'total_points'
|
|
123
107
|
])
|
|
124
108
|
end
|
|
125
109
|
|
|
@@ -241,6 +225,70 @@ module FtcApiV3Client
|
|
|
241
225
|
def list_invalid_properties
|
|
242
226
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
243
227
|
invalid_properties = Array.new
|
|
228
|
+
if @carousel_points.nil?
|
|
229
|
+
invalid_properties.push('invalid value for "carousel_points", carousel_points cannot be nil.')
|
|
230
|
+
end
|
|
231
|
+
|
|
232
|
+
if @navigation_points.nil?
|
|
233
|
+
invalid_properties.push('invalid value for "navigation_points", navigation_points cannot be nil.')
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
if @auto_freight_points.nil?
|
|
237
|
+
invalid_properties.push('invalid value for "auto_freight_points", auto_freight_points cannot be nil.')
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
if @auto_bonus_points.nil?
|
|
241
|
+
invalid_properties.push('invalid value for "auto_bonus_points", auto_bonus_points cannot be nil.')
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
if @dc_hub_points.nil?
|
|
245
|
+
invalid_properties.push('invalid value for "dc_hub_points", dc_hub_points cannot be nil.')
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
if @dc_storage_points.nil?
|
|
249
|
+
invalid_properties.push('invalid value for "dc_storage_points", dc_storage_points cannot be nil.')
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
if @eg_delivery_points.nil?
|
|
253
|
+
invalid_properties.push('invalid value for "eg_delivery_points", eg_delivery_points cannot be nil.')
|
|
254
|
+
end
|
|
255
|
+
|
|
256
|
+
if @balanced_points.nil?
|
|
257
|
+
invalid_properties.push('invalid value for "balanced_points", balanced_points cannot be nil.')
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
if @parking_points.nil?
|
|
261
|
+
invalid_properties.push('invalid value for "parking_points", parking_points cannot be nil.')
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
if @capping_points.nil?
|
|
265
|
+
invalid_properties.push('invalid value for "capping_points", capping_points cannot be nil.')
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
if @auto_points.nil?
|
|
269
|
+
invalid_properties.push('invalid value for "auto_points", auto_points cannot be nil.')
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
if @dc_points.nil?
|
|
273
|
+
invalid_properties.push('invalid value for "dc_points", dc_points cannot be nil.')
|
|
274
|
+
end
|
|
275
|
+
|
|
276
|
+
if @endgame_points.nil?
|
|
277
|
+
invalid_properties.push('invalid value for "endgame_points", endgame_points cannot be nil.')
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
if @penalty_points.nil?
|
|
281
|
+
invalid_properties.push('invalid value for "penalty_points", penalty_points cannot be nil.')
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
if @scored_points.nil?
|
|
285
|
+
invalid_properties.push('invalid value for "scored_points", scored_points cannot be nil.')
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
if @total_points.nil?
|
|
289
|
+
invalid_properties.push('invalid value for "total_points", total_points cannot be nil.')
|
|
290
|
+
end
|
|
291
|
+
|
|
244
292
|
invalid_properties
|
|
245
293
|
end
|
|
246
294
|
|
|
@@ -248,9 +296,185 @@ module FtcApiV3Client
|
|
|
248
296
|
# @return true if the model is valid
|
|
249
297
|
def valid?
|
|
250
298
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
299
|
+
return false if @carousel_points.nil?
|
|
300
|
+
return false if @navigation_points.nil?
|
|
301
|
+
return false if @auto_freight_points.nil?
|
|
302
|
+
return false if @auto_bonus_points.nil?
|
|
303
|
+
return false if @dc_hub_points.nil?
|
|
304
|
+
return false if @dc_storage_points.nil?
|
|
305
|
+
return false if @eg_delivery_points.nil?
|
|
306
|
+
return false if @balanced_points.nil?
|
|
307
|
+
return false if @parking_points.nil?
|
|
308
|
+
return false if @capping_points.nil?
|
|
309
|
+
return false if @auto_points.nil?
|
|
310
|
+
return false if @dc_points.nil?
|
|
311
|
+
return false if @endgame_points.nil?
|
|
312
|
+
return false if @penalty_points.nil?
|
|
313
|
+
return false if @scored_points.nil?
|
|
314
|
+
return false if @total_points.nil?
|
|
251
315
|
true
|
|
252
316
|
end
|
|
253
317
|
|
|
318
|
+
# Custom attribute writer method with validation
|
|
319
|
+
# @param [Object] carousel_points Value to be assigned
|
|
320
|
+
def carousel_points=(carousel_points)
|
|
321
|
+
if carousel_points.nil?
|
|
322
|
+
fail ArgumentError, 'carousel_points cannot be nil'
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
@carousel_points = carousel_points
|
|
326
|
+
end
|
|
327
|
+
|
|
328
|
+
# Custom attribute writer method with validation
|
|
329
|
+
# @param [Object] navigation_points Value to be assigned
|
|
330
|
+
def navigation_points=(navigation_points)
|
|
331
|
+
if navigation_points.nil?
|
|
332
|
+
fail ArgumentError, 'navigation_points cannot be nil'
|
|
333
|
+
end
|
|
334
|
+
|
|
335
|
+
@navigation_points = navigation_points
|
|
336
|
+
end
|
|
337
|
+
|
|
338
|
+
# Custom attribute writer method with validation
|
|
339
|
+
# @param [Object] auto_freight_points Value to be assigned
|
|
340
|
+
def auto_freight_points=(auto_freight_points)
|
|
341
|
+
if auto_freight_points.nil?
|
|
342
|
+
fail ArgumentError, 'auto_freight_points cannot be nil'
|
|
343
|
+
end
|
|
344
|
+
|
|
345
|
+
@auto_freight_points = auto_freight_points
|
|
346
|
+
end
|
|
347
|
+
|
|
348
|
+
# Custom attribute writer method with validation
|
|
349
|
+
# @param [Object] auto_bonus_points Value to be assigned
|
|
350
|
+
def auto_bonus_points=(auto_bonus_points)
|
|
351
|
+
if auto_bonus_points.nil?
|
|
352
|
+
fail ArgumentError, 'auto_bonus_points cannot be nil'
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
@auto_bonus_points = auto_bonus_points
|
|
356
|
+
end
|
|
357
|
+
|
|
358
|
+
# Custom attribute writer method with validation
|
|
359
|
+
# @param [Object] dc_hub_points Value to be assigned
|
|
360
|
+
def dc_hub_points=(dc_hub_points)
|
|
361
|
+
if dc_hub_points.nil?
|
|
362
|
+
fail ArgumentError, 'dc_hub_points cannot be nil'
|
|
363
|
+
end
|
|
364
|
+
|
|
365
|
+
@dc_hub_points = dc_hub_points
|
|
366
|
+
end
|
|
367
|
+
|
|
368
|
+
# Custom attribute writer method with validation
|
|
369
|
+
# @param [Object] dc_storage_points Value to be assigned
|
|
370
|
+
def dc_storage_points=(dc_storage_points)
|
|
371
|
+
if dc_storage_points.nil?
|
|
372
|
+
fail ArgumentError, 'dc_storage_points cannot be nil'
|
|
373
|
+
end
|
|
374
|
+
|
|
375
|
+
@dc_storage_points = dc_storage_points
|
|
376
|
+
end
|
|
377
|
+
|
|
378
|
+
# Custom attribute writer method with validation
|
|
379
|
+
# @param [Object] eg_delivery_points Value to be assigned
|
|
380
|
+
def eg_delivery_points=(eg_delivery_points)
|
|
381
|
+
if eg_delivery_points.nil?
|
|
382
|
+
fail ArgumentError, 'eg_delivery_points cannot be nil'
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
@eg_delivery_points = eg_delivery_points
|
|
386
|
+
end
|
|
387
|
+
|
|
388
|
+
# Custom attribute writer method with validation
|
|
389
|
+
# @param [Object] balanced_points Value to be assigned
|
|
390
|
+
def balanced_points=(balanced_points)
|
|
391
|
+
if balanced_points.nil?
|
|
392
|
+
fail ArgumentError, 'balanced_points cannot be nil'
|
|
393
|
+
end
|
|
394
|
+
|
|
395
|
+
@balanced_points = balanced_points
|
|
396
|
+
end
|
|
397
|
+
|
|
398
|
+
# Custom attribute writer method with validation
|
|
399
|
+
# @param [Object] parking_points Value to be assigned
|
|
400
|
+
def parking_points=(parking_points)
|
|
401
|
+
if parking_points.nil?
|
|
402
|
+
fail ArgumentError, 'parking_points cannot be nil'
|
|
403
|
+
end
|
|
404
|
+
|
|
405
|
+
@parking_points = parking_points
|
|
406
|
+
end
|
|
407
|
+
|
|
408
|
+
# Custom attribute writer method with validation
|
|
409
|
+
# @param [Object] capping_points Value to be assigned
|
|
410
|
+
def capping_points=(capping_points)
|
|
411
|
+
if capping_points.nil?
|
|
412
|
+
fail ArgumentError, 'capping_points cannot be nil'
|
|
413
|
+
end
|
|
414
|
+
|
|
415
|
+
@capping_points = capping_points
|
|
416
|
+
end
|
|
417
|
+
|
|
418
|
+
# Custom attribute writer method with validation
|
|
419
|
+
# @param [Object] auto_points Value to be assigned
|
|
420
|
+
def auto_points=(auto_points)
|
|
421
|
+
if auto_points.nil?
|
|
422
|
+
fail ArgumentError, 'auto_points cannot be nil'
|
|
423
|
+
end
|
|
424
|
+
|
|
425
|
+
@auto_points = auto_points
|
|
426
|
+
end
|
|
427
|
+
|
|
428
|
+
# Custom attribute writer method with validation
|
|
429
|
+
# @param [Object] dc_points Value to be assigned
|
|
430
|
+
def dc_points=(dc_points)
|
|
431
|
+
if dc_points.nil?
|
|
432
|
+
fail ArgumentError, 'dc_points cannot be nil'
|
|
433
|
+
end
|
|
434
|
+
|
|
435
|
+
@dc_points = dc_points
|
|
436
|
+
end
|
|
437
|
+
|
|
438
|
+
# Custom attribute writer method with validation
|
|
439
|
+
# @param [Object] endgame_points Value to be assigned
|
|
440
|
+
def endgame_points=(endgame_points)
|
|
441
|
+
if endgame_points.nil?
|
|
442
|
+
fail ArgumentError, 'endgame_points cannot be nil'
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
@endgame_points = endgame_points
|
|
446
|
+
end
|
|
447
|
+
|
|
448
|
+
# Custom attribute writer method with validation
|
|
449
|
+
# @param [Object] penalty_points Value to be assigned
|
|
450
|
+
def penalty_points=(penalty_points)
|
|
451
|
+
if penalty_points.nil?
|
|
452
|
+
fail ArgumentError, 'penalty_points cannot be nil'
|
|
453
|
+
end
|
|
454
|
+
|
|
455
|
+
@penalty_points = penalty_points
|
|
456
|
+
end
|
|
457
|
+
|
|
458
|
+
# Custom attribute writer method with validation
|
|
459
|
+
# @param [Object] scored_points Value to be assigned
|
|
460
|
+
def scored_points=(scored_points)
|
|
461
|
+
if scored_points.nil?
|
|
462
|
+
fail ArgumentError, 'scored_points cannot be nil'
|
|
463
|
+
end
|
|
464
|
+
|
|
465
|
+
@scored_points = scored_points
|
|
466
|
+
end
|
|
467
|
+
|
|
468
|
+
# Custom attribute writer method with validation
|
|
469
|
+
# @param [Object] total_points Value to be assigned
|
|
470
|
+
def total_points=(total_points)
|
|
471
|
+
if total_points.nil?
|
|
472
|
+
fail ArgumentError, 'total_points cannot be nil'
|
|
473
|
+
end
|
|
474
|
+
|
|
475
|
+
@total_points = total_points
|
|
476
|
+
end
|
|
477
|
+
|
|
254
478
|
# Checks equality by comparing each attribute.
|
|
255
479
|
# @param [Object] Object to be compared
|
|
256
480
|
def ==(o)
|
|
@@ -53,6 +53,7 @@ module FtcApiV3Client
|
|
|
53
53
|
# List of attributes with nullable: true
|
|
54
54
|
def self.openapi_nullable
|
|
55
55
|
Set.new([
|
|
56
|
+
:'type',
|
|
56
57
|
])
|
|
57
58
|
end
|
|
58
59
|
|
|
@@ -96,10 +97,6 @@ module FtcApiV3Client
|
|
|
96
97
|
def list_invalid_properties
|
|
97
98
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
98
99
|
invalid_properties = Array.new
|
|
99
|
-
if @type.nil?
|
|
100
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
|
101
|
-
end
|
|
102
|
-
|
|
103
100
|
if @achievements.nil?
|
|
104
101
|
invalid_properties.push('invalid value for "achievements", achievements cannot be nil.')
|
|
105
102
|
end
|
|
@@ -115,22 +112,11 @@ module FtcApiV3Client
|
|
|
115
112
|
# @return true if the model is valid
|
|
116
113
|
def valid?
|
|
117
114
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
118
|
-
return false if @type.nil?
|
|
119
115
|
return false if @achievements.nil?
|
|
120
116
|
return false if @points.nil?
|
|
121
117
|
true
|
|
122
118
|
end
|
|
123
119
|
|
|
124
|
-
# Custom attribute writer method with validation
|
|
125
|
-
# @param [Object] type Value to be assigned
|
|
126
|
-
def type=(type)
|
|
127
|
-
if type.nil?
|
|
128
|
-
fail ArgumentError, 'type cannot be nil'
|
|
129
|
-
end
|
|
130
|
-
|
|
131
|
-
@type = type
|
|
132
|
-
end
|
|
133
|
-
|
|
134
120
|
# Custom attribute writer method with validation
|
|
135
121
|
# @param [Object] achievements Value to be assigned
|
|
136
122
|
def achievements=(achievements)
|
|
@@ -53,6 +53,7 @@ module FtcApiV3Client
|
|
|
53
53
|
# List of attributes with nullable: true
|
|
54
54
|
def self.openapi_nullable
|
|
55
55
|
Set.new([
|
|
56
|
+
:'type',
|
|
56
57
|
])
|
|
57
58
|
end
|
|
58
59
|
|
|
@@ -96,10 +97,6 @@ module FtcApiV3Client
|
|
|
96
97
|
def list_invalid_properties
|
|
97
98
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
98
99
|
invalid_properties = Array.new
|
|
99
|
-
if @type.nil?
|
|
100
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
|
101
|
-
end
|
|
102
|
-
|
|
103
100
|
if @achievements.nil?
|
|
104
101
|
invalid_properties.push('invalid value for "achievements", achievements cannot be nil.')
|
|
105
102
|
end
|
|
@@ -115,22 +112,11 @@ module FtcApiV3Client
|
|
|
115
112
|
# @return true if the model is valid
|
|
116
113
|
def valid?
|
|
117
114
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
118
|
-
return false if @type.nil?
|
|
119
115
|
return false if @achievements.nil?
|
|
120
116
|
return false if @points.nil?
|
|
121
117
|
true
|
|
122
118
|
end
|
|
123
119
|
|
|
124
|
-
# Custom attribute writer method with validation
|
|
125
|
-
# @param [Object] type Value to be assigned
|
|
126
|
-
def type=(type)
|
|
127
|
-
if type.nil?
|
|
128
|
-
fail ArgumentError, 'type cannot be nil'
|
|
129
|
-
end
|
|
130
|
-
|
|
131
|
-
@type = type
|
|
132
|
-
end
|
|
133
|
-
|
|
134
120
|
# Custom attribute writer method with validation
|
|
135
121
|
# @param [Object] achievements Value to be assigned
|
|
136
122
|
def achievements=(achievements)
|
|
@@ -53,6 +53,7 @@ module FtcApiV3Client
|
|
|
53
53
|
# List of attributes with nullable: true
|
|
54
54
|
def self.openapi_nullable
|
|
55
55
|
Set.new([
|
|
56
|
+
:'type',
|
|
56
57
|
])
|
|
57
58
|
end
|
|
58
59
|
|
|
@@ -96,10 +97,6 @@ module FtcApiV3Client
|
|
|
96
97
|
def list_invalid_properties
|
|
97
98
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
98
99
|
invalid_properties = Array.new
|
|
99
|
-
if @type.nil?
|
|
100
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
|
101
|
-
end
|
|
102
|
-
|
|
103
100
|
if @achievements.nil?
|
|
104
101
|
invalid_properties.push('invalid value for "achievements", achievements cannot be nil.')
|
|
105
102
|
end
|
|
@@ -115,22 +112,11 @@ module FtcApiV3Client
|
|
|
115
112
|
# @return true if the model is valid
|
|
116
113
|
def valid?
|
|
117
114
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
118
|
-
return false if @type.nil?
|
|
119
115
|
return false if @achievements.nil?
|
|
120
116
|
return false if @points.nil?
|
|
121
117
|
true
|
|
122
118
|
end
|
|
123
119
|
|
|
124
|
-
# Custom attribute writer method with validation
|
|
125
|
-
# @param [Object] type Value to be assigned
|
|
126
|
-
def type=(type)
|
|
127
|
-
if type.nil?
|
|
128
|
-
fail ArgumentError, 'type cannot be nil'
|
|
129
|
-
end
|
|
130
|
-
|
|
131
|
-
@type = type
|
|
132
|
-
end
|
|
133
|
-
|
|
134
120
|
# Custom attribute writer method with validation
|
|
135
121
|
# @param [Object] achievements Value to be assigned
|
|
136
122
|
def achievements=(achievements)
|