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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JsonEraValidators.JsonEraValidatorsBuilder
-
Constructor Summary
Constructors Constructor Description JsonEraValidators()
JsonEraValidators(java.math.BigInteger eraId, java.util.List<JsonValidatorWeight> validatorWeights)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonEraValidators.JsonEraValidatorsBuilder
builder()
java.math.BigInteger
getEraId()
Era idjava.util.List<JsonValidatorWeight>
getValidatorWeights()
void
setEraId(java.math.BigInteger eraId)
Era idvoid
setValidatorWeights(java.util.List<JsonValidatorWeight> validatorWeights)
-
-
-
Constructor Detail
-
JsonEraValidators
public JsonEraValidators(java.math.BigInteger eraId, java.util.List<JsonValidatorWeight> validatorWeights)
-
JsonEraValidators
public JsonEraValidators()
-
-
Method Detail
-
builder
public static JsonEraValidators.JsonEraValidatorsBuilder builder()
-
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
-
-