2020-04-05 16:10:56 +00:00
|
|
|
#nullable disable
|
2020-02-04 00:49:27 +00:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 20:02:23 +00:00
|
|
|
using System;
|
2019-01-13 19:26:15 +00:00
|
|
|
using MediaBrowser.Model.Entities;
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Querying
|
|
|
|
{
|
|
|
|
public class NextUpQuery
|
|
|
|
{
|
2021-02-20 22:13:04 +00:00
|
|
|
public NextUpQuery()
|
|
|
|
{
|
|
|
|
EnableImageTypes = Array.Empty<ImageType>();
|
|
|
|
EnableTotalRecordCount = true;
|
|
|
|
DisableFirstEpisode = false;
|
2021-05-26 00:46:29 +00:00
|
|
|
NextUpDateCutoff = DateTime.MinValue;
|
2022-03-01 05:49:29 +00:00
|
|
|
EnableRewatching = false;
|
2021-02-20 22:13:04 +00:00
|
|
|
}
|
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the user id.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The user id.</value>
|
|
|
|
public Guid UserId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the parent identifier.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The parent identifier.</value>
|
2020-12-01 18:07:41 +00:00
|
|
|
public Guid? ParentId { get; set; }
|
2019-01-07 23:27:46 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the series id.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The series id.</value>
|
|
|
|
public string SeriesId { get; set; }
|
2019-01-07 23:27:46 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
2021-02-20 22:13:04 +00:00
|
|
|
/// Gets or sets the start index. Use for paging.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
/// <value>The start index.</value>
|
|
|
|
public int? StartIndex { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2021-02-20 22:13:04 +00:00
|
|
|
/// Gets or sets the maximum number of items to return.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
/// <value>The limit.</value>
|
|
|
|
public int? Limit { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2021-02-20 22:13:04 +00:00
|
|
|
/// gets or sets the fields to return within the items, in addition to basic information.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
/// <value>The fields.</value>
|
|
|
|
public ItemFields[] Fields { get; set; }
|
2020-02-04 00:49:27 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether [enable images].
|
|
|
|
/// </summary>
|
|
|
|
/// <value><c>null</c> if [enable images] contains no value, <c>true</c> if [enable images]; otherwise, <c>false</c>.</value>
|
|
|
|
public bool? EnableImages { get; set; }
|
2020-02-04 00:49:27 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the image type limit.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The image type limit.</value>
|
|
|
|
public int? ImageTypeLimit { get; set; }
|
2020-02-04 00:49:27 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the enable image types.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The enable image types.</value>
|
|
|
|
public ImageType[] EnableImageTypes { get; set; }
|
|
|
|
|
|
|
|
public bool EnableTotalRecordCount { get; set; }
|
|
|
|
|
2021-01-15 22:08:48 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether do disable sending first episode as next up.
|
|
|
|
/// </summary>
|
|
|
|
public bool DisableFirstEpisode { get; set; }
|
2021-04-15 18:44:21 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating the oldest date for a show to appear in Next Up.
|
|
|
|
/// </summary>
|
2021-05-26 00:46:29 +00:00
|
|
|
public DateTime NextUpDateCutoff { get; set; }
|
2022-02-20 17:05:57 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether getting rewatching next up list.
|
|
|
|
/// </summary>
|
2022-03-01 05:49:29 +00:00
|
|
|
public bool EnableRewatching { get; set; }
|
2018-12-27 23:27:57 +00:00
|
|
|
}
|
|
|
|
}
|