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.
Files changed (85) 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.1.gem +0 -0
  5. data/lib/ftc_api_v3_client/api/events_api.rb +3 -103
  6. data/lib/ftc_api_v3_client/api/leagues_api.rb +0 -56
  7. data/lib/ftc_api_v3_client/api/regions_api.rb +0 -28
  8. data/lib/ftc_api_v3_client/api/seasons_api.rb +0 -4
  9. data/lib/ftc_api_v3_client/api/teams_api.rb +0 -28
  10. data/lib/ftc_api_v3_client/models/api_v3_advancement_from.rb +16 -1
  11. data/lib/ftc_api_v3_client/models/api_v3_advancement_from_slot.rb +2 -15
  12. data/lib/ftc_api_v3_client/models/api_v3_alliance_match.rb +32 -43
  13. data/lib/ftc_api_v3_client/models/api_v3_alliance_match_details.rb +32 -43
  14. data/lib/ftc_api_v3_client/models/api_v3_alliance_match_results.rb +31 -2
  15. data/lib/ftc_api_v3_client/models/api_v3_alliance_playoff_match_participants.rb +1 -15
  16. data/lib/ftc_api_v3_client/models/api_v3_alliance_selection.rb +1 -15
  17. data/lib/ftc_api_v3_client/models/api_v3_alliance_simple_match_participants.rb +1 -15
  18. data/lib/ftc_api_v3_client/models/api_v3_award.rb +4 -30
  19. data/lib/ftc_api_v3_client/models/api_v3_award_recipient.rb +2 -1
  20. data/lib/ftc_api_v3_client/models/api_v3_basic_alliance_description.rb +9 -9
  21. data/lib/ftc_api_v3_client/models/api_v3_center_stage_remote_score_detail.rb +1 -15
  22. data/lib/ftc_api_v3_client/models/api_v3_center_stage_score_detail.rb +1 -15
  23. data/lib/ftc_api_v3_client/models/api_v3_cs_achievements_detail.rb +138 -26
  24. data/lib/ftc_api_v3_client/models/api_v3_cs_points_detail.rb +240 -16
  25. data/lib/ftc_api_v3_client/models/api_v3_cs_remote_achievements_detail.rb +129 -17
  26. data/lib/ftc_api_v3_client/models/api_v3_cs_remote_points_detail.rb +225 -15
  27. data/lib/ftc_api_v3_client/models/api_v3_decode_achievements_detail.rb +93 -23
  28. data/lib/ftc_api_v3_client/models/api_v3_decode_points_detail.rb +180 -12
  29. data/lib/ftc_api_v3_client/models/api_v3_decode_score_detail.rb +1 -15
  30. data/lib/ftc_api_v3_client/models/api_v3_division.rb +2 -30
  31. data/lib/ftc_api_v3_client/models/api_v3_double_elimination_series_description.rb +34 -19
  32. data/lib/ftc_api_v3_client/models/api_v3_event.rb +32 -122
  33. data/lib/ftc_api_v3_client/models/api_v3_event_live_stream.rb +3 -15
  34. data/lib/ftc_api_v3_client/models/api_v3_event_participant.rb +2 -15
  35. data/lib/ftc_api_v3_client/models/api_v3_ff_achievements_detail.rb +185 -59
  36. data/lib/ftc_api_v3_client/models/api_v3_ff_points_detail.rb +285 -19
  37. data/lib/ftc_api_v3_client/models/api_v3_ff_remote_achievements_detail.rb +175 -35
  38. data/lib/ftc_api_v3_client/models/api_v3_ff_remote_points_detail.rb +240 -16
  39. data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_remote_score_detail.rb +1 -15
  40. data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_score_detail.rb +1 -15
  41. data/lib/ftc_api_v3_client/models/api_v3_into_the_deep_score_detail.rb +1 -15
  42. data/lib/ftc_api_v3_client/models/api_v3_itd_achievements_detail.rb +156 -44
  43. data/lib/ftc_api_v3_client/models/api_v3_itd_points_detail.rb +195 -13
  44. data/lib/ftc_api_v3_client/models/api_v3_league.rb +4 -30
  45. data/lib/ftc_api_v3_client/models/api_v3_league_details.rb +4 -30
  46. data/lib/ftc_api_v3_client/models/api_v3_pit_map.rb +60 -4
  47. data/lib/ftc_api_v3_client/models/api_v3_pit_map_element.rb +66 -5
  48. data/lib/ftc_api_v3_client/models/api_v3_playoff_alliance.rb +17 -1
  49. data/lib/ftc_api_v3_client/models/api_v3_playoff_match_alliance.rb +15 -1
  50. data/lib/ftc_api_v3_client/models/api_v3_playoff_ranking.rb +90 -6
  51. data/lib/ftc_api_v3_client/models/api_v3_playoff_series_description.rb +33 -19
  52. data/lib/ftc_api_v3_client/models/api_v3_playoff_structure.rb +9 -9
  53. data/lib/ftc_api_v3_client/models/api_v3_power_play_achievements_detail.rb +107 -7
  54. data/lib/ftc_api_v3_client/models/api_v3_power_play_points_detail.rb +225 -15
  55. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_achievements_detail.rb +121 -8
  56. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_points_detail.rb +210 -14
  57. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_score_detail.rb +1 -15
  58. data/lib/ftc_api_v3_client/models/api_v3_power_play_score_detail.rb +1 -15
  59. data/lib/ftc_api_v3_client/models/api_v3_ranking.rb +90 -6
  60. data/lib/ftc_api_v3_client/models/api_v3_region.rb +2 -30
  61. data/lib/ftc_api_v3_client/models/api_v3_round_robin_alliance_description.rb +9 -9
  62. data/lib/ftc_api_v3_client/models/api_v3_season.rb +11 -39
  63. data/lib/ftc_api_v3_client/models/api_v3_seasons.rb +15 -1
  64. data/lib/ftc_api_v3_client/models/api_v3_series_alliance_description.rb +10 -24
  65. data/lib/ftc_api_v3_client/models/api_v3_simple_event.rb +15 -120
  66. data/lib/ftc_api_v3_client/models/api_v3_simple_team.rb +3 -45
  67. data/lib/ftc_api_v3_client/models/api_v3_single_award_recipient.rb +4 -31
  68. data/lib/ftc_api_v3_client/models/api_v3_single_team_match.rb +32 -43
  69. data/lib/ftc_api_v3_client/models/api_v3_single_team_match_details.rb +32 -43
  70. data/lib/ftc_api_v3_client/models/api_v3_single_team_match_results.rb +15 -1
  71. data/lib/ftc_api_v3_client/models/api_v3_skystone_achievements_detail.rb +165 -11
  72. data/lib/ftc_api_v3_client/models/api_v3_skystone_points_detail.rb +225 -15
  73. data/lib/ftc_api_v3_client/models/api_v3_skystone_score_detail.rb +1 -15
  74. data/lib/ftc_api_v3_client/models/api_v3_team.rb +17 -54
  75. data/lib/ftc_api_v3_client/models/api_v3_team_avatar.rb +1 -15
  76. data/lib/ftc_api_v3_client/models/api_v3_team_history.rb +15 -54
  77. data/lib/ftc_api_v3_client/models/api_v3_ug_achievements_detail.rb +138 -26
  78. data/lib/ftc_api_v3_client/models/api_v3_ug_points_detail.rb +210 -14
  79. data/lib/ftc_api_v3_client/models/api_v3_ug_remote_achievements_detail.rb +138 -26
  80. data/lib/ftc_api_v3_client/models/api_v3_ug_remote_points_detail.rb +210 -14
  81. data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_remote_score_detail.rb +1 -15
  82. data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_score_detail.rb +1 -15
  83. data/lib/ftc_api_v3_client/version.rb +1 -1
  84. data/update.sh +1 -1
  85. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3602915958dd77e637d20a75343b35a906d5d04e1b8b04b72be143f2ef02120
4
- data.tar.gz: 62f116cc88650f20075722710e104f7cf1940418575c61f1464951d6fcdffe84
3
+ metadata.gz: c6f6dae10dfb972e22ec17aa92461745f53918540ef2599d6d28c472b40f96a6
4
+ data.tar.gz: 0e8cefdab53cedb14aaac17aa8f5537277a99263f2eea6495024bbfb310f4a0f
5
5
  SHA512:
6
- metadata.gz: 023f7820bc6a71836b24a1db67654e3244c867522ae307dc6d58456d74767d541a727f5bd2d48ca9951de3cc3539d5fcca036a6273616d7434db21b16e1ac809
7
- data.tar.gz: 3ce56713da47447a2c422c977927e6034a478b6baaff98a4f8698abafbe847eb1b835a28de16dd198f8df6bd0b1a05490e7d2178ff8c8e29a67eb42add18039e
6
+ metadata.gz: '01485cf08bd337976f98bfc406c1cda6fdf4e177a445c141ca058db688766037cd3f95ee4838fc754c04db11aa97a6e90d0bc826b25d37ab8a8f0846f8d7218d'
7
+ data.tar.gz: 583cdffe6b9bf343be2a5c7d369afec053e716e9e52cd210e6d7a8e46648a44dd937c73cdcfdbc88cf272c90c4ebed6347326e1adc94a6319ba67452cdbcc48e
data/README.md CHANGED
@@ -29,7 +29,7 @@ To request additional data, please submit a feature request here: https://github
29
29
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
30
30
 
31
31
  - API version: v3
32
- - Package version: 0.1.1
32
+ - Package version: 0.1.2
33
33
  - Generator version: 7.20.0
34
34
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
35
35
 
@@ -46,16 +46,16 @@ gem build ftc_api_v3_client.gemspec
46
46
  Then either install the gem locally:
47
47
 
48
48
  ```shell
49
- gem install ./ftc_api_v3_client-0.1.1.gem
49
+ gem install ./ftc_api_v3_client-0.1.2.gem
50
50
  ```
51
51
 
52
- (for development, run `gem install --dev ./ftc_api_v3_client-0.1.1.gem` to install the development dependencies)
52
+ (for development, run `gem install --dev ./ftc_api_v3_client-0.1.2.gem` to install the development dependencies)
53
53
 
54
54
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
55
55
 
56
56
  Finally add this to the Gemfile:
57
57
 
58
- gem 'ftc_api_v3_client', '~> 0.1.1'
58
+ gem 'ftc_api_v3_client', '~> 0.1.2'
59
59
 
60
60
  ### Install from Git
61
61
 
data/config.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "gemVersion": "0.1.1",
2
+ "gemVersion": "0.1.2",
3
3
  "gemName": "ftc_api_v3_client",
4
4
  "moduleName": "FtcApiV3Client",
5
5
  "gemRequiredRubyVersion": ">= 3.1",
Binary file
@@ -40,14 +40,6 @@ module FtcApiV3Client
40
40
  if @api_client.config.debugging
41
41
  @api_client.config.logger.debug 'Calling API: EventsApi.get_event ...'
42
42
  end
43
- # verify the required parameter 'cmp_year' is set
44
- if @api_client.config.client_side_validation && cmp_year.nil?
45
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.get_event"
46
- end
47
- # verify the required parameter 'event_code' is set
48
- if @api_client.config.client_side_validation && event_code.nil?
49
- fail ArgumentError, "Missing the required parameter 'event_code' when calling EventsApi.get_event"
50
- end
51
43
  # resource path
52
44
  local_var_path = '/api/v3/seasons/{cmpYear}/events/{eventCode}'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'eventCode' + '}', CGI.escape(event_code.to_s))
53
45
 
@@ -109,14 +101,6 @@ module FtcApiV3Client
109
101
  if @api_client.config.debugging
110
102
  @api_client.config.logger.debug 'Calling API: EventsApi.get_event_advancement_from ...'
111
103
  end
112
- # verify the required parameter 'cmp_year' is set
113
- if @api_client.config.client_side_validation && cmp_year.nil?
114
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.get_event_advancement_from"
115
- end
116
- # verify the required parameter 'event_code' is set
117
- if @api_client.config.client_side_validation && event_code.nil?
118
- fail ArgumentError, "Missing the required parameter 'event_code' when calling EventsApi.get_event_advancement_from"
119
- end
120
104
  # resource path
121
105
  local_var_path = '/api/v3/seasons/{cmpYear}/events/{eventCode}/advancement/from'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'eventCode' + '}', CGI.escape(event_code.to_s))
122
106
 
@@ -178,14 +162,6 @@ module FtcApiV3Client
178
162
  if @api_client.config.debugging
179
163
  @api_client.config.logger.debug 'Calling API: EventsApi.get_event_alliance_selections ...'
180
164
  end
181
- # verify the required parameter 'cmp_year' is set
182
- if @api_client.config.client_side_validation && cmp_year.nil?
183
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.get_event_alliance_selections"
184
- end
185
- # verify the required parameter 'event_code' is set
186
- if @api_client.config.client_side_validation && event_code.nil?
187
- fail ArgumentError, "Missing the required parameter 'event_code' when calling EventsApi.get_event_alliance_selections"
188
- end
189
165
  # resource path
190
166
  local_var_path = '/api/v3/seasons/{cmpYear}/events/{eventCode}/alliances/selections'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'eventCode' + '}', CGI.escape(event_code.to_s))
191
167
 
@@ -247,14 +223,6 @@ module FtcApiV3Client
247
223
  if @api_client.config.debugging
248
224
  @api_client.config.logger.debug 'Calling API: EventsApi.get_event_alliances ...'
249
225
  end
250
- # verify the required parameter 'cmp_year' is set
251
- if @api_client.config.client_side_validation && cmp_year.nil?
252
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.get_event_alliances"
253
- end
254
- # verify the required parameter 'event_code' is set
255
- if @api_client.config.client_side_validation && event_code.nil?
256
- fail ArgumentError, "Missing the required parameter 'event_code' when calling EventsApi.get_event_alliances"
257
- end
258
226
  # resource path
259
227
  local_var_path = '/api/v3/seasons/{cmpYear}/events/{eventCode}/alliances'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'eventCode' + '}', CGI.escape(event_code.to_s))
260
228
 
@@ -316,14 +284,6 @@ module FtcApiV3Client
316
284
  if @api_client.config.debugging
317
285
  @api_client.config.logger.debug 'Calling API: EventsApi.get_event_awards ...'
318
286
  end
319
- # verify the required parameter 'cmp_year' is set
320
- if @api_client.config.client_side_validation && cmp_year.nil?
321
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.get_event_awards"
322
- end
323
- # verify the required parameter 'event_code' is set
324
- if @api_client.config.client_side_validation && event_code.nil?
325
- fail ArgumentError, "Missing the required parameter 'event_code' when calling EventsApi.get_event_awards"
326
- end
327
287
  # resource path
328
288
  local_var_path = '/api/v3/seasons/{cmpYear}/events/{eventCode}/awards'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'eventCode' + '}', CGI.escape(event_code.to_s))
329
289
 
@@ -391,21 +351,13 @@ module FtcApiV3Client
391
351
  if @api_client.config.debugging
392
352
  @api_client.config.logger.debug 'Calling API: EventsApi.get_event_match ...'
393
353
  end
394
- # verify the required parameter 'cmp_year' is set
395
- if @api_client.config.client_side_validation && cmp_year.nil?
396
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.get_event_match"
397
- end
398
- # verify the required parameter 'event_code' is set
399
- if @api_client.config.client_side_validation && event_code.nil?
400
- fail ArgumentError, "Missing the required parameter 'event_code' when calling EventsApi.get_event_match"
401
- end
402
354
  # verify the required parameter 'tournament_level' is set
403
355
  if @api_client.config.client_side_validation && tournament_level.nil?
404
356
  fail ArgumentError, "Missing the required parameter 'tournament_level' when calling EventsApi.get_event_match"
405
357
  end
406
- # verify the required parameter 'series' is set
407
- if @api_client.config.client_side_validation && series.nil?
408
- fail ArgumentError, "Missing the required parameter 'series' when calling EventsApi.get_event_match"
358
+ # verify the required parameter 'number' is set
359
+ if @api_client.config.client_side_validation && number.nil?
360
+ fail ArgumentError, "Missing the required parameter 'number' when calling EventsApi.get_event_match"
409
361
  end
410
362
  # resource path
411
363
  local_var_path = '/api/v3/seasons/{cmpYear}/events/{eventCode}/matches/{tournamentLevel}/{series}/{number}'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'eventCode' + '}', CGI.escape(event_code.to_s)).sub('{' + 'tournamentLevel' + '}', CGI.escape(tournament_level.to_s)).sub('{' + 'series' + '}', CGI.escape(series.to_s)).sub('{' + 'number' + '}', CGI.escape(number.to_s))
@@ -468,14 +420,6 @@ module FtcApiV3Client
468
420
  if @api_client.config.debugging
469
421
  @api_client.config.logger.debug 'Calling API: EventsApi.get_event_pit_map ...'
470
422
  end
471
- # verify the required parameter 'cmp_year' is set
472
- if @api_client.config.client_side_validation && cmp_year.nil?
473
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.get_event_pit_map"
474
- end
475
- # verify the required parameter 'event_code' is set
476
- if @api_client.config.client_side_validation && event_code.nil?
477
- fail ArgumentError, "Missing the required parameter 'event_code' when calling EventsApi.get_event_pit_map"
478
- end
479
423
  # resource path
480
424
  local_var_path = '/api/v3/seasons/{cmpYear}/events/{eventCode}/pitMap'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'eventCode' + '}', CGI.escape(event_code.to_s))
481
425
 
@@ -537,14 +481,6 @@ module FtcApiV3Client
537
481
  if @api_client.config.debugging
538
482
  @api_client.config.logger.debug 'Calling API: EventsApi.get_event_playoff_rankings ...'
539
483
  end
540
- # verify the required parameter 'cmp_year' is set
541
- if @api_client.config.client_side_validation && cmp_year.nil?
542
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.get_event_playoff_rankings"
543
- end
544
- # verify the required parameter 'event_code' is set
545
- if @api_client.config.client_side_validation && event_code.nil?
546
- fail ArgumentError, "Missing the required parameter 'event_code' when calling EventsApi.get_event_playoff_rankings"
547
- end
548
484
  # resource path
549
485
  local_var_path = '/api/v3/seasons/{cmpYear}/events/{eventCode}/playoffRankings'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'eventCode' + '}', CGI.escape(event_code.to_s))
550
486
 
@@ -606,14 +542,6 @@ module FtcApiV3Client
606
542
  if @api_client.config.debugging
607
543
  @api_client.config.logger.debug 'Calling API: EventsApi.get_event_playoff_structure ...'
608
544
  end
609
- # verify the required parameter 'cmp_year' is set
610
- if @api_client.config.client_side_validation && cmp_year.nil?
611
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.get_event_playoff_structure"
612
- end
613
- # verify the required parameter 'event_code' is set
614
- if @api_client.config.client_side_validation && event_code.nil?
615
- fail ArgumentError, "Missing the required parameter 'event_code' when calling EventsApi.get_event_playoff_structure"
616
- end
617
545
  # resource path
618
546
  local_var_path = '/api/v3/seasons/{cmpYear}/events/{eventCode}/playoffStructure'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'eventCode' + '}', CGI.escape(event_code.to_s))
619
547
 
@@ -675,14 +603,6 @@ module FtcApiV3Client
675
603
  if @api_client.config.debugging
676
604
  @api_client.config.logger.debug 'Calling API: EventsApi.get_event_rankings ...'
677
605
  end
678
- # verify the required parameter 'cmp_year' is set
679
- if @api_client.config.client_side_validation && cmp_year.nil?
680
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.get_event_rankings"
681
- end
682
- # verify the required parameter 'event_code' is set
683
- if @api_client.config.client_side_validation && event_code.nil?
684
- fail ArgumentError, "Missing the required parameter 'event_code' when calling EventsApi.get_event_rankings"
685
- end
686
606
  # resource path
687
607
  local_var_path = '/api/v3/seasons/{cmpYear}/events/{eventCode}/rankings'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'eventCode' + '}', CGI.escape(event_code.to_s))
688
608
 
@@ -746,14 +666,6 @@ module FtcApiV3Client
746
666
  if @api_client.config.debugging
747
667
  @api_client.config.logger.debug 'Calling API: EventsApi.list_event_matches ...'
748
668
  end
749
- # verify the required parameter 'cmp_year' is set
750
- if @api_client.config.client_side_validation && cmp_year.nil?
751
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.list_event_matches"
752
- end
753
- # verify the required parameter 'event_code' is set
754
- if @api_client.config.client_side_validation && event_code.nil?
755
- fail ArgumentError, "Missing the required parameter 'event_code' when calling EventsApi.list_event_matches"
756
- end
757
669
  # resource path
758
670
  local_var_path = '/api/v3/seasons/{cmpYear}/events/{eventCode}/matches'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'eventCode' + '}', CGI.escape(event_code.to_s))
759
671
 
@@ -816,14 +728,6 @@ module FtcApiV3Client
816
728
  if @api_client.config.debugging
817
729
  @api_client.config.logger.debug 'Calling API: EventsApi.list_event_teams ...'
818
730
  end
819
- # verify the required parameter 'cmp_year' is set
820
- if @api_client.config.client_side_validation && cmp_year.nil?
821
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.list_event_teams"
822
- end
823
- # verify the required parameter 'event_code' is set
824
- if @api_client.config.client_side_validation && event_code.nil?
825
- fail ArgumentError, "Missing the required parameter 'event_code' when calling EventsApi.list_event_teams"
826
- end
827
731
  # resource path
828
732
  local_var_path = '/api/v3/seasons/{cmpYear}/events/{eventCode}/teams'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'eventCode' + '}', CGI.escape(event_code.to_s))
829
733
 
@@ -883,10 +787,6 @@ module FtcApiV3Client
883
787
  if @api_client.config.debugging
884
788
  @api_client.config.logger.debug 'Calling API: EventsApi.list_events ...'
885
789
  end
886
- # verify the required parameter 'cmp_year' is set
887
- if @api_client.config.client_side_validation && cmp_year.nil?
888
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.list_events"
889
- end
890
790
  # resource path
891
791
  local_var_path = '/api/v3/seasons/{cmpYear}/events'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s))
892
792
 
@@ -42,18 +42,6 @@ module FtcApiV3Client
42
42
  if @api_client.config.debugging
43
43
  @api_client.config.logger.debug 'Calling API: LeaguesApi.get_league ...'
44
44
  end
45
- # verify the required parameter 'cmp_year' is set
46
- if @api_client.config.client_side_validation && cmp_year.nil?
47
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling LeaguesApi.get_league"
48
- end
49
- # verify the required parameter 'region_code' is set
50
- if @api_client.config.client_side_validation && region_code.nil?
51
- fail ArgumentError, "Missing the required parameter 'region_code' when calling LeaguesApi.get_league"
52
- end
53
- # verify the required parameter 'league_code' is set
54
- if @api_client.config.client_side_validation && league_code.nil?
55
- fail ArgumentError, "Missing the required parameter 'league_code' when calling LeaguesApi.get_league"
56
- end
57
45
  # resource path
58
46
  local_var_path = '/api/v3/seasons/{cmpYear}/regions/{regionCode}/leagues/{leagueCode}'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'regionCode' + '}', CGI.escape(region_code.to_s)).sub('{' + 'leagueCode' + '}', CGI.escape(league_code.to_s))
59
47
 
@@ -117,18 +105,6 @@ module FtcApiV3Client
117
105
  if @api_client.config.debugging
118
106
  @api_client.config.logger.debug 'Calling API: LeaguesApi.get_league_rankings ...'
119
107
  end
120
- # verify the required parameter 'cmp_year' is set
121
- if @api_client.config.client_side_validation && cmp_year.nil?
122
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling LeaguesApi.get_league_rankings"
123
- end
124
- # verify the required parameter 'region_code' is set
125
- if @api_client.config.client_side_validation && region_code.nil?
126
- fail ArgumentError, "Missing the required parameter 'region_code' when calling LeaguesApi.get_league_rankings"
127
- end
128
- # verify the required parameter 'league_code' is set
129
- if @api_client.config.client_side_validation && league_code.nil?
130
- fail ArgumentError, "Missing the required parameter 'league_code' when calling LeaguesApi.get_league_rankings"
131
- end
132
108
  # resource path
133
109
  local_var_path = '/api/v3/seasons/{cmpYear}/regions/{regionCode}/leagues/{leagueCode}/rankings'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'regionCode' + '}', CGI.escape(region_code.to_s)).sub('{' + 'leagueCode' + '}', CGI.escape(league_code.to_s))
134
110
 
@@ -192,18 +168,6 @@ module FtcApiV3Client
192
168
  if @api_client.config.debugging
193
169
  @api_client.config.logger.debug 'Calling API: LeaguesApi.list_league_events ...'
194
170
  end
195
- # verify the required parameter 'cmp_year' is set
196
- if @api_client.config.client_side_validation && cmp_year.nil?
197
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling LeaguesApi.list_league_events"
198
- end
199
- # verify the required parameter 'region_code' is set
200
- if @api_client.config.client_side_validation && region_code.nil?
201
- fail ArgumentError, "Missing the required parameter 'region_code' when calling LeaguesApi.list_league_events"
202
- end
203
- # verify the required parameter 'league_code' is set
204
- if @api_client.config.client_side_validation && league_code.nil?
205
- fail ArgumentError, "Missing the required parameter 'league_code' when calling LeaguesApi.list_league_events"
206
- end
207
171
  # resource path
208
172
  local_var_path = '/api/v3/seasons/{cmpYear}/regions/{regionCode}/leagues/{leagueCode}/events'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'regionCode' + '}', CGI.escape(region_code.to_s)).sub('{' + 'leagueCode' + '}', CGI.escape(league_code.to_s))
209
173
 
@@ -267,18 +231,6 @@ module FtcApiV3Client
267
231
  if @api_client.config.debugging
268
232
  @api_client.config.logger.debug 'Calling API: LeaguesApi.list_league_teams ...'
269
233
  end
270
- # verify the required parameter 'cmp_year' is set
271
- if @api_client.config.client_side_validation && cmp_year.nil?
272
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling LeaguesApi.list_league_teams"
273
- end
274
- # verify the required parameter 'region_code' is set
275
- if @api_client.config.client_side_validation && region_code.nil?
276
- fail ArgumentError, "Missing the required parameter 'region_code' when calling LeaguesApi.list_league_teams"
277
- end
278
- # verify the required parameter 'league_code' is set
279
- if @api_client.config.client_side_validation && league_code.nil?
280
- fail ArgumentError, "Missing the required parameter 'league_code' when calling LeaguesApi.list_league_teams"
281
- end
282
234
  # resource path
283
235
  local_var_path = '/api/v3/seasons/{cmpYear}/regions/{regionCode}/leagues/{leagueCode}/teams'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'regionCode' + '}', CGI.escape(region_code.to_s)).sub('{' + 'leagueCode' + '}', CGI.escape(league_code.to_s))
284
236
 
@@ -340,14 +292,6 @@ module FtcApiV3Client
340
292
  if @api_client.config.debugging
341
293
  @api_client.config.logger.debug 'Calling API: LeaguesApi.list_leagues ...'
342
294
  end
343
- # verify the required parameter 'cmp_year' is set
344
- if @api_client.config.client_side_validation && cmp_year.nil?
345
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling LeaguesApi.list_leagues"
346
- end
347
- # verify the required parameter 'region_code' is set
348
- if @api_client.config.client_side_validation && region_code.nil?
349
- fail ArgumentError, "Missing the required parameter 'region_code' when calling LeaguesApi.list_leagues"
350
- end
351
295
  # resource path
352
296
  local_var_path = '/api/v3/seasons/{cmpYear}/regions/{regionCode}/leagues'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'regionCode' + '}', CGI.escape(region_code.to_s))
353
297
 
@@ -40,14 +40,6 @@ module FtcApiV3Client
40
40
  if @api_client.config.debugging
41
41
  @api_client.config.logger.debug 'Calling API: RegionsApi.get_region ...'
42
42
  end
43
- # verify the required parameter 'cmp_year' is set
44
- if @api_client.config.client_side_validation && cmp_year.nil?
45
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling RegionsApi.get_region"
46
- end
47
- # verify the required parameter 'region_code' is set
48
- if @api_client.config.client_side_validation && region_code.nil?
49
- fail ArgumentError, "Missing the required parameter 'region_code' when calling RegionsApi.get_region"
50
- end
51
43
  # resource path
52
44
  local_var_path = '/api/v3/seasons/{cmpYear}/regions/{regionCode}'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'regionCode' + '}', CGI.escape(region_code.to_s))
53
45
 
@@ -109,14 +101,6 @@ module FtcApiV3Client
109
101
  if @api_client.config.debugging
110
102
  @api_client.config.logger.debug 'Calling API: RegionsApi.list_region_events ...'
111
103
  end
112
- # verify the required parameter 'cmp_year' is set
113
- if @api_client.config.client_side_validation && cmp_year.nil?
114
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling RegionsApi.list_region_events"
115
- end
116
- # verify the required parameter 'region_code' is set
117
- if @api_client.config.client_side_validation && region_code.nil?
118
- fail ArgumentError, "Missing the required parameter 'region_code' when calling RegionsApi.list_region_events"
119
- end
120
104
  # resource path
121
105
  local_var_path = '/api/v3/seasons/{cmpYear}/regions/{regionCode}/events'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'regionCode' + '}', CGI.escape(region_code.to_s))
122
106
 
@@ -178,14 +162,6 @@ module FtcApiV3Client
178
162
  if @api_client.config.debugging
179
163
  @api_client.config.logger.debug 'Calling API: RegionsApi.list_region_teams ...'
180
164
  end
181
- # verify the required parameter 'cmp_year' is set
182
- if @api_client.config.client_side_validation && cmp_year.nil?
183
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling RegionsApi.list_region_teams"
184
- end
185
- # verify the required parameter 'region_code' is set
186
- if @api_client.config.client_side_validation && region_code.nil?
187
- fail ArgumentError, "Missing the required parameter 'region_code' when calling RegionsApi.list_region_teams"
188
- end
189
165
  # resource path
190
166
  local_var_path = '/api/v3/seasons/{cmpYear}/regions/{regionCode}/teams'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'regionCode' + '}', CGI.escape(region_code.to_s))
191
167
 
@@ -245,10 +221,6 @@ module FtcApiV3Client
245
221
  if @api_client.config.debugging
246
222
  @api_client.config.logger.debug 'Calling API: RegionsApi.list_regions ...'
247
223
  end
248
- # verify the required parameter 'cmp_year' is set
249
- if @api_client.config.client_side_validation && cmp_year.nil?
250
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling RegionsApi.list_regions"
251
- end
252
224
  # resource path
253
225
  local_var_path = '/api/v3/seasons/{cmpYear}/regions'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s))
254
226
 
@@ -38,10 +38,6 @@ module FtcApiV3Client
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: SeasonsApi.get_season ...'
40
40
  end
41
- # verify the required parameter 'cmp_year' is set
42
- if @api_client.config.client_side_validation && cmp_year.nil?
43
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling SeasonsApi.get_season"
44
- end
45
41
  # resource path
46
42
  local_var_path = '/api/v3/seasons/{cmpYear}'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s))
47
43
 
@@ -40,14 +40,6 @@ module FtcApiV3Client
40
40
  if @api_client.config.debugging
41
41
  @api_client.config.logger.debug 'Calling API: TeamsApi.get_team ...'
42
42
  end
43
- # verify the required parameter 'cmp_year' is set
44
- if @api_client.config.client_side_validation && cmp_year.nil?
45
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling TeamsApi.get_team"
46
- end
47
- # verify the required parameter 'number' is set
48
- if @api_client.config.client_side_validation && number.nil?
49
- fail ArgumentError, "Missing the required parameter 'number' when calling TeamsApi.get_team"
50
- end
51
43
  # resource path
52
44
  local_var_path = '/api/v3/seasons/{cmpYear}/teams/{number}'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'number' + '}', CGI.escape(number.to_s))
53
45
 
@@ -109,14 +101,6 @@ module FtcApiV3Client
109
101
  if @api_client.config.debugging
110
102
  @api_client.config.logger.debug 'Calling API: TeamsApi.get_team_details ...'
111
103
  end
112
- # verify the required parameter 'cmp_year' is set
113
- if @api_client.config.client_side_validation && cmp_year.nil?
114
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling TeamsApi.get_team_details"
115
- end
116
- # verify the required parameter 'number' is set
117
- if @api_client.config.client_side_validation && number.nil?
118
- fail ArgumentError, "Missing the required parameter 'number' when calling TeamsApi.get_team_details"
119
- end
120
104
  # resource path
121
105
  local_var_path = '/api/v3/seasons/{cmpYear}/teams/{number}/details'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'number' + '}', CGI.escape(number.to_s))
122
106
 
@@ -176,10 +160,6 @@ module FtcApiV3Client
176
160
  if @api_client.config.debugging
177
161
  @api_client.config.logger.debug 'Calling API: TeamsApi.get_team_history ...'
178
162
  end
179
- # verify the required parameter 'number' is set
180
- if @api_client.config.client_side_validation && number.nil?
181
- fail ArgumentError, "Missing the required parameter 'number' when calling TeamsApi.get_team_history"
182
- end
183
163
  # resource path
184
164
  local_var_path = '/api/v3/teams/{number}'.sub('{' + 'number' + '}', CGI.escape(number.to_s))
185
165
 
@@ -239,10 +219,6 @@ module FtcApiV3Client
239
219
  if @api_client.config.debugging
240
220
  @api_client.config.logger.debug 'Calling API: TeamsApi.list_team_avatars ...'
241
221
  end
242
- # verify the required parameter 'cmp_year' is set
243
- if @api_client.config.client_side_validation && cmp_year.nil?
244
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling TeamsApi.list_team_avatars"
245
- end
246
222
  # resource path
247
223
  local_var_path = '/api/v3/seasons/{cmpYear}/avatars'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s))
248
224
 
@@ -302,10 +278,6 @@ module FtcApiV3Client
302
278
  if @api_client.config.debugging
303
279
  @api_client.config.logger.debug 'Calling API: TeamsApi.list_teams ...'
304
280
  end
305
- # verify the required parameter 'cmp_year' is set
306
- if @api_client.config.client_side_validation && cmp_year.nil?
307
- fail ArgumentError, "Missing the required parameter 'cmp_year' when calling TeamsApi.list_teams"
308
- end
309
281
  # resource path
310
282
  local_var_path = '/api/v3/seasons/{cmpYear}/teams'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s))
311
283
 
@@ -53,7 +53,7 @@ module FtcApiV3Client
53
53
  # List of attributes with nullable: true
54
54
  def self.openapi_nullable
55
55
  Set.new([
56
- :'advancing_team_count',
56
+ :'target_event_code'
57
57
  ])
58
58
  end
59
59
 
@@ -97,6 +97,10 @@ module FtcApiV3Client
97
97
  def list_invalid_properties
98
98
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
99
99
  invalid_properties = Array.new
100
+ if @advancing_team_count.nil?
101
+ invalid_properties.push('invalid value for "advancing_team_count", advancing_team_count cannot be nil.')
102
+ end
103
+
100
104
  if @slots.nil?
101
105
  invalid_properties.push('invalid value for "slots", slots cannot be nil.')
102
106
  end
@@ -108,10 +112,21 @@ module FtcApiV3Client
108
112
  # @return true if the model is valid
109
113
  def valid?
110
114
  warn '[DEPRECATED] the `valid?` method is obsolete'
115
+ return false if @advancing_team_count.nil?
111
116
  return false if @slots.nil?
112
117
  true
113
118
  end
114
119
 
120
+ # Custom attribute writer method with validation
121
+ # @param [Object] advancing_team_count Value to be assigned
122
+ def advancing_team_count=(advancing_team_count)
123
+ if advancing_team_count.nil?
124
+ fail ArgumentError, 'advancing_team_count cannot be nil'
125
+ end
126
+
127
+ @advancing_team_count = advancing_team_count
128
+ end
129
+
115
130
  # Custom attribute writer method with validation
116
131
  # @param [Object] slots Value to be assigned
117
132
  def slots=(slots)
@@ -80,6 +80,8 @@ module FtcApiV3Client
80
80
  # List of attributes with nullable: true
81
81
  def self.openapi_nullable
82
82
  Set.new([
83
+ :'criteria',
84
+ :'status',
83
85
  ])
84
86
  end
85
87
 
@@ -131,10 +133,6 @@ module FtcApiV3Client
131
133
  invalid_properties.push('invalid value for "team", team cannot be nil.')
132
134
  end
133
135
 
134
- if @criteria.nil?
135
- invalid_properties.push('invalid value for "criteria", criteria cannot be nil.')
136
- end
137
-
138
136
  invalid_properties
139
137
  end
140
138
 
@@ -143,7 +141,6 @@ module FtcApiV3Client
143
141
  def valid?
144
142
  warn '[DEPRECATED] the `valid?` method is obsolete'
145
143
  return false if @team.nil?
146
- return false if @criteria.nil?
147
144
  true
148
145
  end
149
146
 
@@ -157,16 +154,6 @@ module FtcApiV3Client
157
154
  @team = team
158
155
  end
159
156
 
160
- # Custom attribute writer method with validation
161
- # @param [Object] criteria Value to be assigned
162
- def criteria=(criteria)
163
- if criteria.nil?
164
- fail ArgumentError, 'criteria cannot be nil'
165
- end
166
-
167
- @criteria = criteria
168
- end
169
-
170
157
  # Checks equality by comparing each attribute.
171
158
  # @param [Object] Object to be compared
172
159
  def ==(o)