ReportCreateActivityInput constructor

  1. @JsonSerializable.new(includeIfNull: false)
const ReportCreateActivityInput({
  1. required int reportId,
  2. @UReportCreateActivityActivityConverter() required UReportCreateActivityActivity activity,
  3. String? internalNote,
  4. String? publicNote,
  5. @Default.new(false) bool isAutomated,
  6. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ReportCreateActivityInput({
  /// ID of the report to record activity on
  required int reportId,
  @UReportCreateActivityActivityConverter()
  required UReportCreateActivityActivity activity,

  /// Optional moderator-only note. Not visible to reporters.
  String? internalNote,

  /// Optional public-facing note, potentially visible to the reporter.
  String? publicNote,

  /// Set true when this activity is triggered by an automated process. Defaults to false.
  @Default(false) bool isAutomated,

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