2
0

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