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.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/config.json +1 -1
  4. data/ftc_api_v3_client-0.1.0.gem +0 -0
  5. data/lib/ftc_api_v3_client/api/events_api.rb +0 -4
  6. data/lib/ftc_api_v3_client/models/api_v3_advancement_from.rb +1 -15
  7. data/lib/ftc_api_v3_client/models/api_v3_alliance_match.rb +4 -45
  8. data/lib/ftc_api_v3_client/models/api_v3_alliance_match_details.rb +4 -45
  9. data/lib/ftc_api_v3_client/models/api_v3_alliance_match_results.rb +2 -30
  10. data/lib/ftc_api_v3_client/models/api_v3_award_recipient.rb +1 -0
  11. data/lib/ftc_api_v3_client/models/api_v3_basic_alliance_description.rb +1 -15
  12. data/lib/ftc_api_v3_client/models/api_v3_cs_achievements_detail.rb +10 -150
  13. data/lib/ftc_api_v3_client/models/api_v3_cs_points_detail.rb +16 -240
  14. data/lib/ftc_api_v3_client/models/api_v3_cs_remote_achievements_detail.rb +9 -135
  15. data/lib/ftc_api_v3_client/models/api_v3_cs_remote_points_detail.rb +15 -225
  16. data/lib/ftc_api_v3_client/models/api_v3_decode_achievements_detail.rb +7 -105
  17. data/lib/ftc_api_v3_client/models/api_v3_decode_points_detail.rb +12 -180
  18. data/lib/ftc_api_v3_client/models/api_v3_double_elimination_series_description.rb +3 -45
  19. data/lib/ftc_api_v3_client/models/api_v3_event.rb +2 -15
  20. data/lib/ftc_api_v3_client/models/api_v3_ff_achievements_detail.rb +13 -195
  21. data/lib/ftc_api_v3_client/models/api_v3_ff_points_detail.rb +19 -285
  22. data/lib/ftc_api_v3_client/models/api_v3_ff_remote_achievements_detail.rb +12 -180
  23. data/lib/ftc_api_v3_client/models/api_v3_ff_remote_points_detail.rb +16 -240
  24. data/lib/ftc_api_v3_client/models/api_v3_itd_achievements_detail.rb +12 -180
  25. data/lib/ftc_api_v3_client/models/api_v3_itd_points_detail.rb +13 -195
  26. data/lib/ftc_api_v3_client/models/api_v3_pit_map.rb +4 -60
  27. data/lib/ftc_api_v3_client/models/api_v3_pit_map_element.rb +5 -60
  28. data/lib/ftc_api_v3_client/models/api_v3_playoff_alliance.rb +1 -15
  29. data/lib/ftc_api_v3_client/models/api_v3_playoff_match_alliance.rb +1 -15
  30. data/lib/ftc_api_v3_client/models/api_v3_playoff_ranking.rb +6 -90
  31. data/lib/ftc_api_v3_client/models/api_v3_playoff_series_description.rb +3 -45
  32. data/lib/ftc_api_v3_client/models/api_v3_playoff_structure.rb +1 -15
  33. data/lib/ftc_api_v3_client/models/api_v3_power_play_achievements_detail.rb +7 -105
  34. data/lib/ftc_api_v3_client/models/api_v3_power_play_points_detail.rb +15 -225
  35. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_achievements_detail.rb +8 -120
  36. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_points_detail.rb +14 -210
  37. data/lib/ftc_api_v3_client/models/api_v3_ranking.rb +6 -90
  38. data/lib/ftc_api_v3_client/models/api_v3_round_robin_alliance_description.rb +1 -15
  39. data/lib/ftc_api_v3_client/models/api_v3_season.rb +1 -15
  40. data/lib/ftc_api_v3_client/models/api_v3_seasons.rb +1 -15
  41. data/lib/ftc_api_v3_client/models/api_v3_series_alliance_description.rb +1 -15
  42. data/lib/ftc_api_v3_client/models/api_v3_single_award_recipient.rb +1 -0
  43. data/lib/ftc_api_v3_client/models/api_v3_single_team_match.rb +4 -45
  44. data/lib/ftc_api_v3_client/models/api_v3_single_team_match_details.rb +4 -45
  45. data/lib/ftc_api_v3_client/models/api_v3_single_team_match_results.rb +1 -15
  46. data/lib/ftc_api_v3_client/models/api_v3_skystone_achievements_detail.rb +11 -165
  47. data/lib/ftc_api_v3_client/models/api_v3_skystone_points_detail.rb +15 -225
  48. data/lib/ftc_api_v3_client/models/api_v3_team.rb +1 -15
  49. data/lib/ftc_api_v3_client/models/api_v3_team_history.rb +1 -15
  50. data/lib/ftc_api_v3_client/models/api_v3_ug_achievements_detail.rb +10 -150
  51. data/lib/ftc_api_v3_client/models/api_v3_ug_points_detail.rb +14 -210
  52. data/lib/ftc_api_v3_client/models/api_v3_ug_remote_achievements_detail.rb +10 -150
  53. data/lib/ftc_api_v3_client/models/api_v3_ug_remote_points_detail.rb +14 -210
  54. data/lib/ftc_api_v3_client/version.rb +1 -1
  55. data/update.sh +1 -1
  56. metadata +2 -1
@@ -105,6 +105,22 @@ module FtcApiV3Client
105
105
  # List of attributes with nullable: true
106
106
  def self.openapi_nullable
107
107
  Set.new([
108
+ :'auto_navigating_points',
109
+ :'auto_randomization_points',
110
+ :'auto_backdrop_points',
111
+ :'auto_backstage_points',
112
+ :'dc_backdrop_points',
113
+ :'dc_backstage_points',
114
+ :'mosaic_points',
115
+ :'set_bonus_points',
116
+ :'eg_location_points',
117
+ :'eg_drone_points',
118
+ :'auto_points',
119
+ :'dc_points',
120
+ :'endgame_points',
121
+ :'penalty_points_committed',
122
+ :'pre_penalty_total',
123
+ :'adjust_points'
108
124
  ])
109
125
  end
110
126
 
@@ -226,70 +242,6 @@ module FtcApiV3Client
226
242
  def list_invalid_properties
227
243
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
228
244
  invalid_properties = Array.new
229
- if @auto_navigating_points.nil?
230
- invalid_properties.push('invalid value for "auto_navigating_points", auto_navigating_points cannot be nil.')
231
- end
232
-
233
- if @auto_randomization_points.nil?
234
- invalid_properties.push('invalid value for "auto_randomization_points", auto_randomization_points cannot be nil.')
235
- end
236
-
237
- if @auto_backdrop_points.nil?
238
- invalid_properties.push('invalid value for "auto_backdrop_points", auto_backdrop_points cannot be nil.')
239
- end
240
-
241
- if @auto_backstage_points.nil?
242
- invalid_properties.push('invalid value for "auto_backstage_points", auto_backstage_points cannot be nil.')
243
- end
244
-
245
- if @dc_backdrop_points.nil?
246
- invalid_properties.push('invalid value for "dc_backdrop_points", dc_backdrop_points cannot be nil.')
247
- end
248
-
249
- if @dc_backstage_points.nil?
250
- invalid_properties.push('invalid value for "dc_backstage_points", dc_backstage_points cannot be nil.')
251
- end
252
-
253
- if @mosaic_points.nil?
254
- invalid_properties.push('invalid value for "mosaic_points", mosaic_points cannot be nil.')
255
- end
256
-
257
- if @set_bonus_points.nil?
258
- invalid_properties.push('invalid value for "set_bonus_points", set_bonus_points cannot be nil.')
259
- end
260
-
261
- if @eg_location_points.nil?
262
- invalid_properties.push('invalid value for "eg_location_points", eg_location_points cannot be nil.')
263
- end
264
-
265
- if @eg_drone_points.nil?
266
- invalid_properties.push('invalid value for "eg_drone_points", eg_drone_points cannot be nil.')
267
- end
268
-
269
- if @auto_points.nil?
270
- invalid_properties.push('invalid value for "auto_points", auto_points cannot be nil.')
271
- end
272
-
273
- if @dc_points.nil?
274
- invalid_properties.push('invalid value for "dc_points", dc_points cannot be nil.')
275
- end
276
-
277
- if @endgame_points.nil?
278
- invalid_properties.push('invalid value for "endgame_points", endgame_points cannot be nil.')
279
- end
280
-
281
- if @penalty_points_committed.nil?
282
- invalid_properties.push('invalid value for "penalty_points_committed", penalty_points_committed cannot be nil.')
283
- end
284
-
285
- if @pre_penalty_total.nil?
286
- invalid_properties.push('invalid value for "pre_penalty_total", pre_penalty_total cannot be nil.')
287
- end
288
-
289
- if @adjust_points.nil?
290
- invalid_properties.push('invalid value for "adjust_points", adjust_points cannot be nil.')
291
- end
292
-
293
245
  invalid_properties
294
246
  end
295
247
 
@@ -297,185 +249,9 @@ module FtcApiV3Client
297
249
  # @return true if the model is valid
298
250
  def valid?
299
251
  warn '[DEPRECATED] the `valid?` method is obsolete'
300
- return false if @auto_navigating_points.nil?
301
- return false if @auto_randomization_points.nil?
302
- return false if @auto_backdrop_points.nil?
303
- return false if @auto_backstage_points.nil?
304
- return false if @dc_backdrop_points.nil?
305
- return false if @dc_backstage_points.nil?
306
- return false if @mosaic_points.nil?
307
- return false if @set_bonus_points.nil?
308
- return false if @eg_location_points.nil?
309
- return false if @eg_drone_points.nil?
310
- return false if @auto_points.nil?
311
- return false if @dc_points.nil?
312
- return false if @endgame_points.nil?
313
- return false if @penalty_points_committed.nil?
314
- return false if @pre_penalty_total.nil?
315
- return false if @adjust_points.nil?
316
252
  true
317
253
  end
318
254
 
319
- # Custom attribute writer method with validation
320
- # @param [Object] auto_navigating_points Value to be assigned
321
- def auto_navigating_points=(auto_navigating_points)
322
- if auto_navigating_points.nil?
323
- fail ArgumentError, 'auto_navigating_points cannot be nil'
324
- end
325
-
326
- @auto_navigating_points = auto_navigating_points
327
- end
328
-
329
- # Custom attribute writer method with validation
330
- # @param [Object] auto_randomization_points Value to be assigned
331
- def auto_randomization_points=(auto_randomization_points)
332
- if auto_randomization_points.nil?
333
- fail ArgumentError, 'auto_randomization_points cannot be nil'
334
- end
335
-
336
- @auto_randomization_points = auto_randomization_points
337
- end
338
-
339
- # Custom attribute writer method with validation
340
- # @param [Object] auto_backdrop_points Value to be assigned
341
- def auto_backdrop_points=(auto_backdrop_points)
342
- if auto_backdrop_points.nil?
343
- fail ArgumentError, 'auto_backdrop_points cannot be nil'
344
- end
345
-
346
- @auto_backdrop_points = auto_backdrop_points
347
- end
348
-
349
- # Custom attribute writer method with validation
350
- # @param [Object] auto_backstage_points Value to be assigned
351
- def auto_backstage_points=(auto_backstage_points)
352
- if auto_backstage_points.nil?
353
- fail ArgumentError, 'auto_backstage_points cannot be nil'
354
- end
355
-
356
- @auto_backstage_points = auto_backstage_points
357
- end
358
-
359
- # Custom attribute writer method with validation
360
- # @param [Object] dc_backdrop_points Value to be assigned
361
- def dc_backdrop_points=(dc_backdrop_points)
362
- if dc_backdrop_points.nil?
363
- fail ArgumentError, 'dc_backdrop_points cannot be nil'
364
- end
365
-
366
- @dc_backdrop_points = dc_backdrop_points
367
- end
368
-
369
- # Custom attribute writer method with validation
370
- # @param [Object] dc_backstage_points Value to be assigned
371
- def dc_backstage_points=(dc_backstage_points)
372
- if dc_backstage_points.nil?
373
- fail ArgumentError, 'dc_backstage_points cannot be nil'
374
- end
375
-
376
- @dc_backstage_points = dc_backstage_points
377
- end
378
-
379
- # Custom attribute writer method with validation
380
- # @param [Object] mosaic_points Value to be assigned
381
- def mosaic_points=(mosaic_points)
382
- if mosaic_points.nil?
383
- fail ArgumentError, 'mosaic_points cannot be nil'
384
- end
385
-
386
- @mosaic_points = mosaic_points
387
- end
388
-
389
- # Custom attribute writer method with validation
390
- # @param [Object] set_bonus_points Value to be assigned
391
- def set_bonus_points=(set_bonus_points)
392
- if set_bonus_points.nil?
393
- fail ArgumentError, 'set_bonus_points cannot be nil'
394
- end
395
-
396
- @set_bonus_points = set_bonus_points
397
- end
398
-
399
- # Custom attribute writer method with validation
400
- # @param [Object] eg_location_points Value to be assigned
401
- def eg_location_points=(eg_location_points)
402
- if eg_location_points.nil?
403
- fail ArgumentError, 'eg_location_points cannot be nil'
404
- end
405
-
406
- @eg_location_points = eg_location_points
407
- end
408
-
409
- # Custom attribute writer method with validation
410
- # @param [Object] eg_drone_points Value to be assigned
411
- def eg_drone_points=(eg_drone_points)
412
- if eg_drone_points.nil?
413
- fail ArgumentError, 'eg_drone_points cannot be nil'
414
- end
415
-
416
- @eg_drone_points = eg_drone_points
417
- end
418
-
419
- # Custom attribute writer method with validation
420
- # @param [Object] auto_points Value to be assigned
421
- def auto_points=(auto_points)
422
- if auto_points.nil?
423
- fail ArgumentError, 'auto_points cannot be nil'
424
- end
425
-
426
- @auto_points = auto_points
427
- end
428
-
429
- # Custom attribute writer method with validation
430
- # @param [Object] dc_points Value to be assigned
431
- def dc_points=(dc_points)
432
- if dc_points.nil?
433
- fail ArgumentError, 'dc_points cannot be nil'
434
- end
435
-
436
- @dc_points = dc_points
437
- end
438
-
439
- # Custom attribute writer method with validation
440
- # @param [Object] endgame_points Value to be assigned
441
- def endgame_points=(endgame_points)
442
- if endgame_points.nil?
443
- fail ArgumentError, 'endgame_points cannot be nil'
444
- end
445
-
446
- @endgame_points = endgame_points
447
- end
448
-
449
- # Custom attribute writer method with validation
450
- # @param [Object] penalty_points_committed Value to be assigned
451
- def penalty_points_committed=(penalty_points_committed)
452
- if penalty_points_committed.nil?
453
- fail ArgumentError, 'penalty_points_committed cannot be nil'
454
- end
455
-
456
- @penalty_points_committed = penalty_points_committed
457
- end
458
-
459
- # Custom attribute writer method with validation
460
- # @param [Object] pre_penalty_total Value to be assigned
461
- def pre_penalty_total=(pre_penalty_total)
462
- if pre_penalty_total.nil?
463
- fail ArgumentError, 'pre_penalty_total cannot be nil'
464
- end
465
-
466
- @pre_penalty_total = pre_penalty_total
467
- end
468
-
469
- # Custom attribute writer method with validation
470
- # @param [Object] adjust_points Value to be assigned
471
- def adjust_points=(adjust_points)
472
- if adjust_points.nil?
473
- fail ArgumentError, 'adjust_points cannot be nil'
474
- end
475
-
476
- @adjust_points = adjust_points
477
- end
478
-
479
255
  # Checks equality by comparing each attribute.
480
256
  # @param [Object] Object to be compared
481
257
  def ==(o)
@@ -118,6 +118,15 @@ module FtcApiV3Client
118
118
  # List of attributes with nullable: true
119
119
  def self.openapi_nullable
120
120
  Set.new([
121
+ :'auto_backdrop',
122
+ :'auto_backstage',
123
+ :'dc_backdrop',
124
+ :'dc_backstage',
125
+ :'mosaics',
126
+ :'max_set_line',
127
+ :'drone',
128
+ :'minor_penalties',
129
+ :'major_penalties'
121
130
  ])
122
131
  end
123
132
 
@@ -243,46 +252,10 @@ module FtcApiV3Client
243
252
  invalid_properties.push('invalid value for "target_backdrop_pixel", target_backdrop_pixel cannot be nil.')
244
253
  end
245
254
 
246
- if @auto_backdrop.nil?
247
- invalid_properties.push('invalid value for "auto_backdrop", auto_backdrop cannot be nil.')
248
- end
249
-
250
- if @auto_backstage.nil?
251
- invalid_properties.push('invalid value for "auto_backstage", auto_backstage cannot be nil.')
252
- end
253
-
254
- if @dc_backdrop.nil?
255
- invalid_properties.push('invalid value for "dc_backdrop", dc_backdrop cannot be nil.')
256
- end
257
-
258
- if @dc_backstage.nil?
259
- invalid_properties.push('invalid value for "dc_backstage", dc_backstage cannot be nil.')
260
- end
261
-
262
- if @mosaics.nil?
263
- invalid_properties.push('invalid value for "mosaics", mosaics cannot be nil.')
264
- end
265
-
266
- if @max_set_line.nil?
267
- invalid_properties.push('invalid value for "max_set_line", max_set_line cannot be nil.')
268
- end
269
-
270
255
  if @eg_robot.nil?
271
256
  invalid_properties.push('invalid value for "eg_robot", eg_robot cannot be nil.')
272
257
  end
273
258
 
274
- if @drone.nil?
275
- invalid_properties.push('invalid value for "drone", drone cannot be nil.')
276
- end
277
-
278
- if @minor_penalties.nil?
279
- invalid_properties.push('invalid value for "minor_penalties", minor_penalties cannot be nil.')
280
- end
281
-
282
- if @major_penalties.nil?
283
- invalid_properties.push('invalid value for "major_penalties", major_penalties cannot be nil.')
284
- end
285
-
286
259
  invalid_properties
287
260
  end
288
261
 
@@ -294,16 +267,7 @@ module FtcApiV3Client
294
267
  return false if @robot_auto.nil?
295
268
  return false if @spike_mark_pixel.nil?
296
269
  return false if @target_backdrop_pixel.nil?
297
- return false if @auto_backdrop.nil?
298
- return false if @auto_backstage.nil?
299
- return false if @dc_backdrop.nil?
300
- return false if @dc_backstage.nil?
301
- return false if @mosaics.nil?
302
- return false if @max_set_line.nil?
303
270
  return false if @eg_robot.nil?
304
- return false if @drone.nil?
305
- return false if @minor_penalties.nil?
306
- return false if @major_penalties.nil?
307
271
  true
308
272
  end
309
273
 
@@ -347,66 +311,6 @@ module FtcApiV3Client
347
311
  @target_backdrop_pixel = target_backdrop_pixel
348
312
  end
349
313
 
350
- # Custom attribute writer method with validation
351
- # @param [Object] auto_backdrop Value to be assigned
352
- def auto_backdrop=(auto_backdrop)
353
- if auto_backdrop.nil?
354
- fail ArgumentError, 'auto_backdrop cannot be nil'
355
- end
356
-
357
- @auto_backdrop = auto_backdrop
358
- end
359
-
360
- # Custom attribute writer method with validation
361
- # @param [Object] auto_backstage Value to be assigned
362
- def auto_backstage=(auto_backstage)
363
- if auto_backstage.nil?
364
- fail ArgumentError, 'auto_backstage cannot be nil'
365
- end
366
-
367
- @auto_backstage = auto_backstage
368
- end
369
-
370
- # Custom attribute writer method with validation
371
- # @param [Object] dc_backdrop Value to be assigned
372
- def dc_backdrop=(dc_backdrop)
373
- if dc_backdrop.nil?
374
- fail ArgumentError, 'dc_backdrop cannot be nil'
375
- end
376
-
377
- @dc_backdrop = dc_backdrop
378
- end
379
-
380
- # Custom attribute writer method with validation
381
- # @param [Object] dc_backstage Value to be assigned
382
- def dc_backstage=(dc_backstage)
383
- if dc_backstage.nil?
384
- fail ArgumentError, 'dc_backstage cannot be nil'
385
- end
386
-
387
- @dc_backstage = dc_backstage
388
- end
389
-
390
- # Custom attribute writer method with validation
391
- # @param [Object] mosaics Value to be assigned
392
- def mosaics=(mosaics)
393
- if mosaics.nil?
394
- fail ArgumentError, 'mosaics cannot be nil'
395
- end
396
-
397
- @mosaics = mosaics
398
- end
399
-
400
- # Custom attribute writer method with validation
401
- # @param [Object] max_set_line Value to be assigned
402
- def max_set_line=(max_set_line)
403
- if max_set_line.nil?
404
- fail ArgumentError, 'max_set_line cannot be nil'
405
- end
406
-
407
- @max_set_line = max_set_line
408
- end
409
-
410
314
  # Custom attribute writer method with validation
411
315
  # @param [Object] eg_robot Value to be assigned
412
316
  def eg_robot=(eg_robot)
@@ -417,36 +321,6 @@ module FtcApiV3Client
417
321
  @eg_robot = eg_robot
418
322
  end
419
323
 
420
- # Custom attribute writer method with validation
421
- # @param [Object] drone Value to be assigned
422
- def drone=(drone)
423
- if drone.nil?
424
- fail ArgumentError, 'drone cannot be nil'
425
- end
426
-
427
- @drone = drone
428
- end
429
-
430
- # Custom attribute writer method with validation
431
- # @param [Object] minor_penalties Value to be assigned
432
- def minor_penalties=(minor_penalties)
433
- if minor_penalties.nil?
434
- fail ArgumentError, 'minor_penalties cannot be nil'
435
- end
436
-
437
- @minor_penalties = minor_penalties
438
- end
439
-
440
- # Custom attribute writer method with validation
441
- # @param [Object] major_penalties Value to be assigned
442
- def major_penalties=(major_penalties)
443
- if major_penalties.nil?
444
- fail ArgumentError, 'major_penalties cannot be nil'
445
- end
446
-
447
- @major_penalties = major_penalties
448
- end
449
-
450
324
  # Checks equality by comparing each attribute.
451
325
  # @param [Object] Object to be compared
452
326
  def ==(o)