Class 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.Object
    ChainScoreDTO
    • Constructor Summary

      Constructors 
      Constructor Description
      ChainScoreDTO()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.math.BigInteger getScoreHigh()
      Score of the blockchain.During synchronization, nodes try to get the blockchain with highest score in the network.
      java.math.BigInteger getScoreLow()
      Score of the blockchain.During synchronization, nodes try to get the blockchain with highest score in the network.
      int hashCode()  
      ChainScoreDTO scoreHigh​(java.math.BigInteger scoreHigh)  
      ChainScoreDTO scoreLow​(java.math.BigInteger scoreLow)  
      void setScoreHigh​(java.math.BigInteger scoreHigh)  
      void setScoreLow​(java.math.BigInteger scoreLow)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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
    • Constructor Detail

      • ChainScoreDTO

        public ChainScoreDTO()
    • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object