public class SubmitCommandsRequest
extends java.lang.Object
Constructor and Description |
---|
SubmitCommandsRequest(@NonNull java.lang.String workflowId,
@NonNull java.lang.String applicationId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String party,
@NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbsolute,
@NonNull java.util.Optional<java.time.Duration> minLedgerTimeRelative,
@NonNull java.util.Optional<java.time.Duration> deduplicationTime,
@NonNull java.util.List<Command> commands) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static SubmitCommandsRequest |
fromProto(CommandsOuterClass.Commands commands) |
@NonNull java.lang.String |
getApplicationId() |
@NonNull java.lang.String |
getCommandId() |
@NonNull java.util.List<Command> |
getCommands() |
@NonNull java.util.Optional<java.time.Duration> |
getDeduplicationTime() |
@NonNull java.util.Optional<java.time.Instant> |
getMinLedgerTimeAbsolute() |
@NonNull java.util.Optional<java.time.Duration> |
getMinLedgerTimeRelative() |
@NonNull java.lang.String |
getParty() |
@NonNull java.lang.String |
getWorkflowId() |
int |
hashCode() |
static CommandsOuterClass.Commands |
toProto(@NonNull java.lang.String ledgerId,
@NonNull java.lang.String workflowId,
@NonNull java.lang.String applicationId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String party,
@NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbsolute,
@NonNull java.util.Optional<java.time.Duration> minLedgerTimeRelative,
@NonNull java.util.Optional<java.time.Duration> deduplicationTime,
@NonNull java.util.List<Command> commands) |
java.lang.String |
toString() |
public SubmitCommandsRequest(@NonNull java.lang.String workflowId, @NonNull java.lang.String applicationId, @NonNull java.lang.String commandId, @NonNull java.lang.String party, @NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbsolute, @NonNull java.util.Optional<java.time.Duration> minLedgerTimeRelative, @NonNull java.util.Optional<java.time.Duration> deduplicationTime, @NonNull java.util.List<Command> commands)
public static SubmitCommandsRequest fromProto(CommandsOuterClass.Commands commands)
public static CommandsOuterClass.Commands toProto(@NonNull java.lang.String ledgerId, @NonNull java.lang.String workflowId, @NonNull java.lang.String applicationId, @NonNull java.lang.String commandId, @NonNull java.lang.String party, @NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbsolute, @NonNull java.util.Optional<java.time.Duration> minLedgerTimeRelative, @NonNull java.util.Optional<java.time.Duration> deduplicationTime, @NonNull java.util.List<Command> commands)
public @NonNull java.lang.String getWorkflowId()
public @NonNull java.lang.String getApplicationId()
public @NonNull java.lang.String getCommandId()
public @NonNull java.lang.String getParty()
public @NonNull java.util.Optional<java.time.Instant> getMinLedgerTimeAbsolute()
public @NonNull java.util.Optional<java.time.Duration> getMinLedgerTimeRelative()
public @NonNull java.util.Optional<java.time.Duration> getDeduplicationTime()
public @NonNull java.util.List<Command> getCommands()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object