Constructor and Description |
---|
BetMatch(long startTime,
java.util.Collection<? extends IBetEvent> events,
java.lang.String id,
java.lang.String league,
SportType sport,
java.util.Map<java.lang.String,java.lang.String> meta) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends IBetEvent> |
events()
Retrieve collection of events
|
java.lang.String |
getCountry()
Return the code of the country organizing the league
|
java.lang.String |
id()
Retrieve match id
|
java.lang.String |
league()
Retrieve league name
|
java.util.Map<java.lang.String,java.lang.String> |
meta() |
SportType |
sportType()
Retrieve sport type for the match.
|
long |
startTime()
Retrieve match start time in epoch seconds
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
event, events, hasEvent, participants
public long startTime()
public java.lang.String id()
public java.lang.String league()
public SportType sportType()
public java.util.Collection<? extends IBetEvent> events()
public java.util.Map<java.lang.String,java.lang.String> meta()
meta
in interface jayeson.lib.feed.api.Attributable
public java.lang.String getCountry()
IBetMatch
getCountry
in interface IBetMatch