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
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3ItdAchievementsDetail
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **robot1_auto** | [**ApiV3ItdAutoLocation**](ApiV3ItdAutoLocation.md) | | |
|
|
8
|
+
| **robot2_auto** | [**ApiV3ItdAutoLocation**](ApiV3ItdAutoLocation.md) | | |
|
|
9
|
+
| **auto_sample_net** | **Integer** | | |
|
|
10
|
+
| **auto_sample_low** | **Integer** | | |
|
|
11
|
+
| **auto_sample_high** | **Integer** | | |
|
|
12
|
+
| **auto_specimen_low** | **Integer** | | |
|
|
13
|
+
| **auto_specimen_high** | **Integer** | | |
|
|
14
|
+
| **teleop_sample_net** | **Integer** | | |
|
|
15
|
+
| **teleop_sample_low** | **Integer** | | |
|
|
16
|
+
| **teleop_sample_high** | **Integer** | | |
|
|
17
|
+
| **teleop_specimen_low** | **Integer** | | |
|
|
18
|
+
| **teleop_specimen_high** | **Integer** | | |
|
|
19
|
+
| **robot1_teleop** | [**ApiV3ItdTeleopLocation**](ApiV3ItdTeleopLocation.md) | | |
|
|
20
|
+
| **robot2_teleop** | [**ApiV3ItdTeleopLocation**](ApiV3ItdTeleopLocation.md) | | |
|
|
21
|
+
| **minor_fouls** | **Integer** | | |
|
|
22
|
+
| **major_fouls** | **Integer** | | |
|
|
23
|
+
|
|
24
|
+
## Example
|
|
25
|
+
|
|
26
|
+
```ruby
|
|
27
|
+
require 'ftc_api_v3_client'
|
|
28
|
+
|
|
29
|
+
instance = FtcApiV3Client::ApiV3ItdAchievementsDetail.new(
|
|
30
|
+
robot1_auto: null,
|
|
31
|
+
robot2_auto: null,
|
|
32
|
+
auto_sample_net: null,
|
|
33
|
+
auto_sample_low: null,
|
|
34
|
+
auto_sample_high: null,
|
|
35
|
+
auto_specimen_low: null,
|
|
36
|
+
auto_specimen_high: null,
|
|
37
|
+
teleop_sample_net: null,
|
|
38
|
+
teleop_sample_low: null,
|
|
39
|
+
teleop_sample_high: null,
|
|
40
|
+
teleop_specimen_low: null,
|
|
41
|
+
teleop_specimen_high: null,
|
|
42
|
+
robot1_teleop: null,
|
|
43
|
+
robot2_teleop: null,
|
|
44
|
+
minor_fouls: null,
|
|
45
|
+
major_fouls: null
|
|
46
|
+
)
|
|
47
|
+
```
|
|
48
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3ItdAutoLocation
|
|
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::ApiV3ItdAutoLocation.new()
|
|
14
|
+
```
|
|
15
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3ItdPointsDetail
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **auto_sample_points** | **Integer** | | |
|
|
8
|
+
| **auto_specimen_points** | **Integer** | | |
|
|
9
|
+
| **auto_park_points** | **Integer** | | |
|
|
10
|
+
| **auto_ascent_points** | **Integer** | | |
|
|
11
|
+
| **teleop_sample_points** | **Integer** | | |
|
|
12
|
+
| **teleop_specimen_points** | **Integer** | | |
|
|
13
|
+
| **teleop_park_points** | **Integer** | | |
|
|
14
|
+
| **teleop_ascent_points** | **Integer** | | |
|
|
15
|
+
| **auto_points** | **Integer** | | |
|
|
16
|
+
| **teleop_points** | **Integer** | | |
|
|
17
|
+
| **foul_points_committed** | **Integer** | | |
|
|
18
|
+
| **pre_foul_total** | **Integer** | | |
|
|
19
|
+
| **adjust_points** | **Integer** | Used to indicate the winner in double-red-card playoff matches | |
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```ruby
|
|
24
|
+
require 'ftc_api_v3_client'
|
|
25
|
+
|
|
26
|
+
instance = FtcApiV3Client::ApiV3ItdPointsDetail.new(
|
|
27
|
+
auto_sample_points: null,
|
|
28
|
+
auto_specimen_points: null,
|
|
29
|
+
auto_park_points: null,
|
|
30
|
+
auto_ascent_points: null,
|
|
31
|
+
teleop_sample_points: null,
|
|
32
|
+
teleop_specimen_points: null,
|
|
33
|
+
teleop_park_points: null,
|
|
34
|
+
teleop_ascent_points: null,
|
|
35
|
+
auto_points: null,
|
|
36
|
+
teleop_points: null,
|
|
37
|
+
foul_points_committed: null,
|
|
38
|
+
pre_foul_total: null,
|
|
39
|
+
adjust_points: null
|
|
40
|
+
)
|
|
41
|
+
```
|
|
42
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3ItdTeleopLocation
|
|
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::ApiV3ItdTeleopLocation.new()
|
|
14
|
+
```
|
|
15
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3JunctionElement
|
|
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::ApiV3JunctionElement.new()
|
|
14
|
+
```
|
|
15
|
+
|
data/docs/ApiV3League.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3League
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **code** | **String** | | |
|
|
8
|
+
| **name** | **String** | | |
|
|
9
|
+
| **remote** | **Boolean** | | [optional] |
|
|
10
|
+
| **location** | **String** | | [optional] |
|
|
11
|
+
| **parent_code** | **String** | | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'ftc_api_v3_client'
|
|
17
|
+
|
|
18
|
+
instance = FtcApiV3Client::ApiV3League.new(
|
|
19
|
+
code: null,
|
|
20
|
+
name: null,
|
|
21
|
+
remote: null,
|
|
22
|
+
location: null,
|
|
23
|
+
parent_code: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3LeagueDetails
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **code** | **String** | | |
|
|
8
|
+
| **name** | **String** | | |
|
|
9
|
+
| **remote** | **Boolean** | | [optional] |
|
|
10
|
+
| **location** | **String** | | [optional] |
|
|
11
|
+
| **parent_code** | **String** | | [optional] |
|
|
12
|
+
| **children** | [**Array<ApiV3League>**](ApiV3League.md) | | |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'ftc_api_v3_client'
|
|
18
|
+
|
|
19
|
+
instance = FtcApiV3Client::ApiV3LeagueDetails.new(
|
|
20
|
+
code: null,
|
|
21
|
+
name: null,
|
|
22
|
+
remote: null,
|
|
23
|
+
location: null,
|
|
24
|
+
parent_code: null,
|
|
25
|
+
children: null
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3LeagueMembershipDetails
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **league** | [**ApiV3League**](ApiV3League.md) | | |
|
|
8
|
+
| **ranking** | [**ApiV3Ranking**](ApiV3Ranking.md) | | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'ftc_api_v3_client'
|
|
14
|
+
|
|
15
|
+
instance = FtcApiV3Client::ApiV3LeagueMembershipDetails.new(
|
|
16
|
+
league: null,
|
|
17
|
+
ranking: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3Leagues
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **leagues** | [**Array<ApiV3League>**](ApiV3League.md) | | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'ftc_api_v3_client'
|
|
13
|
+
|
|
14
|
+
instance = FtcApiV3Client::ApiV3Leagues.new(
|
|
15
|
+
leagues: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
data/docs/ApiV3Match.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3Match
|
|
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::ApiV3Match.openapi_one_of
|
|
15
|
+
# =>
|
|
16
|
+
# [
|
|
17
|
+
# :'ApiV3AllianceMatch',
|
|
18
|
+
# :'ApiV3SingleTeamMatch'
|
|
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::ApiV3Match.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::ApiV3Match.openapi_discriminator_mapping
|
|
45
|
+
# =>
|
|
46
|
+
# {
|
|
47
|
+
# :'ApiV3AllianceMatch' => :'ApiV3AllianceMatch',
|
|
48
|
+
# :'ApiV3SingleTeamMatch' => :'ApiV3SingleTeamMatch'
|
|
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::ApiV3Match.build(data)
|
|
62
|
+
# => #<ApiV3AllianceMatch:0x00007fdd4aab02a0>
|
|
63
|
+
|
|
64
|
+
FtcApiV3Client::ApiV3Match.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
|
+
- `ApiV3AllianceMatch`
|
|
77
|
+
- `ApiV3SingleTeamMatch`
|
|
78
|
+
- `nil` (if no type matches)
|
|
79
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3MatchAlliance
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **teams** | [**Array<ApiV3MatchTeam>**](ApiV3MatchTeam.md) | | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'ftc_api_v3_client'
|
|
13
|
+
|
|
14
|
+
instance = FtcApiV3Client::ApiV3MatchAlliance.new(
|
|
15
|
+
teams: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3MatchDetails
|
|
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::ApiV3MatchDetails.openapi_one_of
|
|
15
|
+
# =>
|
|
16
|
+
# [
|
|
17
|
+
# :'ApiV3AllianceMatchDetails',
|
|
18
|
+
# :'ApiV3SingleTeamMatchDetails'
|
|
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::ApiV3MatchDetails.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::ApiV3MatchDetails.openapi_discriminator_mapping
|
|
45
|
+
# =>
|
|
46
|
+
# {
|
|
47
|
+
# :'ApiV3AllianceMatchDetails' => :'ApiV3AllianceMatchDetails',
|
|
48
|
+
# :'ApiV3SingleTeamMatchDetails' => :'ApiV3SingleTeamMatchDetails'
|
|
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::ApiV3MatchDetails.build(data)
|
|
62
|
+
# => #<ApiV3AllianceMatchDetails:0x00007fdd4aab02a0>
|
|
63
|
+
|
|
64
|
+
FtcApiV3Client::ApiV3MatchDetails.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
|
+
- `ApiV3AllianceMatchDetails`
|
|
77
|
+
- `ApiV3SingleTeamMatchDetails`
|
|
78
|
+
- `nil` (if no type matches)
|
|
79
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3MatchTeam
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **team** | [**ApiV3SimpleTeam**](ApiV3SimpleTeam.md) | | |
|
|
8
|
+
| **surrogate** | **Boolean** | | |
|
|
9
|
+
| **on_field** | **Boolean** | | [optional] |
|
|
10
|
+
| **disqualified** | **Boolean** | In seasons before INTO THE DEEP, this includes \"no-shows\" | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'ftc_api_v3_client'
|
|
16
|
+
|
|
17
|
+
instance = FtcApiV3Client::ApiV3MatchTeam.new(
|
|
18
|
+
team: null,
|
|
19
|
+
surrogate: null,
|
|
20
|
+
on_field: null,
|
|
21
|
+
disqualified: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3Matches
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **matches** | [**Array<ApiV3Match>**](ApiV3Match.md) | | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'ftc_api_v3_client'
|
|
13
|
+
|
|
14
|
+
instance = FtcApiV3Client::ApiV3Matches.new(
|
|
15
|
+
matches: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
data/docs/ApiV3PitMap.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3PitMap
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **min_x** | **Integer** | | |
|
|
8
|
+
| **min_y** | **Integer** | | |
|
|
9
|
+
| **width** | **Integer** | | |
|
|
10
|
+
| **height** | **Integer** | | |
|
|
11
|
+
| **show_pit_numbers** | **Boolean** | | |
|
|
12
|
+
| **show_pit_addresses** | **Boolean** | | |
|
|
13
|
+
| **elements** | [**Array<ApiV3PitMapElement>**](ApiV3PitMapElement.md) | | |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'ftc_api_v3_client'
|
|
19
|
+
|
|
20
|
+
instance = FtcApiV3Client::ApiV3PitMap.new(
|
|
21
|
+
min_x: null,
|
|
22
|
+
min_y: null,
|
|
23
|
+
width: null,
|
|
24
|
+
height: null,
|
|
25
|
+
show_pit_numbers: null,
|
|
26
|
+
show_pit_addresses: null,
|
|
27
|
+
elements: null
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3PitMapCellType
|
|
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::ApiV3PitMapCellType.new()
|
|
14
|
+
```
|
|
15
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3PitMapElement
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **type** | [**ApiV3PitMapCellType**](ApiV3PitMapCellType.md) | | [optional] |
|
|
8
|
+
| **x** | **Integer** | | |
|
|
9
|
+
| **y** | **Integer** | | |
|
|
10
|
+
| **width** | **Integer** | | |
|
|
11
|
+
| **height** | **Integer** | | |
|
|
12
|
+
| **label** | **String** | | [optional] |
|
|
13
|
+
| **label_orientation** | [**ApiV3PitMapLabelOrientation**](ApiV3PitMapLabelOrientation.md) | | [optional] |
|
|
14
|
+
| **index** | **Integer** | | [optional] |
|
|
15
|
+
| **team** | [**ApiV3SimpleTeam**](ApiV3SimpleTeam.md) | | [optional] |
|
|
16
|
+
| **address** | **String** | | [optional] |
|
|
17
|
+
| **address_group** | **String** | | [optional] |
|
|
18
|
+
| **color** | **String** | | [optional] |
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```ruby
|
|
23
|
+
require 'ftc_api_v3_client'
|
|
24
|
+
|
|
25
|
+
instance = FtcApiV3Client::ApiV3PitMapElement.new(
|
|
26
|
+
type: null,
|
|
27
|
+
x: null,
|
|
28
|
+
y: null,
|
|
29
|
+
width: null,
|
|
30
|
+
height: null,
|
|
31
|
+
label: null,
|
|
32
|
+
label_orientation: null,
|
|
33
|
+
index: null,
|
|
34
|
+
team: null,
|
|
35
|
+
address: null,
|
|
36
|
+
address_group: null,
|
|
37
|
+
color: null
|
|
38
|
+
)
|
|
39
|
+
```
|
|
40
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3PitMapLabelOrientation
|
|
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::ApiV3PitMapLabelOrientation.new()
|
|
14
|
+
```
|
|
15
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3PlayoffAlliance
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **seed** | **Integer** | | |
|
|
8
|
+
| **teams** | [**Array<ApiV3SimpleTeam>**](ApiV3SimpleTeam.md) | | |
|
|
9
|
+
| **name** | **String** | Only present for multi-division events. | [optional] |
|
|
10
|
+
| **abbrev** | **String** | Only present for multi-division events. | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'ftc_api_v3_client'
|
|
16
|
+
|
|
17
|
+
instance = FtcApiV3Client::ApiV3PlayoffAlliance.new(
|
|
18
|
+
seed: null,
|
|
19
|
+
teams: null,
|
|
20
|
+
name: null,
|
|
21
|
+
abbrev: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3PlayoffAlliances
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **alliances** | [**Array<ApiV3PlayoffAlliance>**](ApiV3PlayoffAlliance.md) | | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'ftc_api_v3_client'
|
|
13
|
+
|
|
14
|
+
instance = FtcApiV3Client::ApiV3PlayoffAlliances.new(
|
|
15
|
+
alliances: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3PlayoffMatchAlliance
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **teams** | [**Array<ApiV3MatchTeam>**](ApiV3MatchTeam.md) | | |
|
|
8
|
+
| **seed** | **Integer** | | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'ftc_api_v3_client'
|
|
14
|
+
|
|
15
|
+
instance = FtcApiV3Client::ApiV3PlayoffMatchAlliance.new(
|
|
16
|
+
teams: null,
|
|
17
|
+
seed: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3PlayoffRanking
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **rank** | **Integer** | | |
|
|
8
|
+
| **alliance** | [**ApiV3PlayoffAlliance**](ApiV3PlayoffAlliance.md) | | |
|
|
9
|
+
| **sort_orders** | **Array<String>** | | |
|
|
10
|
+
| **wins** | **Integer** | | |
|
|
11
|
+
| **losses** | **Integer** | | |
|
|
12
|
+
| **ties** | **Integer** | | |
|
|
13
|
+
| **matches_counted** | **Integer** | | |
|
|
14
|
+
| **matches_played** | **Integer** | | |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'ftc_api_v3_client'
|
|
20
|
+
|
|
21
|
+
instance = FtcApiV3Client::ApiV3PlayoffRanking.new(
|
|
22
|
+
rank: null,
|
|
23
|
+
alliance: null,
|
|
24
|
+
sort_orders: null,
|
|
25
|
+
wins: null,
|
|
26
|
+
losses: null,
|
|
27
|
+
ties: null,
|
|
28
|
+
matches_counted: null,
|
|
29
|
+
matches_played: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# FtcApiV3Client::ApiV3PlayoffRankings
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **rankings** | [**Array<ApiV3PlayoffRanking>**](ApiV3PlayoffRanking.md) | | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'ftc_api_v3_client'
|
|
13
|
+
|
|
14
|
+
instance = FtcApiV3Client::ApiV3PlayoffRankings.new(
|
|
15
|
+
rankings: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|