jellyfin/MediaBrowser.Model/Querying/QueryFilters.cs

33 lines
802 B
C#
Raw Normal View History

2018-12-27 23:27:57 +00:00
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[] { };
}
}
}