Class AutoModerationActionProperties
- Namespace
- NetCord
- Assembly
- NetCord.dll
public class AutoModerationActionProperties
- Inheritance
-
AutoModerationActionProperties
- Inherited Members
-
Constructors
AutoModerationActionProperties(AutoModerationActionType)
public AutoModerationActionProperties(AutoModerationActionType type)
Parameters
type
AutoModerationActionType
Properties
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("metadata")]
public AutoModerationActionMetadataProperties? Metadata { get; set; }
Property Value
- AutoModerationActionMetadataProperties
Type
[JsonPropertyName("type")]
public AutoModerationActionType Type { get; set; }
Property Value
- AutoModerationActionType
Methods
public AutoModerationActionProperties WithMetadata(AutoModerationActionMetadataProperties? metadata)
Parameters
metadata
AutoModerationActionMetadataProperties
Returns
- AutoModerationActionProperties
WithType(AutoModerationActionType)
public AutoModerationActionProperties WithType(AutoModerationActionType type)
Parameters
type
AutoModerationActionType
Returns
- AutoModerationActionProperties