// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. // Lexicon schema: tools.ozone.queue.defs package ozone // QueueDefs_AssignmentView is a "assignmentView" in the tools.ozone.queue.defs schema. type QueueDefs_AssignmentView struct { Did string `json:"did" cborgen:"did"` EndAt *string `json:"endAt,omitempty" cborgen:"endAt,omitempty"` Id int64 `json:"id" cborgen:"id"` // moderator: The moderator assigned to this queue Moderator *TeamDefs_Member `json:"moderator,omitempty" cborgen:"moderator,omitempty"` Queue *QueueDefs_QueueView `json:"queue" cborgen:"queue"` StartAt string `json:"startAt" cborgen:"startAt"` } // QueueDefs_QueueStats is a "queueStats" in the tools.ozone.queue.defs schema. type QueueDefs_QueueStats struct { // actionRate: Percentage of reports actioned (actionedCount / inboundCount * 100), rounded to nearest integer. Absent when inboundCount is 0. ActionRate *int64 `json:"actionRate,omitempty" cborgen:"actionRate,omitempty"` // actionedCount: Number of reports in 'closed' status ActionedCount *int64 `json:"actionedCount,omitempty" cborgen:"actionedCount,omitempty"` // avgHandlingTimeSec: Average time in seconds from report creation to close, for reports closed in this period. AvgHandlingTimeSec *int64 `json:"avgHandlingTimeSec,omitempty" cborgen:"avgHandlingTimeSec,omitempty"` // escalatedCount: Number of reports in 'escalated' status EscalatedCount *int64 `json:"escalatedCount,omitempty" cborgen:"escalatedCount,omitempty"` // inboundCount: Reports received in this queue in the last 24 hours. InboundCount *int64 `json:"inboundCount,omitempty" cborgen:"inboundCount,omitempty"` // lastUpdated: When these statistics were last computed LastUpdated *string `json:"lastUpdated,omitempty" cborgen:"lastUpdated,omitempty"` // pendingCount: Number of reports in 'open' status PendingCount *int64 `json:"pendingCount,omitempty" cborgen:"pendingCount,omitempty"` } // QueueDefs_QueueView is a "queueView" in the tools.ozone.queue.defs schema. type QueueDefs_QueueView struct { // collection: Collection name for record subjects (e.g., 'app.bsky.feed.post') Collection *string `json:"collection,omitempty" cborgen:"collection,omitempty"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` // createdBy: DID of moderator who created this queue CreatedBy string `json:"createdBy" cborgen:"createdBy"` // deletedAt: When the queue was deleted, if applicable DeletedAt *string `json:"deletedAt,omitempty" cborgen:"deletedAt,omitempty"` // description: Optional description of the queue Description *string `json:"description,omitempty" cborgen:"description,omitempty"` // enabled: Whether this queue is currently active Enabled bool `json:"enabled" cborgen:"enabled"` // id: Queue ID Id int64 `json:"id" cborgen:"id"` // name: Display name of the queue Name string `json:"name" cborgen:"name"` // reportTypes: Report reason types this queue accepts (fully qualified NSIDs) ReportTypes []string `json:"reportTypes" cborgen:"reportTypes"` // stats: Statistics about this queue Stats *QueueDefs_QueueStats `json:"stats" cborgen:"stats"` // subjectTypes: Subject types this queue accepts. SubjectTypes []string `json:"subjectTypes" cborgen:"subjectTypes"` UpdatedAt string `json:"updatedAt" cborgen:"updatedAt"` }