aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Querying/QueryFilters.cs
blob: e04208f766d795dd6f216b9bb1c3f07d296bf21a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#nullable disable
#pragma warning disable CS1591

using System;
using MediaBrowser.Model.Dto;

namespace MediaBrowser.Model.Querying
{
    public class QueryFiltersLegacy
    {
        public string[] Genres { get; set; }
        public string[] Tags { get; set; }
        public string[] OfficialRatings { get; set; }
        public int[] Years { get; set; }

        public QueryFiltersLegacy()
        {
            Genres = Array.Empty<string>();
            Tags = Array.Empty<string>();
            OfficialRatings = Array.Empty<string>();
            Years = Array.Empty<int>();
        }
    }
    public class QueryFilters
    {
        public NameGuidPair[] Genres { get; set; }
        public string[] Tags { get; set; }

        public QueryFilters()
        {
            Tags = Array.Empty<string>();
            Genres = Array.Empty<NameGuidPair>();
        }
    }
}