Class DictionaryData
- java.lang.Object
-
- com.syntifi.casper.sdk.model.dictionary.DictionaryData
-
public class DictionaryData extends java.lang.Object
Dictionary key and stored value- Since:
- 0.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DictionaryData.DictionaryDataBuilder
-
Constructor Summary
Constructors Constructor Description DictionaryData()
DictionaryData(java.lang.String apiVersion, java.lang.String dictionaryKey, java.lang.String merkleProof, StoredValue<?> storedValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DictionaryData.DictionaryDataBuilder
builder()
java.lang.String
getApiVersion()
The RPC API versionjava.lang.String
getDictionaryKey()
The key under which the value is storedjava.lang.String
getMerkleProof()
The merkle proofStoredValue<?>
getStoredValue()
The stored valuevoid
setApiVersion(java.lang.String apiVersion)
The RPC API versionvoid
setDictionaryKey(java.lang.String dictionaryKey)
The key under which the value is storedvoid
setMerkleProof(java.lang.String merkleProof)
The merkle proofvoid
setStoredValue(StoredValue<?> storedValue)
The stored value
-
-
-
Constructor Detail
-
DictionaryData
public DictionaryData(java.lang.String apiVersion, java.lang.String dictionaryKey, java.lang.String merkleProof, StoredValue<?> storedValue)
-
DictionaryData
public DictionaryData()
-
-
Method Detail
-
builder
public static DictionaryData.DictionaryDataBuilder builder()
-
getApiVersion
public java.lang.String getApiVersion()
The RPC API version
-
getDictionaryKey
public java.lang.String getDictionaryKey()
The key under which the value is stored
-
getMerkleProof
public java.lang.String getMerkleProof()
The merkle proof
-
getStoredValue
public StoredValue<?> getStoredValue()
The stored value
-
setApiVersion
public void setApiVersion(java.lang.String apiVersion)
The RPC API version
-
setDictionaryKey
public void setDictionaryKey(java.lang.String dictionaryKey)
The key under which the value is stored
-
setMerkleProof
public void setMerkleProof(java.lang.String merkleProof)
The merkle proof
-
setStoredValue
public void setStoredValue(StoredValue<?> storedValue)
The stored value
-
-