Class PredictionResult

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

public class PredictionResult
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    PredictionResult()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    @Nullable java.lang.Integer getPointsWon()  
    java.lang.String getType()
    The result type (e.g., "WIN", "LOSE")
    int hashCode()  
    java.lang.Boolean isAcknowledged()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PredictionResult

      public PredictionResult()
  • Method Details

    • getType

      public java.lang.String getType()
      The result type (e.g., "WIN", "LOSE")
    • getPointsWon

      @Nullable public @Nullable java.lang.Integer getPointsWon()
    • isAcknowledged

      public java.lang.Boolean isAcknowledged()
    • equals

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

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object