jellyfin/MediaBrowser.Model/Querying/UpcomingEpisodesQuery.cs

65 lines
1.9 KiB
C#
Raw Normal View History

#nullable disable
2020-02-04 01:49:27 +01:00
#pragma warning disable CS1591
2020-07-04 17:54:25 +02:00
using System;
using MediaBrowser.Model.Entities;
2018-12-28 00:27:57 +01:00
namespace MediaBrowser.Model.Querying
{
public class UpcomingEpisodesQuery
{
/// <summary>
/// Gets or sets the user id.
/// </summary>
/// <value>The user id.</value>
public string UserId { get; set; }
/// <summary>
/// Gets or sets the parent identifier.
/// </summary>
/// <value>The parent identifier.</value>
public string ParentId { get; set; }
/// <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.
2018-12-28 00:27:57 +01:00
/// </summary>
/// <value>The limit.</value>
public int? Limit { get; set; }
/// <summary>
/// Fields to return within the items, in addition to basic information.
2018-12-28 00:27:57 +01:00
/// </summary>
/// <value>The fields.</value>
public ItemFields[] Fields { get; set; }
2020-09-28 22:04:31 +02:00
2018-12-28 00:27:57 +01: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-09-28 22:04:31 +02:00
2018-12-28 00:27:57 +01:00
/// <summary>
/// Gets or sets the image type limit.
/// </summary>
/// <value>The image type limit.</value>
public int? ImageTypeLimit { get; set; }
2020-09-28 22:04:31 +02:00
2018-12-28 00:27:57 +01:00
/// <summary>
/// Gets or sets the enable image types.
/// </summary>
/// <value>The enable image types.</value>
public ImageType[] EnableImageTypes { get; set; }
public UpcomingEpisodesQuery()
{
2020-07-04 17:54:25 +02:00
EnableImageTypes = Array.Empty<ImageType>();
2018-12-28 00:27:57 +01:00
}
}
}