Class CategoryImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.CategorySummaryImpl
com.sportradar.unifiedodds.sdk.internal.impl.entities.CategoryImpl
- All Implemented Interfaces:
Category,CategorySummary
Represents a sport category
-
Constructor Summary
ConstructorsConstructorDescriptionCategoryImpl(Urn id, Map<Locale, String> names, List<SportEvent> tournaments, String countryCode) Initializes a new instance of theCategoryImpl -
Method Summary
Modifier and TypeMethodDescriptionReturns an unmodifiableListof tournaments which belong to the category represented by the current instance (possible types:BasicTournament,Tournament,Stage)toString()Methods inherited from class com.sportradar.unifiedodds.sdk.internal.impl.entities.CategorySummaryImpl
getCountryCode, getId, getName, getNamesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sportradar.unifiedodds.sdk.entities.CategorySummary
getCountryCode, getId, getName, getNames
-
Constructor Details
-
CategoryImpl
public CategoryImpl(Urn id, Map<Locale, String> names, List<SportEvent> tournaments, String countryCode) Initializes a new instance of theCategoryImpl
-
-
Method Details
-
getTournaments
Returns an unmodifiableListof tournaments which belong to the category represented by the current instance (possible types:BasicTournament,Tournament,Stage)- Specified by:
getTournamentsin interfaceCategory- Returns:
- - an unmodifiable
Listof tournaments which belong to the category represented by the current instance
-
toString
- Overrides:
toStringin classCategorySummaryImpl- Returns:
- - a
Stringdescribing the currentCategoryinstance
-