jellyfin/MediaBrowser.Model/Querying/QueryFilters.cs

33 lines
836 B
C#
Raw Normal View History

using System;
using MediaBrowser.Model.Dto;
2018-12-27 18:27:57 -05:00
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()
{
2018-12-27 16:43:48 -05:00
Genres = Array.Empty<string>();
Tags = Array.Empty<string>();
OfficialRatings = Array.Empty<string>();
Years = Array.Empty<int>();
2018-12-27 18:27:57 -05:00
}
}
public class QueryFilters
{
public NameGuidPair[] Genres { get; set; }
public string[] Tags { get; set; }
public QueryFilters()
{
2018-12-27 16:43:48 -05:00
Tags = Array.Empty<string>();
Genres = Array.Empty<NameGuidPair>();
2018-12-27 18:27:57 -05:00
}
}
}