ftc_events_client 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +351 -101
  3. data/Rakefile +0 -2
  4. data/config.json +1 -1
  5. data/docs/AllianceModelVersion2.md +10 -28
  6. data/docs/AllianceScore2020.md +37 -82
  7. data/docs/AllianceSelectionApi.md +14 -14
  8. data/docs/AllianceSelectionModelVersion2.md +4 -16
  9. data/docs/ApiIndexModel.md +11 -30
  10. data/docs/AutoNavigatedStatus.md +6 -0
  11. data/docs/AwardAssignmentModel.md +13 -34
  12. data/docs/AwardsApi.md +47 -49
  13. data/docs/AwardsModel.md +3 -14
  14. data/docs/BarcodeElement.md +6 -0
  15. data/docs/EndgameParkedStatus.md +6 -0
  16. data/docs/EventMatchResultsModelVersion2.md +3 -14
  17. data/docs/EventRankingsModel.md +3 -14
  18. data/docs/EventScheduleHybridModelVersion2.md +3 -14
  19. data/docs/EventScheduleModelVersion2.md +3 -14
  20. data/docs/FTCEventLevel.md +6 -0
  21. data/docs/GeneralApi.md +9 -11
  22. data/docs/LeagueMemberListModel.md +7 -0
  23. data/docs/LeaguesApi.md +179 -0
  24. data/docs/MatchResultModelVersion2.md +16 -40
  25. data/docs/MatchResultTeamModelVersion2.md +6 -18
  26. data/docs/MatchResultsApi.md +33 -35
  27. data/docs/MatchScoresModel.md +3 -14
  28. data/docs/MatchScoresModelMatchScoresOneOf.md +5 -1
  29. data/docs/OneOfMatchScoresModelMatchScoresItems.md +6 -0
  30. data/docs/RankingsApi.md +16 -17
  31. data/docs/ScheduleApi.md +30 -32
  32. data/docs/ScheduleHybridModelTeamVersion2.md +8 -22
  33. data/docs/ScheduleHybridModelVersion2.md +18 -40
  34. data/docs/ScheduledMatchModelVersion2.md +10 -28
  35. data/docs/ScheduledMatchTeamModelVersion2.md +6 -20
  36. data/docs/ScoreDetailAllianceModel2020.md +39 -86
  37. data/docs/ScoreDetailAllianceModel2021.md +48 -0
  38. data/docs/ScoreDetailModel2019.md +6 -18
  39. data/docs/ScoreDetailModel2020.md +6 -18
  40. data/docs/ScoreDetailModel2021.md +10 -0
  41. data/docs/ScoreDetailModelAlliance2019.md +36 -80
  42. data/docs/ScoreDetailModelSinglePlayer2020.md +6 -20
  43. data/docs/ScoreDetailModelSinglePlayer2021.md +10 -0
  44. data/docs/ScoreDetailSinglePlayer2021.md +39 -0
  45. data/docs/SeasonAwardListingsModel.md +3 -14
  46. data/docs/SeasonAwardsModel.md +6 -20
  47. data/docs/SeasonDataApi.md +35 -37
  48. data/docs/SeasonEventListingsModelVersion2.md +4 -16
  49. data/docs/SeasonEventModelVersion2.md +24 -46
  50. data/docs/SeasonLeagueListingsModelVersion2.md +8 -0
  51. data/docs/SeasonLeagueModelVersion2.md +11 -0
  52. data/docs/SeasonSummaryModelChampionship.md +5 -18
  53. data/docs/SeasonSummaryModelVersion2.md +8 -24
  54. data/docs/SeasonTeamListingsModelVersion2.md +7 -22
  55. data/docs/SeasonTeamModelVersion2.md +14 -36
  56. data/docs/Stone.md +2 -11
  57. data/docs/TeamRankingModel.md +17 -42
  58. data/ftc_events_client.gemspec +5 -5
  59. data/git_push.sh +7 -10
  60. data/lib/ftc_events_client/api/alliance_selection_api.rb +17 -22
  61. data/lib/ftc_events_client/api/awards_api.rb +52 -74
  62. data/lib/ftc_events_client/api/general_api.rb +8 -17
  63. data/lib/ftc_events_client/api/leagues_api.rb +218 -0
  64. data/lib/ftc_events_client/api/match_results_api.rb +44 -45
  65. data/lib/ftc_events_client/api/rankings_api.rb +17 -22
  66. data/lib/ftc_events_client/api/schedule_api.rb +44 -45
  67. data/lib/ftc_events_client/api/season_data_api.rb +30 -53
  68. data/lib/ftc_events_client/api_client.rb +52 -54
  69. data/lib/ftc_events_client/api_error.rb +4 -4
  70. data/lib/ftc_events_client/configuration.rb +6 -76
  71. data/lib/ftc_events_client/models/alliance_model_version2.rb +19 -31
  72. data/lib/ftc_events_client/models/{alliance_score2020.rb → alliance_score_2020.rb} +46 -58
  73. data/lib/ftc_events_client/models/alliance_selection_model_version2.rb +13 -25
  74. data/lib/ftc_events_client/models/api_index_model.rb +20 -32
  75. data/lib/ftc_events_client/models/{tournament_level.rb → auto_navigated_status.rb} +11 -21
  76. data/lib/ftc_events_client/models/award_assignment_model.rb +22 -34
  77. data/lib/ftc_events_client/models/awards_model.rb +12 -24
  78. data/lib/ftc_events_client/models/barcode_element.rb +28 -0
  79. data/lib/ftc_events_client/models/endgame_parked_status.rb +29 -0
  80. data/lib/ftc_events_client/models/event_match_results_model_version2.rb +12 -24
  81. data/lib/ftc_events_client/models/event_rankings_model.rb +12 -24
  82. data/lib/ftc_events_client/models/event_schedule_hybrid_model_version2.rb +12 -24
  83. data/lib/ftc_events_client/models/event_schedule_model_version2.rb +12 -24
  84. data/lib/ftc_events_client/models/ftc_event_level.rb +31 -0
  85. data/lib/ftc_events_client/models/league_member_list_model.rb +209 -0
  86. data/lib/ftc_events_client/models/match_result_model_version2.rb +25 -37
  87. data/lib/ftc_events_client/models/match_result_team_model_version2.rb +26 -29
  88. data/lib/ftc_events_client/models/match_scores_model.rb +12 -24
  89. data/lib/ftc_events_client/models/one_of_match_scores_model_match_scores_items.rb +197 -0
  90. data/lib/ftc_events_client/models/schedule_hybrid_model_team_version2.rb +30 -32
  91. data/lib/ftc_events_client/models/schedule_hybrid_model_version2.rb +46 -38
  92. data/lib/ftc_events_client/models/scheduled_match_model_version2.rb +19 -31
  93. data/lib/ftc_events_client/models/scheduled_match_team_model_version2.rb +15 -27
  94. data/lib/ftc_events_client/models/{score_detail_alliance_model2020.rb → score_detail_alliance_model_2020.rb} +48 -60
  95. data/lib/ftc_events_client/models/score_detail_alliance_model_2021.rb +576 -0
  96. data/lib/ftc_events_client/models/{score_detail_model2019.rb → score_detail_model_2019.rb} +24 -27
  97. data/lib/ftc_events_client/models/{score_detail_model2020.rb → score_detail_model_2020.rb} +24 -27
  98. data/lib/ftc_events_client/models/score_detail_model_2021.rb +236 -0
  99. data/lib/ftc_events_client/models/{score_detail_model_alliance2019.rb → score_detail_model_alliance_2019.rb} +45 -57
  100. data/lib/ftc_events_client/models/{score_detail_model_single_player2020.rb → score_detail_model_single_player_2020.rb} +15 -27
  101. data/lib/ftc_events_client/models/score_detail_model_single_player_2021.rb +233 -0
  102. data/lib/ftc_events_client/models/score_detail_single_player_2021.rb +494 -0
  103. data/lib/ftc_events_client/models/season_award_listings_model.rb +12 -24
  104. data/lib/ftc_events_client/models/season_awards_model.rb +22 -34
  105. data/lib/ftc_events_client/models/season_event_listings_model_version2.rb +13 -25
  106. data/lib/ftc_events_client/models/season_event_model_version2.rb +77 -41
  107. data/lib/ftc_events_client/models/season_league_listings_model_version2.rb +218 -0
  108. data/lib/ftc_events_client/models/season_league_model_version2.rb +247 -0
  109. data/lib/ftc_events_client/models/season_summary_model_championship.rb +14 -26
  110. data/lib/ftc_events_client/models/season_summary_model_version2.rb +17 -29
  111. data/lib/ftc_events_client/models/season_team_listings_model_version2.rb +16 -28
  112. data/lib/ftc_events_client/models/season_team_model_version2.rb +23 -35
  113. data/lib/ftc_events_client/models/stone.rb +6 -15
  114. data/lib/ftc_events_client/models/team_ranking_model.rb +26 -38
  115. data/lib/ftc_events_client/version.rb +4 -5
  116. data/lib/ftc_events_client.rb +22 -12
  117. data/spec/api/leagues_api_spec.rb +77 -0
  118. data/spec/base_object_spec.rb +109 -0
  119. data/spec/configuration_spec.rb +3 -3
  120. data/spec/models/alliance_score_2020_spec.rb +244 -0
  121. data/spec/models/auto_navigated_status_spec.rb +28 -0
  122. data/spec/models/barcode_element_spec.rb +28 -0
  123. data/spec/models/endgame_parked_status_spec.rb +28 -0
  124. data/spec/models/ftc_event_level_spec.rb +28 -0
  125. data/spec/models/league_member_list_model_spec.rb +34 -0
  126. data/spec/models/one_of_match_scores_model_match_scores_items_spec.rb +34 -0
  127. data/spec/models/score_detail_alliance_model2021_spec.rb +280 -0
  128. data/spec/models/score_detail_alliance_model_2020_spec.rb +256 -0
  129. data/spec/models/score_detail_alliance_model_2021_spec.rb +286 -0
  130. data/spec/models/score_detail_model2021_spec.rb +52 -0
  131. data/spec/models/score_detail_model_2019_spec.rb +58 -0
  132. data/spec/models/score_detail_model_2020_spec.rb +58 -0
  133. data/spec/models/score_detail_model_2021_spec.rb +58 -0
  134. data/spec/models/score_detail_model_alliance_2019_spec.rb +238 -0
  135. data/spec/models/score_detail_model_single_player2021_spec.rb +52 -0
  136. data/spec/models/score_detail_model_single_player_2020_spec.rb +58 -0
  137. data/spec/models/score_detail_model_single_player_2021_spec.rb +58 -0
  138. data/spec/models/score_detail_single_player2021_spec.rb +226 -0
  139. data/spec/models/score_detail_single_player_2021_spec.rb +232 -0
  140. data/spec/models/season_league_listings_model_version2_spec.rb +40 -0
  141. data/{lib/ftc_events_client/models/match_scores_model_match_scores_one_of.rb → spec/models/season_league_model_version2_spec.rb} +35 -83
  142. data/update.sh +2 -2
  143. metadata +103 -11
@@ -10,96 +10,48 @@ OpenAPI Generator version: 5.0.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
13
+ require 'spec_helper'
14
+ require 'json'
13
15
  require 'date'
14
- require 'time'
15
16
 
16
- module FtcEventsClient
17
- module MatchScoresModelMatchScoresOneOf
18
- class << self
19
- # List of class defined in oneOf (OpenAPI v3)
20
- def openapi_one_of
21
- [
22
- :'ScoreDetailModel2019',
23
- :'ScoreDetailModel2020',
24
- :'ScoreDetailModelSinglePlayer2020'
25
- ]
26
- end
17
+ # Unit tests for FtcEventsClient::SeasonLeagueModelVersion2
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FtcEventsClient::SeasonLeagueModelVersion2 do
21
+ let(:instance) { FtcEventsClient::SeasonLeagueModelVersion2.new }
27
22
 
28
- # Builds the object
29
- # @param [Mixed] Data to be matched against the list of oneOf items
30
- # @return [Object] Returns the model or the data itself
31
- def build(data)
32
- # Go through the list of oneOf items and attempt to identify the appropriate one.
33
- # Note:
34
- # - We do not attempt to check whether exactly one item matches.
35
- # - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
36
- # due to the way the deserialization is made in the base_object template (it just casts without verifying).
37
- # - TODO: scalar values are defacto behaving as if they were nullable.
38
- # - TODO: logging when debugging is set.
39
- openapi_one_of.each do |klass|
40
- begin
41
- next if klass == :AnyType # "nullable: true"
42
- typed_data = find_and_cast_into_type(klass, data)
43
- return typed_data if typed_data
44
- rescue # rescue all errors so we keep iterating even if the current item lookup raises
45
- end
46
- end
47
-
48
- openapi_one_of.include?(:AnyType) ? data : nil
49
- end
50
-
51
- private
23
+ describe 'test an instance of SeasonLeagueModelVersion2' do
24
+ it 'should create an instance of SeasonLeagueModelVersion2' do
25
+ expect(instance).to be_instance_of(FtcEventsClient::SeasonLeagueModelVersion2)
26
+ end
27
+ end
28
+ describe 'test attribute "region"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
52
33
 
53
- SchemaMismatchError = Class.new(StandardError)
34
+ describe 'test attribute "code"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
54
39
 
55
- # Note: 'File' is missing here because in the regular case we get the data _after_ a call to JSON.parse.
56
- def find_and_cast_into_type(klass, data)
57
- return if data.nil?
40
+ describe 'test attribute "name"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
58
45
 
59
- case klass.to_s
60
- when 'Boolean'
61
- return data if data.instance_of?(TrueClass) || data.instance_of?(FalseClass)
62
- when 'Float'
63
- return data if data.instance_of?(Float)
64
- when 'Integer'
65
- return data if data.instance_of?(Integer)
66
- when 'Time'
67
- return Time.parse(data)
68
- when 'Date'
69
- return Date.parse(data)
70
- when 'String'
71
- return data if data.instance_of?(String)
72
- when 'Object' # "type: object"
73
- return data if data.instance_of?(Hash)
74
- when /\AArray<(?<sub_type>.+)>\z/ # "type: array"
75
- if data.instance_of?(Array)
76
- sub_type = Regexp.last_match[:sub_type]
77
- return data.map { |item| find_and_cast_into_type(sub_type, item) }
78
- end
79
- when /\AHash<String, (?<sub_type>.+)>\z/ # "type: object" with "additionalProperties: { ... }"
80
- if data.instance_of?(Hash) && data.keys.all? { |k| k.instance_of?(Symbol) || k.instance_of?(String) }
81
- sub_type = Regexp.last_match[:sub_type]
82
- return data.each_with_object({}) { |(k, v), hsh| hsh[k] = find_and_cast_into_type(sub_type, v) }
83
- end
84
- else # model
85
- const = FtcEventsClient.const_get(klass)
86
- if const
87
- if const.respond_to?(:openapi_one_of) # nested oneOf model
88
- model = const.build(data)
89
- return model if model
90
- else
91
- # raise if data contains keys that are not known to the model
92
- raise unless (data.keys - const.acceptable_attributes).empty?
93
- model = const.build_from_hash(data)
94
- return model if model && model.valid?
95
- end
96
- end
97
- end
46
+ describe 'test attribute "parent_league_code"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
98
51
 
99
- raise # if no match by now, raise
100
- rescue
101
- raise SchemaMismatchError, "#{data} doesn't match the #{klass} type"
102
- end
52
+ describe 'test attribute "location"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
103
55
  end
104
56
  end
105
57
 
data/update.sh CHANGED
@@ -1,6 +1,6 @@
1
- java -jar /Users/jburroughs/.m2/repository/org/openapitools/openapi-generator-cli/5.0.0-SNAPSHOT/openapi-generator-cli-5.0.0-SNAPSHOT.jar generate -i https://ftc-events.firstinspires.org/swagger/v2.0/swagger.json -g ruby -c config.json
1
+ # java -jar /Users/jburroughs/.m2/repository/org/openapitools/openapi-generator-cli/5.0.0-SNAPSHOT/openapi-generator-cli-5.0.0-SNAPSHOT.jar generate -i https://ftc-events.firstinspires.org/swagger/v2.0/swagger.json -g ruby -c config.json
2
2
  # curl https://localhost:5001/swagger/v2.0/swagger.json > apispec.json
3
- # swagger-codegen-cli generate -i apispec.json -l ruby -c config.json
3
+ swagger-codegen generate -i https://ftc-events.firstinspires.org/swagger/v2.0/swagger.json -l ruby -c config.json
4
4
  # rm apispec.json
5
5
 
6
6
  sed "s/@scheme = 'http'/@scheme = 'https'/g" lib/ftc_events_client/configuration.rb > .tmpsedfile && mv .tmpsedfile lib/ftc_events_client/configuration.rb
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ftc_events_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
- - OpenAPI-Generator
7
+ - Swagger-Codegen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-02 00:00:00.000000000 Z
11
+ date: 2021-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -30,6 +30,26 @@ dependencies:
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.0.1
33
+ - !ruby/object:Gem::Dependency
34
+ name: json
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '2.1'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 2.1.0
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '2.1'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 2.1.0
33
53
  - !ruby/object:Gem::Dependency
34
54
  name: rspec
35
55
  requirement: !ruby/object:Gem::Requirement
@@ -66,19 +86,26 @@ files:
66
86
  - docs/AllianceSelectionApi.md
67
87
  - docs/AllianceSelectionModelVersion2.md
68
88
  - docs/ApiIndexModel.md
89
+ - docs/AutoNavigatedStatus.md
69
90
  - docs/AwardAssignmentModel.md
70
91
  - docs/AwardsApi.md
71
92
  - docs/AwardsModel.md
93
+ - docs/BarcodeElement.md
94
+ - docs/EndgameParkedStatus.md
72
95
  - docs/EventMatchResultsModelVersion2.md
73
96
  - docs/EventRankingsModel.md
74
97
  - docs/EventScheduleHybridModelVersion2.md
75
98
  - docs/EventScheduleModelVersion2.md
99
+ - docs/FTCEventLevel.md
76
100
  - docs/GeneralApi.md
101
+ - docs/LeagueMemberListModel.md
102
+ - docs/LeaguesApi.md
77
103
  - docs/MatchResultModelVersion2.md
78
104
  - docs/MatchResultTeamModelVersion2.md
79
105
  - docs/MatchResultsApi.md
80
106
  - docs/MatchScoresModel.md
81
107
  - docs/MatchScoresModelMatchScoresOneOf.md
108
+ - docs/OneOfMatchScoresModelMatchScoresItems.md
82
109
  - docs/RankingsApi.md
83
110
  - docs/ScheduleApi.md
84
111
  - docs/ScheduleHybridModelTeamVersion2.md
@@ -86,15 +113,21 @@ files:
86
113
  - docs/ScheduledMatchModelVersion2.md
87
114
  - docs/ScheduledMatchTeamModelVersion2.md
88
115
  - docs/ScoreDetailAllianceModel2020.md
116
+ - docs/ScoreDetailAllianceModel2021.md
89
117
  - docs/ScoreDetailModel2019.md
90
118
  - docs/ScoreDetailModel2020.md
119
+ - docs/ScoreDetailModel2021.md
91
120
  - docs/ScoreDetailModelAlliance2019.md
92
121
  - docs/ScoreDetailModelSinglePlayer2020.md
122
+ - docs/ScoreDetailModelSinglePlayer2021.md
123
+ - docs/ScoreDetailSinglePlayer2021.md
93
124
  - docs/SeasonAwardListingsModel.md
94
125
  - docs/SeasonAwardsModel.md
95
126
  - docs/SeasonDataApi.md
96
127
  - docs/SeasonEventListingsModelVersion2.md
97
128
  - docs/SeasonEventModelVersion2.md
129
+ - docs/SeasonLeagueListingsModelVersion2.md
130
+ - docs/SeasonLeagueModelVersion2.md
98
131
  - docs/SeasonSummaryModelChampionship.md
99
132
  - docs/SeasonSummaryModelVersion2.md
100
133
  - docs/SeasonTeamListingsModelVersion2.md
@@ -108,6 +141,7 @@ files:
108
141
  - lib/ftc_events_client/api/alliance_selection_api.rb
109
142
  - lib/ftc_events_client/api/awards_api.rb
110
143
  - lib/ftc_events_client/api/general_api.rb
144
+ - lib/ftc_events_client/api/leagues_api.rb
111
145
  - lib/ftc_events_client/api/match_results_api.rb
112
146
  - lib/ftc_events_client/api/rankings_api.rb
113
147
  - lib/ftc_events_client/api/schedule_api.rb
@@ -116,76 +150,110 @@ files:
116
150
  - lib/ftc_events_client/api_error.rb
117
151
  - lib/ftc_events_client/configuration.rb
118
152
  - lib/ftc_events_client/models/alliance_model_version2.rb
119
- - lib/ftc_events_client/models/alliance_score2020.rb
153
+ - lib/ftc_events_client/models/alliance_score_2020.rb
120
154
  - lib/ftc_events_client/models/alliance_selection_model_version2.rb
121
155
  - lib/ftc_events_client/models/api_index_model.rb
156
+ - lib/ftc_events_client/models/auto_navigated_status.rb
122
157
  - lib/ftc_events_client/models/award_assignment_model.rb
123
158
  - lib/ftc_events_client/models/awards_model.rb
159
+ - lib/ftc_events_client/models/barcode_element.rb
160
+ - lib/ftc_events_client/models/endgame_parked_status.rb
124
161
  - lib/ftc_events_client/models/event_match_results_model_version2.rb
125
162
  - lib/ftc_events_client/models/event_rankings_model.rb
126
163
  - lib/ftc_events_client/models/event_schedule_hybrid_model_version2.rb
127
164
  - lib/ftc_events_client/models/event_schedule_model_version2.rb
165
+ - lib/ftc_events_client/models/ftc_event_level.rb
166
+ - lib/ftc_events_client/models/league_member_list_model.rb
128
167
  - lib/ftc_events_client/models/match_result_model_version2.rb
129
168
  - lib/ftc_events_client/models/match_result_team_model_version2.rb
130
169
  - lib/ftc_events_client/models/match_scores_model.rb
131
- - lib/ftc_events_client/models/match_scores_model_match_scores_one_of.rb
170
+ - lib/ftc_events_client/models/one_of_match_scores_model_match_scores_items.rb
132
171
  - lib/ftc_events_client/models/schedule_hybrid_model_team_version2.rb
133
172
  - lib/ftc_events_client/models/schedule_hybrid_model_version2.rb
134
173
  - lib/ftc_events_client/models/scheduled_match_model_version2.rb
135
174
  - lib/ftc_events_client/models/scheduled_match_team_model_version2.rb
136
- - lib/ftc_events_client/models/score_detail_alliance_model2020.rb
137
- - lib/ftc_events_client/models/score_detail_model2019.rb
138
- - lib/ftc_events_client/models/score_detail_model2020.rb
139
- - lib/ftc_events_client/models/score_detail_model_alliance2019.rb
140
- - lib/ftc_events_client/models/score_detail_model_single_player2020.rb
175
+ - lib/ftc_events_client/models/score_detail_alliance_model_2020.rb
176
+ - lib/ftc_events_client/models/score_detail_alliance_model_2021.rb
177
+ - lib/ftc_events_client/models/score_detail_model_2019.rb
178
+ - lib/ftc_events_client/models/score_detail_model_2020.rb
179
+ - lib/ftc_events_client/models/score_detail_model_2021.rb
180
+ - lib/ftc_events_client/models/score_detail_model_alliance_2019.rb
181
+ - lib/ftc_events_client/models/score_detail_model_single_player_2020.rb
182
+ - lib/ftc_events_client/models/score_detail_model_single_player_2021.rb
183
+ - lib/ftc_events_client/models/score_detail_single_player_2021.rb
141
184
  - lib/ftc_events_client/models/season_award_listings_model.rb
142
185
  - lib/ftc_events_client/models/season_awards_model.rb
143
186
  - lib/ftc_events_client/models/season_event_listings_model_version2.rb
144
187
  - lib/ftc_events_client/models/season_event_model_version2.rb
188
+ - lib/ftc_events_client/models/season_league_listings_model_version2.rb
189
+ - lib/ftc_events_client/models/season_league_model_version2.rb
145
190
  - lib/ftc_events_client/models/season_summary_model_championship.rb
146
191
  - lib/ftc_events_client/models/season_summary_model_version2.rb
147
192
  - lib/ftc_events_client/models/season_team_listings_model_version2.rb
148
193
  - lib/ftc_events_client/models/season_team_model_version2.rb
149
194
  - lib/ftc_events_client/models/stone.rb
150
195
  - lib/ftc_events_client/models/team_ranking_model.rb
151
- - lib/ftc_events_client/models/tournament_level.rb
152
196
  - lib/ftc_events_client/version.rb
153
197
  - spec/api/alliance_selection_api_spec.rb
154
198
  - spec/api/awards_api_spec.rb
155
199
  - spec/api/general_api_spec.rb
200
+ - spec/api/leagues_api_spec.rb
156
201
  - spec/api/match_results_api_spec.rb
157
202
  - spec/api/rankings_api_spec.rb
158
203
  - spec/api/schedule_api_spec.rb
159
204
  - spec/api/season_data_api_spec.rb
160
205
  - spec/api_client_spec.rb
206
+ - spec/base_object_spec.rb
161
207
  - spec/configuration_spec.rb
162
208
  - spec/models/alliance_model_version2_spec.rb
163
209
  - spec/models/alliance_score2020_spec.rb
210
+ - spec/models/alliance_score_2020_spec.rb
164
211
  - spec/models/alliance_selection_model_version2_spec.rb
165
212
  - spec/models/api_index_model_spec.rb
213
+ - spec/models/auto_navigated_status_spec.rb
166
214
  - spec/models/award_assignment_model_spec.rb
167
215
  - spec/models/awards_model_spec.rb
216
+ - spec/models/barcode_element_spec.rb
217
+ - spec/models/endgame_parked_status_spec.rb
168
218
  - spec/models/event_match_results_model_version2_spec.rb
169
219
  - spec/models/event_rankings_model_spec.rb
170
220
  - spec/models/event_schedule_hybrid_model_version2_spec.rb
171
221
  - spec/models/event_schedule_model_version2_spec.rb
222
+ - spec/models/ftc_event_level_spec.rb
223
+ - spec/models/league_member_list_model_spec.rb
172
224
  - spec/models/match_result_model_version2_spec.rb
173
225
  - spec/models/match_result_team_model_version2_spec.rb
174
226
  - spec/models/match_scores_model_match_scores_one_of_spec.rb
175
227
  - spec/models/match_scores_model_spec.rb
228
+ - spec/models/one_of_match_scores_model_match_scores_items_spec.rb
176
229
  - spec/models/schedule_hybrid_model_team_version2_spec.rb
177
230
  - spec/models/schedule_hybrid_model_version2_spec.rb
178
231
  - spec/models/scheduled_match_model_version2_spec.rb
179
232
  - spec/models/scheduled_match_team_model_version2_spec.rb
180
233
  - spec/models/score_detail_alliance_model2020_spec.rb
234
+ - spec/models/score_detail_alliance_model2021_spec.rb
235
+ - spec/models/score_detail_alliance_model_2020_spec.rb
236
+ - spec/models/score_detail_alliance_model_2021_spec.rb
181
237
  - spec/models/score_detail_model2019_spec.rb
182
238
  - spec/models/score_detail_model2020_spec.rb
239
+ - spec/models/score_detail_model2021_spec.rb
240
+ - spec/models/score_detail_model_2019_spec.rb
241
+ - spec/models/score_detail_model_2020_spec.rb
242
+ - spec/models/score_detail_model_2021_spec.rb
183
243
  - spec/models/score_detail_model_alliance2019_spec.rb
244
+ - spec/models/score_detail_model_alliance_2019_spec.rb
184
245
  - spec/models/score_detail_model_single_player2020_spec.rb
246
+ - spec/models/score_detail_model_single_player2021_spec.rb
247
+ - spec/models/score_detail_model_single_player_2020_spec.rb
248
+ - spec/models/score_detail_model_single_player_2021_spec.rb
249
+ - spec/models/score_detail_single_player2021_spec.rb
250
+ - spec/models/score_detail_single_player_2021_spec.rb
185
251
  - spec/models/season_award_listings_model_spec.rb
186
252
  - spec/models/season_awards_model_spec.rb
187
253
  - spec/models/season_event_listings_model_version2_spec.rb
188
254
  - spec/models/season_event_model_version2_spec.rb
255
+ - spec/models/season_league_listings_model_version2_spec.rb
256
+ - spec/models/season_league_model_version2_spec.rb
189
257
  - spec/models/season_summary_model_championship_spec.rb
190
258
  - spec/models/season_summary_model_version2_spec.rb
191
259
  - spec/models/season_team_listings_model_version2_spec.rb
@@ -222,23 +290,34 @@ test_files:
222
290
  - spec/api/awards_api_spec.rb
223
291
  - spec/api/season_data_api_spec.rb
224
292
  - spec/api/match_results_api_spec.rb
293
+ - spec/api/leagues_api_spec.rb
225
294
  - spec/api/general_api_spec.rb
226
295
  - spec/api/rankings_api_spec.rb
227
296
  - spec/api/alliance_selection_api_spec.rb
228
297
  - spec/api/schedule_api_spec.rb
229
298
  - spec/api_client_spec.rb
299
+ - spec/base_object_spec.rb
230
300
  - spec/configuration_spec.rb
231
301
  - spec/models/event_rankings_model_spec.rb
302
+ - spec/models/score_detail_model_alliance_2019_spec.rb
303
+ - spec/models/score_detail_model_single_player_2021_spec.rb
232
304
  - spec/models/season_team_listings_model_version2_spec.rb
233
305
  - spec/models/score_detail_alliance_model2020_spec.rb
234
306
  - spec/models/api_index_model_spec.rb
307
+ - spec/models/score_detail_single_player_2021_spec.rb
308
+ - spec/models/score_detail_model_single_player_2020_spec.rb
235
309
  - spec/models/score_detail_model_alliance2019_spec.rb
236
310
  - spec/models/scheduled_match_model_version2_spec.rb
311
+ - spec/models/score_detail_alliance_model2021_spec.rb
237
312
  - spec/models/alliance_selection_model_version2_spec.rb
313
+ - spec/models/score_detail_model_2019_spec.rb
238
314
  - spec/models/match_scores_model_spec.rb
315
+ - spec/models/endgame_parked_status_spec.rb
316
+ - spec/models/score_detail_alliance_model_2021_spec.rb
239
317
  - spec/models/match_result_team_model_version2_spec.rb
240
318
  - spec/models/season_summary_model_version2_spec.rb
241
319
  - spec/models/season_summary_model_championship_spec.rb
320
+ - spec/models/score_detail_model_single_player2021_spec.rb
242
321
  - spec/models/score_detail_model2019_spec.rb
243
322
  - spec/models/alliance_model_version2_spec.rb
244
323
  - spec/models/stone_spec.rb
@@ -247,19 +326,32 @@ test_files:
247
326
  - spec/models/season_award_listings_model_spec.rb
248
327
  - spec/models/score_detail_model_single_player2020_spec.rb
249
328
  - spec/models/team_ranking_model_spec.rb
329
+ - spec/models/score_detail_single_player2021_spec.rb
250
330
  - spec/models/alliance_score2020_spec.rb
331
+ - spec/models/score_detail_alliance_model_2020_spec.rb
251
332
  - spec/models/scheduled_match_team_model_version2_spec.rb
252
333
  - spec/models/season_event_listings_model_version2_spec.rb
334
+ - spec/models/alliance_score_2020_spec.rb
335
+ - spec/models/score_detail_model_2020_spec.rb
253
336
  - spec/models/season_event_model_version2_spec.rb
337
+ - spec/models/one_of_match_scores_model_match_scores_items_spec.rb
338
+ - spec/models/season_league_model_version2_spec.rb
254
339
  - spec/models/award_assignment_model_spec.rb
340
+ - spec/models/score_detail_model_2021_spec.rb
255
341
  - spec/models/event_schedule_model_version2_spec.rb
256
342
  - spec/models/match_scores_model_match_scores_one_of_spec.rb
343
+ - spec/models/ftc_event_level_spec.rb
344
+ - spec/models/score_detail_model2021_spec.rb
257
345
  - spec/models/schedule_hybrid_model_version2_spec.rb
346
+ - spec/models/barcode_element_spec.rb
347
+ - spec/models/auto_navigated_status_spec.rb
258
348
  - spec/models/tournament_level_spec.rb
259
349
  - spec/models/season_awards_model_spec.rb
350
+ - spec/models/league_member_list_model_spec.rb
260
351
  - spec/models/event_match_results_model_version2_spec.rb
261
352
  - spec/models/schedule_hybrid_model_team_version2_spec.rb
262
353
  - spec/models/event_schedule_hybrid_model_version2_spec.rb
263
354
  - spec/models/score_detail_model2020_spec.rb
355
+ - spec/models/season_league_listings_model_version2_spec.rb
264
356
  - spec/models/match_result_model_version2_spec.rb
265
357
  - spec/spec_helper.rb