2
0

NextUpQuery.cs 2.1 KB

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