2
0

NextUpQuery.cs 2.1 KB

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