Class WebhookSubscription

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

public class WebhookSubscription
extends java.lang.Object
Webhook Subscription
  • Constructor Summary

    Constructors
    Constructor Description
    WebhookSubscription()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getCallback()
    The callback provided for this subscription.
    java.lang.String getExpires_at()
    Deprecated.
    in favor of #getExpiresAt()
    java.time.Instant getExpiresAt()
    Date and time when this subscription expires.
    java.lang.String getTopic()
    The topic used in the initial subscription.
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

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

    • WebhookSubscription

      public WebhookSubscription()
  • Method Details

    • getExpires_at

      @Deprecated public java.lang.String getExpires_at()
      Deprecated.
      in favor of #getExpiresAt()
      Returns:
      date and time when this subscription expires.
    • getCallback

      public java.lang.String getCallback()
      The callback provided for this subscription.
    • getExpiresAt

      public java.time.Instant getExpiresAt()
      Date and time when this subscription expires. Encoded as RFC3339. The timezone is always UTC ("Z").
    • getTopic

      public java.lang.String getTopic()
      The topic used in the initial subscription.
    • 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