Package io.nem.sdk.openapi.jersey2.model
Class ChainScoreDTO
- java.lang.Object
-
- io.nem.sdk.openapi.jersey2.model.ChainScoreDTO
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-02-02T21:53:44.206008392-03:00[America/Argentina/Buenos_Aires]") public class ChainScoreDTO extends java.lang.ObjectChainScoreDTO
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_SCORE_HIGHstatic java.lang.StringJSON_PROPERTY_SCORE_LOW
-
Constructor Summary
Constructors Constructor Description ChainScoreDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.math.BigIntegergetScoreHigh()Score of the blockchain.During synchronization, nodes try to get the blockchain with highest score in the network.java.math.BigIntegergetScoreLow()Score of the blockchain.During synchronization, nodes try to get the blockchain with highest score in the network.inthashCode()ChainScoreDTOscoreHigh(java.math.BigInteger scoreHigh)ChainScoreDTOscoreLow(java.math.BigInteger scoreLow)voidsetScoreHigh(java.math.BigInteger scoreHigh)voidsetScoreLow(java.math.BigInteger scoreLow)java.lang.StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_SCORE_HIGH
public static final java.lang.String JSON_PROPERTY_SCORE_HIGH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCORE_LOW
public static final java.lang.String JSON_PROPERTY_SCORE_LOW
- See Also:
- Constant Field Values
-
-
Method Detail
-
scoreHigh
public ChainScoreDTO scoreHigh(java.math.BigInteger scoreHigh)
-
getScoreHigh
public java.math.BigInteger getScoreHigh()
Score of the blockchain.During synchronization, nodes try to get the blockchain with highest score in the network.- Returns:
- scoreHigh
-
setScoreHigh
public void setScoreHigh(java.math.BigInteger scoreHigh)
-
scoreLow
public ChainScoreDTO scoreLow(java.math.BigInteger scoreLow)
-
getScoreLow
public java.math.BigInteger getScoreLow()
Score of the blockchain.During synchronization, nodes try to get the blockchain with highest score in the network.- Returns:
- scoreLow
-
setScoreLow
public void setScoreLow(java.math.BigInteger scoreLow)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-