InternalItemsQuery.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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, User, 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 InternalItemsQuery()
  24. {
  25. SortBy = new string[] { };
  26. MediaTypes = new string[] { };
  27. IncludeItemTypes = new string[] { };
  28. ExcludeItemTypes = new string[] { };
  29. }
  30. }
  31. }