Class HypeTrainProgressEvent


public class HypeTrainProgressEvent
extends HypeTrainEvent
  • Constructor Details

    • HypeTrainProgressEvent

      public HypeTrainProgressEvent()
  • Method Details

    • getLevel

      public java.lang.Integer getLevel()
      Current level of hype train event.
    • getProgress

      public java.lang.Integer getProgress()
      The number of points contributed to the hype train at the current level.
    • getGoal

      public java.lang.Integer getGoal()
      The number of points required to reach the next level.
    • getLastContribution

      public Contribution getLastContribution()
      The most recent contribution.
    • getExpiresAt

      public java.time.Instant getExpiresAt()
      The time at which the hype train expires. The expiration is extended when the hype train reaches a new level.
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class HypeTrainEvent
    • equals

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

      protected boolean canEqual​(java.lang.Object other)
      Overrides:
      canEqual in class HypeTrainEvent
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class HypeTrainEvent