EmitEventReportAction

data class EmitEventReportAction(val ids: List<Long>? = null, val types: List<String>? = null, val all: Boolean? = null, val allOwned: Boolean? = null, val subjects: List<EmitEventReportActionSubjectUnion>? = null, val subjectTypes: List<String>? = null, val note: String? = null, val isAutomated: Boolean? = null)

Target specific reports when emitting a moderation event

Parameters

ids

Target specific report IDs

types

Target reports matching these report types on the subject (fully qualified NSIDs). Excludes assigned and escalated reports.

all

Target ALL reports on the subject. Excludes assigned and escalated reports.

allOwned

Target all eligible reports on the account and its owned subjects, including records, messages, and conversations. Only valid for account subjects and events that close reports. Excludes assigned, escalated, and actively assigned reports unless explicitly targeted by ID.

subjects

Expands report targeting to include additional subjects. Requires event subject to be an account. Mutually exclusive with subjectTypes.

subjectTypes

Expands report targeting to include owned subjects of these types. Requires event subject to be an account. Mutually exclusive with subjects.

note

Note to send to reporter(s) when actioning their report

isAutomated

Set true when the report activities are created by an automated process.

Constructors

Link copied to clipboard
constructor(ids: List<Long>? = null, types: List<String>? = null, all: Boolean? = null, allOwned: Boolean? = null, subjects: List<EmitEventReportActionSubjectUnion>? = null, subjectTypes: List<String>? = null, note: String? = null, isAutomated: Boolean? = null)

Properties

Link copied to clipboard
val all: Boolean?

Target ALL reports on the subject. Excludes assigned and escalated reports.

Link copied to clipboard

Target all eligible reports on the account and its owned subjects, including records, messages, and conversations. Only valid for account subjects and events that close reports. Excludes assigned, escalated, and actively assigned reports unless explicitly targeted by ID.

Link copied to clipboard
val ids: List<Long>?

Target specific report IDs

Link copied to clipboard

Set true when the report activities are created by an automated process.

Link copied to clipboard
val note: String?

Note to send to reporter(s) when actioning their report

Link copied to clipboard

Expands report targeting to include additional subjects. Requires event subject to be an account. Mutually exclusive with subjectTypes.

Link copied to clipboard

Expands report targeting to include owned subjects of these types. Requires event subject to be an account. Mutually exclusive with subjects.

Link copied to clipboard

Target reports matching these report types on the subject (fully qualified NSIDs). Excludes assigned and escalated reports.