public interface IBetMatch
extends jayeson.lib.feed.api.Attributable
Modifier and Type | Method and Description |
---|---|
default IBetEvent |
event(java.lang.String eventId)
Retrieve a specific event with the particular eventId
|
java.util.Collection<? extends IBetEvent> |
events()
Retrieve collection of events
|
default java.util.Collection<? extends IBetEvent> |
events(EventType type)
Retrieve collection of events if there are given event type records in this event
|
java.lang.String |
getCountry()
Return the code of the country organizing the league
|
default boolean |
hasEvent(java.lang.String eventId)
Check if the match contains particular event given the event ID.
|
java.lang.String |
id()
Retrieve match id
|
java.lang.String |
league()
Retrieve league name
|
java.util.List<java.lang.String> |
participants()
Retrieve an ordered list of all participants
|
SportType |
sportType()
Retrieve sport type for the match.
|
long |
startTime()
Retrieve match start time in epoch seconds
|
java.util.List<java.lang.String> participants()
long startTime()
java.util.Collection<? extends IBetEvent> events()
default java.util.Collection<? extends IBetEvent> events(EventType type)
type
- - Refers to event typejava.lang.String id()
java.lang.String league()
SportType sportType()
java.lang.String getCountry()
default boolean hasEvent(java.lang.String eventId)
eventId
- represents the unique identifier that a record belongs todefault IBetEvent event(java.lang.String eventId)
eventId
- - event identifier