Class SubscriptionEvent

java.lang.Object
com.github.twitch4j.helix.domain.SubscriptionEvent

public class SubscriptionEvent extends Object
  • Constructor Details

    • SubscriptionEvent

      public SubscriptionEvent()
  • Method Details

    • getId

      public String getId()
      ID of the event.
    • getEventType

      public SubscriptionEvent.Type getEventType()
      The type of event in the event_data payload.
    • getEventTimestamp

      public Instant getEventTimestamp()
      RFC3339 formatted timestamp for when the event occurred.
    • getVersion

      public String getVersion()
      Event version.
    • getEventData

      public Subscription getEventData()
      Event payload.
    • 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