ReportCreateActivityInput constructor
const
ReportCreateActivityInput({
- int? reportId,
- int? eventId,
- @UReportCreateActivityActivityConverter() required UReportCreateActivityActivity activity,
- String? internalNote,
- String? publicNote,
- @Default.new(false) bool isAutomated,
- Map<
String, dynamic> ? $unknown,
Implementation
@JsonSerializable(includeIfNull: false)
const factory ReportCreateActivityInput({
/// ID of the report to record activity on. Exactly one of reportId or eventId must be provided.
int? reportId,
/// ID of the report moderation event. Resolves to the report created from that event. Exactly one of reportId or eventId must be provided.
int? eventId,
@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;