AutoModerationRuleModifyRequest

data class AutoModerationRuleModifyRequest(val name: Optional<String> = Optional.Missing(), val eventType: Optional<AutoModerationRuleEventType> = Optional.Missing(), val triggerMetadata: Optional<DiscordAutoModerationRuleTriggerMetadata> = Optional.Missing(), val actions: Optional<List<DiscordAutoModerationAction>> = Optional.Missing(), val enabled: OptionalBoolean = OptionalBoolean.Missing, val exemptRoles: Optional<List<Snowflake>> = Optional.Missing(), val exemptChannels: Optional<List<Snowflake>> = Optional.Missing())(source)

Constructors

Link copied to clipboard
constructor(name: Optional<String> = Optional.Missing(), eventType: Optional<AutoModerationRuleEventType> = Optional.Missing(), triggerMetadata: Optional<DiscordAutoModerationRuleTriggerMetadata> = Optional.Missing(), actions: Optional<List<DiscordAutoModerationAction>> = Optional.Missing(), enabled: OptionalBoolean = OptionalBoolean.Missing, exemptRoles: Optional<List<Snowflake>> = Optional.Missing(), exemptChannels: Optional<List<Snowflake>> = Optional.Missing())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "exempt_channels")
val exemptChannels: Optional<List<Snowflake>>
Link copied to clipboard
@SerialName(value = "exempt_roles")
val exemptRoles: Optional<List<Snowflake>>
Link copied to clipboard
Link copied to clipboard