Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Commit 21c9c9d

Browse files
committed
Reorganize repo
1 parent 449ad7a commit 21c9c9d

4 files changed

Lines changed: 3 additions & 38 deletions

File tree

src/main/java/com/thebluealliance/api/v3/models/Match.java

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,17 @@
1-
package com.thebluealliance.api.v3.models;
1+
package com.thebluealliance.models;
22

3-
/** Represents a match played during an event
4-
*
5-
*/
63
public class Match extends SimpleMatch {
74

85
private long post_result_time;
9-
private Object score_breakdown;
6+
private ScoreBreakdown score_breakdown;
107
private Media[] videos;
118

12-
/**
13-
* @return UNIX timestamp (seconds since 1-Jan-1970 00:00:00) when the match result was posted.
14-
*/
159
public long getPostResultTime() {
1610
return post_result_time;
1711
}
18-
19-
/**
20-
* @return Score breakdown for auto, teleop, etc. points. Varies from year to year. May be null.
21-
*/
22-
public Object getScoreBreakdown() {
12+
public ScoreBreakdown getScoreBreakdown() {
2313
return score_breakdown;
2414
}
25-
26-
/**
27-
* @return Array of {@link Media} objects associated with this match.
28-
*/
2915
public Media[] getVideos() {
3016
return videos;
3117
}

src/main/java/com/thebluealliance/models/MatchScoreBreakdown2018Alliance.java renamed to src/main/java/com/thebluealliance/api/v3/models/MatchScoreBreakdown2018Alliance.java

File renamed without changes.

src/main/java/com/thebluealliance/models/ScoreBreakdown.java renamed to src/main/java/com/thebluealliance/api/v3/models/ScoreBreakdown.java

File renamed without changes.

src/main/java/com/thebluealliance/models/Match.java

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)