Class GovernanceMyVotes.MyVote
- java.lang.Object
-
- com.klaytn.caver.methods.response.GovernanceMyVotes.MyVote
-
- All Implemented Interfaces:
IVote
- Enclosing class:
- GovernanceMyVotes
public static class GovernanceMyVotes.MyVote extends java.lang.Object implements IVote
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.klaytn.caver.methods.response.IVote
IVote.VoteItem
-
-
Constructor Summary
Constructors Constructor Description MyVote()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigInteger
getBlockNum()
Getter function for blockNumjava.lang.String
getKey()
Getter function for key.java.lang.Object
getValue()
Getter function for value.boolean
isCasted()
Getter function for catsed.void
setBlockNum(java.math.BigInteger blockNum)
Setter function for blockNumvoid
setCasted(boolean casted)
Setter function for casted.void
setKey(java.lang.String key)
Setter function for key.void
setValue(java.lang.Object value)
Setter function for value.java.lang.String
toString()
-
-
-
Method Detail
-
getBlockNum
public java.math.BigInteger getBlockNum()
Getter function for blockNum- Returns:
- BigInteger
-
setBlockNum
public void setBlockNum(java.math.BigInteger blockNum)
Setter function for blockNum- Parameters:
blockNum
- The block number in MyVote
-
isCasted
public boolean isCasted()
Getter function for catsed.- Returns:
- boolean
-
setCasted
public void setCasted(boolean casted)
Setter function for casted.- Parameters:
casted
- The value of casted in MyVote.
-
getKey
public java.lang.String getKey()
Getter function for key.
-
setKey
public void setKey(java.lang.String key)
Setter function for key.- Parameters:
key
- The value of key field in MyVote.
-
getValue
public java.lang.Object getValue()
Getter function for value.
-
setValue
public void setValue(java.lang.Object value)
Setter function for value.- Parameters:
value
- The value of value field in MyVote.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-