Package com.syntifi.casper.sdk.model.era
Class JsonEraValidators
- java.lang.Object
-
- com.syntifi.casper.sdk.model.era.JsonEraValidators
-
public class JsonEraValidators extends java.lang.Object
An entry in the validator map.- Since:
- 0.0.1
-
-
Constructor Summary
Constructors Constructor Description JsonEraValidators()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.math.BigInteger
getEraId()
Era idjava.util.List<JsonValidatorWeight>
getValidatorWeights()
int
hashCode()
void
setEraId(java.math.BigInteger eraId)
Era idvoid
setValidatorWeights(java.util.List<JsonValidatorWeight> validatorWeights)
java.lang.String
toString()
-
-
-
Method Detail
-
getEraId
public java.math.BigInteger getEraId()
Era id
-
getValidatorWeights
public java.util.List<JsonValidatorWeight> getValidatorWeights()
- See Also:
JsonValidatorWeight
-
setEraId
public void setEraId(java.math.BigInteger eraId)
Era id
-
setValidatorWeights
public void setValidatorWeights(java.util.List<JsonValidatorWeight> validatorWeights)
- See Also:
JsonValidatorWeight
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-