ReportsSummary

data class ReportsSummary(val reasonTypes: List<String>, val firstReportedOn: Timestamp, val lastReportedOn: Timestamp)

Aggregate view of reports filed against this subject. Deliberately carries no report IDs, no count, and no reporter identities.

Parameters

reasonTypes

Distinct reason types reported, deduplicated and unordered. Excludes reasonAppeal.

firstReportedOn

Day of the earliest report, truncated to midnight UTC. Render as a date; the time component is not meaningful.

lastReportedOn

Day of the most recent report, truncated to midnight UTC. Render as a date; the time component is not meaningful.

Constructors

Link copied to clipboard
constructor(reasonTypes: List<String>, firstReportedOn: Timestamp, lastReportedOn: Timestamp)

Properties

Link copied to clipboard

Day of the earliest report, truncated to midnight UTC. Render as a date; the time component is not meaningful.

Link copied to clipboard

Day of the most recent report, truncated to midnight UTC. Render as a date; the time component is not meaningful.

Link copied to clipboard

Distinct reason types reported, deduplicated and unordered. Excludes reasonAppeal.