Class PredictionEvent

java.lang.Object
com.github.twitch4j.pubsub.domain.PredictionEvent

public class PredictionEvent extends Object
  • Constructor Details

    • PredictionEvent

      public PredictionEvent()
  • Method Details

    • getId

      public String getId()
    • getChannelId

      public String getChannelId()
    • getCreatedAt

      public Instant getCreatedAt()
    • getCreatedBy

      public PredictionTrigger getCreatedBy()
    • getEndedAt

      public Instant getEndedAt()
    • getEndedBy

      public PredictionTrigger getEndedBy()
    • getLockedAt

      public Instant getLockedAt()
    • getLockedBy

      public PredictionTrigger getLockedBy()
    • getOutcomes

      public List<PredictionOutcome> getOutcomes()
    • getPredictionWindowSeconds

      public Integer getPredictionWindowSeconds()
    • getStatus

      public String getStatus()
      The status of the prediction (e.g., "ACTIVE", "CANCELED", "CANCEL_PENDING", "LOCKED", "RESOLVE_PENDING", "RESOLVED")
    • getTitle

      public String getTitle()
    • getWinningOutcomeId

      public String getWinningOutcomeId()
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object