ModEventReverseTakedown constructor

const ModEventReverseTakedown({
  1. @Default.new('tools.ozone.moderation.defs#modEventReverseTakedown') String $type,
  2. String? comment,
  3. List<String>? policies,
  4. String? severityLevel,
  5. int? strikeCount,
  6. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ModEventReverseTakedown({
  @Default('tools.ozone.moderation.defs#modEventReverseTakedown')
  String $type,

  /// Describe reasoning behind the reversal.
  String? comment,
  List<String>? policies,

  /// Severity level of the violation. Usually set from the last policy infraction's severity.
  String? severityLevel,

  /// Number of strikes to subtract from the user's strike count. Usually set from the last policy infraction's severity.
  int? strikeCount,

  Map<String, dynamic>? $unknown,
}) = _ModEventReverseTakedown;