public class ManagerCi extends Object
Constructor and Description |
---|
ManagerCi(ExportableManagerCi exportable) |
ManagerCi(com.sportradar.uf.sportsapi.datamodel.SapiManager manager,
Locale locale)
Initializes as new
ManagerCi instance |
Modifier and Type | Method and Description |
---|---|
ExportableManagerCi |
export() |
String |
getCountryCode()
Returns the country code
|
Urn |
getId()
Returns the manager identifier
|
String |
getName(Locale locale)
Returns the translated manager name
|
Map<Locale,String> |
getNames() |
String |
getNationality(Locale locale)
Returns the translated nationality
|
boolean |
hasTranslationsFor(List<Locale> locales)
Checks if the provided locales are internally cached
|
void |
merge(com.sportradar.uf.sportsapi.datamodel.SapiManager manager,
Locale locale)
Merges the provided data into the current instance
|
public ManagerCi(com.sportradar.uf.sportsapi.datamodel.SapiManager manager, Locale locale)
ManagerCi
instancemanager
- the API schema object from which the instance will be createdlocale
- the Locale
in which the API object is translatedpublic ManagerCi(ExportableManagerCi exportable)
public Urn getId()
public String getName(Locale locale)
locale
- the locale in which the name should be providedpublic String getNationality(Locale locale)
locale
- the locale in which the nationality should be providedpublic String getCountryCode()
public void merge(com.sportradar.uf.sportsapi.datamodel.SapiManager manager, Locale locale)
manager
- the API object to be mergedlocale
- the locale in which the provided object is translatedpublic boolean hasTranslationsFor(List<Locale> locales)
locales
- the locales to be checkedtrue
if the locales are cached, otherwise false
public ExportableManagerCi export()
Copyright © 2016–2025. All rights reserved.