namespace Cleanuparr.Infrastructure.Stats;
///
/// Strike activity within the requested timeframe. All counts are derived from strike events
/// (StalledStrike, FailedImportStrike, etc.) and exclude dry-run activity unless the caller opts in.
///
public class StrikeV2Stats
{
///
/// Total strikes issued in the timeframe. Equal to the sum of .
///
public int Total { get; set; }
///
/// Strikes issued in the timeframe, grouped by strike type (Stalled, FailedImport, SlowSpeed, ...).
/// Keys are PascalCase strike-type names; only types with activity are present.
///
public Dictionary ByType { get; set; } = new();
///
/// Number of downloads that recovered in the timeframe and had their strikes reset (StrikeReset events).
///
public int Recovered { get; set; }
}