2020-04-05 16:10:56 +00:00
|
|
|
#nullable disable
|
2020-02-04 00:49:27 +00:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 20:02:23 +00:00
|
|
|
using System;
|
2019-01-13 19:26:15 +00:00
|
|
|
using MediaBrowser.Model.Dto;
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Querying
|
|
|
|
{
|
|
|
|
public class QueryFiltersLegacy
|
|
|
|
{
|
|
|
|
public string[] Genres { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public string[] Tags { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public string[] OfficialRatings { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public int[] Years { get; set; }
|
|
|
|
|
|
|
|
public QueryFiltersLegacy()
|
|
|
|
{
|
2018-12-27 21:43:48 +00:00
|
|
|
Genres = Array.Empty<string>();
|
|
|
|
Tags = Array.Empty<string>();
|
|
|
|
OfficialRatings = Array.Empty<string>();
|
|
|
|
Years = Array.Empty<int>();
|
2018-12-27 23:27:57 +00:00
|
|
|
}
|
|
|
|
}
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public class QueryFilters
|
|
|
|
{
|
|
|
|
public NameGuidPair[] Genres { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public string[] Tags { get; set; }
|
|
|
|
|
|
|
|
public QueryFilters()
|
|
|
|
{
|
2018-12-27 21:43:48 +00:00
|
|
|
Tags = Array.Empty<string>();
|
|
|
|
Genres = Array.Empty<NameGuidPair>();
|
2018-12-27 23:27:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|