ftc_events_client 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +236 -0
  4. data/Rakefile +10 -0
  5. data/config.json +8 -0
  6. data/docs/AllianceModelVersion2.md +32 -0
  7. data/docs/AllianceScore2020.md +86 -0
  8. data/docs/AllianceSelectionApi.md +62 -0
  9. data/docs/AllianceSelectionModelVersion2.md +20 -0
  10. data/docs/ApiIndexModel.md +34 -0
  11. data/docs/AwardAssignmentModel.md +38 -0
  12. data/docs/AwardsApi.md +235 -0
  13. data/docs/AwardsModel.md +18 -0
  14. data/docs/EventMatchResultsModelVersion2.md +18 -0
  15. data/docs/EventRankingsModel.md +18 -0
  16. data/docs/EventScheduleHybridModelVersion2.md +18 -0
  17. data/docs/EventScheduleModelVersion2.md +18 -0
  18. data/docs/GeneralApi.md +51 -0
  19. data/docs/MatchResultModelVersion2.md +44 -0
  20. data/docs/MatchResultTeamModelVersion2.md +22 -0
  21. data/docs/MatchResultsApi.md +141 -0
  22. data/docs/MatchScoresModel.md +18 -0
  23. data/docs/MatchScoresModelMatchScoresOneOf.md +51 -0
  24. data/docs/RankingsApi.md +68 -0
  25. data/docs/ScheduleApi.md +135 -0
  26. data/docs/ScheduleHybridModelTeamVersion2.md +26 -0
  27. data/docs/ScheduleHybridModelVersion2.md +44 -0
  28. data/docs/ScheduledMatchModelVersion2.md +32 -0
  29. data/docs/ScheduledMatchTeamModelVersion2.md +24 -0
  30. data/docs/ScoreDetailAllianceModel2020.md +90 -0
  31. data/docs/ScoreDetailModel2019.md +22 -0
  32. data/docs/ScoreDetailModel2020.md +22 -0
  33. data/docs/ScoreDetailModelAlliance2019.md +84 -0
  34. data/docs/ScoreDetailModelSinglePlayer2020.md +24 -0
  35. data/docs/SeasonAwardListingsModel.md +18 -0
  36. data/docs/SeasonAwardsModel.md +24 -0
  37. data/docs/SeasonDataApi.md +182 -0
  38. data/docs/SeasonEventListingsModelVersion2.md +20 -0
  39. data/docs/SeasonEventModelVersion2.md +50 -0
  40. data/docs/SeasonSummaryModelChampionship.md +22 -0
  41. data/docs/SeasonSummaryModelVersion2.md +28 -0
  42. data/docs/SeasonTeamListingsModelVersion2.md +26 -0
  43. data/docs/SeasonTeamModelVersion2.md +40 -0
  44. data/docs/Stone.md +15 -0
  45. data/docs/TeamRankingModel.md +46 -0
  46. data/docs/TournamentLevel.md +15 -0
  47. data/ftc_events_client.gemspec +38 -0
  48. data/git_push.sh +58 -0
  49. data/lib/ftc_events_client.rb +80 -0
  50. data/lib/ftc_events_client/api/alliance_selection_api.rb +87 -0
  51. data/lib/ftc_events_client/api/awards_api.rb +296 -0
  52. data/lib/ftc_events_client/api/general_api.rb +79 -0
  53. data/lib/ftc_events_client/api/match_results_api.rb +185 -0
  54. data/lib/ftc_events_client/api/rankings_api.rb +93 -0
  55. data/lib/ftc_events_client/api/schedule_api.rb +176 -0
  56. data/lib/ftc_events_client/api/season_data_api.rb +229 -0
  57. data/lib/ftc_events_client/api_client.rb +390 -0
  58. data/lib/ftc_events_client/api_error.rb +57 -0
  59. data/lib/ftc_events_client/configuration.rb +275 -0
  60. data/lib/ftc_events_client/models/alliance_model_version2.rb +288 -0
  61. data/lib/ftc_events_client/models/alliance_score2020.rb +524 -0
  62. data/lib/ftc_events_client/models/alliance_selection_model_version2.rb +230 -0
  63. data/lib/ftc_events_client/models/api_index_model.rb +301 -0
  64. data/lib/ftc_events_client/models/award_assignment_model.rb +317 -0
  65. data/lib/ftc_events_client/models/awards_model.rb +221 -0
  66. data/lib/ftc_events_client/models/event_match_results_model_version2.rb +221 -0
  67. data/lib/ftc_events_client/models/event_rankings_model.rb +221 -0
  68. data/lib/ftc_events_client/models/event_schedule_hybrid_model_version2.rb +221 -0
  69. data/lib/ftc_events_client/models/event_schedule_model_version2.rb +221 -0
  70. data/lib/ftc_events_client/models/match_result_model_version2.rb +343 -0
  71. data/lib/ftc_events_client/models/match_result_team_model_version2.rb +237 -0
  72. data/lib/ftc_events_client/models/match_scores_model.rb +221 -0
  73. data/lib/ftc_events_client/models/match_scores_model_match_scores_one_of.rb +106 -0
  74. data/lib/ftc_events_client/models/schedule_hybrid_model_team_version2.rb +257 -0
  75. data/lib/ftc_events_client/models/schedule_hybrid_model_version2.rb +349 -0
  76. data/lib/ftc_events_client/models/scheduled_match_model_version2.rb +289 -0
  77. data/lib/ftc_events_client/models/scheduled_match_team_model_version2.rb +247 -0
  78. data/lib/ftc_events_client/models/score_detail_alliance_model2020.rb +543 -0
  79. data/lib/ftc_events_client/models/score_detail_model2019.rb +239 -0
  80. data/lib/ftc_events_client/models/score_detail_model2020.rb +239 -0
  81. data/lib/ftc_events_client/models/score_detail_model_alliance2019.rb +519 -0
  82. data/lib/ftc_events_client/models/score_detail_model_single_player2020.rb +245 -0
  83. data/lib/ftc_events_client/models/season_award_listings_model.rb +221 -0
  84. data/lib/ftc_events_client/models/season_awards_model.rb +247 -0
  85. data/lib/ftc_events_client/models/season_event_listings_model_version2.rb +230 -0
  86. data/lib/ftc_events_client/models/season_event_model_version2.rb +377 -0
  87. data/lib/ftc_events_client/models/season_summary_model_championship.rb +239 -0
  88. data/lib/ftc_events_client/models/season_summary_model_version2.rb +268 -0
  89. data/lib/ftc_events_client/models/season_team_listings_model_version2.rb +257 -0
  90. data/lib/ftc_events_client/models/season_team_model_version2.rb +328 -0
  91. data/lib/ftc_events_client/models/stone.rb +38 -0
  92. data/lib/ftc_events_client/models/team_ranking_model.rb +344 -0
  93. data/lib/ftc_events_client/models/tournament_level.rb +41 -0
  94. data/lib/ftc_events_client/version.rb +15 -0
  95. data/spec/api/alliance_selection_api_spec.rb +48 -0
  96. data/spec/api/awards_api_spec.rb +89 -0
  97. data/spec/api/general_api_spec.rb +46 -0
  98. data/spec/api/match_results_api_spec.rb +71 -0
  99. data/spec/api/rankings_api_spec.rb +50 -0
  100. data/spec/api/schedule_api_spec.rb +68 -0
  101. data/spec/api/season_data_api_spec.rb +77 -0
  102. data/spec/api_client_spec.rb +226 -0
  103. data/spec/configuration_spec.rb +42 -0
  104. data/spec/models/alliance_model_version2_spec.rb +76 -0
  105. data/spec/models/alliance_score2020_spec.rb +238 -0
  106. data/spec/models/alliance_selection_model_version2_spec.rb +40 -0
  107. data/spec/models/api_index_model_spec.rb +82 -0
  108. data/spec/models/award_assignment_model_spec.rb +94 -0
  109. data/spec/models/awards_model_spec.rb +34 -0
  110. data/spec/models/event_match_results_model_version2_spec.rb +34 -0
  111. data/spec/models/event_rankings_model_spec.rb +34 -0
  112. data/spec/models/event_schedule_hybrid_model_version2_spec.rb +34 -0
  113. data/spec/models/event_schedule_model_version2_spec.rb +34 -0
  114. data/spec/models/match_result_model_version2_spec.rb +112 -0
  115. data/spec/models/match_result_team_model_version2_spec.rb +46 -0
  116. data/spec/models/match_scores_model_match_scores_one_of_spec.rb +31 -0
  117. data/spec/models/match_scores_model_spec.rb +34 -0
  118. data/spec/models/schedule_hybrid_model_team_version2_spec.rb +58 -0
  119. data/spec/models/schedule_hybrid_model_version2_spec.rb +112 -0
  120. data/spec/models/scheduled_match_model_version2_spec.rb +76 -0
  121. data/spec/models/scheduled_match_team_model_version2_spec.rb +52 -0
  122. data/spec/models/score_detail_alliance_model2020_spec.rb +250 -0
  123. data/spec/models/score_detail_model2019_spec.rb +46 -0
  124. data/spec/models/score_detail_model2020_spec.rb +46 -0
  125. data/spec/models/score_detail_model_alliance2019_spec.rb +232 -0
  126. data/spec/models/score_detail_model_single_player2020_spec.rb +52 -0
  127. data/spec/models/season_award_listings_model_spec.rb +34 -0
  128. data/spec/models/season_awards_model_spec.rb +52 -0
  129. data/spec/models/season_event_listings_model_version2_spec.rb +40 -0
  130. data/spec/models/season_event_model_version2_spec.rb +130 -0
  131. data/spec/models/season_summary_model_championship_spec.rb +46 -0
  132. data/spec/models/season_summary_model_version2_spec.rb +64 -0
  133. data/spec/models/season_team_listings_model_version2_spec.rb +58 -0
  134. data/spec/models/season_team_model_version2_spec.rb +100 -0
  135. data/spec/models/stone_spec.rb +28 -0
  136. data/spec/models/team_ranking_model_spec.rb +118 -0
  137. data/spec/models/tournament_level_spec.rb +28 -0
  138. data/spec/spec_helper.rb +111 -0
  139. data/update.sh +8 -0
  140. metadata +265 -0
@@ -0,0 +1,20 @@
1
+ # FtcEventsClient::AllianceSelectionModelVersion2
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **alliances** | [**Array<AllianceModelVersion2>**](AllianceModelVersion2.md) | | [optional] |
8
+ | **count** | **Integer** | | [optional] |
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'ftc_events_client'
14
+
15
+ instance = FtcEventsClient::AllianceSelectionModelVersion2.new(
16
+ alliances: null,
17
+ count: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,34 @@
1
+ # FtcEventsClient::ApiIndexModel
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | api name | [optional] |
8
+ | **api_version** | **String** | api version | [optional] |
9
+ | **service_mainifest_name** | **String** | | [optional] |
10
+ | **service_mainifest_version** | **String** | | [optional] |
11
+ | **code_package_name** | **String** | | [optional] |
12
+ | **code_package_version** | **String** | | [optional] |
13
+ | **status** | **String** | | [optional] |
14
+ | **current_season** | **Integer** | current season in the eyes of FTC | [optional] |
15
+ | **max_season** | **Integer** | max season that can be retrieved from the API/webpages | [optional] |
16
+
17
+ ## Code Sample
18
+
19
+ ```ruby
20
+ require 'ftc_events_client'
21
+
22
+ instance = FtcEventsClient::ApiIndexModel.new(
23
+ name: FIRST TECH CHALLENGE API,
24
+ api_version: 2.0,
25
+ service_mainifest_name: null,
26
+ service_mainifest_version: null,
27
+ code_package_name: null,
28
+ code_package_version: null,
29
+ status: null,
30
+ current_season: 2020,
31
+ max_season: 2020
32
+ )
33
+ ```
34
+
@@ -0,0 +1,38 @@
1
+ # FtcEventsClient::AwardAssignmentModel
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **award_id** | **Integer** | | [optional] |
8
+ | **team_id** | **Integer** | | [optional] |
9
+ | **event_id** | **Integer** | | [optional] |
10
+ | **event_division_id** | **Integer** | | [optional] |
11
+ | **event_code** | **String** | | [optional] |
12
+ | **name** | **String** | | [optional] |
13
+ | **series** | **Integer** | | [optional] |
14
+ | **team_number** | **Integer** | | [optional] |
15
+ | **school_name** | **String** | | [optional] |
16
+ | **full_team_name** | **String** | | [optional] |
17
+ | **person** | **String** | | [optional] |
18
+
19
+ ## Code Sample
20
+
21
+ ```ruby
22
+ require 'ftc_events_client'
23
+
24
+ instance = FtcEventsClient::AwardAssignmentModel.new(
25
+ award_id: null,
26
+ team_id: null,
27
+ event_id: null,
28
+ event_division_id: null,
29
+ event_code: null,
30
+ name: null,
31
+ series: null,
32
+ team_number: null,
33
+ school_name: null,
34
+ full_team_name: null,
35
+ person: null
36
+ )
37
+ ```
38
+
@@ -0,0 +1,235 @@
1
+ # FtcEventsClient::AwardsApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**v20_season_awards_event_code_get**](AwardsApi.md#v20_season_awards_event_code_get) | **GET** /v2.0/{season}/awards/{eventCode} | Event Awards |
8
+ | [**v20_season_awards_event_code_team_number_get**](AwardsApi.md#v20_season_awards_event_code_team_number_get) | **GET** /v2.0/{season}/awards/{eventCode}/{teamNumber} | Event Awards |
9
+ | [**v20_season_awards_list_get**](AwardsApi.md#v20_season_awards_list_get) | **GET** /v2.0/{season}/awards/list | Award Listings |
10
+ | [**v20_season_awards_team_number_get**](AwardsApi.md#v20_season_awards_team_number_get) | **GET** /v2.0/{season}/awards/{teamNumber} | Event Awards |
11
+
12
+
13
+ ## v20_season_awards_event_code_get
14
+
15
+ > AwardsModel v20_season_awards_event_code_get(season, event_code, opts)
16
+
17
+ Event Awards
18
+
19
+ The event awards API returns details about awards presented at a particular event in a particular season. Return values may contain either `teamNumber` or `person` values, and if the winner was a `person`, and that person is from a team, the `teamNumber` value *might* be set with their `teamNumber`. You must specify either an `eventCode` or a `teamNumber` or both. If you specify the `teamNumber` parameter, you will receive only awards where the team was listed as the winner, regardless of whether or not the `person` field is `null` or empty. If you specify only the `eventCode` field, you will receive all award listings for the requested event. If you specify both, you will receive all awards won by the `teamNumber` at the `eventCode`.
20
+
21
+ ### Example
22
+
23
+ ```ruby
24
+ # load the gem
25
+ require 'ftc_events_client'
26
+ # setup authorization
27
+ FtcEventsClient.configure do |config|
28
+ # Configure HTTP basic authorization: basic
29
+ config.username = 'YOUR USERNAME'
30
+ config.password = 'YOUR PASSWORD'
31
+ end
32
+
33
+ api_instance = FtcEventsClient::AwardsApi.new
34
+ season = 56 # Integer | Numeric year of the event from which the award listings are requested. Must be 4 digits
35
+ event_code = '' # String | Case insensitive alphanumeric `eventCode` of the event from which the awards are requested.
36
+ opts = {
37
+ team_number: 0 # Integer | `teamNumber` to search for within the results.
38
+ }
39
+
40
+ begin
41
+ #Event Awards
42
+ result = api_instance.v20_season_awards_event_code_get(season, event_code, opts)
43
+ p result
44
+ rescue FtcEventsClient::ApiError => e
45
+ puts "Exception when calling AwardsApi->v20_season_awards_event_code_get: #{e}"
46
+ end
47
+ ```
48
+
49
+ ### Parameters
50
+
51
+ | Name | Type | Description | Notes |
52
+ | ---- | ---- | ----------- | ----- |
53
+ | **season** | **Integer** | Numeric year of the event from which the award listings are requested. Must be 4 digits | |
54
+ | **event_code** | **String** | Case insensitive alphanumeric `eventCode` of the event from which the awards are requested. | [default to ''] |
55
+ | **team_number** | **Integer** | `teamNumber` to search for within the results. | [optional][default to 0] |
56
+
57
+ ### Return type
58
+
59
+ [**AwardsModel**](AwardsModel.md)
60
+
61
+ ### Authorization
62
+
63
+ [basic](../README.md#basic)
64
+
65
+ ### HTTP request headers
66
+
67
+ - **Content-Type**: Not defined
68
+ - **Accept**: application/json
69
+
70
+
71
+ ## v20_season_awards_event_code_team_number_get
72
+
73
+ > AwardsModel v20_season_awards_event_code_team_number_get(season, event_code, team_number)
74
+
75
+ Event Awards
76
+
77
+ The event awards API returns details about awards presented at a particular event in a particular season. Return values may contain either `teamNumber` or `person` values, and if the winner was a `person`, and that person is from a team, the `teamNumber` value *might* be set with their `teamNumber`. You must specify either an `eventCode` or a `teamNumber` or both. If you specify the `teamNumber` parameter, you will receive only awards where the team was listed as the winner, regardless of whether or not the `person` field is `null` or empty. If you specify only the `eventCode` field, you will receive all award listings for the requested event. If you specify both, you will receive all awards won by the `teamNumber` at the `eventCode`.
78
+
79
+ ### Example
80
+
81
+ ```ruby
82
+ # load the gem
83
+ require 'ftc_events_client'
84
+ # setup authorization
85
+ FtcEventsClient.configure do |config|
86
+ # Configure HTTP basic authorization: basic
87
+ config.username = 'YOUR USERNAME'
88
+ config.password = 'YOUR PASSWORD'
89
+ end
90
+
91
+ api_instance = FtcEventsClient::AwardsApi.new
92
+ season = 56 # Integer | Numeric year of the event from which the award listings are requested. Must be 4 digits
93
+ event_code = '' # String | Case insensitive alphanumeric `eventCode` of the event from which the awards are requested.
94
+ team_number = 0 # Integer | `teamNumber` to search for within the results.
95
+
96
+ begin
97
+ #Event Awards
98
+ result = api_instance.v20_season_awards_event_code_team_number_get(season, event_code, team_number)
99
+ p result
100
+ rescue FtcEventsClient::ApiError => e
101
+ puts "Exception when calling AwardsApi->v20_season_awards_event_code_team_number_get: #{e}"
102
+ end
103
+ ```
104
+
105
+ ### Parameters
106
+
107
+ | Name | Type | Description | Notes |
108
+ | ---- | ---- | ----------- | ----- |
109
+ | **season** | **Integer** | Numeric year of the event from which the award listings are requested. Must be 4 digits | |
110
+ | **event_code** | **String** | Case insensitive alphanumeric `eventCode` of the event from which the awards are requested. | [default to ''] |
111
+ | **team_number** | **Integer** | `teamNumber` to search for within the results. | [default to 0] |
112
+
113
+ ### Return type
114
+
115
+ [**AwardsModel**](AwardsModel.md)
116
+
117
+ ### Authorization
118
+
119
+ [basic](../README.md#basic)
120
+
121
+ ### HTTP request headers
122
+
123
+ - **Content-Type**: Not defined
124
+ - **Accept**: application/json
125
+
126
+
127
+ ## v20_season_awards_list_get
128
+
129
+ > SeasonAwardListingsModel v20_season_awards_list_get(season)
130
+
131
+ Award Listings
132
+
133
+ The award listings API returns a listing of the various awards that can be distributed in the requested season. This is especially useful in order to avoid having to use the name field of the event awards API to know which award was won. Instead the awardId field can be matched between the two APIs.
134
+
135
+ ### Example
136
+
137
+ ```ruby
138
+ # load the gem
139
+ require 'ftc_events_client'
140
+ # setup authorization
141
+ FtcEventsClient.configure do |config|
142
+ # Configure HTTP basic authorization: basic
143
+ config.username = 'YOUR USERNAME'
144
+ config.password = 'YOUR PASSWORD'
145
+ end
146
+
147
+ api_instance = FtcEventsClient::AwardsApi.new
148
+ season = 56 # Integer | Numeric year of the event from which the award listings are requested. Must be 4 digits
149
+
150
+ begin
151
+ #Award Listings
152
+ result = api_instance.v20_season_awards_list_get(season)
153
+ p result
154
+ rescue FtcEventsClient::ApiError => e
155
+ puts "Exception when calling AwardsApi->v20_season_awards_list_get: #{e}"
156
+ end
157
+ ```
158
+
159
+ ### Parameters
160
+
161
+ | Name | Type | Description | Notes |
162
+ | ---- | ---- | ----------- | ----- |
163
+ | **season** | **Integer** | Numeric year of the event from which the award listings are requested. Must be 4 digits | |
164
+
165
+ ### Return type
166
+
167
+ [**SeasonAwardListingsModel**](SeasonAwardListingsModel.md)
168
+
169
+ ### Authorization
170
+
171
+ [basic](../README.md#basic)
172
+
173
+ ### HTTP request headers
174
+
175
+ - **Content-Type**: Not defined
176
+ - **Accept**: application/json
177
+
178
+
179
+ ## v20_season_awards_team_number_get
180
+
181
+ > AwardsModel v20_season_awards_team_number_get(season, team_number, opts)
182
+
183
+ Event Awards
184
+
185
+ The event awards API returns details about awards presented at a particular event in a particular season. Return values may contain either `teamNumber` or `person` values, and if the winner was a `person`, and that person is from a team, the `teamNumber` value *might* be set with their `teamNumber`. You must specify either an `eventCode` or a `teamNumber` or both. If you specify the `teamNumber` parameter, you will receive only awards where the team was listed as the winner, regardless of whether or not the `person` field is `null` or empty. If you specify only the `eventCode` field, you will receive all award listings for the requested event. If you specify both, you will receive all awards won by the `teamNumber` at the `eventCode`.
186
+
187
+ ### Example
188
+
189
+ ```ruby
190
+ # load the gem
191
+ require 'ftc_events_client'
192
+ # setup authorization
193
+ FtcEventsClient.configure do |config|
194
+ # Configure HTTP basic authorization: basic
195
+ config.username = 'YOUR USERNAME'
196
+ config.password = 'YOUR PASSWORD'
197
+ end
198
+
199
+ api_instance = FtcEventsClient::AwardsApi.new
200
+ season = 56 # Integer | Numeric year of the event from which the award listings are requested. Must be 4 digits
201
+ team_number = 0 # Integer | `teamNumber` to search for within the results.
202
+ opts = {
203
+ event_code: '' # String | Case insensitive alphanumeric `eventCode` of the event from which the awards are requested.
204
+ }
205
+
206
+ begin
207
+ #Event Awards
208
+ result = api_instance.v20_season_awards_team_number_get(season, team_number, opts)
209
+ p result
210
+ rescue FtcEventsClient::ApiError => e
211
+ puts "Exception when calling AwardsApi->v20_season_awards_team_number_get: #{e}"
212
+ end
213
+ ```
214
+
215
+ ### Parameters
216
+
217
+ | Name | Type | Description | Notes |
218
+ | ---- | ---- | ----------- | ----- |
219
+ | **season** | **Integer** | Numeric year of the event from which the award listings are requested. Must be 4 digits | |
220
+ | **team_number** | **Integer** | `teamNumber` to search for within the results. | [default to 0] |
221
+ | **event_code** | **String** | Case insensitive alphanumeric `eventCode` of the event from which the awards are requested. | [optional][default to ''] |
222
+
223
+ ### Return type
224
+
225
+ [**AwardsModel**](AwardsModel.md)
226
+
227
+ ### Authorization
228
+
229
+ [basic](../README.md#basic)
230
+
231
+ ### HTTP request headers
232
+
233
+ - **Content-Type**: Not defined
234
+ - **Accept**: application/json
235
+
@@ -0,0 +1,18 @@
1
+ # FtcEventsClient::AwardsModel
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **awards** | [**Array<AwardAssignmentModel>**](AwardAssignmentModel.md) | | [optional] |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'ftc_events_client'
13
+
14
+ instance = FtcEventsClient::AwardsModel.new(
15
+ awards: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # FtcEventsClient::EventMatchResultsModelVersion2
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **matches** | [**Array<MatchResultModelVersion2>**](MatchResultModelVersion2.md) | | [optional] |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'ftc_events_client'
13
+
14
+ instance = FtcEventsClient::EventMatchResultsModelVersion2.new(
15
+ matches: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # FtcEventsClient::EventRankingsModel
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **rankings** | [**Array<TeamRankingModel>**](TeamRankingModel.md) | | [optional] |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'ftc_events_client'
13
+
14
+ instance = FtcEventsClient::EventRankingsModel.new(
15
+ rankings: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # FtcEventsClient::EventScheduleHybridModelVersion2
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **schedule** | [**Array<ScheduleHybridModelVersion2>**](ScheduleHybridModelVersion2.md) | | [optional] |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'ftc_events_client'
13
+
14
+ instance = FtcEventsClient::EventScheduleHybridModelVersion2.new(
15
+ schedule: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # FtcEventsClient::EventScheduleModelVersion2
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **schedule** | [**Array<ScheduledMatchModelVersion2>**](ScheduledMatchModelVersion2.md) | | [optional] |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'ftc_events_client'
13
+
14
+ instance = FtcEventsClient::EventScheduleModelVersion2.new(
15
+ schedule: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,51 @@
1
+ # FtcEventsClient::GeneralApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**v20_get**](GeneralApi.md#v20_get) | **GET** /v2.0 | API Index |
8
+
9
+
10
+ ## v20_get
11
+
12
+ > ApiIndexModel v20_get
13
+
14
+ API Index
15
+
16
+ Root level call with no parameters.
17
+
18
+ ### Example
19
+
20
+ ```ruby
21
+ # load the gem
22
+ require 'ftc_events_client'
23
+
24
+ api_instance = FtcEventsClient::GeneralApi.new
25
+
26
+ begin
27
+ #API Index
28
+ result = api_instance.v20_get
29
+ p result
30
+ rescue FtcEventsClient::ApiError => e
31
+ puts "Exception when calling GeneralApi->v20_get: #{e}"
32
+ end
33
+ ```
34
+
35
+ ### Parameters
36
+
37
+ This endpoint does not need any parameter.
38
+
39
+ ### Return type
40
+
41
+ [**ApiIndexModel**](ApiIndexModel.md)
42
+
43
+ ### Authorization
44
+
45
+ No authorization required
46
+
47
+ ### HTTP request headers
48
+
49
+ - **Content-Type**: Not defined
50
+ - **Accept**: application/json
51
+