Package com.github.twitch4j.helix.domain
Class AutoModSettings
java.lang.Object
com.github.twitch4j.helix.domain.AutoModSettings
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionAutoModSettings
(String broadcasterId, String moderatorId, @Nullable Integer overallLevel, Integer aggression, Integer bullying, Integer disability, Integer misogyny, Integer raceEthnicityOrReligion, Integer sexBasedTerms, Integer sexualitySexOrGender, Integer swearing) Creates a newAutoModSettings
instance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
The Automod level for hostility involving aggression.The broadcaster’s ID.The Automod level for hostility involving name calling or insults.The Automod level for discrimination against disability.The Automod level for discrimination against women.The moderator’s ID.@Nullable Integer
The default AutoMod level for the broadcaster.The Automod level for racial discrimination.The Automod level for sexual content.The AutoMod level for discrimination based on sexuality, sex, or gender.The Automod level for profanity.int
hashCode()
boolean
toString()
withAggression
(Integer aggression) The Automod level for hostility involving aggression.withBroadcasterId
(String broadcasterId) The broadcaster’s ID.withBullying
(Integer bullying) The Automod level for hostility involving name calling or insults.withDisability
(Integer disability) The Automod level for discrimination against disability.withMisogyny
(Integer misogyny) The Automod level for discrimination against women.withModeratorId
(String moderatorId) The moderator’s ID.withOverallLevel
(@Nullable Integer overallLevel) The default AutoMod level for the broadcaster.withRaceEthnicityOrReligion
(Integer raceEthnicityOrReligion) The Automod level for racial discrimination.withSexBasedTerms
(Integer sexBasedTerms) The Automod level for sexual content.withSexualitySexOrGender
(Integer sexualitySexOrGender) The AutoMod level for discrimination based on sexuality, sex, or gender.withSwearing
(Integer swearing) The Automod level for profanity.
-
Constructor Details
-
AutoModSettings
public AutoModSettings() -
AutoModSettings
public AutoModSettings(String broadcasterId, String moderatorId, @Nullable @Nullable Integer overallLevel, Integer aggression, Integer bullying, Integer disability, Integer misogyny, Integer raceEthnicityOrReligion, Integer sexBasedTerms, Integer sexualitySexOrGender, Integer swearing) Creates a newAutoModSettings
instance.- Parameters:
broadcasterId
- The broadcaster’s ID.moderatorId
- The moderator’s ID.overallLevel
- The default AutoMod level for the broadcaster. This field is null if the broadcaster has set one or more of the individual settings.aggression
- The Automod level for hostility involving aggression.bullying
- The Automod level for hostility involving name calling or insults.disability
- The Automod level for discrimination against disability.misogyny
- The Automod level for discrimination against women.raceEthnicityOrReligion
- The Automod level for racial discrimination.sexBasedTerms
- The Automod level for sexual content.sexualitySexOrGender
- The AutoMod level for discrimination based on sexuality, sex, or gender.swearing
- The Automod level for profanity.
-
-
Method Details
-
isValidConfiguration
public boolean isValidConfiguration()- Returns:
- whether the settings are valid to be passed to
TwitchHelix.updateChatSettings(String, String, String, ChatSettings)
-
builder
-
toBuilder
-
withBroadcasterId
The broadcaster’s ID.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withModeratorId
The moderator’s ID.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withOverallLevel
The default AutoMod level for the broadcaster. This field is null if the broadcaster has set one or more of the individual settings.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withAggression
The Automod level for hostility involving aggression.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withBullying
The Automod level for hostility involving name calling or insults.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withDisability
The Automod level for discrimination against disability.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withMisogyny
The Automod level for discrimination against women.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withRaceEthnicityOrReligion
The Automod level for racial discrimination.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withSexBasedTerms
The Automod level for sexual content.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withSexualitySexOrGender
The AutoMod level for discrimination based on sexuality, sex, or gender.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withSwearing
The Automod level for profanity.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
getBroadcasterId
The broadcaster’s ID. -
getModeratorId
The moderator’s ID. -
getOverallLevel
The default AutoMod level for the broadcaster. This field is null if the broadcaster has set one or more of the individual settings. -
getAggression
The Automod level for hostility involving aggression. -
getBullying
The Automod level for hostility involving name calling or insults. -
getDisability
The Automod level for discrimination against disability. -
getMisogyny
The Automod level for discrimination against women. -
getRaceEthnicityOrReligion
The Automod level for racial discrimination. -
getSexBasedTerms
The Automod level for sexual content. -
getSexualitySexOrGender
The AutoMod level for discrimination based on sexuality, sex, or gender. -
getSwearing
The Automod level for profanity. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-