Package com.daml.ledger.javaapi.data
Class GetEventsByContractIdResponse
- java.lang.Object
-
- com.daml.ledger.javaapi.data.GetEventsByContractIdResponse
-
public final class GetEventsByContractIdResponse extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GetEventsByContractIdResponse(java.util.Optional<CreatedEvent> createEvent, java.util.Optional<ArchivedEvent> archiveEvent)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetEventsByContractIdResponse
fromProto(com.daml.ledger.api.v1.EventQueryServiceOuterClass.GetEventsByContractIdResponse response)
java.util.Optional<ArchivedEvent>
getArchiveEvent()
java.util.Optional<CreatedEvent>
getCreateEvent()
-
-
-
Constructor Detail
-
GetEventsByContractIdResponse
public GetEventsByContractIdResponse(java.util.Optional<CreatedEvent> createEvent, java.util.Optional<ArchivedEvent> archiveEvent)
-
-
Method Detail
-
getCreateEvent
public java.util.Optional<CreatedEvent> getCreateEvent()
-
getArchiveEvent
public java.util.Optional<ArchivedEvent> getArchiveEvent()
-
fromProto
public static GetEventsByContractIdResponse fromProto(com.daml.ledger.api.v1.EventQueryServiceOuterClass.GetEventsByContractIdResponse response)
-
-