using Newtonsoft.Json;
namespace Jellyfin.Plugin.TubeArchivistMetadata.TubeArchivist
{
///
/// A class representing TubeArchivist API video watched status.
///
public class Watched
{
///
/// Initializes a new instance of the class.
///
/// Id of the video/channel/playlist.
/// Watched status.
public Watched(string id, bool isWatched)
{
Id = id;
IsWatched = isWatched;
}
///
/// Gets the id of the video/channel/playlist.
///
[JsonProperty(PropertyName = "id")]
public string Id { get; }
///
/// Gets a value indicating whether the item has been watched or not.
///
[JsonProperty(PropertyName = "is_watched")]
public bool IsWatched { get; }
}
}