using System;
using System.Text.Json.Serialization;
namespace Jellyfin.Plugin.JRay.Models;
///
/// A library item that has no truth data yet (neither a managed upload nor
/// a sidecar file), offered to an extraction worker as a candidate to process.
///
public class PendingExtractionItem
{
///
/// Gets or sets the Jellyfin item id, used to push results back via
/// PUT /Plugins/JRay/Items/{itemId}/Truth.
///
[JsonPropertyName("item_id")]
public Guid ItemId { get; set; }
///
/// Gets or sets the absolute path to the media file, as seen by Jellyfin.
///
[JsonPropertyName("path")]
public string Path { get; set; } = string.Empty;
///
/// Gets or sets the item's display name.
///
[JsonPropertyName("name")]
public string Name { get; set; } = string.Empty;
}