NextUpQuery.cs 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. #nullable disable
  2. #pragma warning disable CS1591
  3. using System;
  4. using MediaBrowser.Model.Entities;
  5. namespace MediaBrowser.Model.Querying
  6. {
  7. public class NextUpQuery
  8. {
  9. public NextUpQuery()
  10. {
  11. EnableImageTypes = Array.Empty<ImageType>();
  12. EnableTotalRecordCount = true;
  13. DisableFirstEpisode = false;
  14. }
  15. /// <summary>
  16. /// Gets or sets the user id.
  17. /// </summary>
  18. /// <value>The user id.</value>
  19. public Guid UserId { get; set; }
  20. /// <summary>
  21. /// Gets or sets the parent identifier.
  22. /// </summary>
  23. /// <value>The parent identifier.</value>
  24. public Guid? ParentId { get; set; }
  25. /// <summary>
  26. /// Gets or sets the series id.
  27. /// </summary>
  28. /// <value>The series id.</value>
  29. public string SeriesId { get; set; }
  30. /// <summary>
  31. /// Gets or sets the start index. Use for paging.
  32. /// </summary>
  33. /// <value>The start index.</value>
  34. public int? StartIndex { get; set; }
  35. /// <summary>
  36. /// Gets or sets the maximum number of items to return.
  37. /// </summary>
  38. /// <value>The limit.</value>
  39. public int? Limit { get; set; }
  40. /// <summary>
  41. /// gets or sets the fields to return within the items, in addition to basic information.
  42. /// </summary>
  43. /// <value>The fields.</value>
  44. public ItemFields[] Fields { get; set; }
  45. /// <summary>
  46. /// Gets or sets a value indicating whether [enable images].
  47. /// </summary>
  48. /// <value><c>null</c> if [enable images] contains no value, <c>true</c> if [enable images]; otherwise, <c>false</c>.</value>
  49. public bool? EnableImages { get; set; }
  50. /// <summary>
  51. /// Gets or sets the image type limit.
  52. /// </summary>
  53. /// <value>The image type limit.</value>
  54. public int? ImageTypeLimit { get; set; }
  55. /// <summary>
  56. /// Gets or sets the enable image types.
  57. /// </summary>
  58. /// <value>The enable image types.</value>
  59. public ImageType[] EnableImageTypes { get; set; }
  60. public bool EnableTotalRecordCount { get; set; }
  61. /// <summary>
  62. /// Gets or sets a value indicating whether do disable sending first episode as next up.
  63. /// </summary>
  64. public bool DisableFirstEpisode { get; set; }
  65. }
  66. }