Class DemocracyFunctions.ReferendumInfoExtended
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<java.lang.String,Codec>
-
- org.polkadot.types.codec.Struct
-
- org.polkadot.types.type.ReferendumInfo
-
- org.polkadot.api.derive.democracy.DemocracyFunctions.ReferendumInfoExtended
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,Codec>,Codec
- Enclosing class:
- DemocracyFunctions
public static class DemocracyFunctions.ReferendumInfoExtended extends ReferendumInfo
A ReferendumInfo with an additional `index` field- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.polkadot.types.type.ReferendumInfo
ReferendumInfo.ReferendumInfoValue
-
-
Constructor Summary
Constructors Constructor Description ReferendumInfoExtended(ReferendumInfo value, int index)
-
Method Summary
Modifier and Type Method Description ReferendumIndexgetIndex()Convenience getter, returns the referendumIndexjava.lang.ObjecttoJson()Creates the JSON representation-
Methods inherited from class org.polkadot.types.type.ReferendumInfo
getDelay, getEnd, getProposal, getThreshold
-
Methods inherited from class org.polkadot.types.codec.Struct
builder, eq, getEncodedLength, getField, isEmpty, toArray, toHex, toString, toU8a, with
-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Constructor Detail
-
ReferendumInfoExtended
public ReferendumInfoExtended(ReferendumInfo value, int index)
-
-
Method Detail
-
getIndex
public ReferendumIndex getIndex()
Convenience getter, returns the referendumIndex
-
-