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
|
@@ -100,6 +100,21 @@ module FtcApiV3Client
|
|
|
100
100
|
# List of attributes with nullable: true
|
|
101
101
|
def self.openapi_nullable
|
|
102
102
|
Set.new([
|
|
103
|
+
:'auto_navigating_points',
|
|
104
|
+
:'auto_randomization_points',
|
|
105
|
+
:'auto_backdrop_points',
|
|
106
|
+
:'auto_backstage_points',
|
|
107
|
+
:'dc_backdrop_points',
|
|
108
|
+
:'dc_backstage_points',
|
|
109
|
+
:'mosaic_points',
|
|
110
|
+
:'set_bonus_points',
|
|
111
|
+
:'eg_location_points',
|
|
112
|
+
:'eg_drone_points',
|
|
113
|
+
:'auto_points',
|
|
114
|
+
:'dc_points',
|
|
115
|
+
:'endgame_points',
|
|
116
|
+
:'penalty_points_committed',
|
|
117
|
+
:'pre_penalty_total'
|
|
103
118
|
])
|
|
104
119
|
end
|
|
105
120
|
|
|
@@ -215,66 +230,6 @@ module FtcApiV3Client
|
|
|
215
230
|
def list_invalid_properties
|
|
216
231
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
217
232
|
invalid_properties = Array.new
|
|
218
|
-
if @auto_navigating_points.nil?
|
|
219
|
-
invalid_properties.push('invalid value for "auto_navigating_points", auto_navigating_points cannot be nil.')
|
|
220
|
-
end
|
|
221
|
-
|
|
222
|
-
if @auto_randomization_points.nil?
|
|
223
|
-
invalid_properties.push('invalid value for "auto_randomization_points", auto_randomization_points cannot be nil.')
|
|
224
|
-
end
|
|
225
|
-
|
|
226
|
-
if @auto_backdrop_points.nil?
|
|
227
|
-
invalid_properties.push('invalid value for "auto_backdrop_points", auto_backdrop_points cannot be nil.')
|
|
228
|
-
end
|
|
229
|
-
|
|
230
|
-
if @auto_backstage_points.nil?
|
|
231
|
-
invalid_properties.push('invalid value for "auto_backstage_points", auto_backstage_points cannot be nil.')
|
|
232
|
-
end
|
|
233
|
-
|
|
234
|
-
if @dc_backdrop_points.nil?
|
|
235
|
-
invalid_properties.push('invalid value for "dc_backdrop_points", dc_backdrop_points cannot be nil.')
|
|
236
|
-
end
|
|
237
|
-
|
|
238
|
-
if @dc_backstage_points.nil?
|
|
239
|
-
invalid_properties.push('invalid value for "dc_backstage_points", dc_backstage_points cannot be nil.')
|
|
240
|
-
end
|
|
241
|
-
|
|
242
|
-
if @mosaic_points.nil?
|
|
243
|
-
invalid_properties.push('invalid value for "mosaic_points", mosaic_points cannot be nil.')
|
|
244
|
-
end
|
|
245
|
-
|
|
246
|
-
if @set_bonus_points.nil?
|
|
247
|
-
invalid_properties.push('invalid value for "set_bonus_points", set_bonus_points cannot be nil.')
|
|
248
|
-
end
|
|
249
|
-
|
|
250
|
-
if @eg_location_points.nil?
|
|
251
|
-
invalid_properties.push('invalid value for "eg_location_points", eg_location_points cannot be nil.')
|
|
252
|
-
end
|
|
253
|
-
|
|
254
|
-
if @eg_drone_points.nil?
|
|
255
|
-
invalid_properties.push('invalid value for "eg_drone_points", eg_drone_points cannot be nil.')
|
|
256
|
-
end
|
|
257
|
-
|
|
258
|
-
if @auto_points.nil?
|
|
259
|
-
invalid_properties.push('invalid value for "auto_points", auto_points cannot be nil.')
|
|
260
|
-
end
|
|
261
|
-
|
|
262
|
-
if @dc_points.nil?
|
|
263
|
-
invalid_properties.push('invalid value for "dc_points", dc_points cannot be nil.')
|
|
264
|
-
end
|
|
265
|
-
|
|
266
|
-
if @endgame_points.nil?
|
|
267
|
-
invalid_properties.push('invalid value for "endgame_points", endgame_points cannot be nil.')
|
|
268
|
-
end
|
|
269
|
-
|
|
270
|
-
if @penalty_points_committed.nil?
|
|
271
|
-
invalid_properties.push('invalid value for "penalty_points_committed", penalty_points_committed cannot be nil.')
|
|
272
|
-
end
|
|
273
|
-
|
|
274
|
-
if @pre_penalty_total.nil?
|
|
275
|
-
invalid_properties.push('invalid value for "pre_penalty_total", pre_penalty_total cannot be nil.')
|
|
276
|
-
end
|
|
277
|
-
|
|
278
233
|
invalid_properties
|
|
279
234
|
end
|
|
280
235
|
|
|
@@ -282,174 +237,9 @@ module FtcApiV3Client
|
|
|
282
237
|
# @return true if the model is valid
|
|
283
238
|
def valid?
|
|
284
239
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
285
|
-
return false if @auto_navigating_points.nil?
|
|
286
|
-
return false if @auto_randomization_points.nil?
|
|
287
|
-
return false if @auto_backdrop_points.nil?
|
|
288
|
-
return false if @auto_backstage_points.nil?
|
|
289
|
-
return false if @dc_backdrop_points.nil?
|
|
290
|
-
return false if @dc_backstage_points.nil?
|
|
291
|
-
return false if @mosaic_points.nil?
|
|
292
|
-
return false if @set_bonus_points.nil?
|
|
293
|
-
return false if @eg_location_points.nil?
|
|
294
|
-
return false if @eg_drone_points.nil?
|
|
295
|
-
return false if @auto_points.nil?
|
|
296
|
-
return false if @dc_points.nil?
|
|
297
|
-
return false if @endgame_points.nil?
|
|
298
|
-
return false if @penalty_points_committed.nil?
|
|
299
|
-
return false if @pre_penalty_total.nil?
|
|
300
240
|
true
|
|
301
241
|
end
|
|
302
242
|
|
|
303
|
-
# Custom attribute writer method with validation
|
|
304
|
-
# @param [Object] auto_navigating_points Value to be assigned
|
|
305
|
-
def auto_navigating_points=(auto_navigating_points)
|
|
306
|
-
if auto_navigating_points.nil?
|
|
307
|
-
fail ArgumentError, 'auto_navigating_points cannot be nil'
|
|
308
|
-
end
|
|
309
|
-
|
|
310
|
-
@auto_navigating_points = auto_navigating_points
|
|
311
|
-
end
|
|
312
|
-
|
|
313
|
-
# Custom attribute writer method with validation
|
|
314
|
-
# @param [Object] auto_randomization_points Value to be assigned
|
|
315
|
-
def auto_randomization_points=(auto_randomization_points)
|
|
316
|
-
if auto_randomization_points.nil?
|
|
317
|
-
fail ArgumentError, 'auto_randomization_points cannot be nil'
|
|
318
|
-
end
|
|
319
|
-
|
|
320
|
-
@auto_randomization_points = auto_randomization_points
|
|
321
|
-
end
|
|
322
|
-
|
|
323
|
-
# Custom attribute writer method with validation
|
|
324
|
-
# @param [Object] auto_backdrop_points Value to be assigned
|
|
325
|
-
def auto_backdrop_points=(auto_backdrop_points)
|
|
326
|
-
if auto_backdrop_points.nil?
|
|
327
|
-
fail ArgumentError, 'auto_backdrop_points cannot be nil'
|
|
328
|
-
end
|
|
329
|
-
|
|
330
|
-
@auto_backdrop_points = auto_backdrop_points
|
|
331
|
-
end
|
|
332
|
-
|
|
333
|
-
# Custom attribute writer method with validation
|
|
334
|
-
# @param [Object] auto_backstage_points Value to be assigned
|
|
335
|
-
def auto_backstage_points=(auto_backstage_points)
|
|
336
|
-
if auto_backstage_points.nil?
|
|
337
|
-
fail ArgumentError, 'auto_backstage_points cannot be nil'
|
|
338
|
-
end
|
|
339
|
-
|
|
340
|
-
@auto_backstage_points = auto_backstage_points
|
|
341
|
-
end
|
|
342
|
-
|
|
343
|
-
# Custom attribute writer method with validation
|
|
344
|
-
# @param [Object] dc_backdrop_points Value to be assigned
|
|
345
|
-
def dc_backdrop_points=(dc_backdrop_points)
|
|
346
|
-
if dc_backdrop_points.nil?
|
|
347
|
-
fail ArgumentError, 'dc_backdrop_points cannot be nil'
|
|
348
|
-
end
|
|
349
|
-
|
|
350
|
-
@dc_backdrop_points = dc_backdrop_points
|
|
351
|
-
end
|
|
352
|
-
|
|
353
|
-
# Custom attribute writer method with validation
|
|
354
|
-
# @param [Object] dc_backstage_points Value to be assigned
|
|
355
|
-
def dc_backstage_points=(dc_backstage_points)
|
|
356
|
-
if dc_backstage_points.nil?
|
|
357
|
-
fail ArgumentError, 'dc_backstage_points cannot be nil'
|
|
358
|
-
end
|
|
359
|
-
|
|
360
|
-
@dc_backstage_points = dc_backstage_points
|
|
361
|
-
end
|
|
362
|
-
|
|
363
|
-
# Custom attribute writer method with validation
|
|
364
|
-
# @param [Object] mosaic_points Value to be assigned
|
|
365
|
-
def mosaic_points=(mosaic_points)
|
|
366
|
-
if mosaic_points.nil?
|
|
367
|
-
fail ArgumentError, 'mosaic_points cannot be nil'
|
|
368
|
-
end
|
|
369
|
-
|
|
370
|
-
@mosaic_points = mosaic_points
|
|
371
|
-
end
|
|
372
|
-
|
|
373
|
-
# Custom attribute writer method with validation
|
|
374
|
-
# @param [Object] set_bonus_points Value to be assigned
|
|
375
|
-
def set_bonus_points=(set_bonus_points)
|
|
376
|
-
if set_bonus_points.nil?
|
|
377
|
-
fail ArgumentError, 'set_bonus_points cannot be nil'
|
|
378
|
-
end
|
|
379
|
-
|
|
380
|
-
@set_bonus_points = set_bonus_points
|
|
381
|
-
end
|
|
382
|
-
|
|
383
|
-
# Custom attribute writer method with validation
|
|
384
|
-
# @param [Object] eg_location_points Value to be assigned
|
|
385
|
-
def eg_location_points=(eg_location_points)
|
|
386
|
-
if eg_location_points.nil?
|
|
387
|
-
fail ArgumentError, 'eg_location_points cannot be nil'
|
|
388
|
-
end
|
|
389
|
-
|
|
390
|
-
@eg_location_points = eg_location_points
|
|
391
|
-
end
|
|
392
|
-
|
|
393
|
-
# Custom attribute writer method with validation
|
|
394
|
-
# @param [Object] eg_drone_points Value to be assigned
|
|
395
|
-
def eg_drone_points=(eg_drone_points)
|
|
396
|
-
if eg_drone_points.nil?
|
|
397
|
-
fail ArgumentError, 'eg_drone_points cannot be nil'
|
|
398
|
-
end
|
|
399
|
-
|
|
400
|
-
@eg_drone_points = eg_drone_points
|
|
401
|
-
end
|
|
402
|
-
|
|
403
|
-
# Custom attribute writer method with validation
|
|
404
|
-
# @param [Object] auto_points Value to be assigned
|
|
405
|
-
def auto_points=(auto_points)
|
|
406
|
-
if auto_points.nil?
|
|
407
|
-
fail ArgumentError, 'auto_points cannot be nil'
|
|
408
|
-
end
|
|
409
|
-
|
|
410
|
-
@auto_points = auto_points
|
|
411
|
-
end
|
|
412
|
-
|
|
413
|
-
# Custom attribute writer method with validation
|
|
414
|
-
# @param [Object] dc_points Value to be assigned
|
|
415
|
-
def dc_points=(dc_points)
|
|
416
|
-
if dc_points.nil?
|
|
417
|
-
fail ArgumentError, 'dc_points cannot be nil'
|
|
418
|
-
end
|
|
419
|
-
|
|
420
|
-
@dc_points = dc_points
|
|
421
|
-
end
|
|
422
|
-
|
|
423
|
-
# Custom attribute writer method with validation
|
|
424
|
-
# @param [Object] endgame_points Value to be assigned
|
|
425
|
-
def endgame_points=(endgame_points)
|
|
426
|
-
if endgame_points.nil?
|
|
427
|
-
fail ArgumentError, 'endgame_points cannot be nil'
|
|
428
|
-
end
|
|
429
|
-
|
|
430
|
-
@endgame_points = endgame_points
|
|
431
|
-
end
|
|
432
|
-
|
|
433
|
-
# Custom attribute writer method with validation
|
|
434
|
-
# @param [Object] penalty_points_committed Value to be assigned
|
|
435
|
-
def penalty_points_committed=(penalty_points_committed)
|
|
436
|
-
if penalty_points_committed.nil?
|
|
437
|
-
fail ArgumentError, 'penalty_points_committed cannot be nil'
|
|
438
|
-
end
|
|
439
|
-
|
|
440
|
-
@penalty_points_committed = penalty_points_committed
|
|
441
|
-
end
|
|
442
|
-
|
|
443
|
-
# Custom attribute writer method with validation
|
|
444
|
-
# @param [Object] pre_penalty_total Value to be assigned
|
|
445
|
-
def pre_penalty_total=(pre_penalty_total)
|
|
446
|
-
if pre_penalty_total.nil?
|
|
447
|
-
fail ArgumentError, 'pre_penalty_total cannot be nil'
|
|
448
|
-
end
|
|
449
|
-
|
|
450
|
-
@pre_penalty_total = pre_penalty_total
|
|
451
|
-
end
|
|
452
|
-
|
|
453
243
|
# Checks equality by comparing each attribute.
|
|
454
244
|
# @param [Object] Object to be compared
|
|
455
245
|
def ==(o)
|
|
@@ -114,6 +114,13 @@ module FtcApiV3Client
|
|
|
114
114
|
# List of attributes with nullable: true
|
|
115
115
|
def self.openapi_nullable
|
|
116
116
|
Set.new([
|
|
117
|
+
:'auto_classified_artifacts',
|
|
118
|
+
:'auto_overflow_artifacts',
|
|
119
|
+
:'teleop_classified_artifacts',
|
|
120
|
+
:'teleop_overflow_artifacts',
|
|
121
|
+
:'teleop_depot_artifacts',
|
|
122
|
+
:'minor_fouls',
|
|
123
|
+
:'major_fouls'
|
|
117
124
|
])
|
|
118
125
|
end
|
|
119
126
|
|
|
@@ -221,14 +228,6 @@ module FtcApiV3Client
|
|
|
221
228
|
def list_invalid_properties
|
|
222
229
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
223
230
|
invalid_properties = Array.new
|
|
224
|
-
if @auto_classified_artifacts.nil?
|
|
225
|
-
invalid_properties.push('invalid value for "auto_classified_artifacts", auto_classified_artifacts cannot be nil.')
|
|
226
|
-
end
|
|
227
|
-
|
|
228
|
-
if @auto_overflow_artifacts.nil?
|
|
229
|
-
invalid_properties.push('invalid value for "auto_overflow_artifacts", auto_overflow_artifacts cannot be nil.')
|
|
230
|
-
end
|
|
231
|
-
|
|
232
231
|
if @auto_classifier_state.nil?
|
|
233
232
|
invalid_properties.push('invalid value for "auto_classifier_state", auto_classifier_state cannot be nil.')
|
|
234
233
|
end
|
|
@@ -241,18 +240,6 @@ module FtcApiV3Client
|
|
|
241
240
|
invalid_properties.push('invalid value for "robot2_auto", robot2_auto cannot be nil.')
|
|
242
241
|
end
|
|
243
242
|
|
|
244
|
-
if @teleop_classified_artifacts.nil?
|
|
245
|
-
invalid_properties.push('invalid value for "teleop_classified_artifacts", teleop_classified_artifacts cannot be nil.')
|
|
246
|
-
end
|
|
247
|
-
|
|
248
|
-
if @teleop_overflow_artifacts.nil?
|
|
249
|
-
invalid_properties.push('invalid value for "teleop_overflow_artifacts", teleop_overflow_artifacts cannot be nil.')
|
|
250
|
-
end
|
|
251
|
-
|
|
252
|
-
if @teleop_depot_artifacts.nil?
|
|
253
|
-
invalid_properties.push('invalid value for "teleop_depot_artifacts", teleop_depot_artifacts cannot be nil.')
|
|
254
|
-
end
|
|
255
|
-
|
|
256
243
|
if @teleop_classifier_state.nil?
|
|
257
244
|
invalid_properties.push('invalid value for "teleop_classifier_state", teleop_classifier_state cannot be nil.')
|
|
258
245
|
end
|
|
@@ -265,14 +252,6 @@ module FtcApiV3Client
|
|
|
265
252
|
invalid_properties.push('invalid value for "robot2_teleop", robot2_teleop cannot be nil.')
|
|
266
253
|
end
|
|
267
254
|
|
|
268
|
-
if @minor_fouls.nil?
|
|
269
|
-
invalid_properties.push('invalid value for "minor_fouls", minor_fouls cannot be nil.')
|
|
270
|
-
end
|
|
271
|
-
|
|
272
|
-
if @major_fouls.nil?
|
|
273
|
-
invalid_properties.push('invalid value for "major_fouls", major_fouls cannot be nil.')
|
|
274
|
-
end
|
|
275
|
-
|
|
276
255
|
invalid_properties
|
|
277
256
|
end
|
|
278
257
|
|
|
@@ -280,42 +259,15 @@ module FtcApiV3Client
|
|
|
280
259
|
# @return true if the model is valid
|
|
281
260
|
def valid?
|
|
282
261
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
283
|
-
return false if @auto_classified_artifacts.nil?
|
|
284
|
-
return false if @auto_overflow_artifacts.nil?
|
|
285
262
|
return false if @auto_classifier_state.nil?
|
|
286
263
|
return false if @robot1_auto.nil?
|
|
287
264
|
return false if @robot2_auto.nil?
|
|
288
|
-
return false if @teleop_classified_artifacts.nil?
|
|
289
|
-
return false if @teleop_overflow_artifacts.nil?
|
|
290
|
-
return false if @teleop_depot_artifacts.nil?
|
|
291
265
|
return false if @teleop_classifier_state.nil?
|
|
292
266
|
return false if @robot1_teleop.nil?
|
|
293
267
|
return false if @robot2_teleop.nil?
|
|
294
|
-
return false if @minor_fouls.nil?
|
|
295
|
-
return false if @major_fouls.nil?
|
|
296
268
|
true
|
|
297
269
|
end
|
|
298
270
|
|
|
299
|
-
# Custom attribute writer method with validation
|
|
300
|
-
# @param [Object] auto_classified_artifacts Value to be assigned
|
|
301
|
-
def auto_classified_artifacts=(auto_classified_artifacts)
|
|
302
|
-
if auto_classified_artifacts.nil?
|
|
303
|
-
fail ArgumentError, 'auto_classified_artifacts cannot be nil'
|
|
304
|
-
end
|
|
305
|
-
|
|
306
|
-
@auto_classified_artifacts = auto_classified_artifacts
|
|
307
|
-
end
|
|
308
|
-
|
|
309
|
-
# Custom attribute writer method with validation
|
|
310
|
-
# @param [Object] auto_overflow_artifacts Value to be assigned
|
|
311
|
-
def auto_overflow_artifacts=(auto_overflow_artifacts)
|
|
312
|
-
if auto_overflow_artifacts.nil?
|
|
313
|
-
fail ArgumentError, 'auto_overflow_artifacts cannot be nil'
|
|
314
|
-
end
|
|
315
|
-
|
|
316
|
-
@auto_overflow_artifacts = auto_overflow_artifacts
|
|
317
|
-
end
|
|
318
|
-
|
|
319
271
|
# Custom attribute writer method with validation
|
|
320
272
|
# @param [Object] auto_classifier_state Value to be assigned
|
|
321
273
|
def auto_classifier_state=(auto_classifier_state)
|
|
@@ -346,36 +298,6 @@ module FtcApiV3Client
|
|
|
346
298
|
@robot2_auto = robot2_auto
|
|
347
299
|
end
|
|
348
300
|
|
|
349
|
-
# Custom attribute writer method with validation
|
|
350
|
-
# @param [Object] teleop_classified_artifacts Value to be assigned
|
|
351
|
-
def teleop_classified_artifacts=(teleop_classified_artifacts)
|
|
352
|
-
if teleop_classified_artifacts.nil?
|
|
353
|
-
fail ArgumentError, 'teleop_classified_artifacts cannot be nil'
|
|
354
|
-
end
|
|
355
|
-
|
|
356
|
-
@teleop_classified_artifacts = teleop_classified_artifacts
|
|
357
|
-
end
|
|
358
|
-
|
|
359
|
-
# Custom attribute writer method with validation
|
|
360
|
-
# @param [Object] teleop_overflow_artifacts Value to be assigned
|
|
361
|
-
def teleop_overflow_artifacts=(teleop_overflow_artifacts)
|
|
362
|
-
if teleop_overflow_artifacts.nil?
|
|
363
|
-
fail ArgumentError, 'teleop_overflow_artifacts cannot be nil'
|
|
364
|
-
end
|
|
365
|
-
|
|
366
|
-
@teleop_overflow_artifacts = teleop_overflow_artifacts
|
|
367
|
-
end
|
|
368
|
-
|
|
369
|
-
# Custom attribute writer method with validation
|
|
370
|
-
# @param [Object] teleop_depot_artifacts Value to be assigned
|
|
371
|
-
def teleop_depot_artifacts=(teleop_depot_artifacts)
|
|
372
|
-
if teleop_depot_artifacts.nil?
|
|
373
|
-
fail ArgumentError, 'teleop_depot_artifacts cannot be nil'
|
|
374
|
-
end
|
|
375
|
-
|
|
376
|
-
@teleop_depot_artifacts = teleop_depot_artifacts
|
|
377
|
-
end
|
|
378
|
-
|
|
379
301
|
# Custom attribute writer method with validation
|
|
380
302
|
# @param [Object] teleop_classifier_state Value to be assigned
|
|
381
303
|
def teleop_classifier_state=(teleop_classifier_state)
|
|
@@ -406,26 +328,6 @@ module FtcApiV3Client
|
|
|
406
328
|
@robot2_teleop = robot2_teleop
|
|
407
329
|
end
|
|
408
330
|
|
|
409
|
-
# Custom attribute writer method with validation
|
|
410
|
-
# @param [Object] minor_fouls Value to be assigned
|
|
411
|
-
def minor_fouls=(minor_fouls)
|
|
412
|
-
if minor_fouls.nil?
|
|
413
|
-
fail ArgumentError, 'minor_fouls cannot be nil'
|
|
414
|
-
end
|
|
415
|
-
|
|
416
|
-
@minor_fouls = minor_fouls
|
|
417
|
-
end
|
|
418
|
-
|
|
419
|
-
# Custom attribute writer method with validation
|
|
420
|
-
# @param [Object] major_fouls Value to be assigned
|
|
421
|
-
def major_fouls=(major_fouls)
|
|
422
|
-
if major_fouls.nil?
|
|
423
|
-
fail ArgumentError, 'major_fouls cannot be nil'
|
|
424
|
-
end
|
|
425
|
-
|
|
426
|
-
@major_fouls = major_fouls
|
|
427
|
-
end
|
|
428
|
-
|
|
429
331
|
# Checks equality by comparing each attribute.
|
|
430
332
|
# @param [Object] Object to be compared
|
|
431
333
|
def ==(o)
|
|
@@ -101,6 +101,18 @@ module FtcApiV3Client
|
|
|
101
101
|
# List of attributes with nullable: true
|
|
102
102
|
def self.openapi_nullable
|
|
103
103
|
Set.new([
|
|
104
|
+
:'auto_leave_points',
|
|
105
|
+
:'auto_artifact_points',
|
|
106
|
+
:'auto_pattern_points',
|
|
107
|
+
:'teleop_artifact_points',
|
|
108
|
+
:'teleop_depot_points',
|
|
109
|
+
:'teleop_pattern_points',
|
|
110
|
+
:'teleop_base_points',
|
|
111
|
+
:'auto_points',
|
|
112
|
+
:'teleop_points',
|
|
113
|
+
:'foul_points_committed',
|
|
114
|
+
:'pre_foul_total',
|
|
115
|
+
:'adjust_points'
|
|
104
116
|
])
|
|
105
117
|
end
|
|
106
118
|
|
|
@@ -216,50 +228,6 @@ module FtcApiV3Client
|
|
|
216
228
|
def list_invalid_properties
|
|
217
229
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
218
230
|
invalid_properties = Array.new
|
|
219
|
-
if @auto_leave_points.nil?
|
|
220
|
-
invalid_properties.push('invalid value for "auto_leave_points", auto_leave_points cannot be nil.')
|
|
221
|
-
end
|
|
222
|
-
|
|
223
|
-
if @auto_artifact_points.nil?
|
|
224
|
-
invalid_properties.push('invalid value for "auto_artifact_points", auto_artifact_points cannot be nil.')
|
|
225
|
-
end
|
|
226
|
-
|
|
227
|
-
if @auto_pattern_points.nil?
|
|
228
|
-
invalid_properties.push('invalid value for "auto_pattern_points", auto_pattern_points cannot be nil.')
|
|
229
|
-
end
|
|
230
|
-
|
|
231
|
-
if @teleop_artifact_points.nil?
|
|
232
|
-
invalid_properties.push('invalid value for "teleop_artifact_points", teleop_artifact_points cannot be nil.')
|
|
233
|
-
end
|
|
234
|
-
|
|
235
|
-
if @teleop_depot_points.nil?
|
|
236
|
-
invalid_properties.push('invalid value for "teleop_depot_points", teleop_depot_points cannot be nil.')
|
|
237
|
-
end
|
|
238
|
-
|
|
239
|
-
if @teleop_pattern_points.nil?
|
|
240
|
-
invalid_properties.push('invalid value for "teleop_pattern_points", teleop_pattern_points cannot be nil.')
|
|
241
|
-
end
|
|
242
|
-
|
|
243
|
-
if @teleop_base_points.nil?
|
|
244
|
-
invalid_properties.push('invalid value for "teleop_base_points", teleop_base_points cannot be nil.')
|
|
245
|
-
end
|
|
246
|
-
|
|
247
|
-
if @auto_points.nil?
|
|
248
|
-
invalid_properties.push('invalid value for "auto_points", auto_points cannot be nil.')
|
|
249
|
-
end
|
|
250
|
-
|
|
251
|
-
if @teleop_points.nil?
|
|
252
|
-
invalid_properties.push('invalid value for "teleop_points", teleop_points cannot be nil.')
|
|
253
|
-
end
|
|
254
|
-
|
|
255
|
-
if @foul_points_committed.nil?
|
|
256
|
-
invalid_properties.push('invalid value for "foul_points_committed", foul_points_committed cannot be nil.')
|
|
257
|
-
end
|
|
258
|
-
|
|
259
|
-
if @pre_foul_total.nil?
|
|
260
|
-
invalid_properties.push('invalid value for "pre_foul_total", pre_foul_total cannot be nil.')
|
|
261
|
-
end
|
|
262
|
-
|
|
263
231
|
if @movement_rp.nil?
|
|
264
232
|
invalid_properties.push('invalid value for "movement_rp", movement_rp cannot be nil.')
|
|
265
233
|
end
|
|
@@ -272,10 +240,6 @@ module FtcApiV3Client
|
|
|
272
240
|
invalid_properties.push('invalid value for "pattern_rp", pattern_rp cannot be nil.')
|
|
273
241
|
end
|
|
274
242
|
|
|
275
|
-
if @adjust_points.nil?
|
|
276
|
-
invalid_properties.push('invalid value for "adjust_points", adjust_points cannot be nil.')
|
|
277
|
-
end
|
|
278
|
-
|
|
279
243
|
invalid_properties
|
|
280
244
|
end
|
|
281
245
|
|
|
@@ -283,134 +247,12 @@ module FtcApiV3Client
|
|
|
283
247
|
# @return true if the model is valid
|
|
284
248
|
def valid?
|
|
285
249
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
286
|
-
return false if @auto_leave_points.nil?
|
|
287
|
-
return false if @auto_artifact_points.nil?
|
|
288
|
-
return false if @auto_pattern_points.nil?
|
|
289
|
-
return false if @teleop_artifact_points.nil?
|
|
290
|
-
return false if @teleop_depot_points.nil?
|
|
291
|
-
return false if @teleop_pattern_points.nil?
|
|
292
|
-
return false if @teleop_base_points.nil?
|
|
293
|
-
return false if @auto_points.nil?
|
|
294
|
-
return false if @teleop_points.nil?
|
|
295
|
-
return false if @foul_points_committed.nil?
|
|
296
|
-
return false if @pre_foul_total.nil?
|
|
297
250
|
return false if @movement_rp.nil?
|
|
298
251
|
return false if @goal_rp.nil?
|
|
299
252
|
return false if @pattern_rp.nil?
|
|
300
|
-
return false if @adjust_points.nil?
|
|
301
253
|
true
|
|
302
254
|
end
|
|
303
255
|
|
|
304
|
-
# Custom attribute writer method with validation
|
|
305
|
-
# @param [Object] auto_leave_points Value to be assigned
|
|
306
|
-
def auto_leave_points=(auto_leave_points)
|
|
307
|
-
if auto_leave_points.nil?
|
|
308
|
-
fail ArgumentError, 'auto_leave_points cannot be nil'
|
|
309
|
-
end
|
|
310
|
-
|
|
311
|
-
@auto_leave_points = auto_leave_points
|
|
312
|
-
end
|
|
313
|
-
|
|
314
|
-
# Custom attribute writer method with validation
|
|
315
|
-
# @param [Object] auto_artifact_points Value to be assigned
|
|
316
|
-
def auto_artifact_points=(auto_artifact_points)
|
|
317
|
-
if auto_artifact_points.nil?
|
|
318
|
-
fail ArgumentError, 'auto_artifact_points cannot be nil'
|
|
319
|
-
end
|
|
320
|
-
|
|
321
|
-
@auto_artifact_points = auto_artifact_points
|
|
322
|
-
end
|
|
323
|
-
|
|
324
|
-
# Custom attribute writer method with validation
|
|
325
|
-
# @param [Object] auto_pattern_points Value to be assigned
|
|
326
|
-
def auto_pattern_points=(auto_pattern_points)
|
|
327
|
-
if auto_pattern_points.nil?
|
|
328
|
-
fail ArgumentError, 'auto_pattern_points cannot be nil'
|
|
329
|
-
end
|
|
330
|
-
|
|
331
|
-
@auto_pattern_points = auto_pattern_points
|
|
332
|
-
end
|
|
333
|
-
|
|
334
|
-
# Custom attribute writer method with validation
|
|
335
|
-
# @param [Object] teleop_artifact_points Value to be assigned
|
|
336
|
-
def teleop_artifact_points=(teleop_artifact_points)
|
|
337
|
-
if teleop_artifact_points.nil?
|
|
338
|
-
fail ArgumentError, 'teleop_artifact_points cannot be nil'
|
|
339
|
-
end
|
|
340
|
-
|
|
341
|
-
@teleop_artifact_points = teleop_artifact_points
|
|
342
|
-
end
|
|
343
|
-
|
|
344
|
-
# Custom attribute writer method with validation
|
|
345
|
-
# @param [Object] teleop_depot_points Value to be assigned
|
|
346
|
-
def teleop_depot_points=(teleop_depot_points)
|
|
347
|
-
if teleop_depot_points.nil?
|
|
348
|
-
fail ArgumentError, 'teleop_depot_points cannot be nil'
|
|
349
|
-
end
|
|
350
|
-
|
|
351
|
-
@teleop_depot_points = teleop_depot_points
|
|
352
|
-
end
|
|
353
|
-
|
|
354
|
-
# Custom attribute writer method with validation
|
|
355
|
-
# @param [Object] teleop_pattern_points Value to be assigned
|
|
356
|
-
def teleop_pattern_points=(teleop_pattern_points)
|
|
357
|
-
if teleop_pattern_points.nil?
|
|
358
|
-
fail ArgumentError, 'teleop_pattern_points cannot be nil'
|
|
359
|
-
end
|
|
360
|
-
|
|
361
|
-
@teleop_pattern_points = teleop_pattern_points
|
|
362
|
-
end
|
|
363
|
-
|
|
364
|
-
# Custom attribute writer method with validation
|
|
365
|
-
# @param [Object] teleop_base_points Value to be assigned
|
|
366
|
-
def teleop_base_points=(teleop_base_points)
|
|
367
|
-
if teleop_base_points.nil?
|
|
368
|
-
fail ArgumentError, 'teleop_base_points cannot be nil'
|
|
369
|
-
end
|
|
370
|
-
|
|
371
|
-
@teleop_base_points = teleop_base_points
|
|
372
|
-
end
|
|
373
|
-
|
|
374
|
-
# Custom attribute writer method with validation
|
|
375
|
-
# @param [Object] auto_points Value to be assigned
|
|
376
|
-
def auto_points=(auto_points)
|
|
377
|
-
if auto_points.nil?
|
|
378
|
-
fail ArgumentError, 'auto_points cannot be nil'
|
|
379
|
-
end
|
|
380
|
-
|
|
381
|
-
@auto_points = auto_points
|
|
382
|
-
end
|
|
383
|
-
|
|
384
|
-
# Custom attribute writer method with validation
|
|
385
|
-
# @param [Object] teleop_points Value to be assigned
|
|
386
|
-
def teleop_points=(teleop_points)
|
|
387
|
-
if teleop_points.nil?
|
|
388
|
-
fail ArgumentError, 'teleop_points cannot be nil'
|
|
389
|
-
end
|
|
390
|
-
|
|
391
|
-
@teleop_points = teleop_points
|
|
392
|
-
end
|
|
393
|
-
|
|
394
|
-
# Custom attribute writer method with validation
|
|
395
|
-
# @param [Object] foul_points_committed Value to be assigned
|
|
396
|
-
def foul_points_committed=(foul_points_committed)
|
|
397
|
-
if foul_points_committed.nil?
|
|
398
|
-
fail ArgumentError, 'foul_points_committed cannot be nil'
|
|
399
|
-
end
|
|
400
|
-
|
|
401
|
-
@foul_points_committed = foul_points_committed
|
|
402
|
-
end
|
|
403
|
-
|
|
404
|
-
# Custom attribute writer method with validation
|
|
405
|
-
# @param [Object] pre_foul_total Value to be assigned
|
|
406
|
-
def pre_foul_total=(pre_foul_total)
|
|
407
|
-
if pre_foul_total.nil?
|
|
408
|
-
fail ArgumentError, 'pre_foul_total cannot be nil'
|
|
409
|
-
end
|
|
410
|
-
|
|
411
|
-
@pre_foul_total = pre_foul_total
|
|
412
|
-
end
|
|
413
|
-
|
|
414
256
|
# Custom attribute writer method with validation
|
|
415
257
|
# @param [Object] movement_rp Value to be assigned
|
|
416
258
|
def movement_rp=(movement_rp)
|
|
@@ -441,16 +283,6 @@ module FtcApiV3Client
|
|
|
441
283
|
@pattern_rp = pattern_rp
|
|
442
284
|
end
|
|
443
285
|
|
|
444
|
-
# Custom attribute writer method with validation
|
|
445
|
-
# @param [Object] adjust_points Value to be assigned
|
|
446
|
-
def adjust_points=(adjust_points)
|
|
447
|
-
if adjust_points.nil?
|
|
448
|
-
fail ArgumentError, 'adjust_points cannot be nil'
|
|
449
|
-
end
|
|
450
|
-
|
|
451
|
-
@adjust_points = adjust_points
|
|
452
|
-
end
|
|
453
|
-
|
|
454
286
|
# Checks equality by comparing each attribute.
|
|
455
287
|
# @param [Object] Object to be compared
|
|
456
288
|
def ==(o)
|