Class SportSummaryImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.SportSummaryImpl
- All Implemented Interfaces:
SportSummary
- Direct Known Subclasses:
SportImpl
Represents a basic sport summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()Returns anUrnuniquely identifying the sport represented by the current instanceReturns the name of the currentSportSummaryinstance in the specified languagegetNames()Returns an unmodifiableMapcontaining translated sport namestoString()Returns aStringdescribing the currentSportSummaryinstance
-
Method Details
-
getId
Returns anUrnuniquely identifying the sport represented by the current instance- Specified by:
getIdin interfaceSportSummary- Returns:
- - an
Urnuniquely identifying the sport represented by the current instance
-
getName
Returns the name of the currentSportSummaryinstance in the specified language- Specified by:
getNamein interfaceSportSummary- Parameters:
l- - aLocalespecifying the language in which the name should be translated- Returns:
- - the name of the current
SportSummaryinstance in the specified language
-
getNames
Returns an unmodifiableMapcontaining translated sport names- Specified by:
getNamesin interfaceSportSummary- Returns:
- - an unmodifiable
Mapcontaining translated sport names
-
toString
Returns aStringdescribing the currentSportSummaryinstance- Overrides:
toStringin classObject- Returns:
- - a
Stringdescribing the currentSportSummaryinstance
-