NextUpQuery.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. using MediaBrowser.Model.Entities;
  2. namespace MediaBrowser.Model.Querying
  3. {
  4. public class NextUpQuery
  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. /// Gets or sets the series id.
  18. /// </summary>
  19. /// <value>The series id.</value>
  20. public string SeriesId { get; set; }
  21. /// <summary>
  22. /// Skips over a given number of items within the results. Use for paging.
  23. /// </summary>
  24. /// <value>The start index.</value>
  25. public int? StartIndex { get; set; }
  26. /// <summary>
  27. /// The maximum number of items to return
  28. /// </summary>
  29. /// <value>The limit.</value>
  30. public int? Limit { get; set; }
  31. /// <summary>
  32. /// Fields to return within the items, in addition to basic information
  33. /// </summary>
  34. /// <value>The fields.</value>
  35. public ItemFields[] Fields { get; set; }
  36. /// <summary>
  37. /// Gets or sets a value indicating whether [enable images].
  38. /// </summary>
  39. /// <value><c>null</c> if [enable images] contains no value, <c>true</c> if [enable images]; otherwise, <c>false</c>.</value>
  40. public bool? EnableImages { get; set; }
  41. /// <summary>
  42. /// Gets or sets the image type limit.
  43. /// </summary>
  44. /// <value>The image type limit.</value>
  45. public int? ImageTypeLimit { get; set; }
  46. /// <summary>
  47. /// Gets or sets the enable image types.
  48. /// </summary>
  49. /// <value>The enable image types.</value>
  50. public ImageType[] EnableImageTypes { get; set; }
  51. public NextUpQuery()
  52. {
  53. EnableImageTypes = new ImageType[] {};
  54. }
  55. }
  56. }