1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-29 02:55:38 +00:00

Extending NamingConfigResource instead of rec recreating its properties

This commit is contained in:
Mark McDowall 2013-08-11 18:18:35 -07:00
parent fded4cf7f3
commit 8d54bb64a7

View file

@ -1,18 +1,9 @@
using NzbDrone.Api.REST; using NzbDrone.Api.Config;
namespace NzbDrone.Api.Naming namespace NzbDrone.Api.Naming
{ {
public class NamingResource : RestResource public class NamingResource : NamingConfigResource
{ {
public bool RenameEpisodes { get; set; }
public string Separator { get; set; }
public int NumberStyle { get; set; }
public bool IncludeSeriesTitle { get; set; }
public bool IncludeEpisodeTitle { get; set; }
public bool IncludeQuality { get; set; }
public int MultiEpisodeStyle { get; set; }
public bool ReplaceSpaces { get; set; }
public string SingleEpisodeExample { get; set; } public string SingleEpisodeExample { get; set; }
public string MultiEpisodeExample { get; set; } public string MultiEpisodeExample { get; set; }
} }