Class GovernanceTally.TallyData
- java.lang.Object
-
- com.klaytn.caver.methods.response.GovernanceTally.TallyData
-
- All Implemented Interfaces:
IVote
- Enclosing class:
- GovernanceTally
public static class GovernanceTally.TallyData 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 TallyData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Float
getApprovalPercentage()
Getter function for approvalPercentage.java.lang.String
getKey()
Getter function for keyjava.lang.Object
getValue()
Getter function for value.void
setApprovalPercentage(java.lang.Float approvalPercentage)
Setter function for approvalPercentagevoid
setKey(java.lang.String key)
Setter function for keyvoid
setValue(java.lang.Object value)
Setter function for valuejava.lang.String
toString()
-
-
-
Method Detail
-
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.
-
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.
-
getApprovalPercentage
public java.lang.Float getApprovalPercentage()
Getter function for approvalPercentage.- Returns:
- Float
-
setApprovalPercentage
public void setApprovalPercentage(java.lang.Float approvalPercentage)
Setter function for approvalPercentage- Parameters:
approvalPercentage
- The value of approvalPercentage field.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-