ftc_api_v3_client 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/config.json +1 -1
- data/ftc_api_v3_client-0.1.0.gem +0 -0
- data/ftc_api_v3_client-0.1.1.gem +0 -0
- data/lib/ftc_api_v3_client/api/events_api.rb +0 -104
- data/lib/ftc_api_v3_client/api/leagues_api.rb +0 -56
- data/lib/ftc_api_v3_client/api/regions_api.rb +0 -28
- data/lib/ftc_api_v3_client/api/seasons_api.rb +0 -4
- data/lib/ftc_api_v3_client/api/teams_api.rb +0 -28
- data/lib/ftc_api_v3_client/models/api_v3_advancement_from.rb +1 -0
- data/lib/ftc_api_v3_client/models/api_v3_advancement_from_slot.rb +2 -15
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match.rb +8 -60
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match_details.rb +8 -60
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match_results.rb +1 -0
- data/lib/ftc_api_v3_client/models/api_v3_alliance_playoff_match_participants.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_alliance_selection.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_alliance_simple_match_participants.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_award.rb +4 -30
- data/lib/ftc_api_v3_client/models/api_v3_award_recipient.rb +2 -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_center_stage_remote_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_center_stage_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_cs_achievements_detail.rb +2 -30
- data/lib/ftc_api_v3_client/models/api_v3_cs_remote_achievements_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_decode_achievements_detail.rb +2 -30
- data/lib/ftc_api_v3_client/models/api_v3_decode_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_division.rb +2 -30
- data/lib/ftc_api_v3_client/models/api_v3_double_elimination_series_description.rb +3 -30
- data/lib/ftc_api_v3_client/models/api_v3_event.rb +17 -120
- data/lib/ftc_api_v3_client/models/api_v3_event_live_stream.rb +3 -15
- data/lib/ftc_api_v3_client/models/api_v3_event_participant.rb +2 -15
- data/lib/ftc_api_v3_client/models/api_v3_ff_achievements_detail.rb +4 -60
- data/lib/ftc_api_v3_client/models/api_v3_ff_remote_achievements_detail.rb +2 -30
- data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_remote_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_into_the_deep_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_itd_achievements_detail.rb +4 -60
- data/lib/ftc_api_v3_client/models/api_v3_league.rb +4 -30
- data/lib/ftc_api_v3_client/models/api_v3_league_details.rb +4 -30
- data/lib/ftc_api_v3_client/models/api_v3_pit_map_element.rb +6 -0
- data/lib/ftc_api_v3_client/models/api_v3_playoff_alliance.rb +2 -0
- data/lib/ftc_api_v3_client/models/api_v3_playoff_series_description.rb +2 -30
- 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 +2 -0
- data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_achievements_detail.rb +1 -0
- data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_power_play_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_region.rb +2 -30
- 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 +3 -45
- data/lib/ftc_api_v3_client/models/api_v3_series_alliance_description.rb +2 -30
- data/lib/ftc_api_v3_client/models/api_v3_simple_event.rb +15 -120
- data/lib/ftc_api_v3_client/models/api_v3_simple_team.rb +3 -45
- data/lib/ftc_api_v3_client/models/api_v3_single_award_recipient.rb +4 -30
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match.rb +8 -60
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match_details.rb +8 -60
- data/lib/ftc_api_v3_client/models/api_v3_skystone_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_team.rb +9 -60
- data/lib/ftc_api_v3_client/models/api_v3_team_avatar.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_team_history.rb +7 -60
- data/lib/ftc_api_v3_client/models/api_v3_ug_achievements_detail.rb +2 -30
- data/lib/ftc_api_v3_client/models/api_v3_ug_remote_achievements_detail.rb +2 -30
- data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_remote_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/version.rb +1 -1
- data/update.sh +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c6f6dae10dfb972e22ec17aa92461745f53918540ef2599d6d28c472b40f96a6
|
|
4
|
+
data.tar.gz: 0e8cefdab53cedb14aaac17aa8f5537277a99263f2eea6495024bbfb310f4a0f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
58
|
+
gem 'ftc_api_v3_client', '~> 0.1.2'
|
|
59
59
|
|
|
60
60
|
### Install from Git
|
|
61
61
|
|
data/config.json
CHANGED
|
Binary file
|
|
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,22 +351,10 @@ 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"
|
|
409
|
-
end
|
|
410
358
|
# verify the required parameter 'number' is set
|
|
411
359
|
if @api_client.config.client_side_validation && number.nil?
|
|
412
360
|
fail ArgumentError, "Missing the required parameter 'number' when calling EventsApi.get_event_match"
|
|
@@ -472,14 +420,6 @@ module FtcApiV3Client
|
|
|
472
420
|
if @api_client.config.debugging
|
|
473
421
|
@api_client.config.logger.debug 'Calling API: EventsApi.get_event_pit_map ...'
|
|
474
422
|
end
|
|
475
|
-
# verify the required parameter 'cmp_year' is set
|
|
476
|
-
if @api_client.config.client_side_validation && cmp_year.nil?
|
|
477
|
-
fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.get_event_pit_map"
|
|
478
|
-
end
|
|
479
|
-
# verify the required parameter 'event_code' is set
|
|
480
|
-
if @api_client.config.client_side_validation && event_code.nil?
|
|
481
|
-
fail ArgumentError, "Missing the required parameter 'event_code' when calling EventsApi.get_event_pit_map"
|
|
482
|
-
end
|
|
483
423
|
# resource path
|
|
484
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))
|
|
485
425
|
|
|
@@ -541,14 +481,6 @@ module FtcApiV3Client
|
|
|
541
481
|
if @api_client.config.debugging
|
|
542
482
|
@api_client.config.logger.debug 'Calling API: EventsApi.get_event_playoff_rankings ...'
|
|
543
483
|
end
|
|
544
|
-
# verify the required parameter 'cmp_year' is set
|
|
545
|
-
if @api_client.config.client_side_validation && cmp_year.nil?
|
|
546
|
-
fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.get_event_playoff_rankings"
|
|
547
|
-
end
|
|
548
|
-
# verify the required parameter 'event_code' is set
|
|
549
|
-
if @api_client.config.client_side_validation && event_code.nil?
|
|
550
|
-
fail ArgumentError, "Missing the required parameter 'event_code' when calling EventsApi.get_event_playoff_rankings"
|
|
551
|
-
end
|
|
552
484
|
# resource path
|
|
553
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))
|
|
554
486
|
|
|
@@ -610,14 +542,6 @@ module FtcApiV3Client
|
|
|
610
542
|
if @api_client.config.debugging
|
|
611
543
|
@api_client.config.logger.debug 'Calling API: EventsApi.get_event_playoff_structure ...'
|
|
612
544
|
end
|
|
613
|
-
# verify the required parameter 'cmp_year' is set
|
|
614
|
-
if @api_client.config.client_side_validation && cmp_year.nil?
|
|
615
|
-
fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.get_event_playoff_structure"
|
|
616
|
-
end
|
|
617
|
-
# verify the required parameter 'event_code' is set
|
|
618
|
-
if @api_client.config.client_side_validation && event_code.nil?
|
|
619
|
-
fail ArgumentError, "Missing the required parameter 'event_code' when calling EventsApi.get_event_playoff_structure"
|
|
620
|
-
end
|
|
621
545
|
# resource path
|
|
622
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))
|
|
623
547
|
|
|
@@ -679,14 +603,6 @@ module FtcApiV3Client
|
|
|
679
603
|
if @api_client.config.debugging
|
|
680
604
|
@api_client.config.logger.debug 'Calling API: EventsApi.get_event_rankings ...'
|
|
681
605
|
end
|
|
682
|
-
# verify the required parameter 'cmp_year' is set
|
|
683
|
-
if @api_client.config.client_side_validation && cmp_year.nil?
|
|
684
|
-
fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.get_event_rankings"
|
|
685
|
-
end
|
|
686
|
-
# verify the required parameter 'event_code' is set
|
|
687
|
-
if @api_client.config.client_side_validation && event_code.nil?
|
|
688
|
-
fail ArgumentError, "Missing the required parameter 'event_code' when calling EventsApi.get_event_rankings"
|
|
689
|
-
end
|
|
690
606
|
# resource path
|
|
691
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))
|
|
692
608
|
|
|
@@ -750,14 +666,6 @@ module FtcApiV3Client
|
|
|
750
666
|
if @api_client.config.debugging
|
|
751
667
|
@api_client.config.logger.debug 'Calling API: EventsApi.list_event_matches ...'
|
|
752
668
|
end
|
|
753
|
-
# verify the required parameter 'cmp_year' is set
|
|
754
|
-
if @api_client.config.client_side_validation && cmp_year.nil?
|
|
755
|
-
fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.list_event_matches"
|
|
756
|
-
end
|
|
757
|
-
# verify the required parameter 'event_code' is set
|
|
758
|
-
if @api_client.config.client_side_validation && event_code.nil?
|
|
759
|
-
fail ArgumentError, "Missing the required parameter 'event_code' when calling EventsApi.list_event_matches"
|
|
760
|
-
end
|
|
761
669
|
# resource path
|
|
762
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))
|
|
763
671
|
|
|
@@ -820,14 +728,6 @@ module FtcApiV3Client
|
|
|
820
728
|
if @api_client.config.debugging
|
|
821
729
|
@api_client.config.logger.debug 'Calling API: EventsApi.list_event_teams ...'
|
|
822
730
|
end
|
|
823
|
-
# verify the required parameter 'cmp_year' is set
|
|
824
|
-
if @api_client.config.client_side_validation && cmp_year.nil?
|
|
825
|
-
fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.list_event_teams"
|
|
826
|
-
end
|
|
827
|
-
# verify the required parameter 'event_code' is set
|
|
828
|
-
if @api_client.config.client_side_validation && event_code.nil?
|
|
829
|
-
fail ArgumentError, "Missing the required parameter 'event_code' when calling EventsApi.list_event_teams"
|
|
830
|
-
end
|
|
831
731
|
# resource path
|
|
832
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))
|
|
833
733
|
|
|
@@ -887,10 +787,6 @@ module FtcApiV3Client
|
|
|
887
787
|
if @api_client.config.debugging
|
|
888
788
|
@api_client.config.logger.debug 'Calling API: EventsApi.list_events ...'
|
|
889
789
|
end
|
|
890
|
-
# verify the required parameter 'cmp_year' is set
|
|
891
|
-
if @api_client.config.client_side_validation && cmp_year.nil?
|
|
892
|
-
fail ArgumentError, "Missing the required parameter 'cmp_year' when calling EventsApi.list_events"
|
|
893
|
-
end
|
|
894
790
|
# resource path
|
|
895
791
|
local_var_path = '/api/v3/seasons/{cmpYear}/events'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s))
|
|
896
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
|
|
|
@@ -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)
|
|
@@ -123,6 +123,14 @@ module FtcApiV3Client
|
|
|
123
123
|
# List of attributes with nullable: true
|
|
124
124
|
def self.openapi_nullable
|
|
125
125
|
Set.new([
|
|
126
|
+
:'type',
|
|
127
|
+
:'short_name',
|
|
128
|
+
:'tournament_level',
|
|
129
|
+
:'scheduled_start_time',
|
|
130
|
+
:'start_time',
|
|
131
|
+
:'post_time',
|
|
132
|
+
:'display_name',
|
|
133
|
+
:'commit_time',
|
|
126
134
|
])
|
|
127
135
|
end
|
|
128
136
|
|
|
@@ -220,26 +228,10 @@ module FtcApiV3Client
|
|
|
220
228
|
def list_invalid_properties
|
|
221
229
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
222
230
|
invalid_properties = Array.new
|
|
223
|
-
if @type.nil?
|
|
224
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
|
225
|
-
end
|
|
226
|
-
|
|
227
|
-
if @short_name.nil?
|
|
228
|
-
invalid_properties.push('invalid value for "short_name", short_name cannot be nil.')
|
|
229
|
-
end
|
|
230
|
-
|
|
231
231
|
if @field.nil?
|
|
232
232
|
invalid_properties.push('invalid value for "field", field cannot be nil.')
|
|
233
233
|
end
|
|
234
234
|
|
|
235
|
-
if @tournament_level.nil?
|
|
236
|
-
invalid_properties.push('invalid value for "tournament_level", tournament_level cannot be nil.')
|
|
237
|
-
end
|
|
238
|
-
|
|
239
|
-
if @display_name.nil?
|
|
240
|
-
invalid_properties.push('invalid value for "display_name", display_name cannot be nil.')
|
|
241
|
-
end
|
|
242
|
-
|
|
243
235
|
if @series.nil?
|
|
244
236
|
invalid_properties.push('invalid value for "series", series cannot be nil.')
|
|
245
237
|
end
|
|
@@ -259,37 +251,13 @@ module FtcApiV3Client
|
|
|
259
251
|
# @return true if the model is valid
|
|
260
252
|
def valid?
|
|
261
253
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
262
|
-
return false if @type.nil?
|
|
263
|
-
return false if @short_name.nil?
|
|
264
254
|
return false if @field.nil?
|
|
265
|
-
return false if @tournament_level.nil?
|
|
266
|
-
return false if @display_name.nil?
|
|
267
255
|
return false if @series.nil?
|
|
268
256
|
return false if @number.nil?
|
|
269
257
|
return false if @teams.nil?
|
|
270
258
|
true
|
|
271
259
|
end
|
|
272
260
|
|
|
273
|
-
# Custom attribute writer method with validation
|
|
274
|
-
# @param [Object] type Value to be assigned
|
|
275
|
-
def type=(type)
|
|
276
|
-
if type.nil?
|
|
277
|
-
fail ArgumentError, 'type cannot be nil'
|
|
278
|
-
end
|
|
279
|
-
|
|
280
|
-
@type = type
|
|
281
|
-
end
|
|
282
|
-
|
|
283
|
-
# Custom attribute writer method with validation
|
|
284
|
-
# @param [Object] short_name Value to be assigned
|
|
285
|
-
def short_name=(short_name)
|
|
286
|
-
if short_name.nil?
|
|
287
|
-
fail ArgumentError, 'short_name cannot be nil'
|
|
288
|
-
end
|
|
289
|
-
|
|
290
|
-
@short_name = short_name
|
|
291
|
-
end
|
|
292
|
-
|
|
293
261
|
# Custom attribute writer method with validation
|
|
294
262
|
# @param [Object] field Value to be assigned
|
|
295
263
|
def field=(field)
|
|
@@ -300,26 +268,6 @@ module FtcApiV3Client
|
|
|
300
268
|
@field = field
|
|
301
269
|
end
|
|
302
270
|
|
|
303
|
-
# Custom attribute writer method with validation
|
|
304
|
-
# @param [Object] tournament_level Value to be assigned
|
|
305
|
-
def tournament_level=(tournament_level)
|
|
306
|
-
if tournament_level.nil?
|
|
307
|
-
fail ArgumentError, 'tournament_level cannot be nil'
|
|
308
|
-
end
|
|
309
|
-
|
|
310
|
-
@tournament_level = tournament_level
|
|
311
|
-
end
|
|
312
|
-
|
|
313
|
-
# Custom attribute writer method with validation
|
|
314
|
-
# @param [Object] display_name Value to be assigned
|
|
315
|
-
def display_name=(display_name)
|
|
316
|
-
if display_name.nil?
|
|
317
|
-
fail ArgumentError, 'display_name cannot be nil'
|
|
318
|
-
end
|
|
319
|
-
|
|
320
|
-
@display_name = display_name
|
|
321
|
-
end
|
|
322
|
-
|
|
323
271
|
# Custom attribute writer method with validation
|
|
324
272
|
# @param [Object] series Value to be assigned
|
|
325
273
|
def series=(series)
|