#nullable disable #pragma warning disable CS1591 using System; using MediaBrowser.Model.Entities; namespace MediaBrowser.Model.Querying { public class NextUpQuery { public NextUpQuery() { EnableImageTypes = Array.Empty(); EnableTotalRecordCount = true; DisableFirstEpisode = false; NextUpDateCutoff = DateTime.MinValue; EnableResumable = false; EnableRewatching = false; } /// /// Gets or sets the user id. /// /// The user id. public Guid UserId { get; set; } /// /// Gets or sets the parent identifier. /// /// The parent identifier. public Guid? ParentId { get; set; } /// /// Gets or sets the series id. /// /// The series id. public Guid? SeriesId { get; set; } /// /// Gets or sets the start index. Use for paging. /// /// The start index. public int? StartIndex { get; set; } /// /// Gets or sets the maximum number of items to return. /// /// The limit. public int? Limit { get; set; } /// /// gets or sets the fields to return within the items, in addition to basic information. /// /// The fields. public ItemFields[] Fields { get; set; } /// /// Gets or sets a value indicating whether [enable images]. /// /// null if [enable images] contains no value, true if [enable images]; otherwise, false. public bool? EnableImages { get; set; } /// /// Gets or sets the image type limit. /// /// The image type limit. public int? ImageTypeLimit { get; set; } /// /// Gets or sets the enable image types. /// /// The enable image types. public ImageType[] EnableImageTypes { get; set; } public bool EnableTotalRecordCount { get; set; } /// /// Gets or sets a value indicating whether do disable sending first episode as next up. /// public bool DisableFirstEpisode { get; set; } /// /// Gets or sets a value indicating the oldest date for a show to appear in Next Up. /// public DateTime NextUpDateCutoff { get; set; } /// /// Gets or sets a value indicating whether to include resumable episodes as next up. /// public bool EnableResumable { get; set; } /// /// Gets or sets a value indicating whether getting rewatching next up list. /// public bool EnableRewatching { get; set; } } }