Class EmbeddedSecretProofTransactionDTO
- java.lang.Object
-
- io.nem.symbol.sdk.openapi.jersey2.model.EmbeddedSecretProofTransactionDTO
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-05-15T14:38:14.328808-03:00[America/Argentina/Buenos_Aires]") public class EmbeddedSecretProofTransactionDTO extends java.lang.ObjectEmbeddedSecretProofTransactionDTO
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_HASH_ALGORITHMstatic java.lang.StringJSON_PROPERTY_NETWORKstatic java.lang.StringJSON_PROPERTY_PROOFstatic java.lang.StringJSON_PROPERTY_RECIPIENT_ADDRESSstatic java.lang.StringJSON_PROPERTY_SECRETstatic java.lang.StringJSON_PROPERTY_SIGNER_PUBLIC_KEYstatic java.lang.StringJSON_PROPERTY_TYPEstatic java.lang.StringJSON_PROPERTY_VERSION
-
Constructor Summary
Constructors Constructor Description EmbeddedSecretProofTransactionDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)LockHashAlgorithmEnumgetHashAlgorithm()Get hashAlgorithmNetworkTypeEnumgetNetwork()Get networkjava.lang.StringgetProof()Original random set of bytes.java.lang.StringgetRecipientAddress()Address expressed in hexadecimal base.java.lang.StringgetSecret()Get secretjava.lang.StringgetSignerPublicKey()Public key.java.lang.IntegergetType()Get typejava.lang.IntegergetVersion()Entity version.EmbeddedSecretProofTransactionDTOhashAlgorithm(LockHashAlgorithmEnum hashAlgorithm)inthashCode()EmbeddedSecretProofTransactionDTOnetwork(NetworkTypeEnum network)EmbeddedSecretProofTransactionDTOproof(java.lang.String proof)EmbeddedSecretProofTransactionDTOrecipientAddress(java.lang.String recipientAddress)EmbeddedSecretProofTransactionDTOsecret(java.lang.String secret)voidsetHashAlgorithm(LockHashAlgorithmEnum hashAlgorithm)voidsetNetwork(NetworkTypeEnum network)voidsetProof(java.lang.String proof)voidsetRecipientAddress(java.lang.String recipientAddress)voidsetSecret(java.lang.String secret)voidsetSignerPublicKey(java.lang.String signerPublicKey)voidsetType(java.lang.Integer type)voidsetVersion(java.lang.Integer version)EmbeddedSecretProofTransactionDTOsignerPublicKey(java.lang.String signerPublicKey)java.lang.StringtoString()EmbeddedSecretProofTransactionDTOtype(java.lang.Integer type)EmbeddedSecretProofTransactionDTOversion(java.lang.Integer version)
-
-
-
Field Detail
-
JSON_PROPERTY_SIGNER_PUBLIC_KEY
public static final java.lang.String JSON_PROPERTY_SIGNER_PUBLIC_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERSION
public static final java.lang.String JSON_PROPERTY_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NETWORK
public static final java.lang.String JSON_PROPERTY_NETWORK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final java.lang.String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
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
-
signerPublicKey
public EmbeddedSecretProofTransactionDTO signerPublicKey(java.lang.String signerPublicKey)
-
getSignerPublicKey
public java.lang.String getSignerPublicKey()
Public key.- Returns:
- signerPublicKey
-
setSignerPublicKey
public void setSignerPublicKey(java.lang.String signerPublicKey)
-
version
public EmbeddedSecretProofTransactionDTO version(java.lang.Integer version)
-
getVersion
public java.lang.Integer getVersion()
Entity version.- Returns:
- version
-
setVersion
public void setVersion(java.lang.Integer version)
-
network
public EmbeddedSecretProofTransactionDTO network(NetworkTypeEnum network)
-
getNetwork
public NetworkTypeEnum getNetwork()
Get network- Returns:
- network
-
setNetwork
public void setNetwork(NetworkTypeEnum network)
-
type
public EmbeddedSecretProofTransactionDTO type(java.lang.Integer type)
-
getType
public java.lang.Integer getType()
Get type- Returns:
- type
-
setType
public void setType(java.lang.Integer type)
-
secret
public EmbeddedSecretProofTransactionDTO 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 EmbeddedSecretProofTransactionDTO hashAlgorithm(LockHashAlgorithmEnum hashAlgorithm)
-
getHashAlgorithm
public LockHashAlgorithmEnum getHashAlgorithm()
Get hashAlgorithm- Returns:
- hashAlgorithm
-
setHashAlgorithm
public void setHashAlgorithm(LockHashAlgorithmEnum hashAlgorithm)
-
recipientAddress
public EmbeddedSecretProofTransactionDTO recipientAddress(java.lang.String recipientAddress)
-
getRecipientAddress
public java.lang.String getRecipientAddress()
Address expressed in hexadecimal base. 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 EmbeddedSecretProofTransactionDTO 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
-
-