Package com.daml.ledger.javaapi.data
Class ExerciseByKeyCommand
- java.lang.Object
-
- com.daml.ledger.javaapi.data.Command
-
- com.daml.ledger.javaapi.data.ExerciseByKeyCommand
-
- All Implemented Interfaces:
HasCommands
public final class ExerciseByKeyCommand extends Command
-
-
Constructor Summary
Constructors Constructor Description ExerciseByKeyCommand(@NonNull Identifier templateId, @NonNull Value contractKey, @NonNull java.lang.String choice, @NonNull Value choiceArgument)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static ExerciseByKeyCommand
fromProto(com.daml.ledger.api.v1.CommandsOuterClass.ExerciseByKeyCommand command)
@NonNull java.lang.String
getChoice()
@NonNull Value
getChoiceArgument()
@NonNull Value
getContractKey()
@NonNull Identifier
getTemplateId()
int
hashCode()
com.daml.ledger.api.v1.CommandsOuterClass.ExerciseByKeyCommand
toProto()
java.lang.String
toString()
-
Methods inherited from class com.daml.ledger.javaapi.data.Command
asCreateCommand, asExerciseCommand, commands, fromProtoCommand, toProtoCommand
-
-
-
-
Constructor Detail
-
ExerciseByKeyCommand
public ExerciseByKeyCommand(@NonNull Identifier templateId, @NonNull Value contractKey, @NonNull java.lang.String choice, @NonNull Value choiceArgument)
-
-
Method Detail
-
fromProto
public static ExerciseByKeyCommand fromProto(com.daml.ledger.api.v1.CommandsOuterClass.ExerciseByKeyCommand command)
-
toProto
public com.daml.ledger.api.v1.CommandsOuterClass.ExerciseByKeyCommand toProto()
-
getTemplateId
public @NonNull Identifier getTemplateId()
-
getContractKey
public @NonNull Value getContractKey()
-
getChoice
public @NonNull java.lang.String getChoice()
-
getChoiceArgument
public @NonNull Value getChoiceArgument()
-
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
-
-