Package com.syntifi.casper.sdk.model.era
Class EraSummary
- java.lang.Object
-
- com.syntifi.casper.sdk.model.era.EraSummary
-
public class EraSummary extends java.lang.Object
The summary of an era
-
-
Constructor Summary
Constructors Constructor Description EraSummary()
-
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.lang.String
getBlockHash()
The block hashjava.lang.Long
getEraId()
The era idjava.lang.String
getMerkleProof()
The merkle proofjava.lang.String
getStateRootHash()
Hex-encoded hash of the state rootStoredValueEraInfo
getStoredValue()
The StoredValue containing era informationint
hashCode()
void
setBlockHash(java.lang.String blockHash)
The block hashvoid
setEraId(java.lang.Long eraId)
The era idvoid
setMerkleProof(java.lang.String merkleProof)
The merkle proofvoid
setStateRootHash(java.lang.String stateRootHash)
Hex-encoded hash of the state rootvoid
setStoredValue(StoredValueEraInfo storedValue)
The StoredValue containing era informationjava.lang.String
toString()
-
-
-
Method Detail
-
getBlockHash
public java.lang.String getBlockHash()
The block hash
-
getEraId
public java.lang.Long getEraId()
The era id
-
getMerkleProof
public java.lang.String getMerkleProof()
The merkle proof
-
getStateRootHash
public java.lang.String getStateRootHash()
Hex-encoded hash of the state root
-
getStoredValue
public StoredValueEraInfo getStoredValue()
The StoredValue containing era information
-
setBlockHash
public void setBlockHash(java.lang.String blockHash)
The block hash
-
setEraId
public void setEraId(java.lang.Long eraId)
The era id
-
setMerkleProof
public void setMerkleProof(java.lang.String merkleProof)
The merkle proof
-
setStateRootHash
public void setStateRootHash(java.lang.String stateRootHash)
Hex-encoded hash of the state root
-
setStoredValue
public void setStoredValue(StoredValueEraInfo storedValue)
The StoredValue containing era information
-
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
-
-