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, matchIddefault 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)
IBetEventdefault IB2Record record(java.lang.String source, long id)
IBetEventdefault java.util.Collection<? extends IB2Record> getRecords(java.lang.String bookId)
IBetEventgetRecords in interface IBetEventbookId - - sport book identifierdefault java.util.Collection<? extends IB2Record> getRecords(java.lang.String bookId, TimeType timeType)
IBetEventgetRecords in interface IBetEventbookId - - sport book identifiertimeType - - time typedefault java.util.Collection<? extends IB2Record> getRecords(java.lang.String bookId, OddType oddType)
IBetEventgetRecords in interface IBetEventbookId - - sport book identifieroddType - - odd typedefault java.util.Collection<? extends IB2Record> getRecords(java.lang.String bookId, LBType lbType)
IBetEventgetRecords in interface IBetEventbookId - - book idlbType - - LAY or BACKdefault java.util.Collection<? extends IB2Record> getRecords(java.util.List<java.lang.String> bookIdList, LBType lbType)
IBetEventgetRecords in interface IBetEventbookIdList - - List of book idslbType - - LAY or BACKIB2EventState eventState()
eventState in interface IBetEventjava.util.Collection<? extends IB2EventState> eventStates()
eventStates in interface IBetEvent