LiveStats constructor

  1. @JsonSerializable.new(includeIfNull: false)
const LiveStats({
  1. @Default.new('tools.ozone.report.defs#liveStats') String $type,
  2. int? pendingCount,
  3. int? actionedCount,
  4. int? escalatedCount,
  5. int? inboundCount,
  6. int? actionRate,
  7. int? avgHandlingTimeSec,
  8. DateTime? lastUpdated,
  9. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory LiveStats({
  @Default('tools.ozone.report.defs#liveStats') String $type,

  /// Number of reports currently not closed.
  int? pendingCount,

  /// Number of reports closed today.
  int? actionedCount,

  /// Number of reports escalated today.
  int? escalatedCount,

  /// Reports received today.
  int? inboundCount,

  /// Percentage of reports actioned (actionedCount / inboundCount * 100), rounded to nearest integer.
  int? actionRate,

  /// Average time in seconds from report creation (or moderator assignment) to close.
  int? avgHandlingTimeSec,

  /// When these statistics were last computed.
  DateTime? lastUpdated,

  Map<String, dynamic>? $unknown,
}) = _LiveStats;