Class HypeTrainBeginEvent


public class HypeTrainBeginEvent extends HypeTrainEvent
  • Constructor Details

    • HypeTrainBeginEvent

      public HypeTrainBeginEvent()
  • Method Details

    • getProgress

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

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

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

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

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

      public boolean equals(Object o)
      Overrides:
      equals in class HypeTrainEvent
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class HypeTrainEvent
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class HypeTrainEvent