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 class  ChannelTermsAction.Type  
  • Constructor Summary

    Constructors
    Constructor Description
    ChannelTermsAction()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getChannelId()
    The ID of the channel where this action took place.
    @Nullable java.time.Instant getExpiresAt()
    UTC timestamp of when this term rule expires.
    java.lang.String getId()
    Unique id for the channel term.
    java.lang.String getRequesterId()
    The user id of the executor of the channel terms action.
    java.lang.String getRequesterLogin()
    The user login name of the executor of the channel terms action.
    java.lang.String getText()
    The relevant text for this channel term.
    ChannelTermsAction.Type getType()
    The type of channel terms action that took place.
    java.time.Instant getUpdatedAt()
    UTC timestamp of when this term was last updated.
    int hashCode()  
    java.lang.Boolean isFromAutomod()
    Whether the action was executed by Automod.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

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

    • ChannelTermsAction

      public ChannelTermsAction()
  • Method Details

    • getType

      public ChannelTermsAction.Type 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:
      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