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
|
@@ -101,6 +101,21 @@ module FtcApiV3Client
|
|
|
101
101
|
# List of attributes with nullable: true
|
|
102
102
|
def self.openapi_nullable
|
|
103
103
|
Set.new([
|
|
104
|
+
:'auto_navigation_points',
|
|
105
|
+
:'signal_bonus_points',
|
|
106
|
+
:'auto_junction_cone_points',
|
|
107
|
+
:'auto_terminal_cone_points',
|
|
108
|
+
:'dc_junction_cone_points',
|
|
109
|
+
:'dc_terminal_cone_points',
|
|
110
|
+
:'ownership_points',
|
|
111
|
+
:'circuit_points',
|
|
112
|
+
:'eg_navigation_points',
|
|
113
|
+
:'auto_points',
|
|
114
|
+
:'dc_points',
|
|
115
|
+
:'endgame_points',
|
|
116
|
+
:'penalty_points_committed',
|
|
117
|
+
:'pre_penalty_total',
|
|
118
|
+
:'adjust_points'
|
|
104
119
|
])
|
|
105
120
|
end
|
|
106
121
|
|
|
@@ -216,66 +231,6 @@ module FtcApiV3Client
|
|
|
216
231
|
def list_invalid_properties
|
|
217
232
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
218
233
|
invalid_properties = Array.new
|
|
219
|
-
if @auto_navigation_points.nil?
|
|
220
|
-
invalid_properties.push('invalid value for "auto_navigation_points", auto_navigation_points cannot be nil.')
|
|
221
|
-
end
|
|
222
|
-
|
|
223
|
-
if @signal_bonus_points.nil?
|
|
224
|
-
invalid_properties.push('invalid value for "signal_bonus_points", signal_bonus_points cannot be nil.')
|
|
225
|
-
end
|
|
226
|
-
|
|
227
|
-
if @auto_junction_cone_points.nil?
|
|
228
|
-
invalid_properties.push('invalid value for "auto_junction_cone_points", auto_junction_cone_points cannot be nil.')
|
|
229
|
-
end
|
|
230
|
-
|
|
231
|
-
if @auto_terminal_cone_points.nil?
|
|
232
|
-
invalid_properties.push('invalid value for "auto_terminal_cone_points", auto_terminal_cone_points cannot be nil.')
|
|
233
|
-
end
|
|
234
|
-
|
|
235
|
-
if @dc_junction_cone_points.nil?
|
|
236
|
-
invalid_properties.push('invalid value for "dc_junction_cone_points", dc_junction_cone_points cannot be nil.')
|
|
237
|
-
end
|
|
238
|
-
|
|
239
|
-
if @dc_terminal_cone_points.nil?
|
|
240
|
-
invalid_properties.push('invalid value for "dc_terminal_cone_points", dc_terminal_cone_points cannot be nil.')
|
|
241
|
-
end
|
|
242
|
-
|
|
243
|
-
if @ownership_points.nil?
|
|
244
|
-
invalid_properties.push('invalid value for "ownership_points", ownership_points cannot be nil.')
|
|
245
|
-
end
|
|
246
|
-
|
|
247
|
-
if @circuit_points.nil?
|
|
248
|
-
invalid_properties.push('invalid value for "circuit_points", circuit_points cannot be nil.')
|
|
249
|
-
end
|
|
250
|
-
|
|
251
|
-
if @eg_navigation_points.nil?
|
|
252
|
-
invalid_properties.push('invalid value for "eg_navigation_points", eg_navigation_points cannot be nil.')
|
|
253
|
-
end
|
|
254
|
-
|
|
255
|
-
if @auto_points.nil?
|
|
256
|
-
invalid_properties.push('invalid value for "auto_points", auto_points cannot be nil.')
|
|
257
|
-
end
|
|
258
|
-
|
|
259
|
-
if @dc_points.nil?
|
|
260
|
-
invalid_properties.push('invalid value for "dc_points", dc_points cannot be nil.')
|
|
261
|
-
end
|
|
262
|
-
|
|
263
|
-
if @endgame_points.nil?
|
|
264
|
-
invalid_properties.push('invalid value for "endgame_points", endgame_points cannot be nil.')
|
|
265
|
-
end
|
|
266
|
-
|
|
267
|
-
if @penalty_points_committed.nil?
|
|
268
|
-
invalid_properties.push('invalid value for "penalty_points_committed", penalty_points_committed cannot be nil.')
|
|
269
|
-
end
|
|
270
|
-
|
|
271
|
-
if @pre_penalty_total.nil?
|
|
272
|
-
invalid_properties.push('invalid value for "pre_penalty_total", pre_penalty_total cannot be nil.')
|
|
273
|
-
end
|
|
274
|
-
|
|
275
|
-
if @adjust_points.nil?
|
|
276
|
-
invalid_properties.push('invalid value for "adjust_points", adjust_points cannot be nil.')
|
|
277
|
-
end
|
|
278
|
-
|
|
279
234
|
invalid_properties
|
|
280
235
|
end
|
|
281
236
|
|
|
@@ -283,174 +238,9 @@ module FtcApiV3Client
|
|
|
283
238
|
# @return true if the model is valid
|
|
284
239
|
def valid?
|
|
285
240
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
286
|
-
return false if @auto_navigation_points.nil?
|
|
287
|
-
return false if @signal_bonus_points.nil?
|
|
288
|
-
return false if @auto_junction_cone_points.nil?
|
|
289
|
-
return false if @auto_terminal_cone_points.nil?
|
|
290
|
-
return false if @dc_junction_cone_points.nil?
|
|
291
|
-
return false if @dc_terminal_cone_points.nil?
|
|
292
|
-
return false if @ownership_points.nil?
|
|
293
|
-
return false if @circuit_points.nil?
|
|
294
|
-
return false if @eg_navigation_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
|
-
return false if @adjust_points.nil?
|
|
301
241
|
true
|
|
302
242
|
end
|
|
303
243
|
|
|
304
|
-
# Custom attribute writer method with validation
|
|
305
|
-
# @param [Object] auto_navigation_points Value to be assigned
|
|
306
|
-
def auto_navigation_points=(auto_navigation_points)
|
|
307
|
-
if auto_navigation_points.nil?
|
|
308
|
-
fail ArgumentError, 'auto_navigation_points cannot be nil'
|
|
309
|
-
end
|
|
310
|
-
|
|
311
|
-
@auto_navigation_points = auto_navigation_points
|
|
312
|
-
end
|
|
313
|
-
|
|
314
|
-
# Custom attribute writer method with validation
|
|
315
|
-
# @param [Object] signal_bonus_points Value to be assigned
|
|
316
|
-
def signal_bonus_points=(signal_bonus_points)
|
|
317
|
-
if signal_bonus_points.nil?
|
|
318
|
-
fail ArgumentError, 'signal_bonus_points cannot be nil'
|
|
319
|
-
end
|
|
320
|
-
|
|
321
|
-
@signal_bonus_points = signal_bonus_points
|
|
322
|
-
end
|
|
323
|
-
|
|
324
|
-
# Custom attribute writer method with validation
|
|
325
|
-
# @param [Object] auto_junction_cone_points Value to be assigned
|
|
326
|
-
def auto_junction_cone_points=(auto_junction_cone_points)
|
|
327
|
-
if auto_junction_cone_points.nil?
|
|
328
|
-
fail ArgumentError, 'auto_junction_cone_points cannot be nil'
|
|
329
|
-
end
|
|
330
|
-
|
|
331
|
-
@auto_junction_cone_points = auto_junction_cone_points
|
|
332
|
-
end
|
|
333
|
-
|
|
334
|
-
# Custom attribute writer method with validation
|
|
335
|
-
# @param [Object] auto_terminal_cone_points Value to be assigned
|
|
336
|
-
def auto_terminal_cone_points=(auto_terminal_cone_points)
|
|
337
|
-
if auto_terminal_cone_points.nil?
|
|
338
|
-
fail ArgumentError, 'auto_terminal_cone_points cannot be nil'
|
|
339
|
-
end
|
|
340
|
-
|
|
341
|
-
@auto_terminal_cone_points = auto_terminal_cone_points
|
|
342
|
-
end
|
|
343
|
-
|
|
344
|
-
# Custom attribute writer method with validation
|
|
345
|
-
# @param [Object] dc_junction_cone_points Value to be assigned
|
|
346
|
-
def dc_junction_cone_points=(dc_junction_cone_points)
|
|
347
|
-
if dc_junction_cone_points.nil?
|
|
348
|
-
fail ArgumentError, 'dc_junction_cone_points cannot be nil'
|
|
349
|
-
end
|
|
350
|
-
|
|
351
|
-
@dc_junction_cone_points = dc_junction_cone_points
|
|
352
|
-
end
|
|
353
|
-
|
|
354
|
-
# Custom attribute writer method with validation
|
|
355
|
-
# @param [Object] dc_terminal_cone_points Value to be assigned
|
|
356
|
-
def dc_terminal_cone_points=(dc_terminal_cone_points)
|
|
357
|
-
if dc_terminal_cone_points.nil?
|
|
358
|
-
fail ArgumentError, 'dc_terminal_cone_points cannot be nil'
|
|
359
|
-
end
|
|
360
|
-
|
|
361
|
-
@dc_terminal_cone_points = dc_terminal_cone_points
|
|
362
|
-
end
|
|
363
|
-
|
|
364
|
-
# Custom attribute writer method with validation
|
|
365
|
-
# @param [Object] ownership_points Value to be assigned
|
|
366
|
-
def ownership_points=(ownership_points)
|
|
367
|
-
if ownership_points.nil?
|
|
368
|
-
fail ArgumentError, 'ownership_points cannot be nil'
|
|
369
|
-
end
|
|
370
|
-
|
|
371
|
-
@ownership_points = ownership_points
|
|
372
|
-
end
|
|
373
|
-
|
|
374
|
-
# Custom attribute writer method with validation
|
|
375
|
-
# @param [Object] circuit_points Value to be assigned
|
|
376
|
-
def circuit_points=(circuit_points)
|
|
377
|
-
if circuit_points.nil?
|
|
378
|
-
fail ArgumentError, 'circuit_points cannot be nil'
|
|
379
|
-
end
|
|
380
|
-
|
|
381
|
-
@circuit_points = circuit_points
|
|
382
|
-
end
|
|
383
|
-
|
|
384
|
-
# Custom attribute writer method with validation
|
|
385
|
-
# @param [Object] eg_navigation_points Value to be assigned
|
|
386
|
-
def eg_navigation_points=(eg_navigation_points)
|
|
387
|
-
if eg_navigation_points.nil?
|
|
388
|
-
fail ArgumentError, 'eg_navigation_points cannot be nil'
|
|
389
|
-
end
|
|
390
|
-
|
|
391
|
-
@eg_navigation_points = eg_navigation_points
|
|
392
|
-
end
|
|
393
|
-
|
|
394
|
-
# Custom attribute writer method with validation
|
|
395
|
-
# @param [Object] auto_points Value to be assigned
|
|
396
|
-
def auto_points=(auto_points)
|
|
397
|
-
if auto_points.nil?
|
|
398
|
-
fail ArgumentError, 'auto_points cannot be nil'
|
|
399
|
-
end
|
|
400
|
-
|
|
401
|
-
@auto_points = auto_points
|
|
402
|
-
end
|
|
403
|
-
|
|
404
|
-
# Custom attribute writer method with validation
|
|
405
|
-
# @param [Object] dc_points Value to be assigned
|
|
406
|
-
def dc_points=(dc_points)
|
|
407
|
-
if dc_points.nil?
|
|
408
|
-
fail ArgumentError, 'dc_points cannot be nil'
|
|
409
|
-
end
|
|
410
|
-
|
|
411
|
-
@dc_points = dc_points
|
|
412
|
-
end
|
|
413
|
-
|
|
414
|
-
# Custom attribute writer method with validation
|
|
415
|
-
# @param [Object] endgame_points Value to be assigned
|
|
416
|
-
def endgame_points=(endgame_points)
|
|
417
|
-
if endgame_points.nil?
|
|
418
|
-
fail ArgumentError, 'endgame_points cannot be nil'
|
|
419
|
-
end
|
|
420
|
-
|
|
421
|
-
@endgame_points = endgame_points
|
|
422
|
-
end
|
|
423
|
-
|
|
424
|
-
# Custom attribute writer method with validation
|
|
425
|
-
# @param [Object] penalty_points_committed Value to be assigned
|
|
426
|
-
def penalty_points_committed=(penalty_points_committed)
|
|
427
|
-
if penalty_points_committed.nil?
|
|
428
|
-
fail ArgumentError, 'penalty_points_committed cannot be nil'
|
|
429
|
-
end
|
|
430
|
-
|
|
431
|
-
@penalty_points_committed = penalty_points_committed
|
|
432
|
-
end
|
|
433
|
-
|
|
434
|
-
# Custom attribute writer method with validation
|
|
435
|
-
# @param [Object] pre_penalty_total Value to be assigned
|
|
436
|
-
def pre_penalty_total=(pre_penalty_total)
|
|
437
|
-
if pre_penalty_total.nil?
|
|
438
|
-
fail ArgumentError, 'pre_penalty_total cannot be nil'
|
|
439
|
-
end
|
|
440
|
-
|
|
441
|
-
@pre_penalty_total = pre_penalty_total
|
|
442
|
-
end
|
|
443
|
-
|
|
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
244
|
# Checks equality by comparing each attribute.
|
|
455
245
|
# @param [Object] Object to be compared
|
|
456
246
|
def ==(o)
|
|
@@ -131,6 +131,14 @@ module FtcApiV3Client
|
|
|
131
131
|
# List of attributes with nullable: true
|
|
132
132
|
def self.openapi_nullable
|
|
133
133
|
Set.new([
|
|
134
|
+
:'auto_terminal_near',
|
|
135
|
+
:'auto_terminal_far',
|
|
136
|
+
:'dc_terminal_near',
|
|
137
|
+
:'dc_terminal_far',
|
|
138
|
+
:'minor_penalties',
|
|
139
|
+
:'major_penalties',
|
|
140
|
+
:'beacons',
|
|
141
|
+
:'owned_junctions',
|
|
134
142
|
])
|
|
135
143
|
end
|
|
136
144
|
|
|
@@ -254,42 +262,10 @@ module FtcApiV3Client
|
|
|
254
262
|
def list_invalid_properties
|
|
255
263
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
256
264
|
invalid_properties = Array.new
|
|
257
|
-
if @auto_terminal_near.nil?
|
|
258
|
-
invalid_properties.push('invalid value for "auto_terminal_near", auto_terminal_near cannot be nil.')
|
|
259
|
-
end
|
|
260
|
-
|
|
261
|
-
if @auto_terminal_far.nil?
|
|
262
|
-
invalid_properties.push('invalid value for "auto_terminal_far", auto_terminal_far cannot be nil.')
|
|
263
|
-
end
|
|
264
|
-
|
|
265
|
-
if @dc_terminal_near.nil?
|
|
266
|
-
invalid_properties.push('invalid value for "dc_terminal_near", dc_terminal_near cannot be nil.')
|
|
267
|
-
end
|
|
268
|
-
|
|
269
|
-
if @dc_terminal_far.nil?
|
|
270
|
-
invalid_properties.push('invalid value for "dc_terminal_far", dc_terminal_far cannot be nil.')
|
|
271
|
-
end
|
|
272
|
-
|
|
273
265
|
if @eg_navigated.nil?
|
|
274
266
|
invalid_properties.push('invalid value for "eg_navigated", eg_navigated cannot be nil.')
|
|
275
267
|
end
|
|
276
268
|
|
|
277
|
-
if @minor_penalties.nil?
|
|
278
|
-
invalid_properties.push('invalid value for "minor_penalties", minor_penalties cannot be nil.')
|
|
279
|
-
end
|
|
280
|
-
|
|
281
|
-
if @major_penalties.nil?
|
|
282
|
-
invalid_properties.push('invalid value for "major_penalties", major_penalties cannot be nil.')
|
|
283
|
-
end
|
|
284
|
-
|
|
285
|
-
if @beacons.nil?
|
|
286
|
-
invalid_properties.push('invalid value for "beacons", beacons cannot be nil.')
|
|
287
|
-
end
|
|
288
|
-
|
|
289
|
-
if @owned_junctions.nil?
|
|
290
|
-
invalid_properties.push('invalid value for "owned_junctions", owned_junctions cannot be nil.')
|
|
291
|
-
end
|
|
292
|
-
|
|
293
269
|
if @circuit.nil?
|
|
294
270
|
invalid_properties.push('invalid value for "circuit", circuit cannot be nil.')
|
|
295
271
|
end
|
|
@@ -313,15 +289,7 @@ module FtcApiV3Client
|
|
|
313
289
|
# @return true if the model is valid
|
|
314
290
|
def valid?
|
|
315
291
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
316
|
-
return false if @auto_terminal_near.nil?
|
|
317
|
-
return false if @auto_terminal_far.nil?
|
|
318
|
-
return false if @dc_terminal_near.nil?
|
|
319
|
-
return false if @dc_terminal_far.nil?
|
|
320
292
|
return false if @eg_navigated.nil?
|
|
321
|
-
return false if @minor_penalties.nil?
|
|
322
|
-
return false if @major_penalties.nil?
|
|
323
|
-
return false if @beacons.nil?
|
|
324
|
-
return false if @owned_junctions.nil?
|
|
325
293
|
return false if @circuit.nil?
|
|
326
294
|
return false if @init_signal_sleeve.nil?
|
|
327
295
|
return false if @auto_junctions.nil?
|
|
@@ -329,46 +297,6 @@ module FtcApiV3Client
|
|
|
329
297
|
true
|
|
330
298
|
end
|
|
331
299
|
|
|
332
|
-
# Custom attribute writer method with validation
|
|
333
|
-
# @param [Object] auto_terminal_near Value to be assigned
|
|
334
|
-
def auto_terminal_near=(auto_terminal_near)
|
|
335
|
-
if auto_terminal_near.nil?
|
|
336
|
-
fail ArgumentError, 'auto_terminal_near cannot be nil'
|
|
337
|
-
end
|
|
338
|
-
|
|
339
|
-
@auto_terminal_near = auto_terminal_near
|
|
340
|
-
end
|
|
341
|
-
|
|
342
|
-
# Custom attribute writer method with validation
|
|
343
|
-
# @param [Object] auto_terminal_far Value to be assigned
|
|
344
|
-
def auto_terminal_far=(auto_terminal_far)
|
|
345
|
-
if auto_terminal_far.nil?
|
|
346
|
-
fail ArgumentError, 'auto_terminal_far cannot be nil'
|
|
347
|
-
end
|
|
348
|
-
|
|
349
|
-
@auto_terminal_far = auto_terminal_far
|
|
350
|
-
end
|
|
351
|
-
|
|
352
|
-
# Custom attribute writer method with validation
|
|
353
|
-
# @param [Object] dc_terminal_near Value to be assigned
|
|
354
|
-
def dc_terminal_near=(dc_terminal_near)
|
|
355
|
-
if dc_terminal_near.nil?
|
|
356
|
-
fail ArgumentError, 'dc_terminal_near cannot be nil'
|
|
357
|
-
end
|
|
358
|
-
|
|
359
|
-
@dc_terminal_near = dc_terminal_near
|
|
360
|
-
end
|
|
361
|
-
|
|
362
|
-
# Custom attribute writer method with validation
|
|
363
|
-
# @param [Object] dc_terminal_far Value to be assigned
|
|
364
|
-
def dc_terminal_far=(dc_terminal_far)
|
|
365
|
-
if dc_terminal_far.nil?
|
|
366
|
-
fail ArgumentError, 'dc_terminal_far cannot be nil'
|
|
367
|
-
end
|
|
368
|
-
|
|
369
|
-
@dc_terminal_far = dc_terminal_far
|
|
370
|
-
end
|
|
371
|
-
|
|
372
300
|
# Custom attribute writer method with validation
|
|
373
301
|
# @param [Object] eg_navigated Value to be assigned
|
|
374
302
|
def eg_navigated=(eg_navigated)
|
|
@@ -379,46 +307,6 @@ module FtcApiV3Client
|
|
|
379
307
|
@eg_navigated = eg_navigated
|
|
380
308
|
end
|
|
381
309
|
|
|
382
|
-
# Custom attribute writer method with validation
|
|
383
|
-
# @param [Object] minor_penalties Value to be assigned
|
|
384
|
-
def minor_penalties=(minor_penalties)
|
|
385
|
-
if minor_penalties.nil?
|
|
386
|
-
fail ArgumentError, 'minor_penalties cannot be nil'
|
|
387
|
-
end
|
|
388
|
-
|
|
389
|
-
@minor_penalties = minor_penalties
|
|
390
|
-
end
|
|
391
|
-
|
|
392
|
-
# Custom attribute writer method with validation
|
|
393
|
-
# @param [Object] major_penalties Value to be assigned
|
|
394
|
-
def major_penalties=(major_penalties)
|
|
395
|
-
if major_penalties.nil?
|
|
396
|
-
fail ArgumentError, 'major_penalties cannot be nil'
|
|
397
|
-
end
|
|
398
|
-
|
|
399
|
-
@major_penalties = major_penalties
|
|
400
|
-
end
|
|
401
|
-
|
|
402
|
-
# Custom attribute writer method with validation
|
|
403
|
-
# @param [Object] beacons Value to be assigned
|
|
404
|
-
def beacons=(beacons)
|
|
405
|
-
if beacons.nil?
|
|
406
|
-
fail ArgumentError, 'beacons cannot be nil'
|
|
407
|
-
end
|
|
408
|
-
|
|
409
|
-
@beacons = beacons
|
|
410
|
-
end
|
|
411
|
-
|
|
412
|
-
# Custom attribute writer method with validation
|
|
413
|
-
# @param [Object] owned_junctions Value to be assigned
|
|
414
|
-
def owned_junctions=(owned_junctions)
|
|
415
|
-
if owned_junctions.nil?
|
|
416
|
-
fail ArgumentError, 'owned_junctions cannot be nil'
|
|
417
|
-
end
|
|
418
|
-
|
|
419
|
-
@owned_junctions = owned_junctions
|
|
420
|
-
end
|
|
421
|
-
|
|
422
310
|
# Custom attribute writer method with validation
|
|
423
311
|
# @param [Object] circuit Value to be assigned
|
|
424
312
|
def circuit=(circuit)
|
|
@@ -96,6 +96,20 @@ module FtcApiV3Client
|
|
|
96
96
|
# List of attributes with nullable: true
|
|
97
97
|
def self.openapi_nullable
|
|
98
98
|
Set.new([
|
|
99
|
+
:'auto_navigation_points',
|
|
100
|
+
:'signal_bonus_points',
|
|
101
|
+
:'auto_junction_cone_points',
|
|
102
|
+
:'auto_terminal_cone_points',
|
|
103
|
+
:'dc_junction_cone_points',
|
|
104
|
+
:'dc_terminal_cone_points',
|
|
105
|
+
:'ownership_points',
|
|
106
|
+
:'circuit_points',
|
|
107
|
+
:'eg_navigation_points',
|
|
108
|
+
:'auto_points',
|
|
109
|
+
:'dc_points',
|
|
110
|
+
:'endgame_points',
|
|
111
|
+
:'penalty_points_committed',
|
|
112
|
+
:'pre_penalty_total'
|
|
99
113
|
])
|
|
100
114
|
end
|
|
101
115
|
|
|
@@ -205,62 +219,6 @@ module FtcApiV3Client
|
|
|
205
219
|
def list_invalid_properties
|
|
206
220
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
207
221
|
invalid_properties = Array.new
|
|
208
|
-
if @auto_navigation_points.nil?
|
|
209
|
-
invalid_properties.push('invalid value for "auto_navigation_points", auto_navigation_points cannot be nil.')
|
|
210
|
-
end
|
|
211
|
-
|
|
212
|
-
if @signal_bonus_points.nil?
|
|
213
|
-
invalid_properties.push('invalid value for "signal_bonus_points", signal_bonus_points cannot be nil.')
|
|
214
|
-
end
|
|
215
|
-
|
|
216
|
-
if @auto_junction_cone_points.nil?
|
|
217
|
-
invalid_properties.push('invalid value for "auto_junction_cone_points", auto_junction_cone_points cannot be nil.')
|
|
218
|
-
end
|
|
219
|
-
|
|
220
|
-
if @auto_terminal_cone_points.nil?
|
|
221
|
-
invalid_properties.push('invalid value for "auto_terminal_cone_points", auto_terminal_cone_points cannot be nil.')
|
|
222
|
-
end
|
|
223
|
-
|
|
224
|
-
if @dc_junction_cone_points.nil?
|
|
225
|
-
invalid_properties.push('invalid value for "dc_junction_cone_points", dc_junction_cone_points cannot be nil.')
|
|
226
|
-
end
|
|
227
|
-
|
|
228
|
-
if @dc_terminal_cone_points.nil?
|
|
229
|
-
invalid_properties.push('invalid value for "dc_terminal_cone_points", dc_terminal_cone_points cannot be nil.')
|
|
230
|
-
end
|
|
231
|
-
|
|
232
|
-
if @ownership_points.nil?
|
|
233
|
-
invalid_properties.push('invalid value for "ownership_points", ownership_points cannot be nil.')
|
|
234
|
-
end
|
|
235
|
-
|
|
236
|
-
if @circuit_points.nil?
|
|
237
|
-
invalid_properties.push('invalid value for "circuit_points", circuit_points cannot be nil.')
|
|
238
|
-
end
|
|
239
|
-
|
|
240
|
-
if @eg_navigation_points.nil?
|
|
241
|
-
invalid_properties.push('invalid value for "eg_navigation_points", eg_navigation_points cannot be nil.')
|
|
242
|
-
end
|
|
243
|
-
|
|
244
|
-
if @auto_points.nil?
|
|
245
|
-
invalid_properties.push('invalid value for "auto_points", auto_points cannot be nil.')
|
|
246
|
-
end
|
|
247
|
-
|
|
248
|
-
if @dc_points.nil?
|
|
249
|
-
invalid_properties.push('invalid value for "dc_points", dc_points cannot be nil.')
|
|
250
|
-
end
|
|
251
|
-
|
|
252
|
-
if @endgame_points.nil?
|
|
253
|
-
invalid_properties.push('invalid value for "endgame_points", endgame_points cannot be nil.')
|
|
254
|
-
end
|
|
255
|
-
|
|
256
|
-
if @penalty_points_committed.nil?
|
|
257
|
-
invalid_properties.push('invalid value for "penalty_points_committed", penalty_points_committed cannot be nil.')
|
|
258
|
-
end
|
|
259
|
-
|
|
260
|
-
if @pre_penalty_total.nil?
|
|
261
|
-
invalid_properties.push('invalid value for "pre_penalty_total", pre_penalty_total cannot be nil.')
|
|
262
|
-
end
|
|
263
|
-
|
|
264
222
|
invalid_properties
|
|
265
223
|
end
|
|
266
224
|
|
|
@@ -268,163 +226,9 @@ module FtcApiV3Client
|
|
|
268
226
|
# @return true if the model is valid
|
|
269
227
|
def valid?
|
|
270
228
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
271
|
-
return false if @auto_navigation_points.nil?
|
|
272
|
-
return false if @signal_bonus_points.nil?
|
|
273
|
-
return false if @auto_junction_cone_points.nil?
|
|
274
|
-
return false if @auto_terminal_cone_points.nil?
|
|
275
|
-
return false if @dc_junction_cone_points.nil?
|
|
276
|
-
return false if @dc_terminal_cone_points.nil?
|
|
277
|
-
return false if @ownership_points.nil?
|
|
278
|
-
return false if @circuit_points.nil?
|
|
279
|
-
return false if @eg_navigation_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
229
|
true
|
|
286
230
|
end
|
|
287
231
|
|
|
288
|
-
# Custom attribute writer method with validation
|
|
289
|
-
# @param [Object] auto_navigation_points Value to be assigned
|
|
290
|
-
def auto_navigation_points=(auto_navigation_points)
|
|
291
|
-
if auto_navigation_points.nil?
|
|
292
|
-
fail ArgumentError, 'auto_navigation_points cannot be nil'
|
|
293
|
-
end
|
|
294
|
-
|
|
295
|
-
@auto_navigation_points = auto_navigation_points
|
|
296
|
-
end
|
|
297
|
-
|
|
298
|
-
# Custom attribute writer method with validation
|
|
299
|
-
# @param [Object] signal_bonus_points Value to be assigned
|
|
300
|
-
def signal_bonus_points=(signal_bonus_points)
|
|
301
|
-
if signal_bonus_points.nil?
|
|
302
|
-
fail ArgumentError, 'signal_bonus_points cannot be nil'
|
|
303
|
-
end
|
|
304
|
-
|
|
305
|
-
@signal_bonus_points = signal_bonus_points
|
|
306
|
-
end
|
|
307
|
-
|
|
308
|
-
# Custom attribute writer method with validation
|
|
309
|
-
# @param [Object] auto_junction_cone_points Value to be assigned
|
|
310
|
-
def auto_junction_cone_points=(auto_junction_cone_points)
|
|
311
|
-
if auto_junction_cone_points.nil?
|
|
312
|
-
fail ArgumentError, 'auto_junction_cone_points cannot be nil'
|
|
313
|
-
end
|
|
314
|
-
|
|
315
|
-
@auto_junction_cone_points = auto_junction_cone_points
|
|
316
|
-
end
|
|
317
|
-
|
|
318
|
-
# Custom attribute writer method with validation
|
|
319
|
-
# @param [Object] auto_terminal_cone_points Value to be assigned
|
|
320
|
-
def auto_terminal_cone_points=(auto_terminal_cone_points)
|
|
321
|
-
if auto_terminal_cone_points.nil?
|
|
322
|
-
fail ArgumentError, 'auto_terminal_cone_points cannot be nil'
|
|
323
|
-
end
|
|
324
|
-
|
|
325
|
-
@auto_terminal_cone_points = auto_terminal_cone_points
|
|
326
|
-
end
|
|
327
|
-
|
|
328
|
-
# Custom attribute writer method with validation
|
|
329
|
-
# @param [Object] dc_junction_cone_points Value to be assigned
|
|
330
|
-
def dc_junction_cone_points=(dc_junction_cone_points)
|
|
331
|
-
if dc_junction_cone_points.nil?
|
|
332
|
-
fail ArgumentError, 'dc_junction_cone_points cannot be nil'
|
|
333
|
-
end
|
|
334
|
-
|
|
335
|
-
@dc_junction_cone_points = dc_junction_cone_points
|
|
336
|
-
end
|
|
337
|
-
|
|
338
|
-
# Custom attribute writer method with validation
|
|
339
|
-
# @param [Object] dc_terminal_cone_points Value to be assigned
|
|
340
|
-
def dc_terminal_cone_points=(dc_terminal_cone_points)
|
|
341
|
-
if dc_terminal_cone_points.nil?
|
|
342
|
-
fail ArgumentError, 'dc_terminal_cone_points cannot be nil'
|
|
343
|
-
end
|
|
344
|
-
|
|
345
|
-
@dc_terminal_cone_points = dc_terminal_cone_points
|
|
346
|
-
end
|
|
347
|
-
|
|
348
|
-
# Custom attribute writer method with validation
|
|
349
|
-
# @param [Object] ownership_points Value to be assigned
|
|
350
|
-
def ownership_points=(ownership_points)
|
|
351
|
-
if ownership_points.nil?
|
|
352
|
-
fail ArgumentError, 'ownership_points cannot be nil'
|
|
353
|
-
end
|
|
354
|
-
|
|
355
|
-
@ownership_points = ownership_points
|
|
356
|
-
end
|
|
357
|
-
|
|
358
|
-
# Custom attribute writer method with validation
|
|
359
|
-
# @param [Object] circuit_points Value to be assigned
|
|
360
|
-
def circuit_points=(circuit_points)
|
|
361
|
-
if circuit_points.nil?
|
|
362
|
-
fail ArgumentError, 'circuit_points cannot be nil'
|
|
363
|
-
end
|
|
364
|
-
|
|
365
|
-
@circuit_points = circuit_points
|
|
366
|
-
end
|
|
367
|
-
|
|
368
|
-
# Custom attribute writer method with validation
|
|
369
|
-
# @param [Object] eg_navigation_points Value to be assigned
|
|
370
|
-
def eg_navigation_points=(eg_navigation_points)
|
|
371
|
-
if eg_navigation_points.nil?
|
|
372
|
-
fail ArgumentError, 'eg_navigation_points cannot be nil'
|
|
373
|
-
end
|
|
374
|
-
|
|
375
|
-
@eg_navigation_points = eg_navigation_points
|
|
376
|
-
end
|
|
377
|
-
|
|
378
|
-
# Custom attribute writer method with validation
|
|
379
|
-
# @param [Object] auto_points Value to be assigned
|
|
380
|
-
def auto_points=(auto_points)
|
|
381
|
-
if auto_points.nil?
|
|
382
|
-
fail ArgumentError, 'auto_points cannot be nil'
|
|
383
|
-
end
|
|
384
|
-
|
|
385
|
-
@auto_points = auto_points
|
|
386
|
-
end
|
|
387
|
-
|
|
388
|
-
# Custom attribute writer method with validation
|
|
389
|
-
# @param [Object] dc_points Value to be assigned
|
|
390
|
-
def dc_points=(dc_points)
|
|
391
|
-
if dc_points.nil?
|
|
392
|
-
fail ArgumentError, 'dc_points cannot be nil'
|
|
393
|
-
end
|
|
394
|
-
|
|
395
|
-
@dc_points = dc_points
|
|
396
|
-
end
|
|
397
|
-
|
|
398
|
-
# Custom attribute writer method with validation
|
|
399
|
-
# @param [Object] endgame_points Value to be assigned
|
|
400
|
-
def endgame_points=(endgame_points)
|
|
401
|
-
if endgame_points.nil?
|
|
402
|
-
fail ArgumentError, 'endgame_points cannot be nil'
|
|
403
|
-
end
|
|
404
|
-
|
|
405
|
-
@endgame_points = endgame_points
|
|
406
|
-
end
|
|
407
|
-
|
|
408
|
-
# Custom attribute writer method with validation
|
|
409
|
-
# @param [Object] penalty_points_committed Value to be assigned
|
|
410
|
-
def penalty_points_committed=(penalty_points_committed)
|
|
411
|
-
if penalty_points_committed.nil?
|
|
412
|
-
fail ArgumentError, 'penalty_points_committed cannot be nil'
|
|
413
|
-
end
|
|
414
|
-
|
|
415
|
-
@penalty_points_committed = penalty_points_committed
|
|
416
|
-
end
|
|
417
|
-
|
|
418
|
-
# Custom attribute writer method with validation
|
|
419
|
-
# @param [Object] pre_penalty_total Value to be assigned
|
|
420
|
-
def pre_penalty_total=(pre_penalty_total)
|
|
421
|
-
if pre_penalty_total.nil?
|
|
422
|
-
fail ArgumentError, 'pre_penalty_total cannot be nil'
|
|
423
|
-
end
|
|
424
|
-
|
|
425
|
-
@pre_penalty_total = pre_penalty_total
|
|
426
|
-
end
|
|
427
|
-
|
|
428
232
|
# Checks equality by comparing each attribute.
|
|
429
233
|
# @param [Object] Object to be compared
|
|
430
234
|
def ==(o)
|