Extending NamingConfigResource instead of rec recreating its properties
This commit is contained in:
parent
fded4cf7f3
commit
8d54bb64a7
|
@ -1,18 +1,9 @@
|
|||
using NzbDrone.Api.REST;
|
||||
using NzbDrone.Api.Config;
|
||||
|
||||
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 MultiEpisodeExample { get; set; }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue