Class StatisticsEntity
- java.lang.Object
-
- com.sportradar.livedata.sdk.feed.livescout.entities.StatisticsEntity
-
- All Implemented Interfaces:
Serializable
public class StatisticsEntity extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StatisticsEntity(com.sportradar.livedata.sdk.proto.dto.incoming.livescout.Battersstatstotal battersstatstotals, com.sportradar.livedata.sdk.proto.dto.incoming.livescout.Pitchersstatstotal pitchersstatstotals, List<com.sportradar.livedata.sdk.proto.dto.incoming.livescout.Teamstats> teamstats, List<com.sportradar.livedata.sdk.proto.dto.incoming.livescout.Teamplayerstats> teamplayerstats)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BattersStatsTotalEntity
getBattersStatsTotal()
Get the total batters statsPitchersStatsTotalEntity
getPitchersStatsTotal()
Get the total pitchers statsList<TeamPlayerStatsEntity>
getTeamPlayerStats()
Get the list of team player statsList<TeamStatsEntity>
getTeamStats()
Get the list of team stats
-
-
-
Constructor Detail
-
StatisticsEntity
protected StatisticsEntity(com.sportradar.livedata.sdk.proto.dto.incoming.livescout.Battersstatstotal battersstatstotals, com.sportradar.livedata.sdk.proto.dto.incoming.livescout.Pitchersstatstotal pitchersstatstotals, List<com.sportradar.livedata.sdk.proto.dto.incoming.livescout.Teamstats> teamstats, List<com.sportradar.livedata.sdk.proto.dto.incoming.livescout.Teamplayerstats> teamplayerstats) throws UnknownEnumException
- Throws:
UnknownEnumException
-
-
Method Detail
-
getBattersStatsTotal
public BattersStatsTotalEntity getBattersStatsTotal()
Get the total batters stats- Returns:
BattersStatsTotalEntity
-
getPitchersStatsTotal
public PitchersStatsTotalEntity getPitchersStatsTotal()
Get the total pitchers stats- Returns:
PitchersStatsTotalEntity
-
getTeamStats
public List<TeamStatsEntity> getTeamStats()
Get the list of team stats- Returns:
- list of
TeamStatsEntity
-
getTeamPlayerStats
public List<TeamPlayerStatsEntity> getTeamPlayerStats()
Get the list of team player stats- Returns:
- list of
TeamPlayerStatsEntity
-
-