Class GetEventsResponse.EventInfo
java.lang.Object
org.stellar.sdk.responses.sorobanrpc.GetEventsResponse.EventInfo
- Enclosing class:
GetEventsResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()The field may will be removed in the next version of the protocol.getTopic()The elements inside can be parsed asSCValobjects.getType()getValue()The field can be parsed asSCValobject.inthashCode()Parses thetopicfield from a list of strings to a list ofSCValobjects.Parses thevaluefield from a string to anSCValobject.toString()
-
Constructor Details
-
EventInfo
public EventInfo(EventFilterType type, Long ledger, String ledgerClosedAt, String contractId, String id, String pagingToken, List<String> topic, String value, Boolean inSuccessfulContractCall, String transactionHash) Creates a newEventInfoinstance.- Parameters:
type-ledger-ledgerClosedAt-contractId-id-pagingToken- The field may will be removed in the next version of the protocol. It remains for backward. It is recommended to useGetEventsResponse.cursorinstead.topic- The elements inside can be parsed asSCValobjects.value- The field can be parsed asSCValobject.inSuccessfulContractCall-transactionHash-
-
-
Method Details
-
parseTopic
Parses thetopicfield from a list of strings to a list ofSCValobjects.- Returns:
- a list of parsed
SCValobjects
-
parseValue
Parses thevaluefield from a string to anSCValobject.- Returns:
- the parsed
SCValobject
-
getType
-
getLedger
-
getLedgerClosedAt
-
getContractId
-
getId
-
getPagingToken
The field may will be removed in the next version of the protocol. It remains for backward. It is recommended to useGetEventsResponse.cursorinstead. -
getTopic
The elements inside can be parsed asSCValobjects. -
getValue
The field can be parsed asSCValobject. -
getInSuccessfulContractCall
-
getTransactionHash
-
equals
-
hashCode
public int hashCode() -
toString
-