Class ContentClassificationState

java.lang.Object
com.github.twitch4j.helix.domain.ContentClassificationState

public class ContentClassificationState extends Object
  • Constructor Details

    • ContentClassificationState

      public ContentClassificationState(@NotNull @NotNull ContentClassification id, boolean isEnabled)
  • Method Details

    • getId

      @NotNull public @NotNull ContentClassification getId()
      ID of the Content Classification Labels that must be added/removed from the channel.
    • isEnabled

      public boolean isEnabled()
      Whether the label should be enabled (true) or disabled for the channel.
    • 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
    • withId

      public ContentClassificationState withId(@NotNull @NotNull ContentClassification id)
      ID of the Content Classification Labels that must be added/removed from the channel.
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withEnabled

      public ContentClassificationState withEnabled(boolean isEnabled)
      Whether the label should be enabled (true) or disabled for the channel.
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).