42 lines
1.3 KiB
C#
42 lines
1.3 KiB
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Jellyfin.Plugin.JRay.Models;
|
|
|
|
/// <summary>
|
|
/// A count of library items bucketed by JRay coverage status. Used both for
|
|
/// the overall totals and for each per-genre / per-media-type breakdown row.
|
|
/// </summary>
|
|
public class CoverageCounts
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the total number of items in this bucket.
|
|
/// </summary>
|
|
[JsonPropertyName("total")]
|
|
public int Total { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the number of items that already have truth data.
|
|
/// </summary>
|
|
[JsonPropertyName("covered")]
|
|
public int Covered { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the number of items awaiting processing (no truth data,
|
|
/// not ignored). Includes prioritised-but-not-yet-covered items.
|
|
/// </summary>
|
|
[JsonPropertyName("pending")]
|
|
public int Pending { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the number of pending items that are prioritised.
|
|
/// </summary>
|
|
[JsonPropertyName("prioritised")]
|
|
public int Prioritised { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the number of items excluded from processing by an ignore rule.
|
|
/// </summary>
|
|
[JsonPropertyName("ignored")]
|
|
public int Ignored { get; set; }
|
|
}
|