Class IdNameTuple
java.lang.Object
com.sportradar.livedata.sdk.feed.common.entities.IdNameTuple
- All Implemented Interfaces:
- Serializable
Contains id and name (for example Tournament, Category, ...)
- See Also:
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedFor SerializableIdNameTuple(long id, String value) Initialize a newIdNameTupleinstance.IdNameTuple(long id, String value, Long uniqueId) Initialize a newIdNameTupleinstance.
- 
Method Summary
- 
Constructor Details- 
IdNameTupleInitialize a newIdNameTupleinstance.- Parameters:
- id- Entity id
- value- Entity value
 
- 
IdNameTupleInitialize a newIdNameTupleinstance.- Parameters:
- id- Entity id
- value- Entity value
- uniqueId- Entity unique id (i.e. team unique id)
 
- 
IdNameTupleprotected IdNameTuple()For Serializable
 
- 
- 
Method Details- 
getIdEntity id- Returns:
- id
 
- 
getNameGets name- Returns:
- name
 
- 
getUniqueIdSpecified the team unique id.The teams have two id's; one named id and another named uniqueid. The id is for that team in that tournament, and the uniqueid is for that team in all tournaments. Not all teams have the uniqueid attribute, so it should only be used to identify that two teams in different tournaments are the same. - Returns:
- unique id
 
 
-