jellyfin-server/MediaBrowser.Model/Querying/QueryFilters.cs
2018-12-27 18:27:57 -05:00

33 lines
802 B
C#

using MediaBrowser.Model.Dto;
using System;
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 = new string[] {};
Tags = new string[] {};
OfficialRatings = new string[] {};
Years = new int[] { };
}
}
public class QueryFilters
{
public NameGuidPair[] Genres { get; set; }
public string[] Tags { get; set; }
public QueryFilters()
{
Tags = new string[] {};
Genres = new NameGuidPair[] { };
}
}
}