2
0

QueryFilters.cs 833 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using MediaBrowser.Model.Dto;
  3. namespace MediaBrowser.Model.Querying
  4. {
  5. public class QueryFiltersLegacy
  6. {
  7. public string[] Genres { get; set; }
  8. public string[] Tags { get; set; }
  9. public string[] OfficialRatings { get; set; }
  10. public int[] Years { get; set; }
  11. public QueryFiltersLegacy()
  12. {
  13. Genres = Array.Empty<string>();
  14. Tags = Array.Empty<string>();
  15. OfficialRatings = Array.Empty<string>();
  16. Years = Array.Empty<int>();
  17. }
  18. }
  19. public class QueryFilters
  20. {
  21. public NameGuidPair[] Genres { get; set; }
  22. public string[] Tags { get; set; }
  23. public QueryFilters()
  24. {
  25. Tags = Array.Empty<string>();
  26. Genres = Array.Empty<NameGuidPair>();
  27. }
  28. }
  29. }