mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 01:54:42 +01:00
Enable TreatWarningsAsErrors for MediaBrowser.Model
This commit is contained in:
@@ -6,35 +6,16 @@ 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>();
|
||||
}
|
||||
|
||||
public NameGuidPair[] Genres { get; set; }
|
||||
|
||||
public string[] Tags { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user