CreateActivityRequest
constructor(reportId: Long? = null, eventId: Long? = null, activity: CreateActivityRequestActivityUnion, internalNote: String? = null, publicNote: String? = null, isAutomated: Boolean? = false, meta: JsonContent? = null)
Parameters
reportId
ID of the report to record activity on. Exactly one of reportId or eventId must be provided.
eventId
ID of the report moderation event. Resolves to the report created from that event. Exactly one of reportId or eventId must be provided.
activity
The type of activity to record.
internalNote
Optional moderator-only note. Not visible to reporters.
publicNote
Optional public-facing note, potentially visible to the reporter.
isAutomated
Set true when this activity is triggered by an automated process. Defaults to false.
meta
Optional metadata for the report activities. Lifecycle and resolution fields are controlled by the service.