UpcomingEpisodesQuery.cs 1.9 KB

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