Class BlockUpgradeVote

java.lang.Object
com.algorand.algosdk.v2.client.common.PathResponse
com.algorand.algosdk.v2.client.model.BlockUpgradeVote

public class BlockUpgradeVote
extends PathResponse
Fields relating to voting for a protocol upgrade.
  • Field Summary

    Fields
    Modifier and Type Field Description
    java.lang.Boolean upgradeApprove
    (upgradeyes) Indicates a yes vote for the current proposal.
    java.lang.Long upgradeDelay
    (upgradedelay) Indicates the time between acceptance and execution.
    java.lang.String upgradePropose
    (upgradeprop) Indicates a proposed upgrade.
  • Constructor Summary

    Constructors
    Constructor Description
    BlockUpgradeVote()  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  

    Methods inherited from class com.algorand.algosdk.v2.client.common.PathResponse

    toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • upgradeApprove

      public java.lang.Boolean upgradeApprove
      (upgradeyes) Indicates a yes vote for the current proposal.
    • upgradeDelay

      public java.lang.Long upgradeDelay
      (upgradedelay) Indicates the time between acceptance and execution.
    • upgradePropose

      public java.lang.String upgradePropose
      (upgradeprop) Indicates a proposed upgrade.
  • Constructor Details

    • BlockUpgradeVote

      public BlockUpgradeVote()
  • Method Details

    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object