Class ChannelTermsAction

java.lang.Object
com.github.twitch4j.pubsub.domain.ChannelTermsAction

public class ChannelTermsAction extends Object
  • Constructor Details

    • ChannelTermsAction

      public ChannelTermsAction()
  • Method Details

    • getType

      public ChannelTermsAction.Type getType()
      The type of channel terms action that took place.
    • getId

      public String getId()
      Unique id for the channel term.
    • getChannelId

      public String getChannelId()
      The ID of the channel where this action took place.
    • getText

      public String getText()
      The relevant text for this channel term.
    • getRequesterId

      public String getRequesterId()
      The user id of the executor of the channel terms action.
    • getRequesterLogin

      public String getRequesterLogin()
      The user login name of the executor of the channel terms action.
    • getExpiresAt

      @Nullable public @Nullable Instant getExpiresAt()
      UTC timestamp of when this term rule expires.
    • getUpdatedAt

      public Instant getUpdatedAt()
      UTC timestamp of when this term was last updated.
    • isFromAutomod

      public Boolean isFromAutomod()
      Whether the action was executed by Automod.
    • 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