Enum Class ChannelTermsAction.Type

java.lang.Object
java.lang.Enum<ChannelTermsAction.Type>
com.github.twitch4j.pubsub.domain.ChannelTermsAction.Type
All Implemented Interfaces:
Serializable, Comparable<ChannelTermsAction.Type>, Constable
Enclosing class:
ChannelTermsAction

public static enum ChannelTermsAction.Type extends Enum<ChannelTermsAction.Type>
  • Enum Constant Details

    • ADD_BLOCKED_TERM

      public static final ChannelTermsAction.Type ADD_BLOCKED_TERM
      Moderator added a blocked term to AutoMod.
    • ADD_PERMITTED_TERM

      public static final ChannelTermsAction.Type ADD_PERMITTED_TERM
      Moderator added a permitted term to AutoMod.
    • DELETE_BLOCKED_TERM

      public static final ChannelTermsAction.Type DELETE_BLOCKED_TERM
      Moderator deleted a blocked term from AutoMod.
    • DELETE_PERMITTED_TERM

      public static final ChannelTermsAction.Type DELETE_PERMITTED_TERM
      Moderator deleted a permitted term from AutoMod.
  • Method Details

    • values

      public static ChannelTermsAction.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ChannelTermsAction.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null