Package com.syntifi.casper.sdk.model.era
Class JsonValidatorWeight
- java.lang.Object
-
- com.syntifi.casper.sdk.model.era.JsonValidatorWeight
-
public class JsonValidatorWeight extends java.lang.ObjectCasper block validator weight- Since:
- 0.0.1
- See Also:
JsonEraEnd
-
-
Constructor Summary
Constructors Constructor Description JsonValidatorWeight()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)protected java.lang.StringgetJsonWeight()PublicKeygetPublicKey()java.math.BigIntegergetWeight()Decimal representation of a 512-bit integerinthashCode()protected voidsetJsonWeight(java.lang.String value)voidsetPublicKey(PublicKey publicKey)voidsetWeight(java.math.BigInteger weight)Decimal representation of a 512-bit integerjava.lang.StringtoString()
-
-
-
Method Detail
-
getJsonWeight
@ExcludeFromJacocoGeneratedReport protected java.lang.String getJsonWeight()
-
setJsonWeight
@ExcludeFromJacocoGeneratedReport protected void setJsonWeight(java.lang.String value)
-
getWeight
public java.math.BigInteger getWeight()
Decimal representation of a 512-bit integer
-
setWeight
public void setWeight(java.math.BigInteger weight)
Decimal representation of a 512-bit integer
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-