You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/MediaBrowser.Model/Querying/QueryFilters.cs

33 lines
836 B

6 years ago
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()
{
6 years ago
Genres = Array.Empty<string>();
Tags = Array.Empty<string>();
OfficialRatings = Array.Empty<string>();
Years = Array.Empty<int>();
6 years ago
}
}
public class QueryFilters
{
public NameGuidPair[] Genres { get; set; }
public string[] Tags { get; set; }
public QueryFilters()
{
6 years ago
Tags = Array.Empty<string>();
Genres = Array.Empty<NameGuidPair>();
6 years ago
}
}
}