public class RaceDayEntity extends EntityBase implements Serializable
Constructor and Description |
---|
RaceDayEntity(Map<String,String> otherAttributes)
Initializes a new instance of the
LiveOddsEntityBase class. |
Modifier and Type | Method and Description |
---|---|
Integer |
getChannelId()
Gets id of the channel where the race is broadcast.
|
org.joda.time.DateTime |
getEndTime()
Gets end time of the race day.
|
int |
getId()
Gets unique id of the race day.
|
LocalizedString |
getName()
Gets name of the race day.
|
int |
getParentId()
Gets parent id of the race day.
|
Integer |
getRaceDayNumber()
Gets incremental race day number.
|
org.joda.time.DateTime |
getStartTime()
Gets start time of the race day.
|
RaceDayStatus |
getStatus()
Gets status.
|
LocalizedString |
getSurface()
Gets type of the surface
|
LocalizedString |
getTrackName()
Gets name of the track
|
boolean |
isActive()
Whether race day is active.
|
void |
setActive(boolean active) |
void |
setChannelId(Integer channelId) |
void |
setEndTime(org.joda.time.DateTime endTime) |
void |
setId(int id) |
void |
setName(LocalizedString name) |
void |
setParentId(int parentId) |
void |
setRaceDayNumber(int raceDayNumber) |
void |
setStartTime(org.joda.time.DateTime startTime) |
void |
setStatus(RaceDayStatus status) |
void |
setSurface(LocalizedString surface) |
void |
setTrackName(LocalizedString trackName) |
String |
toString()
Returns a string that represents the current object.
|
getAdditionalData, getEventId
public RaceDayEntity(Map<String,String> otherAttributes)
LiveOddsEntityBase
class.otherAttributes
- attributes which are not defined on the used version of the sdk entitiespublic Integer getChannelId()
public org.joda.time.DateTime getEndTime()
public int getId()
public LocalizedString getName()
public int getParentId()
public Integer getRaceDayNumber()
public org.joda.time.DateTime getStartTime()
public RaceDayStatus getStatus()
public LocalizedString getSurface()
public LocalizedString getTrackName()
public boolean isActive()
public void setActive(boolean active)
public void setChannelId(Integer channelId)
public void setEndTime(org.joda.time.DateTime endTime)
public void setId(int id)
public void setName(LocalizedString name)
public void setParentId(int parentId)
public void setRaceDayNumber(int raceDayNumber)
public void setStartTime(org.joda.time.DateTime startTime)
public void setStatus(RaceDayStatus status)
public void setSurface(LocalizedString surface)
public void setTrackName(LocalizedString trackName)
public String toString()
EntityBase
Note: Can be used for diagnostics purposes.
toString
in class EntityBase
Copyright © 2013–2023. All rights reserved.