public class SportEventStatusDto extends Object
| Constructor and Description |
|---|
SportEventStatusDto(com.sportradar.uf.sportsapi.datamodel.SapiSportEventStatus sportEventStatus,
com.sportradar.uf.sportsapi.datamodel.SapiMatchStatistics statistics,
Map<HomeAway,String> homeAwayMap)
Initializes a new instance of the
SportEventStatusDto from the provided
SapiSportEventStatus which is fetched from the API |
SportEventStatusDto(com.sportradar.uf.sportsapi.datamodel.SapiStageSportEventStatus sportEventStatus)
Initializes a new instance of the
SportEventStatusDto from the provided
SapiStageSportEventStatus which is fetched from the API |
SportEventStatusDto(com.sportradar.uf.datamodel.UfSportEventStatus seStatus)
Initializes a new instance of the
SportEventStatusDto from the provided
UfSportEventStatus which is received as a part of messages |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getAwayPenaltyScore()
Get the penalty score of the away competitor competing on the associated sport event (for Ice Hockey)
|
BigDecimal |
getAwayScore()
Returns the score of the home team in the current sport event
|
EventClock |
getEventClock()
Returns an
EventClock instance describing the timings in the current event |
List<EventResult> |
getEventResults()
Returns a
List of event results |
Integer |
getHomePenaltyScore()
Get the penalty score of the home competitor competing on the associated sport event (for Ice Hockey)
|
BigDecimal |
getHomeScore()
Returns the score of the home team in the current sport event
|
int |
getMatchStatusId()
Returns a numeric representation of the event status
|
static SportEventStatusDto |
getNotStarted()
Constructs a new
SportEventStatusDto describing the associated event as "Not started" |
Integer |
getPeriodOfLadder()
Returns the period of ladder
|
List<PeriodScoreDto> |
getPeriodScores()
Returns a
List of period scores |
Map<String,Object> |
getProperties()
Returns an unmodifiable
Map which contains all the additional sport event status properties
which aren't specifically exposed |
ReportingStatus |
getReportingStatus()
Returns a
ReportingStatus describing the reporting status of the associated sport event |
SportEventStatisticsDto |
getSportEventStatisticsDto()
Returns a
SportEventStatisticsDto instance describing the associated event statistics |
EventStatus |
getStatus()
Returns an
EventStatus describing the status of the associated sport event |
Urn |
getWinnerId()
Returns the sport event winner identifier
|
Boolean |
isDecidedByFed()
Returns an indication if the status is decided by fed
|
Map<String,Object> |
toKeyValueStore()
Returns a
Map containing data of the sport event status ordered in key/value pairs |
public SportEventStatusDto(com.sportradar.uf.sportsapi.datamodel.SapiStageSportEventStatus sportEventStatus)
SportEventStatusDto from the provided
SapiStageSportEventStatus which is fetched from the APIsportEventStatus - - a SapiStageSportEventStatus used to build the instancepublic SportEventStatusDto(com.sportradar.uf.sportsapi.datamodel.SapiSportEventStatus sportEventStatus,
com.sportradar.uf.sportsapi.datamodel.SapiMatchStatistics statistics,
Map<HomeAway,String> homeAwayMap)
SportEventStatusDto from the provided
SapiSportEventStatus which is fetched from the APIsportEventStatus - a SapiSportEventStatus used to build the instancestatistics - the associated event statisticshomeAwayMap - a map containing data about home/away competitors, this data is available only for events of type matchpublic SportEventStatusDto(com.sportradar.uf.datamodel.UfSportEventStatus seStatus)
SportEventStatusDto from the provided
UfSportEventStatus which is received as a part of messagesseStatus - - a UfSportEventStatus used to build the instancepublic static SportEventStatusDto getNotStarted()
SportEventStatusDto describing the associated event as "Not started"SportEventStatusDto which is in a "Not started" statepublic Urn getWinnerId()
public EventStatus getStatus()
EventStatus describing the status of the associated sport eventEventStatus describing the status of the associated sport eventpublic int getMatchStatusId()
public ReportingStatus getReportingStatus()
ReportingStatus describing the reporting status of the associated sport eventReportingStatus describing the reporting status of the associated sport eventpublic BigDecimal getHomeScore()
BigDecimal indicating the score of the home team
in the associated event; otherwise nullpublic BigDecimal getAwayScore()
BigDecimal indicating the score of the away team
in the associated event; otherwise nullpublic List<PeriodScoreDto> getPeriodScores()
List of period scoresList of period scorespublic EventClock getEventClock()
EventClock instance describing the timings in the current eventEventClock instance describing the timings in the current eventpublic List<EventResult> getEventResults()
List of event resultsList of event resultspublic SportEventStatisticsDto getSportEventStatisticsDto()
SportEventStatisticsDto instance describing the associated event statisticspublic Map<String,Object> getProperties()
Map which contains all the additional sport event status properties
which aren't specifically exposedMap which contains all the additional sport event status properties
which aren't specifically exposedpublic Boolean isDecidedByFed()
public Integer getPeriodOfLadder()
public final Integer getHomePenaltyScore()
public final Integer getAwayPenaltyScore()
Copyright © 2016–2025. All rights reserved.