UpcomingEpisodesQuery.cs 1.8 KB

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