ReportView

data class ReportView(val id: Long, val eventId: Long, val status: ReportViewStatus, val subject: SubjectView, val reportType: Token, val reportedBy: Did, val reporter: SubjectView, val comment: String? = null, val createdAt: Timestamp, val updatedAt: Timestamp? = null, val queuedAt: Timestamp? = null, val actionEventIds: List<Long>? = null, val actions: List<ModEventView>? = null, val actionNote: String? = null, val subjectStatus: SubjectStatusView? = null, val relatedReportCount: Long? = null, val assignment: ReportAssignment? = null, val queue: QueueView? = null, val isMuted: Boolean? = null)

Parameters

id

Report ID

eventId

ID of the moderation event that created this report

status

Current status of the report

subject

The subject that was reported with full details

reportType

Type of report

reportedBy

DID of the user who made the report

reporter

Full subject view of the reporter account

comment

Comment provided by the reporter

createdAt

When the report was created

updatedAt

When the report was last updated

queuedAt

When the report was assigned to its current queue

actionEventIds

Array of moderation event IDs representing actions taken on this report (sorted DESC, most recent first)

actions

Optional: expanded action events

actionNote

Note sent to reporter when report was actioned

subjectStatus

Current status of the reported subject

relatedReportCount

Number of other pending reports on the same subject

assignment

Information about moderator currently assigned to this report (if any)

queue

The queue this report is assigned to (if any)

isMuted

Whether this report is muted. A report is muted if the reporter was muted or the subject was muted at the time the report was created.

Constructors

Link copied to clipboard
constructor(id: Long, eventId: Long, status: ReportViewStatus, subject: SubjectView, reportType: Token, reportedBy: Did, reporter: SubjectView, comment: String? = null, createdAt: Timestamp, updatedAt: Timestamp? = null, queuedAt: Timestamp? = null, actionEventIds: List<Long>? = null, actions: List<ModEventView>? = null, actionNote: String? = null, subjectStatus: SubjectStatusView? = null, relatedReportCount: Long? = null, assignment: ReportAssignment? = null, queue: QueueView? = null, isMuted: Boolean? = null)

Properties

Link copied to clipboard

Array of moderation event IDs representing actions taken on this report (sorted DESC, most recent first)

Link copied to clipboard

Note sent to reporter when report was actioned

Link copied to clipboard

Optional: expanded action events

Link copied to clipboard

Information about moderator currently assigned to this report (if any)

Link copied to clipboard

Comment provided by the reporter

Link copied to clipboard

When the report was created

Link copied to clipboard

ID of the moderation event that created this report

Link copied to clipboard
val id: Long

Report ID

Link copied to clipboard

Whether this report is muted. A report is muted if the reporter was muted or the subject was muted at the time the report was created.

Link copied to clipboard

The queue this report is assigned to (if any)

Link copied to clipboard

When the report was assigned to its current queue

Link copied to clipboard

Number of other pending reports on the same subject

Link copied to clipboard

DID of the user who made the report

Link copied to clipboard

Full subject view of the reporter account

Link copied to clipboard

Type of report

Link copied to clipboard

Current status of the report

Link copied to clipboard

The subject that was reported with full details

Link copied to clipboard

Current status of the reported subject

Link copied to clipboard

When the report was last updated