2
0

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