AdminReport

@Serializable
data class AdminReport(val reportId: String, val wasActionTaken: Boolean, val comment: String, val createdAt: Instant, val updatedAt: Instant, val account: AdminAccount, val targetAccount: AdminAccount, val statuses: List<Status>, val assignedAccount: AdminAccount? = null, val actionTakenByAccount: AdminAccount? = null)

Admin-level information about a filed report.

Constructors

Link copied to clipboard
constructor(reportId: String, wasActionTaken: Boolean, comment: String, createdAt: Instant, updatedAt: Instant, account: AdminAccount, targetAccount: AdminAccount, statuses: List<Status>, assignedAccount: AdminAccount? = null, actionTakenByAccount: AdminAccount? = null)

Properties

Link copied to clipboard

The account which filed the report.

Link copied to clipboard

The account of the moderator who handled the report.

Link copied to clipboard

The account of the moderator assigned to this report.

Link copied to clipboard

An optional reason for reporting.

Link copied to clipboard
val createdAt: Instant

The moment the report was filed.

Link copied to clipboard
Link copied to clipboard

Statuses attached to the report, for context.

Link copied to clipboard

The account being reported.

Link copied to clipboard
val updatedAt: Instant

The time of last action on this report.

Link copied to clipboard

Whether an action was taken to resolve this report.