Class UserPredictionResultEvent

java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.common.events.TwitchEvent
com.github.twitch4j.pubsub.events.UserPredictionResultEvent
All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent

public class UserPredictionResultEvent
extends com.github.twitch4j.common.events.TwitchEvent
Sent on prediction-result for predictions-user-v1
  • Constructor Summary

    Constructors
    Constructor Description
    UserPredictionResultEvent()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    Prediction getPrediction()  
    java.time.Instant getTimestamp()  
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class com.github.philippheuer.events4j.core.domain.Event

    getEventId, getFiredAt, getFiredAtInstant, getServiceMediator, setEventId, setFiredAt, setFiredAtInstant, setServiceMediator

    Methods inherited from class java.lang.Object

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

    • UserPredictionResultEvent

      public UserPredictionResultEvent()
  • Method Details

    • getTimestamp

      public java.time.Instant getTimestamp()
    • getPrediction

      public Prediction getPrediction()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class com.github.twitch4j.common.events.TwitchEvent
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class com.github.twitch4j.common.events.TwitchEvent
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
      Overrides:
      canEqual in class com.github.twitch4j.common.events.TwitchEvent
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class com.github.twitch4j.common.events.TwitchEvent