Class ChannelPredictionEvent

java.lang.Object
Direct Known Subclasses:
ChannelPredictionBeginEvent, ChannelPredictionEndEvent, ChannelPredictionLockEvent, ChannelPredictionProgressEvent

public abstract class ChannelPredictionEvent
extends EventSubChannelEvent
  • Constructor Details

    • ChannelPredictionEvent

      public ChannelPredictionEvent()
  • Method Details

    • getPredictionId

      public java.lang.String getPredictionId()
      Channel Points Prediction ID.
    • getTitle

      public java.lang.String getTitle()
      Title for the Channel Points Prediction.
    • getOutcomes

      public java.util.List<PredictionOutcome> getOutcomes()
      The outcomes for the Channel Points Prediction. May or may not include top_predictors.
    • getStartedAt

      public java.time.Instant getStartedAt()
      The time the Channel Points Prediction started.
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class EventSubChannelEvent