InternalItemsQuery.cs 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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 DateTime? MinStartDate { get; set; }
  61. public DateTime? MaxStartDate { get; set; }
  62. public DateTime? MinEndDate { get; set; }
  63. public DateTime? MaxEndDate { get; set; }
  64. public bool? IsAiring { get; set; }
  65. public bool? IsMovie { get; set; }
  66. public bool? IsSports { get; set; }
  67. public bool? IsKids { get; set; }
  68. public string[] ChannelIds { get; set; }
  69. public InternalItemsQuery()
  70. {
  71. Tags = new string[] { };
  72. OfficialRatings = new string[] { };
  73. SortBy = new string[] { };
  74. MediaTypes = new string[] { };
  75. IncludeItemTypes = new string[] { };
  76. ExcludeItemTypes = new string[] { };
  77. Genres = new string[] { };
  78. Studios = new string[] { };
  79. StudioIds = new string[] { };
  80. ImageTypes = new ImageType[] { };
  81. VideoTypes = new VideoType[] { };
  82. Years = new int[] { };
  83. PersonTypes = new string[] { };
  84. PersonIds = new string[] { };
  85. ChannelIds = new string[] { };
  86. }
  87. }
  88. }