Class EventSubNotification

java.lang.Object
com.github.twitch4j.eventsub.EventSubNotification

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

    Constructors
    Constructor Description
    EventSubNotification​(EventSubSubscription subscription, EventSubEvent event, java.lang.String challenge)  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getChallenge()
    The value of challenge from the callback verification request must be returned to complete the verification process.
    EventSubEvent getEvent()
    The event information.
    EventSubSubscription getSubscription()
    Metadata about the subscription.
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getSubscription

      public EventSubSubscription getSubscription()
      Metadata about the subscription.
    • getEvent

      public EventSubEvent getEvent()
      The event information. The fields inside this object differ by subscription type.
    • getChallenge

      public java.lang.String getChallenge()
      The value of challenge from the callback verification request must be returned to complete the verification process.
    • 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