2020-04-05 09:10:56 -07:00
|
|
|
#nullable disable
|
2020-02-03 17:49:27 -07:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 13:02:23 -07:00
|
|
|
using System;
|
2019-01-13 12:26:15 -07:00
|
|
|
using MediaBrowser.Model.Entities;
|
2018-12-27 16:27:57 -07:00
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Querying
|
|
|
|
{
|
|
|
|
public class NextUpQuery
|
|
|
|
{
|
|
|
|
/// <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 11:07:41 -07:00
|
|
|
public Guid? ParentId { get; set; }
|
2019-01-07 16:27:46 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the series id.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The series id.</value>
|
|
|
|
public string SeriesId { get; set; }
|
2019-01-07 16:27:46 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
/// <summary>
|
|
|
|
/// Skips over a given number of items within the results. Use for paging.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The start index.</value>
|
|
|
|
public int? StartIndex { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2020-06-15 15:37:52 -07:00
|
|
|
/// The maximum number of items to return.
|
2018-12-27 16:27:57 -07:00
|
|
|
/// </summary>
|
|
|
|
/// <value>The limit.</value>
|
|
|
|
public int? Limit { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2020-06-15 15:37:52 -07:00
|
|
|
/// Fields to return within the items, in addition to basic information.
|
2018-12-27 16:27:57 -07:00
|
|
|
/// </summary>
|
|
|
|
/// <value>The fields.</value>
|
|
|
|
public ItemFields[] Fields { get; set; }
|
2020-02-03 17:49:27 -07:00
|
|
|
|
2018-12-27 16:27:57 -07: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-03 17:49:27 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the image type limit.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The image type limit.</value>
|
|
|
|
public int? ImageTypeLimit { get; set; }
|
2020-02-03 17:49:27 -07:00
|
|
|
|
2018-12-27 16:27:57 -07: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; }
|
|
|
|
|
|
|
|
public NextUpQuery()
|
|
|
|
{
|
2020-02-03 17:49:27 -07:00
|
|
|
EnableImageTypes = Array.Empty<ImageType>();
|
2018-12-27 16:27:57 -07:00
|
|
|
EnableTotalRecordCount = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|