Package com.github.twitch4j.helix.domain
Class ContentClassificationState
java.lang.Object
com.github.twitch4j.helix.domain.ContentClassificationState
-
Constructor Summary
ConstructorDescriptionContentClassificationState
(@NotNull ContentClassification id, boolean isEnabled) Creates a newContentClassificationState
instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
@NotNull ContentClassification
getId()
ID of the Content Classification Labels that must be added/removed from the channel.int
hashCode()
boolean
Whether 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 newContentClassificationState
instance.- 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
this
if 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
this
if an identical value is passed).
-