public interface IB2Event extends IBetEvent
Modifier and Type | Method and Description |
---|---|
IB2EventState |
eventState()
Retrieves the primary event state of the event
|
java.util.Collection<? extends IB2EventState> |
eventStates()
Retrieves event states from all sportbooks
|
default java.util.Collection<? extends IB2Record> |
getRecords(java.util.List<java.lang.String> bookIdList,
LBType lbType)
Retrieve collection of records by a particular book id list and lay/back type
|
default java.util.Collection<? extends IB2Record> |
getRecords(java.lang.String bookId)
Retrieve collection of records by a particular book id
|
default java.util.Collection<? extends IB2Record> |
getRecords(java.lang.String bookId,
LBType lbType)
Retrieve collection of records by a particular book id and lay/back type
|
default java.util.Collection<? extends IB2Record> |
getRecords(java.lang.String bookId,
OddType oddType)
Retrieve collection of records by a particular book id and odd type
|
default java.util.Collection<? extends IB2Record> |
getRecords(java.lang.String bookId,
TimeType timeType)
Retrieve collection of records by a particular book id and time type
|
default boolean |
hasPivotType(PivotType pivotType) |
default IB2Record |
record(java.lang.String source,
long id)
Retrieve a specific IBetRecord with the particular source name and id
|
java.util.Collection<? extends IB2Record> |
records()
Retrieves collection of records of the event
|
default java.util.Collection<? extends IB2Record> |
records(PivotType pivotType) |
default java.util.Collection<? extends IB2Record> |
records(TimeType timeType)
Retrieve collection of records by a particular time type object
|
eventType, getEventState, hasLBType, hasOddType, hasRecord, hasSportbook, hasTimeType, id, matchId
default java.util.Collection<? extends IB2Record> records(PivotType pivotType)
pivotType
- - enum of either HDP / TOTAL / ONE_TWOdefault boolean hasPivotType(PivotType pivotType)
pivotType
- - enum of either HDP / TOTAL / ONE_TWOjava.util.Collection<? extends IB2Record> records()
default java.util.Collection<? extends IB2Record> records(TimeType timeType)
IBetEvent
default IB2Record record(java.lang.String source, long id)
IBetEvent
default java.util.Collection<? extends IB2Record> getRecords(java.lang.String bookId)
IBetEvent
getRecords
in interface IBetEvent
bookId
- - sport book identifierdefault java.util.Collection<? extends IB2Record> getRecords(java.lang.String bookId, TimeType timeType)
IBetEvent
getRecords
in interface IBetEvent
bookId
- - sport book identifiertimeType
- - time typedefault java.util.Collection<? extends IB2Record> getRecords(java.lang.String bookId, OddType oddType)
IBetEvent
getRecords
in interface IBetEvent
bookId
- - sport book identifieroddType
- - odd typedefault java.util.Collection<? extends IB2Record> getRecords(java.lang.String bookId, LBType lbType)
IBetEvent
getRecords
in interface IBetEvent
bookId
- - book idlbType
- - LAY or BACKdefault java.util.Collection<? extends IB2Record> getRecords(java.util.List<java.lang.String> bookIdList, LBType lbType)
IBetEvent
getRecords
in interface IBetEvent
bookIdList
- - List of book idslbType
- - LAY or BACKIB2EventState eventState()
eventState
in interface IBetEvent
java.util.Collection<? extends IB2EventState> eventStates()
eventStates
in interface IBetEvent