23 lines
647 B
C#
23 lines
647 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Jellyfin.Plugin.JRay.Models;
|
|
|
|
/// <summary>
|
|
/// One labelled row of a coverage breakdown (e.g. a single genre, or a single
|
|
/// media type such as "Film" or "TV").
|
|
/// </summary>
|
|
public class CoverageBreakdownRow
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the label for this row (genre name or media type name).
|
|
/// </summary>
|
|
[JsonPropertyName("label")]
|
|
public string Label { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the coverage counts for this row.
|
|
/// </summary>
|
|
[JsonPropertyName("counts")]
|
|
public CoverageCounts Counts { get; set; } = new();
|
|
}
|