InternalItemsQuery.cs 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. using MediaBrowser.Model.Entities;
  2. using System;
  3. namespace MediaBrowser.Controller.Entities
  4. {
  5. public class InternalItemsQuery
  6. {
  7. public bool Recursive { get; set; }
  8. public int? StartIndex { get; set; }
  9. public int? Limit { get; set; }
  10. public string[] SortBy { get; set; }
  11. public SortOrder SortOrder { get; set; }
  12. public User User { get; set; }
  13. public Func<BaseItem, bool> Filter { get; set; }
  14. public bool? IsFolder { get; set; }
  15. public bool? IsFavorite { get; set; }
  16. public bool? IsFavoriteOrLiked { get; set; }
  17. public bool? IsLiked { get; set; }
  18. public bool? IsPlayed { get; set; }
  19. public bool? IsResumable { get; set; }
  20. public string[] MediaTypes { get; set; }
  21. public string[] IncludeItemTypes { get; set; }
  22. public string[] ExcludeItemTypes { get; set; }
  23. public string[] Genres { get; set; }
  24. public bool? IsMissing { get; set; }
  25. public bool? IsUnaired { get; set; }
  26. public bool? IsVirtualUnaired { get; set; }
  27. public bool? CollapseBoxSetItems { get; set; }
  28. public string NameStartsWithOrGreater { get; set; }
  29. public string NameStartsWith { get; set; }
  30. public string NameLessThan { get; set; }
  31. public string Person { get; set; }
  32. public string[] PersonIds { get; set; }
  33. public string AdjacentTo { get; set; }
  34. public string[] PersonTypes { get; set; }
  35. public bool? Is3D { get; set; }
  36. public bool? IsHD { get; set; }
  37. public bool? IsInBoxSet { get; set; }
  38. public bool? IsLocked { get; set; }
  39. public bool? IsUnidentified { get; set; }
  40. public bool? IsPlaceHolder { get; set; }
  41. public bool? IsYearMismatched { get; set; }
  42. public bool? HasImdbId { get; set; }
  43. public bool? HasOverview { get; set; }
  44. public bool? HasTmdbId { get; set; }
  45. public bool? HasOfficialRating { get; set; }
  46. public bool? HasTvdbId { get; set; }
  47. public bool? HasThemeSong { get; set; }
  48. public bool? HasThemeVideo { get; set; }
  49. public bool? HasSubtitles { get; set; }
  50. public bool? HasSpecialFeature { get; set; }
  51. public bool? HasTrailer { get; set; }
  52. public bool? HasParentalRating { get; set; }
  53. public string[] Studios { get; set; }
  54. public string[] StudioIds { get; set; }
  55. public ImageType[] ImageTypes { get; set; }
  56. public VideoType[] VideoTypes { get; set; }
  57. public int[] Years { get; set; }
  58. public string[] Tags { get; set; }
  59. public string[] OfficialRatings { get; set; }
  60. public InternalItemsQuery()
  61. {
  62. Tags = new string[] { };
  63. OfficialRatings = new string[] { };
  64. SortBy = new string[] { };
  65. MediaTypes = new string[] { };
  66. IncludeItemTypes = new string[] { };
  67. ExcludeItemTypes = new string[] { };
  68. Genres = new string[] { };
  69. Studios = new string[] { };
  70. StudioIds = new string[] { };
  71. ImageTypes = new ImageType[] { };
  72. VideoTypes = new VideoType[] { };
  73. Years = new int[] { };
  74. PersonTypes = new string[] { };
  75. PersonIds = new string[] { };
  76. }
  77. }
  78. }