Package com.daml.ledger.javaapi.data
Class GetActiveContractsResponse
- java.lang.Object
-
- com.daml.ledger.javaapi.data.GetActiveContractsResponse
-
- All Implemented Interfaces:
WorkflowEvent
public final class GetActiveContractsResponse extends java.lang.Object implements WorkflowEvent
-
-
Constructor Summary
Constructors Constructor Description GetActiveContractsResponse(@NonNull java.lang.String offset, @NonNull java.util.List<CreatedEvent> activeContracts, java.lang.String workflowId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static GetActiveContractsResponse
fromProto(ActiveContractsServiceOuterClass.GetActiveContractsResponse response)
@NonNull java.util.List<@NonNull CreatedEvent>
getCreatedEvents()
@NonNull java.util.Optional<java.lang.String>
getOffset()
@NonNull java.lang.String
getWorkflowId()
int
hashCode()
ActiveContractsServiceOuterClass.GetActiveContractsResponse
toProto()
java.lang.String
toString()
-
-
-
Constructor Detail
-
GetActiveContractsResponse
public GetActiveContractsResponse(@NonNull java.lang.String offset, @NonNull java.util.List<CreatedEvent> activeContracts, java.lang.String workflowId)
-
-
Method Detail
-
fromProto
public static GetActiveContractsResponse fromProto(ActiveContractsServiceOuterClass.GetActiveContractsResponse response)
-
toProto
public ActiveContractsServiceOuterClass.GetActiveContractsResponse toProto()
-
getOffset
public @NonNull java.util.Optional<java.lang.String> getOffset()
-
getCreatedEvents
public @NonNull java.util.List<@NonNull CreatedEvent> getCreatedEvents()
-
getWorkflowId
public @NonNull java.lang.String getWorkflowId()
- Specified by:
getWorkflowId
in interfaceWorkflowEvent
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-