Interface DrawCi
- All Superinterfaces:
CacheItem,SportEventCi
- All Known Implementing Classes:
DrawCiImpl
A draw cache representation
-
Method Summary
Modifier and TypeMethodDescriptionReturns the display idReturns the associated lottery idgetResults(List<Locale> locales) Returns a list of draw resultsReturns the status of the drawMethods inherited from interface com.sportradar.unifiedodds.sdk.internal.caching.CacheItem
getId, getNames, hasTranslationsLoadedFor, mergeMethods inherited from interface com.sportradar.unifiedodds.sdk.internal.caching.SportEventCi
getReplacedBy, getScheduled, getScheduledEnd, getScheduledEndRaw, getScheduledRaw, isStartTimeTbd
-
Method Details
-
getStatus
DrawStatus getStatus()Returns the status of the draw- Returns:
- the status of the draw
-
getResults
Returns a list of draw results- Parameters:
locales- aListspecifying the required languages- Returns:
- a list of draw results
-
getLotteryId
Urn getLotteryId()Returns the associated lottery id- Returns:
- the associated lottery id
-
getDisplayId
Integer getDisplayId()Returns the display id- Returns:
- the display id
-