UpcomingEpisodesQuery.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 UpcomingEpisodesQuery
  8. {
  9. public UpcomingEpisodesQuery()
  10. {
  11. EnableImageTypes = Array.Empty<ImageType>();
  12. }
  13. /// <summary>
  14. /// Gets or sets the user id.
  15. /// </summary>
  16. /// <value>The user id.</value>
  17. public string UserId { get; set; }
  18. /// <summary>
  19. /// Gets or sets the parent identifier.
  20. /// </summary>
  21. /// <value>The parent identifier.</value>
  22. public string ParentId { get; set; }
  23. /// <summary>
  24. /// Gets or sets the start index. Use for paging.
  25. /// </summary>
  26. /// <value>The start index.</value>
  27. public int? StartIndex { get; set; }
  28. /// <summary>
  29. /// Gets or sets the maximum number of items to return.
  30. /// </summary>
  31. /// <value>The limit.</value>
  32. public int? Limit { get; set; }
  33. /// <summary>
  34. /// Gets or sets the fields to return within the items, in addition to basic information.
  35. /// </summary>
  36. /// <value>The fields.</value>
  37. public ItemFields[] Fields { get; set; }
  38. /// <summary>
  39. /// Gets or sets a value indicating whether [enable images].
  40. /// </summary>
  41. /// <value><c>null</c> if [enable images] contains no value, <c>true</c> if [enable images]; otherwise, <c>false</c>.</value>
  42. public bool? EnableImages { get; set; }
  43. /// <summary>
  44. /// Gets or sets the image type limit.
  45. /// </summary>
  46. /// <value>The image type limit.</value>
  47. public int? ImageTypeLimit { get; set; }
  48. /// <summary>
  49. /// Gets or sets the enable image types.
  50. /// </summary>
  51. /// <value>The enable image types.</value>
  52. public ImageType[] EnableImageTypes { get; set; }
  53. }
  54. }