Interface TournamentCi
- All Superinterfaces:
CacheItem,SportEventCi
Defines methods used to access cached tournament data
-
Method Summary
Modifier and TypeMethodDescriptionReturns theUrnspecifying the id of the parent categorygetCompetitorIds(List<Locale> locales) Returns aListof the associated tournament competitor idsgetCurrentSeason(List<Locale> locales) Returns aSeasonCirepresenting the current season of the tournamentReturns a list of groups related to the current instanceReturns the rounds related to the current instanceReturns the associated endpoint seasonReturns aSeasonCoverageCicontaining information about the tournament coverageReturns a list of associated season identifiersReturns the current tournament coverage informationReturns theBooleanspecifying if the tournament is exhibition gamevoidrequestMissingSummaryData(List<Locale> requiredLocales, boolean forceFetch, RequestOptions requestOptions) Request Summary API Call and store its result to the cacheMethods 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
-
getCategoryId
Urn getCategoryId()Returns theUrnspecifying the id of the parent category- Returns:
- the
Urnspecifying the id of the parent category
-
getCurrentSeason
Returns aSeasonCirepresenting the current season of the tournament -
getSeasonCoverage
SeasonCoverageCi getSeasonCoverage()Returns aSeasonCoverageCicontaining information about the tournament coverage- Returns:
- a
SeasonCoverageCicontaining information about the tournament coverage
-
getSeason
Returns the associated endpoint season- Parameters:
locales- the locales in which the data should be available- Returns:
- the associated season cache item
-
getCompetitorIds
Returns aListof the associated tournament competitor ids -
getGroups
Returns a list of groups related to the current instance -
getRound
Returns the rounds related to the current instance -
getTournamentCoverage
TournamentCoverageCi getTournamentCoverage()Returns the current tournament coverage information- Returns:
- a
TournamentCoverageCiinstance describing the current coverage indication
-
getSeasonIds
Returns a list of associated season identifiers- Returns:
- a list of associated season identifiers
-
getCompetitorsReferences
Map<Urn,ReferenceIdCi> getCompetitorsReferences()- Returns:
- list of
UrnofCompetitorand associatedReferencefor this sport event
-
isExhibitionGames
Boolean isExhibitionGames()Returns theBooleanspecifying if the tournament is exhibition game- Returns:
- if available, the
Booleanspecifying if the tournament is exhibition game
-
requestMissingSummaryData
void requestMissingSummaryData(List<Locale> requiredLocales, boolean forceFetch, RequestOptions requestOptions) Request Summary API Call and store its result to the cache- Parameters:
requiredLocales- theListofLocales in which the data should be providedforceFetch- if set to true, the data will be fetched from the API even if it is already cachedrequestOptions- theRequestOptionsused to specify the execution path
-