ReportModerationData
public struct ReportModerationData : Content
Used to return data about Reports submitted by users. Only Moderators and above have access.
Required by:
GET /api/v3/mod/reports
-
The id of the report.
Declaration
Swift
var id: UUID -
The type of content being reported
Declaration
Swift
var type: ReportType -
The ID of the reported entity. Could resolve to an Int or a UUID, depending on the value of
type.Declaration
Swift
var reportedID: String -
The user that authored the content being reported..
Declaration
Swift
var reportedUser: UserHeader -
Text the report author wrote when submitting the report.
Declaration
Swift
var submitterMessage: String? -
The user that submitted the report–NOT the user whose content is being reported.
Declaration
Swift
var author: UserHeader -
The mod who handled (or closed) the report.
Declaration
Swift
var handledBy: UserHeader? -
TRUE if the report has been closed by moderators.
Declaration
Swift
var isClosed: Bool -
The time the submitter filed the report.
Declaration
Swift
var creationTime: Date -
The last time the report has been modified.
Declaration
Swift
var updateTime: Date -
Declaration
Swift
init(req: Request, report: Report) throws
View on GitHub