public static final class GetEventsResponse.EventInfo
extends java.lang.Object
Constructor and Description |
---|
EventInfo(EventFilterType type,
java.lang.Long ledger,
java.lang.String ledgerClosedAt,
java.lang.String contractId,
java.lang.String id,
java.lang.Long operationIndex,
java.lang.Long transactionIndex,
java.lang.String transactionHash,
java.util.List<java.lang.String> topic,
java.lang.String value,
java.lang.Boolean inSuccessfulContractCall)
Creates a new
EventInfo instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getContractId() |
java.lang.String |
getId() |
java.lang.Boolean |
getInSuccessfulContractCall()
The field will be removed in the next version.
|
java.lang.Long |
getLedger() |
java.lang.String |
getLedgerClosedAt() |
java.lang.Long |
getOperationIndex() |
java.util.List<java.lang.String> |
getTopic()
The elements inside can be parsed as
SCVal objects. |
java.lang.String |
getTransactionHash() |
java.lang.Long |
getTransactionIndex() |
EventFilterType |
getType() |
java.lang.String |
getValue()
The field can be parsed as
SCVal object. |
int |
hashCode() |
java.util.List<SCVal> |
parseTopic()
Parses the
topic field from a list of strings to a list of SCVal objects. |
SCVal |
parseValue()
Parses the
value field from a string to an SCVal object. |
java.lang.String |
toString() |
public EventInfo(EventFilterType type, java.lang.Long ledger, java.lang.String ledgerClosedAt, java.lang.String contractId, java.lang.String id, java.lang.Long operationIndex, java.lang.Long transactionIndex, java.lang.String transactionHash, java.util.List<java.lang.String> topic, java.lang.String value, java.lang.Boolean inSuccessfulContractCall)
EventInfo
instance.public java.util.List<SCVal> parseTopic()
topic
field from a list of strings to a list of SCVal
objects.SCVal
objectspublic SCVal parseValue()
value
field from a string to an SCVal
object.SCVal
objectpublic EventFilterType getType()
public java.lang.Long getLedger()
public java.lang.String getLedgerClosedAt()
public java.lang.String getContractId()
public java.lang.String getId()
public java.lang.Long getOperationIndex()
public java.lang.Long getTransactionIndex()
public java.lang.String getTransactionHash()
public java.util.List<java.lang.String> getTopic()
SCVal
objects.public java.lang.String getValue()
SCVal
object.public java.lang.Boolean getInSuccessfulContractCall()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object