Class JsonBlockBody
- java.lang.Object
-
- com.syntifi.casper.sdk.model.block.JsonBlockBody
-
public class JsonBlockBody extends java.lang.Object
A JSON-friendly representation of `Body`- Since:
- 0.0.1
- See Also:
JsonBlock
-
-
Constructor Summary
Constructors Constructor Description JsonBlockBody()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.util.List<java.lang.String>
getDeployHashes()
List of Hex-encoded hash digestPublicKey
getProposer()
java.util.List<java.lang.String>
getTransferHashes()
List of Hex-encoded hash digestint
hashCode()
void
setDeployHashes(java.util.List<java.lang.String> deployHashes)
List of Hex-encoded hash digestvoid
setProposer(PublicKey proposer)
void
setTransferHashes(java.util.List<java.lang.String> transferHashes)
List of Hex-encoded hash digestjava.lang.String
toString()
-
-
-
Method Detail
-
getDeployHashes
public java.util.List<java.lang.String> getDeployHashes()
List of Hex-encoded hash digest
-
getTransferHashes
public java.util.List<java.lang.String> getTransferHashes()
List of Hex-encoded hash digest
-
setDeployHashes
public void setDeployHashes(java.util.List<java.lang.String> deployHashes)
List of Hex-encoded hash digest
-
setTransferHashes
public void setTransferHashes(java.util.List<java.lang.String> transferHashes)
List of Hex-encoded hash digest
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-