jellyfin-server/MediaBrowser.Model/Querying/NextUpQuery.cs

67 lines
2.1 KiB
C#
Raw Normal View History

2014-12-03 03:13:03 +00:00
using MediaBrowser.Model.Entities;
2013-06-17 01:48:55 +00:00
namespace MediaBrowser.Model.Querying
{
public class NextUpQuery
{
/// <summary>
/// Gets or sets the user id.
/// </summary>
/// <value>The user id.</value>
public string UserId { get; set; }
2014-05-03 23:38:23 +00:00
/// <summary>
/// Gets or sets the parent identifier.
/// </summary>
/// <value>The parent identifier.</value>
public string ParentId { get; set; }
2013-10-26 22:01:21 +00:00
/// <summary>
/// Gets or sets the series id.
/// </summary>
/// <value>The series id.</value>
public string SeriesId { get; set; }
2013-06-17 01:48:55 +00: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>
/// The maximum number of items to return
/// </summary>
/// <value>The limit.</value>
public int? Limit { get; set; }
/// <summary>
/// Fields to return within the items, in addition to basic information
/// </summary>
/// <value>The fields.</value>
public ItemFields[] Fields { get; set; }
2014-12-01 12:43:34 +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; }
/// <summary>
/// Gets or sets the image type limit.
/// </summary>
/// <value>The image type limit.</value>
public int? ImageTypeLimit { get; set; }
/// <summary>
/// Gets or sets the enable image types.
/// </summary>
/// <value>The enable image types.</value>
2014-12-03 03:13:03 +00:00
public ImageType[] EnableImageTypes { get; set; }
2014-12-01 12:43:34 +00:00
2017-03-21 17:31:40 +00:00
public bool EnableTotalRecordCount { get; set; }
2014-12-03 03:13:03 +00:00
public NextUpQuery()
{
EnableImageTypes = new ImageType[] {};
2017-03-21 17:31:40 +00:00
EnableTotalRecordCount = true;
2014-12-03 03:13:03 +00:00
}
2013-06-17 01:48:55 +00:00
}
}