Class ManagerCi
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.caching.ci.ManagerCi
A cache representation of a competitor manager
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes as newManagerCiinstanceManagerCi(ExportableManagerCi exportable) -
Method Summary
Modifier and TypeMethodDescriptionexport()Returns the country codegetId()Returns the manager identifierReturns the translated manager namegetNames()getNationality(Locale locale) Returns the translated nationalitybooleanhasTranslationsFor(List<Locale> locales) Checks if the provided locales are internally cachedvoidMerges the provided data into the current instance
-
Constructor Details
-
Method Details
-
getId
Returns the manager identifier- Returns:
- the manager identifier
-
getName
Returns the translated manager name- Parameters:
locale- the locale in which the name should be provided- Returns:
- the translated manager name
-
getNames
-
getNationality
Returns the translated nationality- Parameters:
locale- the locale in which the nationality should be provided- Returns:
- the translated nationality
-
getCountryCode
Returns the country code- Returns:
- the country code
-
merge
Merges the provided data into the current instance- Parameters:
manager- the API object to be mergedlocale- the locale in which the provided object is translated
-
hasTranslationsFor
Checks if the provided locales are internally cached- Parameters:
locales- the locales to be checked- Returns:
trueif the locales are cached, otherwisefalse
-
export
-