Class Predictor

java.lang.Object
com.github.twitch4j.eventsub.domain.Predictor

public class Predictor extends Object
  • Constructor Details

    • Predictor

      public Predictor()
  • Method Details

    • getUserId

      public String getUserId()
      The ID of the user.
    • getUserLogin

      public String getUserLogin()
      The login name of the user.
    • getUserName

      public String getUserName()
      The display name of the user.
    • getChannelPointsWon

      @Nullable public @Nullable Integer getChannelPointsWon()
      The number of Channel Points won.

      This value is always null in the event payload for Prediction progress and Prediction lock. This value is 0 if the outcome did not win or if the Prediction was canceled and Channel Points were refunded.

    • getChannelPointsUsed

      public Integer getChannelPointsUsed()
      The number of Channel Points used to participate in the Prediction.
    • 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