Constructor and Description |
---|
B2Event(java.lang.String id,
java.util.Collection<? extends IB2Record> records,
java.lang.String matchId,
EventType type,
java.util.Collection<? extends IB2EventState> states,
java.util.Map<java.lang.String,java.lang.String> meta) |
Modifier and Type | Method and Description |
---|---|
IB2EventState |
eventState()
Retrieve primary event state
|
java.util.Collection<? extends IB2EventState> |
eventStates()
Retrieve event state from all sportbook.
|
java.util.Collection<? extends IB2Record> |
records()
Retrieve collection of records of the event object
|
eventType, getEventState, getMeta, id, matchId, meta
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRecords, getRecords, getRecords, getRecords, getRecords, hasPivotType, record, records, records
eventType, getEventState, hasLBType, hasOddType, hasRecord, hasSportbook, hasTimeType, id, matchId
public B2Event(java.lang.String id, java.util.Collection<? extends IB2Record> records, java.lang.String matchId, EventType type, java.util.Collection<? extends IB2EventState> states, java.util.Map<java.lang.String,java.lang.String> meta)
public java.util.Collection<? extends IB2Record> records()
BetEvent
public IB2EventState eventState()
BetEvent
eventState
in interface IBetEvent
eventState
in interface IB2Event
eventState
in class BetEvent
public java.util.Collection<? extends IB2EventState> eventStates()
BetEvent
eventStates
in interface IBetEvent
eventStates
in interface IB2Event
eventStates
in class BetEvent