public static class DemocracyFunctions.ReferendumInfoExtended extends ReferendumInfo
A ReferendumInfo with an additional index
field
ReferendumInfo.ReferendumInfoValue
Constructor and Description |
---|
ReferendumInfoExtended(ReferendumInfo value,
int index) |
Modifier and Type | Method and Description |
---|---|
ReferendumIndex |
getIndex()
Convenience getter, returns the referendumIndex
|
java.lang.Object |
toJson()
Creates the JSON representation
|
getDelay, getEnd, getProposal, getThreshold
builder, eq, getEncodedLength, getField, isEmpty, toArray, toHex, toString, toU8a, with
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
finalize, getClass, notify, notifyAll, wait, wait, wait
getConstructorCodec, toU8a
public ReferendumInfoExtended(ReferendumInfo value, int index)
public ReferendumIndex getIndex()
Convenience getter, returns the referendumIndex