Class ChannelTermsAction
java.lang.Object
com.github.twitch4j.pubsub.domain.ChannelTermsAction
public class ChannelTermsAction
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChannelTermsAction.Type -
Constructor Summary
Constructors Constructor Description ChannelTermsAction() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetChannelId()The ID of the channel where this action took place.@Nullable java.time.InstantgetExpiresAt()UTC timestamp of when this term rule expires.java.lang.StringgetId()Unique id for the channel term.java.lang.StringgetRequesterId()The user id of the executor of the channel terms action.java.lang.StringgetRequesterLogin()The user login name of the executor of the channel terms action.java.lang.StringgetText()The relevant text for this channel term.ChannelTermsAction.TypegetType()The type of channel terms action that took place.java.time.InstantgetUpdatedAt()UTC timestamp of when this term was last updated.inthashCode()java.lang.BooleanisFromAutomod()Whether the action was executed by Automod.java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ChannelTermsAction
public ChannelTermsAction()
-
-
Method Details
-
getType
The type of channel terms action that took place. -
getId
public java.lang.String getId()Unique id for the channel term. -
getChannelId
public java.lang.String getChannelId()The ID of the channel where this action took place. -
getText
public java.lang.String getText()The relevant text for this channel term. -
getRequesterId
public java.lang.String getRequesterId()The user id of the executor of the channel terms action. -
getRequesterLogin
public java.lang.String getRequesterLogin()The user login name of the executor of the channel terms action. -
getExpiresAt
@Nullable public @Nullable java.time.Instant getExpiresAt()UTC timestamp of when this term rule expires. -
getUpdatedAt
public java.time.Instant getUpdatedAt()UTC timestamp of when this term was last updated. -
isFromAutomod
public java.lang.Boolean isFromAutomod()Whether the action was executed by Automod. -
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
-