Class EventSocketDeleteSubscriptionSuccessEvent

java.lang.Object
com.github.twitch4j.eventsub.socket.events.EventSocketDeleteSubscriptionSuccessEvent

public final class EventSocketDeleteSubscriptionSuccessEvent extends Object
Called when an EventSocket successfully deletes a subscription via the Helix API.
  • Constructor Details

    • EventSocketDeleteSubscriptionSuccessEvent

      public EventSocketDeleteSubscriptionSuccessEvent(EventSubSubscription subscription, TwitchEventSocket connection)
      Creates a new EventSocketDeleteSubscriptionSuccessEvent instance.
      Parameters:
      subscription - The eventsub subscription that was successfully deleted.
      connection - The EventSocket connection associated with the subscription.
  • Method Details

    • getSubscription

      public EventSubSubscription getSubscription()
      The eventsub subscription that was successfully deleted.
    • getConnection

      public TwitchEventSocket getConnection()
      The EventSocket connection associated with the subscription.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object