using System.Collections.Generic; using MediaBrowser.Controller.Entities; namespace MediaBrowser.Controller.Persistence; /// /// Result of a batched NextUp query for a single series. /// public sealed class NextUpEpisodeBatchResult { /// /// Gets or sets the last watched episode (highest season/episode that is played). /// public BaseItem? LastWatched { get; set; } /// /// Gets or sets the next unwatched episode after the last watched position. /// public BaseItem? NextUp { get; set; } /// /// Gets or sets specials that may air between episodes. /// Only populated when includeSpecials is true. /// public IReadOnlyList? Specials { get; set; } /// /// Gets or sets the last watched episode for rewatching mode (most recently played). /// Only populated when includeWatchedForRewatching is true. /// public BaseItem? LastWatchedForRewatching { get; set; } /// /// Gets or sets the next played episode for rewatching mode. /// Only populated when includeWatchedForRewatching is true. /// public BaseItem? NextPlayedForRewatching { get; set; } }