Package com.github.twitch4j.helix.domain
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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetCallback()The callback provided for this subscription.java.lang.StringgetExpires_at()Deprecated.in favor of #getExpiresAt()java.time.InstantgetExpiresAt()Date and time when this subscription expires.java.lang.StringgetTopic()The topic used in the initial subscription.inthashCode()java.lang.StringtoString()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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-