Package com.github.twitch4j.helix.domain
Class ContentClassificationState
java.lang.Object
com.github.twitch4j.helix.domain.ContentClassificationState
-
Constructor Summary
ConstructorsConstructorDescriptionContentClassificationState(@NotNull ContentClassification id, boolean isEnabled) Creates a newContentClassificationStateinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@NotNull ContentClassificationgetId()ID of the Content Classification Labels that must be added/removed from the channel.inthashCode()booleanWhether the label should be enabled (true) or disabled for the channel.toString()withEnabled(boolean isEnabled) Whether the label should be enabled (true) or disabled for the channel.withId(@NotNull ContentClassification id) ID of the Content Classification Labels that must be added/removed from the channel.
-
Constructor Details
-
ContentClassificationState
Creates a newContentClassificationStateinstance.- Parameters:
id- ID of the Content Classification Labels that must be added/removed from the channel.isEnabled- Whether the label should be enabled (true) or disabled for the channel.
-
-
Method Details
-
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withId
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
thisif an identical value is passed).
-
withEnabled
Whether the label should be enabled (true) or disabled for the channel.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-