ftc_api_v3_client 0.1.0
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 +7 -0
- data/Gemfile +9 -0
- data/README.md +283 -0
- data/Rakefile +10 -0
- data/config.json +8 -0
- data/docs/ApiV3AdvancementFrom.md +22 -0
- data/docs/ApiV3AdvancementFromSlot.md +24 -0
- data/docs/ApiV3AdvancementStatus.md +15 -0
- data/docs/ApiV3AllianceColor.md +15 -0
- data/docs/ApiV3AllianceDescription.md +82 -0
- data/docs/ApiV3AllianceMatch.md +44 -0
- data/docs/ApiV3AllianceMatchDetails.md +46 -0
- data/docs/ApiV3AllianceMatchParticipants.md +79 -0
- data/docs/ApiV3AllianceMatchResults.md +22 -0
- data/docs/ApiV3AllianceMatchResultsDetails.md +20 -0
- data/docs/ApiV3AlliancePlayoffMatchParticipants.md +22 -0
- data/docs/ApiV3AllianceSelection.md +20 -0
- data/docs/ApiV3AllianceSelections.md +18 -0
- data/docs/ApiV3AllianceSimpleMatchParticipants.md +22 -0
- data/docs/ApiV3Award.md +30 -0
- data/docs/ApiV3AwardRecipient.md +24 -0
- data/docs/ApiV3AwardType.md +15 -0
- data/docs/ApiV3Awards.md +18 -0
- data/docs/ApiV3BasePlayoffSeriesDescription.md +79 -0
- data/docs/ApiV3BasicAllianceDescription.md +20 -0
- data/docs/ApiV3CenterStageRemoteScoreDetail.md +22 -0
- data/docs/ApiV3CenterStageScoreDetail.md +22 -0
- data/docs/ApiV3CompetingType.md +15 -0
- data/docs/ApiV3Coordinates.md +20 -0
- data/docs/ApiV3CsAchievementsDetail.md +56 -0
- data/docs/ApiV3CsEndLocation.md +15 -0
- data/docs/ApiV3CsPointsDetail.md +48 -0
- data/docs/ApiV3CsRemoteAchievementsDetail.md +44 -0
- data/docs/ApiV3CsRemotePointsDetail.md +46 -0
- data/docs/ApiV3DecodeAchievementsDetail.md +42 -0
- data/docs/ApiV3DecodeArtifactType.md +15 -0
- data/docs/ApiV3DecodePointsDetail.md +46 -0
- data/docs/ApiV3DecodeScoreDetail.md +22 -0
- data/docs/ApiV3DecodeTeleopBaseLocation.md +15 -0
- data/docs/ApiV3Division.md +20 -0
- data/docs/ApiV3DoubleEliminationSeriesDescription.md +36 -0
- data/docs/ApiV3DoubleElimsBracketHalf.md +15 -0
- data/docs/ApiV3Event.md +62 -0
- data/docs/ApiV3EventFormat.md +15 -0
- data/docs/ApiV3EventLiveStream.md +22 -0
- data/docs/ApiV3EventParticipant.md +22 -0
- data/docs/ApiV3EventParticipants.md +18 -0
- data/docs/ApiV3EventType.md +15 -0
- data/docs/ApiV3Events.md +18 -0
- data/docs/ApiV3FFAchievementsDetail.md +64 -0
- data/docs/ApiV3FFAutoLocation.md +15 -0
- data/docs/ApiV3FFEndLocation.md +15 -0
- data/docs/ApiV3FFPointsDetail.md +54 -0
- data/docs/ApiV3FFRemoteAchievementsDetail.md +52 -0
- data/docs/ApiV3FFRemotePointsDetail.md +48 -0
- data/docs/ApiV3FreightFrenzyRemoteScoreDetail.md +22 -0
- data/docs/ApiV3FreightFrenzyScoreDetail.md +22 -0
- data/docs/ApiV3IntoTheDeepScoreDetail.md +22 -0
- data/docs/ApiV3ItdAchievementsDetail.md +48 -0
- data/docs/ApiV3ItdAutoLocation.md +15 -0
- data/docs/ApiV3ItdPointsDetail.md +42 -0
- data/docs/ApiV3ItdTeleopLocation.md +15 -0
- data/docs/ApiV3JunctionElement.md +15 -0
- data/docs/ApiV3League.md +26 -0
- data/docs/ApiV3LeagueDetails.md +28 -0
- data/docs/ApiV3LeagueMembershipDetails.md +20 -0
- data/docs/ApiV3Leagues.md +18 -0
- data/docs/ApiV3Match.md +79 -0
- data/docs/ApiV3MatchAlliance.md +18 -0
- data/docs/ApiV3MatchDetails.md +79 -0
- data/docs/ApiV3MatchTeam.md +24 -0
- data/docs/ApiV3Matches.md +18 -0
- data/docs/ApiV3PitMap.md +30 -0
- data/docs/ApiV3PitMapCellType.md +15 -0
- data/docs/ApiV3PitMapElement.md +40 -0
- data/docs/ApiV3PitMapLabelOrientation.md +15 -0
- data/docs/ApiV3PlayoffAlliance.md +24 -0
- data/docs/ApiV3PlayoffAlliances.md +18 -0
- data/docs/ApiV3PlayoffMatchAlliance.md +20 -0
- data/docs/ApiV3PlayoffRanking.md +32 -0
- data/docs/ApiV3PlayoffRankings.md +18 -0
- data/docs/ApiV3PlayoffSeriesDescription.md +32 -0
- data/docs/ApiV3PlayoffStructure.md +22 -0
- data/docs/ApiV3PlayoffType.md +15 -0
- data/docs/ApiV3PowerPlayAchievementsDetail.md +52 -0
- data/docs/ApiV3PowerPlayAutoLocation.md +15 -0
- data/docs/ApiV3PowerPlayPointsDetail.md +46 -0
- data/docs/ApiV3PowerPlayRemoteAchievementsDetail.md +48 -0
- data/docs/ApiV3PowerPlayRemotePointsDetail.md +44 -0
- data/docs/ApiV3PowerPlayRemoteScoreDetail.md +22 -0
- data/docs/ApiV3PowerPlayScoreDetail.md +22 -0
- data/docs/ApiV3Ranking.md +32 -0
- data/docs/ApiV3Rankings.md +18 -0
- data/docs/ApiV3Region.md +20 -0
- data/docs/ApiV3Regions.md +18 -0
- data/docs/ApiV3RemoteJunctionElement.md +15 -0
- data/docs/ApiV3RemoteScoreDetail.md +85 -0
- data/docs/ApiV3RoundRobinAllianceDescription.md +20 -0
- data/docs/ApiV3ScoreDetail.md +94 -0
- data/docs/ApiV3Season.md +24 -0
- data/docs/ApiV3Seasons.md +20 -0
- data/docs/ApiV3SelectionOperation.md +15 -0
- data/docs/ApiV3SeriesAllianceDescription.md +22 -0
- data/docs/ApiV3SeriesAllianceState.md +15 -0
- data/docs/ApiV3SimpleEvent.md +48 -0
- data/docs/ApiV3SimpleTeam.md +22 -0
- data/docs/ApiV3SingleAwardRecipient.md +30 -0
- data/docs/ApiV3SingleTeamMatch.md +44 -0
- data/docs/ApiV3SingleTeamMatchDetails.md +46 -0
- data/docs/ApiV3SingleTeamMatchParticipants.md +18 -0
- data/docs/ApiV3SingleTeamMatchResults.md +18 -0
- data/docs/ApiV3SingleTeamMatchResultsDetails.md +18 -0
- data/docs/ApiV3SkystoneAchievementsDetail.md +54 -0
- data/docs/ApiV3SkystonePointsDetail.md +46 -0
- data/docs/ApiV3SkystoneScoreDetail.md +22 -0
- data/docs/ApiV3Stone.md +15 -0
- data/docs/ApiV3Team.md +38 -0
- data/docs/ApiV3TeamAvatar.md +20 -0
- data/docs/ApiV3TeamAvatars.md +18 -0
- data/docs/ApiV3TeamDetails.md +24 -0
- data/docs/ApiV3TeamEventParticipation.md +20 -0
- data/docs/ApiV3TeamEventParticipationDetails.md +26 -0
- data/docs/ApiV3TeamHistory.md +36 -0
- data/docs/ApiV3TeamSeasonHistory.md +20 -0
- data/docs/ApiV3Teams.md +18 -0
- data/docs/ApiV3TournamentLevel.md +15 -0
- data/docs/ApiV3UgAchievementsDetail.md +60 -0
- data/docs/ApiV3UgPointsDetail.md +44 -0
- data/docs/ApiV3UgRemoteAchievementsDetail.md +58 -0
- data/docs/ApiV3UgRemotePointsDetail.md +44 -0
- data/docs/ApiV3UgWobbleLocation.md +15 -0
- data/docs/ApiV3UltimateGoalRemoteScoreDetail.md +22 -0
- data/docs/ApiV3UltimateGoalScoreDetail.md +22 -0
- data/docs/EventsApi.md +977 -0
- data/docs/LeaguesApi.md +385 -0
- data/docs/RegionsApi.md +301 -0
- data/docs/SeasonsApi.md +148 -0
- data/docs/TeamsApi.md +371 -0
- data/ftc_api_v3_client.gemspec +39 -0
- data/git_push.sh +57 -0
- data/lib/ftc_api_v3_client/api/events_api.rb +934 -0
- data/lib/ftc_api_v3_client/api/leagues_api.rb +391 -0
- data/lib/ftc_api_v3_client/api/regions_api.rb +292 -0
- data/lib/ftc_api_v3_client/api/seasons_api.rb +142 -0
- data/lib/ftc_api_v3_client/api/teams_api.rb +349 -0
- data/lib/ftc_api_v3_client/api_client.rb +397 -0
- data/lib/ftc_api_v3_client/api_error.rb +58 -0
- data/lib/ftc_api_v3_client/api_model_base.rb +88 -0
- data/lib/ftc_api_v3_client/configuration.rb +308 -0
- data/lib/ftc_api_v3_client/models/api_v3_advancement_from.rb +202 -0
- data/lib/ftc_api_v3_client/models/api_v3_advancement_from_slot.rb +234 -0
- data/lib/ftc_api_v3_client/models/api_v3_advancement_status.rb +44 -0
- data/lib/ftc_api_v3_client/models/api_v3_alliance_color.rb +40 -0
- data/lib/ftc_api_v3_client/models/api_v3_alliance_description.rb +57 -0
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match.rb +427 -0
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match_details.rb +436 -0
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match_participants.rb +55 -0
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match_results.rb +221 -0
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match_results_details.rb +190 -0
- data/lib/ftc_api_v3_client/models/api_v3_alliance_playoff_match_participants.rb +217 -0
- data/lib/ftc_api_v3_client/models/api_v3_alliance_selection.rb +212 -0
- data/lib/ftc_api_v3_client/models/api_v3_alliance_selections.rb +166 -0
- data/lib/ftc_api_v3_client/models/api_v3_alliance_simple_match_participants.rb +217 -0
- data/lib/ftc_api_v3_client/models/api_v3_award.rb +311 -0
- data/lib/ftc_api_v3_client/models/api_v3_award_recipient.rb +177 -0
- data/lib/ftc_api_v3_client/models/api_v3_award_type.rb +59 -0
- data/lib/ftc_api_v3_client/models/api_v3_awards.rb +166 -0
- data/lib/ftc_api_v3_client/models/api_v3_base_playoff_series_description.rb +55 -0
- data/lib/ftc_api_v3_client/models/api_v3_basic_alliance_description.rb +191 -0
- data/lib/ftc_api_v3_client/models/api_v3_center_stage_remote_score_detail.rb +217 -0
- data/lib/ftc_api_v3_client/models/api_v3_center_stage_score_detail.rb +217 -0
- data/lib/ftc_api_v3_client/models/api_v3_competing_type.rb +40 -0
- data/lib/ftc_api_v3_client/models/api_v3_coordinates.rb +191 -0
- data/lib/ftc_api_v3_client/models/api_v3_cs_achievements_detail.rb +680 -0
- data/lib/ftc_api_v3_client/models/api_v3_cs_end_location.rb +41 -0
- data/lib/ftc_api_v3_client/models/api_v3_cs_points_detail.rb +555 -0
- data/lib/ftc_api_v3_client/models/api_v3_cs_remote_achievements_detail.rb +524 -0
- data/lib/ftc_api_v3_client/models/api_v3_cs_remote_points_detail.rb +528 -0
- data/lib/ftc_api_v3_client/models/api_v3_decode_achievements_detail.rb +502 -0
- data/lib/ftc_api_v3_client/models/api_v3_decode_artifact_type.rb +41 -0
- data/lib/ftc_api_v3_client/models/api_v3_decode_points_detail.rb +529 -0
- data/lib/ftc_api_v3_client/models/api_v3_decode_score_detail.rb +217 -0
- data/lib/ftc_api_v3_client/models/api_v3_decode_teleop_base_location.rb +41 -0
- data/lib/ftc_api_v3_client/models/api_v3_division.rb +190 -0
- data/lib/ftc_api_v3_client/models/api_v3_double_elimination_series_description.rb +405 -0
- data/lib/ftc_api_v3_client/models/api_v3_double_elims_bracket_half.rb +40 -0
- data/lib/ftc_api_v3_client/models/api_v3_event.rb +559 -0
- data/lib/ftc_api_v3_client/models/api_v3_event_format.rb +41 -0
- data/lib/ftc_api_v3_client/models/api_v3_event_live_stream.rb +182 -0
- data/lib/ftc_api_v3_client/models/api_v3_event_participant.rb +221 -0
- data/lib/ftc_api_v3_client/models/api_v3_event_participants.rb +166 -0
- data/lib/ftc_api_v3_client/models/api_v3_event_type.rb +50 -0
- data/lib/ftc_api_v3_client/models/api_v3_events.rb +166 -0
- data/lib/ftc_api_v3_client/models/api_v3_ff_achievements_detail.rb +787 -0
- data/lib/ftc_api_v3_client/models/api_v3_ff_auto_location.rb +43 -0
- data/lib/ftc_api_v3_client/models/api_v3_ff_end_location.rb +41 -0
- data/lib/ftc_api_v3_client/models/api_v3_ff_points_detail.rb +633 -0
- data/lib/ftc_api_v3_client/models/api_v3_ff_remote_achievements_detail.rb +629 -0
- data/lib/ftc_api_v3_client/models/api_v3_ff_remote_points_detail.rb +554 -0
- data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_remote_score_detail.rb +217 -0
- data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_score_detail.rb +217 -0
- data/lib/ftc_api_v3_client/models/api_v3_into_the_deep_score_detail.rb +217 -0
- data/lib/ftc_api_v3_client/models/api_v3_itd_achievements_detail.rb +576 -0
- data/lib/ftc_api_v3_client/models/api_v3_itd_auto_location.rb +41 -0
- data/lib/ftc_api_v3_client/models/api_v3_itd_points_detail.rb +477 -0
- data/lib/ftc_api_v3_client/models/api_v3_itd_teleop_location.rb +43 -0
- data/lib/ftc_api_v3_client/models/api_v3_junction_element.rb +44 -0
- data/lib/ftc_api_v3_client/models/api_v3_league.rb +217 -0
- data/lib/ftc_api_v3_client/models/api_v3_league_details.rb +245 -0
- data/lib/ftc_api_v3_client/models/api_v3_league_membership_details.rb +190 -0
- data/lib/ftc_api_v3_client/models/api_v3_leagues.rb +166 -0
- data/lib/ftc_api_v3_client/models/api_v3_match.rb +55 -0
- data/lib/ftc_api_v3_client/models/api_v3_match_alliance.rb +166 -0
- data/lib/ftc_api_v3_client/models/api_v3_match_details.rb +55 -0
- data/lib/ftc_api_v3_client/models/api_v3_match_team.rb +209 -0
- data/lib/ftc_api_v3_client/models/api_v3_matches.rb +166 -0
- data/lib/ftc_api_v3_client/models/api_v3_pit_map.rb +322 -0
- data/lib/ftc_api_v3_client/models/api_v3_pit_map_cell_type.rb +45 -0
- data/lib/ftc_api_v3_client/models/api_v3_pit_map_element.rb +336 -0
- data/lib/ftc_api_v3_client/models/api_v3_pit_map_label_orientation.rb +40 -0
- data/lib/ftc_api_v3_client/models/api_v3_playoff_alliance.rb +212 -0
- data/lib/ftc_api_v3_client/models/api_v3_playoff_alliances.rb +166 -0
- data/lib/ftc_api_v3_client/models/api_v3_playoff_match_alliance.rb +192 -0
- data/lib/ftc_api_v3_client/models/api_v3_playoff_ranking.rb +348 -0
- data/lib/ftc_api_v3_client/models/api_v3_playoff_rankings.rb +166 -0
- data/lib/ftc_api_v3_client/models/api_v3_playoff_series_description.rb +347 -0
- data/lib/ftc_api_v3_client/models/api_v3_playoff_structure.rb +241 -0
- data/lib/ftc_api_v3_client/models/api_v3_playoff_type.rb +42 -0
- data/lib/ftc_api_v3_client/models/api_v3_power_play_achievements_detail.rb +576 -0
- data/lib/ftc_api_v3_client/models/api_v3_power_play_auto_location.rb +41 -0
- data/lib/ftc_api_v3_client/models/api_v3_power_play_points_detail.rb +529 -0
- data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_achievements_detail.rb +538 -0
- data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_points_detail.rb +502 -0
- data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_score_detail.rb +217 -0
- data/lib/ftc_api_v3_client/models/api_v3_power_play_score_detail.rb +217 -0
- data/lib/ftc_api_v3_client/models/api_v3_ranking.rb +348 -0
- data/lib/ftc_api_v3_client/models/api_v3_rankings.rb +166 -0
- data/lib/ftc_api_v3_client/models/api_v3_region.rb +190 -0
- data/lib/ftc_api_v3_client/models/api_v3_regions.rb +166 -0
- data/lib/ftc_api_v3_client/models/api_v3_remote_junction_element.rb +40 -0
- data/lib/ftc_api_v3_client/models/api_v3_remote_score_detail.rb +59 -0
- data/lib/ftc_api_v3_client/models/api_v3_round_robin_alliance_description.rb +191 -0
- data/lib/ftc_api_v3_client/models/api_v3_score_detail.rb +65 -0
- data/lib/ftc_api_v3_client/models/api_v3_season.rb +242 -0
- data/lib/ftc_api_v3_client/models/api_v3_seasons.rb +192 -0
- data/lib/ftc_api_v3_client/models/api_v3_selection_operation.rb +43 -0
- data/lib/ftc_api_v3_client/models/api_v3_series_alliance_description.rb +239 -0
- data/lib/ftc_api_v3_client/models/api_v3_series_alliance_state.rb +40 -0
- data/lib/ftc_api_v3_client/models/api_v3_simple_event.rb +458 -0
- data/lib/ftc_api_v3_client/models/api_v3_simple_team.rb +217 -0
- data/lib/ftc_api_v3_client/models/api_v3_single_award_recipient.rb +293 -0
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match.rb +427 -0
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match_details.rb +436 -0
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match_participants.rb +164 -0
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match_results.rb +164 -0
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match_results_details.rb +164 -0
- data/lib/ftc_api_v3_client/models/api_v3_skystone_achievements_detail.rb +634 -0
- data/lib/ftc_api_v3_client/models/api_v3_skystone_points_detail.rb +529 -0
- data/lib/ftc_api_v3_client/models/api_v3_skystone_score_detail.rb +217 -0
- data/lib/ftc_api_v3_client/models/api_v3_stone.rb +41 -0
- data/lib/ftc_api_v3_client/models/api_v3_team.rb +324 -0
- data/lib/ftc_api_v3_client/models/api_v3_team_avatar.rb +190 -0
- data/lib/ftc_api_v3_client/models/api_v3_team_avatars.rb +166 -0
- data/lib/ftc_api_v3_client/models/api_v3_team_details.rb +247 -0
- data/lib/ftc_api_v3_client/models/api_v3_team_event_participation.rb +192 -0
- data/lib/ftc_api_v3_client/models/api_v3_team_event_participation_details.rb +238 -0
- data/lib/ftc_api_v3_client/models/api_v3_team_history.rb +334 -0
- data/lib/ftc_api_v3_client/models/api_v3_team_season_history.rb +192 -0
- data/lib/ftc_api_v3_client/models/api_v3_teams.rb +166 -0
- data/lib/ftc_api_v3_client/models/api_v3_tournament_level.rb +43 -0
- data/lib/ftc_api_v3_client/models/api_v3_ug_achievements_detail.rb +732 -0
- data/lib/ftc_api_v3_client/models/api_v3_ug_points_detail.rb +503 -0
- data/lib/ftc_api_v3_client/models/api_v3_ug_remote_achievements_detail.rb +706 -0
- data/lib/ftc_api_v3_client/models/api_v3_ug_remote_points_detail.rb +503 -0
- data/lib/ftc_api_v3_client/models/api_v3_ug_wobble_location.rb +41 -0
- data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_remote_score_detail.rb +217 -0
- data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_score_detail.rb +217 -0
- data/lib/ftc_api_v3_client/version.rb +15 -0
- data/lib/ftc_api_v3_client.rb +173 -0
- data/spec/api/events_api_spec.rb +207 -0
- data/spec/api/leagues_api_spec.rb +104 -0
- data/spec/api/regions_api_spec.rb +86 -0
- data/spec/api/seasons_api_spec.rb +58 -0
- data/spec/api/teams_api_spec.rb +97 -0
- data/spec/models/api_v3_advancement_from_slot_spec.rb +54 -0
- data/spec/models/api_v3_advancement_from_spec.rb +48 -0
- data/spec/models/api_v3_advancement_status_spec.rb +30 -0
- data/spec/models/api_v3_alliance_color_spec.rb +30 -0
- data/spec/models/api_v3_alliance_description_spec.rb +44 -0
- data/spec/models/api_v3_alliance_match_details_spec.rb +120 -0
- data/spec/models/api_v3_alliance_match_participants_spec.rb +44 -0
- data/spec/models/api_v3_alliance_match_results_details_spec.rb +42 -0
- data/spec/models/api_v3_alliance_match_results_spec.rb +48 -0
- data/spec/models/api_v3_alliance_match_spec.rb +114 -0
- data/spec/models/api_v3_alliance_playoff_match_participants_spec.rb +48 -0
- data/spec/models/api_v3_alliance_selection_spec.rb +42 -0
- data/spec/models/api_v3_alliance_selections_spec.rb +36 -0
- data/spec/models/api_v3_alliance_simple_match_participants_spec.rb +48 -0
- data/spec/models/api_v3_award_recipient_spec.rb +54 -0
- data/spec/models/api_v3_award_spec.rb +72 -0
- data/spec/models/api_v3_award_type_spec.rb +30 -0
- data/spec/models/api_v3_awards_spec.rb +36 -0
- data/spec/models/api_v3_base_playoff_series_description_spec.rb +44 -0
- data/spec/models/api_v3_basic_alliance_description_spec.rb +42 -0
- data/spec/models/api_v3_center_stage_remote_score_detail_spec.rb +48 -0
- data/spec/models/api_v3_center_stage_score_detail_spec.rb +48 -0
- data/spec/models/api_v3_competing_type_spec.rb +30 -0
- data/spec/models/api_v3_coordinates_spec.rb +42 -0
- data/spec/models/api_v3_cs_achievements_detail_spec.rb +150 -0
- data/spec/models/api_v3_cs_end_location_spec.rb +30 -0
- data/spec/models/api_v3_cs_points_detail_spec.rb +126 -0
- data/spec/models/api_v3_cs_remote_achievements_detail_spec.rb +114 -0
- data/spec/models/api_v3_cs_remote_points_detail_spec.rb +120 -0
- data/spec/models/api_v3_decode_achievements_detail_spec.rb +108 -0
- data/spec/models/api_v3_decode_artifact_type_spec.rb +30 -0
- data/spec/models/api_v3_decode_points_detail_spec.rb +120 -0
- data/spec/models/api_v3_decode_score_detail_spec.rb +48 -0
- data/spec/models/api_v3_decode_teleop_base_location_spec.rb +30 -0
- data/spec/models/api_v3_division_spec.rb +42 -0
- data/spec/models/api_v3_double_elimination_series_description_spec.rb +90 -0
- data/spec/models/api_v3_double_elims_bracket_half_spec.rb +30 -0
- data/spec/models/api_v3_event_format_spec.rb +30 -0
- data/spec/models/api_v3_event_live_stream_spec.rb +48 -0
- data/spec/models/api_v3_event_participant_spec.rb +48 -0
- data/spec/models/api_v3_event_participants_spec.rb +36 -0
- data/spec/models/api_v3_event_spec.rb +168 -0
- data/spec/models/api_v3_event_type_spec.rb +30 -0
- data/spec/models/api_v3_events_spec.rb +36 -0
- data/spec/models/api_v3_ff_achievements_detail_spec.rb +174 -0
- data/spec/models/api_v3_ff_auto_location_spec.rb +30 -0
- data/spec/models/api_v3_ff_end_location_spec.rb +30 -0
- data/spec/models/api_v3_ff_points_detail_spec.rb +144 -0
- data/spec/models/api_v3_ff_remote_achievements_detail_spec.rb +138 -0
- data/spec/models/api_v3_ff_remote_points_detail_spec.rb +126 -0
- data/spec/models/api_v3_freight_frenzy_remote_score_detail_spec.rb +48 -0
- data/spec/models/api_v3_freight_frenzy_score_detail_spec.rb +48 -0
- data/spec/models/api_v3_into_the_deep_score_detail_spec.rb +48 -0
- data/spec/models/api_v3_itd_achievements_detail_spec.rb +126 -0
- data/spec/models/api_v3_itd_auto_location_spec.rb +30 -0
- data/spec/models/api_v3_itd_points_detail_spec.rb +108 -0
- data/spec/models/api_v3_itd_teleop_location_spec.rb +30 -0
- data/spec/models/api_v3_junction_element_spec.rb +30 -0
- data/spec/models/api_v3_league_details_spec.rb +66 -0
- data/spec/models/api_v3_league_membership_details_spec.rb +42 -0
- data/spec/models/api_v3_league_spec.rb +60 -0
- data/spec/models/api_v3_leagues_spec.rb +36 -0
- data/spec/models/api_v3_match_alliance_spec.rb +36 -0
- data/spec/models/api_v3_match_details_spec.rb +44 -0
- data/spec/models/api_v3_match_spec.rb +44 -0
- data/spec/models/api_v3_match_team_spec.rb +54 -0
- data/spec/models/api_v3_matches_spec.rb +36 -0
- data/spec/models/api_v3_pit_map_cell_type_spec.rb +30 -0
- data/spec/models/api_v3_pit_map_element_spec.rb +102 -0
- data/spec/models/api_v3_pit_map_label_orientation_spec.rb +30 -0
- data/spec/models/api_v3_pit_map_spec.rb +72 -0
- data/spec/models/api_v3_playoff_alliance_spec.rb +54 -0
- data/spec/models/api_v3_playoff_alliances_spec.rb +36 -0
- data/spec/models/api_v3_playoff_match_alliance_spec.rb +42 -0
- data/spec/models/api_v3_playoff_ranking_spec.rb +78 -0
- data/spec/models/api_v3_playoff_rankings_spec.rb +36 -0
- data/spec/models/api_v3_playoff_series_description_spec.rb +78 -0
- data/spec/models/api_v3_playoff_structure_spec.rb +48 -0
- data/spec/models/api_v3_playoff_type_spec.rb +30 -0
- data/spec/models/api_v3_power_play_achievements_detail_spec.rb +138 -0
- data/spec/models/api_v3_power_play_auto_location_spec.rb +30 -0
- data/spec/models/api_v3_power_play_points_detail_spec.rb +120 -0
- data/spec/models/api_v3_power_play_remote_achievements_detail_spec.rb +126 -0
- data/spec/models/api_v3_power_play_remote_points_detail_spec.rb +114 -0
- data/spec/models/api_v3_power_play_remote_score_detail_spec.rb +48 -0
- data/spec/models/api_v3_power_play_score_detail_spec.rb +48 -0
- data/spec/models/api_v3_ranking_spec.rb +78 -0
- data/spec/models/api_v3_rankings_spec.rb +36 -0
- data/spec/models/api_v3_region_spec.rb +42 -0
- data/spec/models/api_v3_regions_spec.rb +36 -0
- data/spec/models/api_v3_remote_junction_element_spec.rb +30 -0
- data/spec/models/api_v3_remote_score_detail_spec.rb +44 -0
- data/spec/models/api_v3_round_robin_alliance_description_spec.rb +42 -0
- data/spec/models/api_v3_score_detail_spec.rb +44 -0
- data/spec/models/api_v3_season_spec.rb +54 -0
- data/spec/models/api_v3_seasons_spec.rb +42 -0
- data/spec/models/api_v3_selection_operation_spec.rb +30 -0
- data/spec/models/api_v3_series_alliance_description_spec.rb +48 -0
- data/spec/models/api_v3_series_alliance_state_spec.rb +30 -0
- data/spec/models/api_v3_simple_event_spec.rb +126 -0
- data/spec/models/api_v3_simple_team_spec.rb +48 -0
- data/spec/models/api_v3_single_award_recipient_spec.rb +72 -0
- data/spec/models/api_v3_single_team_match_details_spec.rb +120 -0
- data/spec/models/api_v3_single_team_match_participants_spec.rb +36 -0
- data/spec/models/api_v3_single_team_match_results_details_spec.rb +36 -0
- data/spec/models/api_v3_single_team_match_results_spec.rb +36 -0
- data/spec/models/api_v3_single_team_match_spec.rb +114 -0
- data/spec/models/api_v3_skystone_achievements_detail_spec.rb +144 -0
- data/spec/models/api_v3_skystone_points_detail_spec.rb +120 -0
- data/spec/models/api_v3_skystone_score_detail_spec.rb +48 -0
- data/spec/models/api_v3_stone_spec.rb +30 -0
- data/spec/models/api_v3_team_avatar_spec.rb +42 -0
- data/spec/models/api_v3_team_avatars_spec.rb +36 -0
- data/spec/models/api_v3_team_details_spec.rb +54 -0
- data/spec/models/api_v3_team_event_participation_details_spec.rb +60 -0
- data/spec/models/api_v3_team_event_participation_spec.rb +42 -0
- data/spec/models/api_v3_team_history_spec.rb +90 -0
- data/spec/models/api_v3_team_season_history_spec.rb +42 -0
- data/spec/models/api_v3_team_spec.rb +96 -0
- data/spec/models/api_v3_teams_spec.rb +36 -0
- data/spec/models/api_v3_tournament_level_spec.rb +30 -0
- data/spec/models/api_v3_ug_achievements_detail_spec.rb +162 -0
- data/spec/models/api_v3_ug_points_detail_spec.rb +114 -0
- data/spec/models/api_v3_ug_remote_achievements_detail_spec.rb +156 -0
- data/spec/models/api_v3_ug_remote_points_detail_spec.rb +114 -0
- data/spec/models/api_v3_ug_wobble_location_spec.rb +30 -0
- data/spec/models/api_v3_ultimate_goal_remote_score_detail_spec.rb +48 -0
- data/spec/models/api_v3_ultimate_goal_score_detail_spec.rb +48 -0
- data/spec/spec_helper.rb +111 -0
- data/update.sh +1 -0
- metadata +630 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: c3216188be2cc7d72ad3e3cd8ac66f4f67c640cd940b958748d6377fce9b3634
|
|
4
|
+
data.tar.gz: a19efbf95021404a5acc51859727d9d853245de940ffdaf16dff49edf1b6e022
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: b785d2debee43d5e02a53399ea4a1ec4b10dd1f306dd8132910822d33b78a438440e13c1b251a0f92e4dafd1c27441053262566ad8ae6632e2106ea871583ad7
|
|
7
|
+
data.tar.gz: 271c33d90c21861e4ebf5216d66a3825c737b048c86ef6f17009716607bf58c5debcce5b27ae3ca9d6f4889dec719de786cc3a4def851234f708a6f8a0f4d8e4
|
data/Gemfile
ADDED
data/README.md
ADDED
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
# ftc_api_v3_client
|
|
2
|
+
|
|
3
|
+
FtcApiV3Client - the Ruby gem for the FTC Scoring Data API
|
|
4
|
+
|
|
5
|
+
THIS API IS CURRENTLY IN EARLY DEVELOPMENT AND MAY CHANGE WITHOUT WARNING.
|
|
6
|
+
THIS PAGE WILL BE UPDATED ONCE THE API IS OFFICIALLY RELEASED.
|
|
7
|
+
|
|
8
|
+
This API provides event and scoring data for FIRST Tech Challenge. Applications that
|
|
9
|
+
present result data directly are encouraged to directly call this API rather than
|
|
10
|
+
maintaining their own copies of the data. All endpoints are cached by our CDN and
|
|
11
|
+
may return data up to one hour old for data that changes infrequently. During an event,
|
|
12
|
+
data that changes frequently (e.g. match results and rankings) should not be more than
|
|
13
|
+
30 seconds old.
|
|
14
|
+
|
|
15
|
+
NOTE: For developers who have integrated with the v2 API in the past, this is a policy
|
|
16
|
+
shift, as previously developers were encouraged to maintain their own copy of relevant data.
|
|
17
|
+
In the interest of providing the community with the most up-to-date data and reducing the
|
|
18
|
+
burden for applications that are not performing their own analytics on event data, we are
|
|
19
|
+
now encouraging directly integrating our API into websites and apps.
|
|
20
|
+
|
|
21
|
+
Also note that all endpoints that accept a year argument now expect the year in which
|
|
22
|
+
the FIRST Championship for that season is held. This is a change from the previous API
|
|
23
|
+
and FTC-events website, which used the kickoff year.
|
|
24
|
+
|
|
25
|
+
To report any issues, please report an issue here: https://github.com/FIRST-Tech-Challenge/scorekeeper/issues/new?template=api-bug-report.md
|
|
26
|
+
To request additional data, please submit a feature request here: https://github.com/FIRST-Tech-Challenge/scorekeeper/issues/new?template=api-feature-request.md
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
30
|
+
|
|
31
|
+
- API version: v3
|
|
32
|
+
- Package version: 0.1.0
|
|
33
|
+
- Generator version: 7.20.0
|
|
34
|
+
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
35
|
+
|
|
36
|
+
## Installation
|
|
37
|
+
|
|
38
|
+
### Build a gem
|
|
39
|
+
|
|
40
|
+
To build the Ruby code into a gem:
|
|
41
|
+
|
|
42
|
+
```shell
|
|
43
|
+
gem build ftc_api_v3_client.gemspec
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Then either install the gem locally:
|
|
47
|
+
|
|
48
|
+
```shell
|
|
49
|
+
gem install ./ftc_api_v3_client-0.1.0.gem
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
(for development, run `gem install --dev ./ftc_api_v3_client-0.1.0.gem` to install the development dependencies)
|
|
53
|
+
|
|
54
|
+
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
55
|
+
|
|
56
|
+
Finally add this to the Gemfile:
|
|
57
|
+
|
|
58
|
+
gem 'ftc_api_v3_client', '~> 0.1.0'
|
|
59
|
+
|
|
60
|
+
### Install from Git
|
|
61
|
+
|
|
62
|
+
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
|
|
63
|
+
|
|
64
|
+
gem 'ftc_api_v3_client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
|
|
65
|
+
|
|
66
|
+
### Include the Ruby code directly
|
|
67
|
+
|
|
68
|
+
Include the Ruby code directly using `-I` as follows:
|
|
69
|
+
|
|
70
|
+
```shell
|
|
71
|
+
ruby -Ilib script.rb
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Getting Started
|
|
75
|
+
|
|
76
|
+
Please follow the [installation](#installation) procedure and then run the following code:
|
|
77
|
+
|
|
78
|
+
```ruby
|
|
79
|
+
# Load the gem
|
|
80
|
+
require 'ftc_api_v3_client'
|
|
81
|
+
|
|
82
|
+
# Setup authorization
|
|
83
|
+
FtcApiV3Client.configure do |config|
|
|
84
|
+
# Configure API key authorization: ApiKeyAuth
|
|
85
|
+
config.api_key['api_key'] = 'YOUR API KEY'
|
|
86
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
87
|
+
# config.api_key_prefix['api_key'] = 'Bearer'
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
api_instance = FtcApiV3Client::EventsApi.new
|
|
91
|
+
cmp_year = 'cmp_year_example' # String | The year of the FIRST Championship for the requested season
|
|
92
|
+
event_code = 'event_code_example' # String | The code (abbreviation) for the event
|
|
93
|
+
|
|
94
|
+
begin
|
|
95
|
+
#Get event from season
|
|
96
|
+
result = api_instance.get_event(cmp_year, event_code)
|
|
97
|
+
p result
|
|
98
|
+
rescue FtcApiV3Client::ApiError => e
|
|
99
|
+
puts "Exception when calling EventsApi->get_event: #{e}"
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
## Documentation for API Endpoints
|
|
105
|
+
|
|
106
|
+
All URIs are relative to *https://ftc-api.firstinspires.org*
|
|
107
|
+
|
|
108
|
+
Class | Method | HTTP request | Description
|
|
109
|
+
------------ | ------------- | ------------- | -------------
|
|
110
|
+
*FtcApiV3Client::EventsApi* | [**get_event**](docs/EventsApi.md#get_event) | **GET** /api/v3/seasons/{cmpYear}/events/{eventCode} | Get event from season
|
|
111
|
+
*FtcApiV3Client::EventsApi* | [**get_event_advancement_from**](docs/EventsApi.md#get_event_advancement_from) | **GET** /api/v3/seasons/{cmpYear}/events/{eventCode}/advancement/from | Get event advancement (from)
|
|
112
|
+
*FtcApiV3Client::EventsApi* | [**get_event_alliance_selections**](docs/EventsApi.md#get_event_alliance_selections) | **GET** /api/v3/seasons/{cmpYear}/events/{eventCode}/alliances/selections | Get event alliance selections
|
|
113
|
+
*FtcApiV3Client::EventsApi* | [**get_event_alliances**](docs/EventsApi.md#get_event_alliances) | **GET** /api/v3/seasons/{cmpYear}/events/{eventCode}/alliances | Get event alliances
|
|
114
|
+
*FtcApiV3Client::EventsApi* | [**get_event_awards**](docs/EventsApi.md#get_event_awards) | **GET** /api/v3/seasons/{cmpYear}/events/{eventCode}/awards | Get event awards
|
|
115
|
+
*FtcApiV3Client::EventsApi* | [**get_event_match**](docs/EventsApi.md#get_event_match) | **GET** /api/v3/seasons/{cmpYear}/events/{eventCode}/matches/{tournamentLevel}/{series}/{number} | Get match details
|
|
116
|
+
*FtcApiV3Client::EventsApi* | [**get_event_pit_map**](docs/EventsApi.md#get_event_pit_map) | **GET** /api/v3/seasons/{cmpYear}/events/{eventCode}/pitMap | Get pit map
|
|
117
|
+
*FtcApiV3Client::EventsApi* | [**get_event_playoff_rankings**](docs/EventsApi.md#get_event_playoff_rankings) | **GET** /api/v3/seasons/{cmpYear}/events/{eventCode}/playoffRankings | Get event playoff rankings
|
|
118
|
+
*FtcApiV3Client::EventsApi* | [**get_event_playoff_structure**](docs/EventsApi.md#get_event_playoff_structure) | **GET** /api/v3/seasons/{cmpYear}/events/{eventCode}/playoffStructure | Get playoff structure
|
|
119
|
+
*FtcApiV3Client::EventsApi* | [**get_event_rankings**](docs/EventsApi.md#get_event_rankings) | **GET** /api/v3/seasons/{cmpYear}/events/{eventCode}/rankings | Get event rankings
|
|
120
|
+
*FtcApiV3Client::EventsApi* | [**list_event_matches**](docs/EventsApi.md#list_event_matches) | **GET** /api/v3/seasons/{cmpYear}/events/{eventCode}/matches | List event matches
|
|
121
|
+
*FtcApiV3Client::EventsApi* | [**list_event_teams**](docs/EventsApi.md#list_event_teams) | **GET** /api/v3/seasons/{cmpYear}/events/{eventCode}/teams | List teams for an event
|
|
122
|
+
*FtcApiV3Client::EventsApi* | [**list_events**](docs/EventsApi.md#list_events) | **GET** /api/v3/seasons/{cmpYear}/events | List events for a season
|
|
123
|
+
*FtcApiV3Client::LeaguesApi* | [**get_league**](docs/LeaguesApi.md#get_league) | **GET** /api/v3/seasons/{cmpYear}/regions/{regionCode}/leagues/{leagueCode} | Gets a single league from a region
|
|
124
|
+
*FtcApiV3Client::LeaguesApi* | [**get_league_rankings**](docs/LeaguesApi.md#get_league_rankings) | **GET** /api/v3/seasons/{cmpYear}/regions/{regionCode}/leagues/{leagueCode}/rankings | Get rankings for a league
|
|
125
|
+
*FtcApiV3Client::LeaguesApi* | [**list_league_events**](docs/LeaguesApi.md#list_league_events) | **GET** /api/v3/seasons/{cmpYear}/regions/{regionCode}/leagues/{leagueCode}/events | List events for a league
|
|
126
|
+
*FtcApiV3Client::LeaguesApi* | [**list_league_teams**](docs/LeaguesApi.md#list_league_teams) | **GET** /api/v3/seasons/{cmpYear}/regions/{regionCode}/leagues/{leagueCode}/teams | List teams for a league
|
|
127
|
+
*FtcApiV3Client::LeaguesApi* | [**list_leagues**](docs/LeaguesApi.md#list_leagues) | **GET** /api/v3/seasons/{cmpYear}/regions/{regionCode}/leagues | Lists leagues for a region
|
|
128
|
+
*FtcApiV3Client::RegionsApi* | [**get_region**](docs/RegionsApi.md#get_region) | **GET** /api/v3/seasons/{cmpYear}/regions/{regionCode} | Get region from a season
|
|
129
|
+
*FtcApiV3Client::RegionsApi* | [**list_region_events**](docs/RegionsApi.md#list_region_events) | **GET** /api/v3/seasons/{cmpYear}/regions/{regionCode}/events | List events for a regions
|
|
130
|
+
*FtcApiV3Client::RegionsApi* | [**list_region_teams**](docs/RegionsApi.md#list_region_teams) | **GET** /api/v3/seasons/{cmpYear}/regions/{regionCode}/teams | List teams for a region
|
|
131
|
+
*FtcApiV3Client::RegionsApi* | [**list_regions**](docs/RegionsApi.md#list_regions) | **GET** /api/v3/seasons/{cmpYear}/regions | List regions for a season
|
|
132
|
+
*FtcApiV3Client::SeasonsApi* | [**get_season**](docs/SeasonsApi.md#get_season) | **GET** /api/v3/seasons/{cmpYear} | Get single FTC season
|
|
133
|
+
*FtcApiV3Client::SeasonsApi* | [**list_seasons**](docs/SeasonsApi.md#list_seasons) | **GET** /api/v3/seasons | List all FTC seasons
|
|
134
|
+
*FtcApiV3Client::TeamsApi* | [**get_team**](docs/TeamsApi.md#get_team) | **GET** /api/v3/seasons/{cmpYear}/teams/{number} | Get teams information
|
|
135
|
+
*FtcApiV3Client::TeamsApi* | [**get_team_details**](docs/TeamsApi.md#get_team_details) | **GET** /api/v3/seasons/{cmpYear}/teams/{number}/details | Get detailed team information
|
|
136
|
+
*FtcApiV3Client::TeamsApi* | [**get_team_history**](docs/TeamsApi.md#get_team_history) | **GET** /api/v3/teams/{number} | Get team history
|
|
137
|
+
*FtcApiV3Client::TeamsApi* | [**list_team_avatars**](docs/TeamsApi.md#list_team_avatars) | **GET** /api/v3/seasons/{cmpYear}/avatars | List team avatars for a season
|
|
138
|
+
*FtcApiV3Client::TeamsApi* | [**list_teams**](docs/TeamsApi.md#list_teams) | **GET** /api/v3/seasons/{cmpYear}/teams | List teams for a season
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
## Documentation for Models
|
|
142
|
+
|
|
143
|
+
- [FtcApiV3Client::ApiV3AdvancementFrom](docs/ApiV3AdvancementFrom.md)
|
|
144
|
+
- [FtcApiV3Client::ApiV3AdvancementFromSlot](docs/ApiV3AdvancementFromSlot.md)
|
|
145
|
+
- [FtcApiV3Client::ApiV3AdvancementStatus](docs/ApiV3AdvancementStatus.md)
|
|
146
|
+
- [FtcApiV3Client::ApiV3AllianceColor](docs/ApiV3AllianceColor.md)
|
|
147
|
+
- [FtcApiV3Client::ApiV3AllianceDescription](docs/ApiV3AllianceDescription.md)
|
|
148
|
+
- [FtcApiV3Client::ApiV3AllianceMatch](docs/ApiV3AllianceMatch.md)
|
|
149
|
+
- [FtcApiV3Client::ApiV3AllianceMatchDetails](docs/ApiV3AllianceMatchDetails.md)
|
|
150
|
+
- [FtcApiV3Client::ApiV3AllianceMatchParticipants](docs/ApiV3AllianceMatchParticipants.md)
|
|
151
|
+
- [FtcApiV3Client::ApiV3AllianceMatchResults](docs/ApiV3AllianceMatchResults.md)
|
|
152
|
+
- [FtcApiV3Client::ApiV3AllianceMatchResultsDetails](docs/ApiV3AllianceMatchResultsDetails.md)
|
|
153
|
+
- [FtcApiV3Client::ApiV3AlliancePlayoffMatchParticipants](docs/ApiV3AlliancePlayoffMatchParticipants.md)
|
|
154
|
+
- [FtcApiV3Client::ApiV3AllianceSelection](docs/ApiV3AllianceSelection.md)
|
|
155
|
+
- [FtcApiV3Client::ApiV3AllianceSelections](docs/ApiV3AllianceSelections.md)
|
|
156
|
+
- [FtcApiV3Client::ApiV3AllianceSimpleMatchParticipants](docs/ApiV3AllianceSimpleMatchParticipants.md)
|
|
157
|
+
- [FtcApiV3Client::ApiV3Award](docs/ApiV3Award.md)
|
|
158
|
+
- [FtcApiV3Client::ApiV3AwardRecipient](docs/ApiV3AwardRecipient.md)
|
|
159
|
+
- [FtcApiV3Client::ApiV3AwardType](docs/ApiV3AwardType.md)
|
|
160
|
+
- [FtcApiV3Client::ApiV3Awards](docs/ApiV3Awards.md)
|
|
161
|
+
- [FtcApiV3Client::ApiV3BasePlayoffSeriesDescription](docs/ApiV3BasePlayoffSeriesDescription.md)
|
|
162
|
+
- [FtcApiV3Client::ApiV3BasicAllianceDescription](docs/ApiV3BasicAllianceDescription.md)
|
|
163
|
+
- [FtcApiV3Client::ApiV3CenterStageRemoteScoreDetail](docs/ApiV3CenterStageRemoteScoreDetail.md)
|
|
164
|
+
- [FtcApiV3Client::ApiV3CenterStageScoreDetail](docs/ApiV3CenterStageScoreDetail.md)
|
|
165
|
+
- [FtcApiV3Client::ApiV3CompetingType](docs/ApiV3CompetingType.md)
|
|
166
|
+
- [FtcApiV3Client::ApiV3Coordinates](docs/ApiV3Coordinates.md)
|
|
167
|
+
- [FtcApiV3Client::ApiV3CsAchievementsDetail](docs/ApiV3CsAchievementsDetail.md)
|
|
168
|
+
- [FtcApiV3Client::ApiV3CsEndLocation](docs/ApiV3CsEndLocation.md)
|
|
169
|
+
- [FtcApiV3Client::ApiV3CsPointsDetail](docs/ApiV3CsPointsDetail.md)
|
|
170
|
+
- [FtcApiV3Client::ApiV3CsRemoteAchievementsDetail](docs/ApiV3CsRemoteAchievementsDetail.md)
|
|
171
|
+
- [FtcApiV3Client::ApiV3CsRemotePointsDetail](docs/ApiV3CsRemotePointsDetail.md)
|
|
172
|
+
- [FtcApiV3Client::ApiV3DecodeAchievementsDetail](docs/ApiV3DecodeAchievementsDetail.md)
|
|
173
|
+
- [FtcApiV3Client::ApiV3DecodeArtifactType](docs/ApiV3DecodeArtifactType.md)
|
|
174
|
+
- [FtcApiV3Client::ApiV3DecodePointsDetail](docs/ApiV3DecodePointsDetail.md)
|
|
175
|
+
- [FtcApiV3Client::ApiV3DecodeScoreDetail](docs/ApiV3DecodeScoreDetail.md)
|
|
176
|
+
- [FtcApiV3Client::ApiV3DecodeTeleopBaseLocation](docs/ApiV3DecodeTeleopBaseLocation.md)
|
|
177
|
+
- [FtcApiV3Client::ApiV3Division](docs/ApiV3Division.md)
|
|
178
|
+
- [FtcApiV3Client::ApiV3DoubleEliminationSeriesDescription](docs/ApiV3DoubleEliminationSeriesDescription.md)
|
|
179
|
+
- [FtcApiV3Client::ApiV3DoubleElimsBracketHalf](docs/ApiV3DoubleElimsBracketHalf.md)
|
|
180
|
+
- [FtcApiV3Client::ApiV3Event](docs/ApiV3Event.md)
|
|
181
|
+
- [FtcApiV3Client::ApiV3EventFormat](docs/ApiV3EventFormat.md)
|
|
182
|
+
- [FtcApiV3Client::ApiV3EventLiveStream](docs/ApiV3EventLiveStream.md)
|
|
183
|
+
- [FtcApiV3Client::ApiV3EventParticipant](docs/ApiV3EventParticipant.md)
|
|
184
|
+
- [FtcApiV3Client::ApiV3EventParticipants](docs/ApiV3EventParticipants.md)
|
|
185
|
+
- [FtcApiV3Client::ApiV3EventType](docs/ApiV3EventType.md)
|
|
186
|
+
- [FtcApiV3Client::ApiV3Events](docs/ApiV3Events.md)
|
|
187
|
+
- [FtcApiV3Client::ApiV3FFAchievementsDetail](docs/ApiV3FFAchievementsDetail.md)
|
|
188
|
+
- [FtcApiV3Client::ApiV3FFAutoLocation](docs/ApiV3FFAutoLocation.md)
|
|
189
|
+
- [FtcApiV3Client::ApiV3FFEndLocation](docs/ApiV3FFEndLocation.md)
|
|
190
|
+
- [FtcApiV3Client::ApiV3FFPointsDetail](docs/ApiV3FFPointsDetail.md)
|
|
191
|
+
- [FtcApiV3Client::ApiV3FFRemoteAchievementsDetail](docs/ApiV3FFRemoteAchievementsDetail.md)
|
|
192
|
+
- [FtcApiV3Client::ApiV3FFRemotePointsDetail](docs/ApiV3FFRemotePointsDetail.md)
|
|
193
|
+
- [FtcApiV3Client::ApiV3FreightFrenzyRemoteScoreDetail](docs/ApiV3FreightFrenzyRemoteScoreDetail.md)
|
|
194
|
+
- [FtcApiV3Client::ApiV3FreightFrenzyScoreDetail](docs/ApiV3FreightFrenzyScoreDetail.md)
|
|
195
|
+
- [FtcApiV3Client::ApiV3IntoTheDeepScoreDetail](docs/ApiV3IntoTheDeepScoreDetail.md)
|
|
196
|
+
- [FtcApiV3Client::ApiV3ItdAchievementsDetail](docs/ApiV3ItdAchievementsDetail.md)
|
|
197
|
+
- [FtcApiV3Client::ApiV3ItdAutoLocation](docs/ApiV3ItdAutoLocation.md)
|
|
198
|
+
- [FtcApiV3Client::ApiV3ItdPointsDetail](docs/ApiV3ItdPointsDetail.md)
|
|
199
|
+
- [FtcApiV3Client::ApiV3ItdTeleopLocation](docs/ApiV3ItdTeleopLocation.md)
|
|
200
|
+
- [FtcApiV3Client::ApiV3JunctionElement](docs/ApiV3JunctionElement.md)
|
|
201
|
+
- [FtcApiV3Client::ApiV3League](docs/ApiV3League.md)
|
|
202
|
+
- [FtcApiV3Client::ApiV3LeagueDetails](docs/ApiV3LeagueDetails.md)
|
|
203
|
+
- [FtcApiV3Client::ApiV3LeagueMembershipDetails](docs/ApiV3LeagueMembershipDetails.md)
|
|
204
|
+
- [FtcApiV3Client::ApiV3Leagues](docs/ApiV3Leagues.md)
|
|
205
|
+
- [FtcApiV3Client::ApiV3Match](docs/ApiV3Match.md)
|
|
206
|
+
- [FtcApiV3Client::ApiV3MatchAlliance](docs/ApiV3MatchAlliance.md)
|
|
207
|
+
- [FtcApiV3Client::ApiV3MatchDetails](docs/ApiV3MatchDetails.md)
|
|
208
|
+
- [FtcApiV3Client::ApiV3MatchTeam](docs/ApiV3MatchTeam.md)
|
|
209
|
+
- [FtcApiV3Client::ApiV3Matches](docs/ApiV3Matches.md)
|
|
210
|
+
- [FtcApiV3Client::ApiV3PitMap](docs/ApiV3PitMap.md)
|
|
211
|
+
- [FtcApiV3Client::ApiV3PitMapCellType](docs/ApiV3PitMapCellType.md)
|
|
212
|
+
- [FtcApiV3Client::ApiV3PitMapElement](docs/ApiV3PitMapElement.md)
|
|
213
|
+
- [FtcApiV3Client::ApiV3PitMapLabelOrientation](docs/ApiV3PitMapLabelOrientation.md)
|
|
214
|
+
- [FtcApiV3Client::ApiV3PlayoffAlliance](docs/ApiV3PlayoffAlliance.md)
|
|
215
|
+
- [FtcApiV3Client::ApiV3PlayoffAlliances](docs/ApiV3PlayoffAlliances.md)
|
|
216
|
+
- [FtcApiV3Client::ApiV3PlayoffMatchAlliance](docs/ApiV3PlayoffMatchAlliance.md)
|
|
217
|
+
- [FtcApiV3Client::ApiV3PlayoffRanking](docs/ApiV3PlayoffRanking.md)
|
|
218
|
+
- [FtcApiV3Client::ApiV3PlayoffRankings](docs/ApiV3PlayoffRankings.md)
|
|
219
|
+
- [FtcApiV3Client::ApiV3PlayoffSeriesDescription](docs/ApiV3PlayoffSeriesDescription.md)
|
|
220
|
+
- [FtcApiV3Client::ApiV3PlayoffStructure](docs/ApiV3PlayoffStructure.md)
|
|
221
|
+
- [FtcApiV3Client::ApiV3PlayoffType](docs/ApiV3PlayoffType.md)
|
|
222
|
+
- [FtcApiV3Client::ApiV3PowerPlayAchievementsDetail](docs/ApiV3PowerPlayAchievementsDetail.md)
|
|
223
|
+
- [FtcApiV3Client::ApiV3PowerPlayAutoLocation](docs/ApiV3PowerPlayAutoLocation.md)
|
|
224
|
+
- [FtcApiV3Client::ApiV3PowerPlayPointsDetail](docs/ApiV3PowerPlayPointsDetail.md)
|
|
225
|
+
- [FtcApiV3Client::ApiV3PowerPlayRemoteAchievementsDetail](docs/ApiV3PowerPlayRemoteAchievementsDetail.md)
|
|
226
|
+
- [FtcApiV3Client::ApiV3PowerPlayRemotePointsDetail](docs/ApiV3PowerPlayRemotePointsDetail.md)
|
|
227
|
+
- [FtcApiV3Client::ApiV3PowerPlayRemoteScoreDetail](docs/ApiV3PowerPlayRemoteScoreDetail.md)
|
|
228
|
+
- [FtcApiV3Client::ApiV3PowerPlayScoreDetail](docs/ApiV3PowerPlayScoreDetail.md)
|
|
229
|
+
- [FtcApiV3Client::ApiV3Ranking](docs/ApiV3Ranking.md)
|
|
230
|
+
- [FtcApiV3Client::ApiV3Rankings](docs/ApiV3Rankings.md)
|
|
231
|
+
- [FtcApiV3Client::ApiV3Region](docs/ApiV3Region.md)
|
|
232
|
+
- [FtcApiV3Client::ApiV3Regions](docs/ApiV3Regions.md)
|
|
233
|
+
- [FtcApiV3Client::ApiV3RemoteJunctionElement](docs/ApiV3RemoteJunctionElement.md)
|
|
234
|
+
- [FtcApiV3Client::ApiV3RemoteScoreDetail](docs/ApiV3RemoteScoreDetail.md)
|
|
235
|
+
- [FtcApiV3Client::ApiV3RoundRobinAllianceDescription](docs/ApiV3RoundRobinAllianceDescription.md)
|
|
236
|
+
- [FtcApiV3Client::ApiV3ScoreDetail](docs/ApiV3ScoreDetail.md)
|
|
237
|
+
- [FtcApiV3Client::ApiV3Season](docs/ApiV3Season.md)
|
|
238
|
+
- [FtcApiV3Client::ApiV3Seasons](docs/ApiV3Seasons.md)
|
|
239
|
+
- [FtcApiV3Client::ApiV3SelectionOperation](docs/ApiV3SelectionOperation.md)
|
|
240
|
+
- [FtcApiV3Client::ApiV3SeriesAllianceDescription](docs/ApiV3SeriesAllianceDescription.md)
|
|
241
|
+
- [FtcApiV3Client::ApiV3SeriesAllianceState](docs/ApiV3SeriesAllianceState.md)
|
|
242
|
+
- [FtcApiV3Client::ApiV3SimpleEvent](docs/ApiV3SimpleEvent.md)
|
|
243
|
+
- [FtcApiV3Client::ApiV3SimpleTeam](docs/ApiV3SimpleTeam.md)
|
|
244
|
+
- [FtcApiV3Client::ApiV3SingleAwardRecipient](docs/ApiV3SingleAwardRecipient.md)
|
|
245
|
+
- [FtcApiV3Client::ApiV3SingleTeamMatch](docs/ApiV3SingleTeamMatch.md)
|
|
246
|
+
- [FtcApiV3Client::ApiV3SingleTeamMatchDetails](docs/ApiV3SingleTeamMatchDetails.md)
|
|
247
|
+
- [FtcApiV3Client::ApiV3SingleTeamMatchParticipants](docs/ApiV3SingleTeamMatchParticipants.md)
|
|
248
|
+
- [FtcApiV3Client::ApiV3SingleTeamMatchResults](docs/ApiV3SingleTeamMatchResults.md)
|
|
249
|
+
- [FtcApiV3Client::ApiV3SingleTeamMatchResultsDetails](docs/ApiV3SingleTeamMatchResultsDetails.md)
|
|
250
|
+
- [FtcApiV3Client::ApiV3SkystoneAchievementsDetail](docs/ApiV3SkystoneAchievementsDetail.md)
|
|
251
|
+
- [FtcApiV3Client::ApiV3SkystonePointsDetail](docs/ApiV3SkystonePointsDetail.md)
|
|
252
|
+
- [FtcApiV3Client::ApiV3SkystoneScoreDetail](docs/ApiV3SkystoneScoreDetail.md)
|
|
253
|
+
- [FtcApiV3Client::ApiV3Stone](docs/ApiV3Stone.md)
|
|
254
|
+
- [FtcApiV3Client::ApiV3Team](docs/ApiV3Team.md)
|
|
255
|
+
- [FtcApiV3Client::ApiV3TeamAvatar](docs/ApiV3TeamAvatar.md)
|
|
256
|
+
- [FtcApiV3Client::ApiV3TeamAvatars](docs/ApiV3TeamAvatars.md)
|
|
257
|
+
- [FtcApiV3Client::ApiV3TeamDetails](docs/ApiV3TeamDetails.md)
|
|
258
|
+
- [FtcApiV3Client::ApiV3TeamEventParticipation](docs/ApiV3TeamEventParticipation.md)
|
|
259
|
+
- [FtcApiV3Client::ApiV3TeamEventParticipationDetails](docs/ApiV3TeamEventParticipationDetails.md)
|
|
260
|
+
- [FtcApiV3Client::ApiV3TeamHistory](docs/ApiV3TeamHistory.md)
|
|
261
|
+
- [FtcApiV3Client::ApiV3TeamSeasonHistory](docs/ApiV3TeamSeasonHistory.md)
|
|
262
|
+
- [FtcApiV3Client::ApiV3Teams](docs/ApiV3Teams.md)
|
|
263
|
+
- [FtcApiV3Client::ApiV3TournamentLevel](docs/ApiV3TournamentLevel.md)
|
|
264
|
+
- [FtcApiV3Client::ApiV3UgAchievementsDetail](docs/ApiV3UgAchievementsDetail.md)
|
|
265
|
+
- [FtcApiV3Client::ApiV3UgPointsDetail](docs/ApiV3UgPointsDetail.md)
|
|
266
|
+
- [FtcApiV3Client::ApiV3UgRemoteAchievementsDetail](docs/ApiV3UgRemoteAchievementsDetail.md)
|
|
267
|
+
- [FtcApiV3Client::ApiV3UgRemotePointsDetail](docs/ApiV3UgRemotePointsDetail.md)
|
|
268
|
+
- [FtcApiV3Client::ApiV3UgWobbleLocation](docs/ApiV3UgWobbleLocation.md)
|
|
269
|
+
- [FtcApiV3Client::ApiV3UltimateGoalRemoteScoreDetail](docs/ApiV3UltimateGoalRemoteScoreDetail.md)
|
|
270
|
+
- [FtcApiV3Client::ApiV3UltimateGoalScoreDetail](docs/ApiV3UltimateGoalScoreDetail.md)
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
## Documentation for Authorization
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
Authentication schemes defined for the API:
|
|
277
|
+
### ApiKeyAuth
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
- **Type**: API key
|
|
281
|
+
- **API key parameter name**: api_key
|
|
282
|
+
- **Location**: URL query string
|
|
283
|
+
|
data/Rakefile
ADDED
data/config.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3AdvancementFrom
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **advancing_team_count** | **Integer** | | |
|
|
8
|
+
| **slots** | [**Array<ApiV3AdvancementFromSlot>**](ApiV3AdvancementFromSlot.md) | | |
|
|
9
|
+
| **target_event_code** | **String** | The code for the event where teams advance from this event | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'ftc_api_v3_client'
|
|
15
|
+
|
|
16
|
+
instance = FtcApiV3Client::ApiV3AdvancementFrom.new(
|
|
17
|
+
advancing_team_count: null,
|
|
18
|
+
slots: null,
|
|
19
|
+
target_event_code: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3AdvancementFromSlot
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **team** | [**ApiV3SimpleTeam**](ApiV3SimpleTeam.md) | | |
|
|
8
|
+
| **criteria** | **String** | | |
|
|
9
|
+
| **status** | [**ApiV3AdvancementStatus**](ApiV3AdvancementStatus.md) | This can be null, in which case the team is not currently advancing but the reason is unspecified (e.g. the event is not complete) | [optional] |
|
|
10
|
+
| **points** | **Array<String>** | Total advancement points are the first value; additional values are presented in the order of tiebreaks defined by the competition manual. Only populated for DECODE and later seasons. | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'ftc_api_v3_client'
|
|
16
|
+
|
|
17
|
+
instance = FtcApiV3Client::ApiV3AdvancementFromSlot.new(
|
|
18
|
+
team: null,
|
|
19
|
+
criteria: null,
|
|
20
|
+
status: null,
|
|
21
|
+
points: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3AdvancementStatus
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
|
|
8
|
+
## Example
|
|
9
|
+
|
|
10
|
+
```ruby
|
|
11
|
+
require 'ftc_api_v3_client'
|
|
12
|
+
|
|
13
|
+
instance = FtcApiV3Client::ApiV3AdvancementStatus.new()
|
|
14
|
+
```
|
|
15
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3AllianceColor
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
|
|
8
|
+
## Example
|
|
9
|
+
|
|
10
|
+
```ruby
|
|
11
|
+
require 'ftc_api_v3_client'
|
|
12
|
+
|
|
13
|
+
instance = FtcApiV3Client::ApiV3AllianceColor.new()
|
|
14
|
+
```
|
|
15
|
+
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3AllianceDescription
|
|
2
|
+
|
|
3
|
+
## Class instance methods
|
|
4
|
+
|
|
5
|
+
### `openapi_one_of`
|
|
6
|
+
|
|
7
|
+
Returns the list of classes defined in oneOf.
|
|
8
|
+
|
|
9
|
+
#### Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'ftc_api_v3_client'
|
|
13
|
+
|
|
14
|
+
FtcApiV3Client::ApiV3AllianceDescription.openapi_one_of
|
|
15
|
+
# =>
|
|
16
|
+
# [
|
|
17
|
+
# :'ApiV3BasicAllianceDescription',
|
|
18
|
+
# :'ApiV3RoundRobinAllianceDescription',
|
|
19
|
+
# :'ApiV3SeriesAllianceDescription'
|
|
20
|
+
# ]
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### `openapi_discriminator_name`
|
|
24
|
+
|
|
25
|
+
Returns the discriminator's property name.
|
|
26
|
+
|
|
27
|
+
#### Example
|
|
28
|
+
|
|
29
|
+
```ruby
|
|
30
|
+
require 'ftc_api_v3_client'
|
|
31
|
+
|
|
32
|
+
FtcApiV3Client::ApiV3AllianceDescription.openapi_discriminator_name
|
|
33
|
+
# => :'type'
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### `openapi_discriminator_name`
|
|
37
|
+
|
|
38
|
+
Returns the discriminator's mapping.
|
|
39
|
+
|
|
40
|
+
#### Example
|
|
41
|
+
|
|
42
|
+
```ruby
|
|
43
|
+
require 'ftc_api_v3_client'
|
|
44
|
+
|
|
45
|
+
FtcApiV3Client::ApiV3AllianceDescription.openapi_discriminator_mapping
|
|
46
|
+
# =>
|
|
47
|
+
# {
|
|
48
|
+
# :'ApiV3BasicAllianceDescription' => :'ApiV3BasicAllianceDescription',
|
|
49
|
+
# :'ApiV3RoundRobinAllianceDescription' => :'ApiV3RoundRobinAllianceDescription',
|
|
50
|
+
# :'ApiV3SeriesAllianceDescription' => :'ApiV3SeriesAllianceDescription'
|
|
51
|
+
# }
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### build
|
|
55
|
+
|
|
56
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
|
57
|
+
|
|
58
|
+
#### Example
|
|
59
|
+
|
|
60
|
+
```ruby
|
|
61
|
+
require 'ftc_api_v3_client'
|
|
62
|
+
|
|
63
|
+
FtcApiV3Client::ApiV3AllianceDescription.build(data)
|
|
64
|
+
# => #<ApiV3BasicAllianceDescription:0x00007fdd4aab02a0>
|
|
65
|
+
|
|
66
|
+
FtcApiV3Client::ApiV3AllianceDescription.build(data_that_doesnt_match)
|
|
67
|
+
# => nil
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
#### Parameters
|
|
71
|
+
|
|
72
|
+
| Name | Type | Description |
|
|
73
|
+
| ---- | ---- | ----------- |
|
|
74
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
|
75
|
+
|
|
76
|
+
#### Return type
|
|
77
|
+
|
|
78
|
+
- `ApiV3BasicAllianceDescription`
|
|
79
|
+
- `ApiV3RoundRobinAllianceDescription`
|
|
80
|
+
- `ApiV3SeriesAllianceDescription`
|
|
81
|
+
- `nil` (if no type matches)
|
|
82
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3AllianceMatch
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **type** | **String** | | |
|
|
8
|
+
| **short_name** | **String** | | |
|
|
9
|
+
| **field** | **Integer** | | |
|
|
10
|
+
| **tournament_level** | [**ApiV3TournamentLevel**](ApiV3TournamentLevel.md) | | |
|
|
11
|
+
| **scheduled_start_time** | **Time** | | [optional] |
|
|
12
|
+
| **start_time** | **Time** | | [optional] |
|
|
13
|
+
| **post_time** | **Time** | | [optional] |
|
|
14
|
+
| **random** | **Integer** | | [optional] |
|
|
15
|
+
| **display_name** | **String** | For display purposes. May include event-specific customization and therefore may not match for equivalent matches between events. | |
|
|
16
|
+
| **series** | **Integer** | For practice and qualification matches, this is always 0. For playoff matches, the series number as described in the playoff structure object. | |
|
|
17
|
+
| **number** | **Integer** | For practice and qualification matches, the number of the match as shown on the schedule. For playoff matches, the number within the series (almost always 1 for double-elimination). | |
|
|
18
|
+
| **commit_time** | **Time** | The time the match was last committed. This can change after initial commit/post and can be used to determine if match details are stale. | [optional] |
|
|
19
|
+
| **match_results** | [**ApiV3AllianceMatchResults**](ApiV3AllianceMatchResults.md) | | [optional] |
|
|
20
|
+
| **teams** | [**ApiV3AllianceMatchParticipants**](ApiV3AllianceMatchParticipants.md) | | |
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```ruby
|
|
25
|
+
require 'ftc_api_v3_client'
|
|
26
|
+
|
|
27
|
+
instance = FtcApiV3Client::ApiV3AllianceMatch.new(
|
|
28
|
+
type: null,
|
|
29
|
+
short_name: null,
|
|
30
|
+
field: null,
|
|
31
|
+
tournament_level: null,
|
|
32
|
+
scheduled_start_time: null,
|
|
33
|
+
start_time: null,
|
|
34
|
+
post_time: null,
|
|
35
|
+
random: null,
|
|
36
|
+
display_name: null,
|
|
37
|
+
series: null,
|
|
38
|
+
number: null,
|
|
39
|
+
commit_time: null,
|
|
40
|
+
match_results: null,
|
|
41
|
+
teams: null
|
|
42
|
+
)
|
|
43
|
+
```
|
|
44
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3AllianceMatchDetails
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **type** | **String** | | |
|
|
8
|
+
| **short_name** | **String** | | |
|
|
9
|
+
| **field** | **Integer** | | |
|
|
10
|
+
| **tournament_level** | [**ApiV3TournamentLevel**](ApiV3TournamentLevel.md) | | |
|
|
11
|
+
| **scheduled_start_time** | **Time** | | [optional] |
|
|
12
|
+
| **start_time** | **Time** | | [optional] |
|
|
13
|
+
| **post_time** | **Time** | | [optional] |
|
|
14
|
+
| **random** | **Integer** | | [optional] |
|
|
15
|
+
| **display_name** | **String** | For display purposes. May include event-specific customization and therefore may not match for equivalent matches between events. | |
|
|
16
|
+
| **series** | **Integer** | For practice and qualification matches, this is always 0. For playoff matches, the series number as described in the playoff structure object. | |
|
|
17
|
+
| **number** | **Integer** | For practice and qualification matches, the number of the match as shown on the schedule. For playoff matches, the number within the series (almost always 1 for double-elimination). | |
|
|
18
|
+
| **commit_time** | **Time** | The time the match was last committed. This can change after initial commit/post and can be used to determine if match details are stale. | [optional] |
|
|
19
|
+
| **match_results** | [**ApiV3AllianceMatchResults**](ApiV3AllianceMatchResults.md) | | [optional] |
|
|
20
|
+
| **teams** | [**ApiV3AllianceMatchParticipants**](ApiV3AllianceMatchParticipants.md) | | |
|
|
21
|
+
| **match_results_details** | [**ApiV3AllianceMatchResultsDetails**](ApiV3AllianceMatchResultsDetails.md) | | [optional] |
|
|
22
|
+
|
|
23
|
+
## Example
|
|
24
|
+
|
|
25
|
+
```ruby
|
|
26
|
+
require 'ftc_api_v3_client'
|
|
27
|
+
|
|
28
|
+
instance = FtcApiV3Client::ApiV3AllianceMatchDetails.new(
|
|
29
|
+
type: null,
|
|
30
|
+
short_name: null,
|
|
31
|
+
field: null,
|
|
32
|
+
tournament_level: null,
|
|
33
|
+
scheduled_start_time: null,
|
|
34
|
+
start_time: null,
|
|
35
|
+
post_time: null,
|
|
36
|
+
random: null,
|
|
37
|
+
display_name: null,
|
|
38
|
+
series: null,
|
|
39
|
+
number: null,
|
|
40
|
+
commit_time: null,
|
|
41
|
+
match_results: null,
|
|
42
|
+
teams: null,
|
|
43
|
+
match_results_details: null
|
|
44
|
+
)
|
|
45
|
+
```
|
|
46
|
+
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3AllianceMatchParticipants
|
|
2
|
+
|
|
3
|
+
## Class instance methods
|
|
4
|
+
|
|
5
|
+
### `openapi_one_of`
|
|
6
|
+
|
|
7
|
+
Returns the list of classes defined in oneOf.
|
|
8
|
+
|
|
9
|
+
#### Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'ftc_api_v3_client'
|
|
13
|
+
|
|
14
|
+
FtcApiV3Client::ApiV3AllianceMatchParticipants.openapi_one_of
|
|
15
|
+
# =>
|
|
16
|
+
# [
|
|
17
|
+
# :'ApiV3AlliancePlayoffMatchParticipants',
|
|
18
|
+
# :'ApiV3AllianceSimpleMatchParticipants'
|
|
19
|
+
# ]
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### `openapi_discriminator_name`
|
|
23
|
+
|
|
24
|
+
Returns the discriminator's property name.
|
|
25
|
+
|
|
26
|
+
#### Example
|
|
27
|
+
|
|
28
|
+
```ruby
|
|
29
|
+
require 'ftc_api_v3_client'
|
|
30
|
+
|
|
31
|
+
FtcApiV3Client::ApiV3AllianceMatchParticipants.openapi_discriminator_name
|
|
32
|
+
# => :'type'
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### `openapi_discriminator_name`
|
|
36
|
+
|
|
37
|
+
Returns the discriminator's mapping.
|
|
38
|
+
|
|
39
|
+
#### Example
|
|
40
|
+
|
|
41
|
+
```ruby
|
|
42
|
+
require 'ftc_api_v3_client'
|
|
43
|
+
|
|
44
|
+
FtcApiV3Client::ApiV3AllianceMatchParticipants.openapi_discriminator_mapping
|
|
45
|
+
# =>
|
|
46
|
+
# {
|
|
47
|
+
# :'ApiV3AlliancePlayoffMatchParticipants' => :'ApiV3AlliancePlayoffMatchParticipants',
|
|
48
|
+
# :'ApiV3AllianceSimpleMatchParticipants' => :'ApiV3AllianceSimpleMatchParticipants'
|
|
49
|
+
# }
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### build
|
|
53
|
+
|
|
54
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
|
55
|
+
|
|
56
|
+
#### Example
|
|
57
|
+
|
|
58
|
+
```ruby
|
|
59
|
+
require 'ftc_api_v3_client'
|
|
60
|
+
|
|
61
|
+
FtcApiV3Client::ApiV3AllianceMatchParticipants.build(data)
|
|
62
|
+
# => #<ApiV3AlliancePlayoffMatchParticipants:0x00007fdd4aab02a0>
|
|
63
|
+
|
|
64
|
+
FtcApiV3Client::ApiV3AllianceMatchParticipants.build(data_that_doesnt_match)
|
|
65
|
+
# => nil
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
#### Parameters
|
|
69
|
+
|
|
70
|
+
| Name | Type | Description |
|
|
71
|
+
| ---- | ---- | ----------- |
|
|
72
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
|
73
|
+
|
|
74
|
+
#### Return type
|
|
75
|
+
|
|
76
|
+
- `ApiV3AlliancePlayoffMatchParticipants`
|
|
77
|
+
- `ApiV3AllianceSimpleMatchParticipants`
|
|
78
|
+
- `nil` (if no type matches)
|
|
79
|
+
|