using System.Text.Json.Serialization; namespace Jellyfin.Plugin.JRay.Models; /// /// A selectable option for the config page's rule editor (a genre or a series), /// pairing the value stored in a rule with a human-readable label. /// public class PickerOption { /// /// Gets or sets the value stored in a /// (a genre name, or a series id). /// [JsonPropertyName("value")] public string Value { get; set; } = string.Empty; /// /// Gets or sets the label shown to the user (genre name, or series title). /// [JsonPropertyName("label")] public string Label { get; set; } = string.Empty; }