Package io.nem.sdk.openapi.jersey2.model
Class SecretProofTransactionBodyDTO
- java.lang.Object
-
- io.nem.sdk.openapi.jersey2.model.SecretProofTransactionBodyDTO
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-02-02T21:53:44.206008392-03:00[America/Argentina/Buenos_Aires]") public class SecretProofTransactionBodyDTO extends java.lang.ObjectSecretProofTransactionBodyDTO
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_HASH_ALGORITHMstatic java.lang.StringJSON_PROPERTY_PROOFstatic java.lang.StringJSON_PROPERTY_RECIPIENT_ADDRESSstatic java.lang.StringJSON_PROPERTY_SECRET
-
Constructor Summary
Constructors Constructor Description SecretProofTransactionBodyDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)LockHashAlgorithmEnumgetHashAlgorithm()Get hashAlgorithmjava.lang.StringgetProof()Original random set of bytes.java.lang.StringgetRecipientAddress()Address decoded.java.lang.StringgetSecret()Get secretSecretProofTransactionBodyDTOhashAlgorithm(LockHashAlgorithmEnum hashAlgorithm)inthashCode()SecretProofTransactionBodyDTOproof(java.lang.String proof)SecretProofTransactionBodyDTOrecipientAddress(java.lang.String recipientAddress)SecretProofTransactionBodyDTOsecret(java.lang.String secret)voidsetHashAlgorithm(LockHashAlgorithmEnum hashAlgorithm)voidsetProof(java.lang.String proof)voidsetRecipientAddress(java.lang.String recipientAddress)voidsetSecret(java.lang.String secret)java.lang.StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_SECRET
public static final java.lang.String JSON_PROPERTY_SECRET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HASH_ALGORITHM
public static final java.lang.String JSON_PROPERTY_HASH_ALGORITHM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RECIPIENT_ADDRESS
public static final java.lang.String JSON_PROPERTY_RECIPIENT_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROOF
public static final java.lang.String JSON_PROPERTY_PROOF
- See Also:
- Constant Field Values
-
-
Method Detail
-
secret
public SecretProofTransactionBodyDTO secret(java.lang.String secret)
-
getSecret
public java.lang.String getSecret()
Get secret- Returns:
- secret
-
setSecret
public void setSecret(java.lang.String secret)
-
hashAlgorithm
public SecretProofTransactionBodyDTO hashAlgorithm(LockHashAlgorithmEnum hashAlgorithm)
-
getHashAlgorithm
public LockHashAlgorithmEnum getHashAlgorithm()
Get hashAlgorithm- Returns:
- hashAlgorithm
-
setHashAlgorithm
public void setHashAlgorithm(LockHashAlgorithmEnum hashAlgorithm)
-
recipientAddress
public SecretProofTransactionBodyDTO recipientAddress(java.lang.String recipientAddress)
-
getRecipientAddress
public java.lang.String getRecipientAddress()
Address decoded. If the bit 0 of byte 0 is not set (like in 0x90), then it is a regular address. Else (e.g. 0x91) it represents a namespace id which starts at byte 1.- Returns:
- recipientAddress
-
setRecipientAddress
public void setRecipientAddress(java.lang.String recipientAddress)
-
proof
public SecretProofTransactionBodyDTO proof(java.lang.String proof)
-
getProof
public java.lang.String getProof()
Original random set of bytes.- Returns:
- proof
-
setProof
public void setProof(java.lang.String proof)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-