|
|
@ -6,6 +6,7 @@ namespace Readarr.Api.V1.ImportLists
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public bool EnableAutomaticAdd { get; set; }
|
|
|
|
public bool EnableAutomaticAdd { get; set; }
|
|
|
|
public ImportListMonitorType ShouldMonitor { get; set; }
|
|
|
|
public ImportListMonitorType ShouldMonitor { get; set; }
|
|
|
|
|
|
|
|
public bool ShouldMonitorExisting { get; set; }
|
|
|
|
public bool ShouldSearch { get; set; }
|
|
|
|
public bool ShouldSearch { get; set; }
|
|
|
|
public string RootFolderPath { get; set; }
|
|
|
|
public string RootFolderPath { get; set; }
|
|
|
|
public int QualityProfileId { get; set; }
|
|
|
|
public int QualityProfileId { get; set; }
|
|
|
@ -27,6 +28,7 @@ namespace Readarr.Api.V1.ImportLists
|
|
|
|
|
|
|
|
|
|
|
|
resource.EnableAutomaticAdd = definition.EnableAutomaticAdd;
|
|
|
|
resource.EnableAutomaticAdd = definition.EnableAutomaticAdd;
|
|
|
|
resource.ShouldMonitor = definition.ShouldMonitor;
|
|
|
|
resource.ShouldMonitor = definition.ShouldMonitor;
|
|
|
|
|
|
|
|
resource.ShouldMonitorExisting = definition.ShouldMonitorExisting;
|
|
|
|
resource.ShouldSearch = definition.ShouldSearch;
|
|
|
|
resource.ShouldSearch = definition.ShouldSearch;
|
|
|
|
resource.RootFolderPath = definition.RootFolderPath;
|
|
|
|
resource.RootFolderPath = definition.RootFolderPath;
|
|
|
|
resource.QualityProfileId = definition.ProfileId;
|
|
|
|
resource.QualityProfileId = definition.ProfileId;
|
|
|
@ -48,6 +50,7 @@ namespace Readarr.Api.V1.ImportLists
|
|
|
|
|
|
|
|
|
|
|
|
definition.EnableAutomaticAdd = resource.EnableAutomaticAdd;
|
|
|
|
definition.EnableAutomaticAdd = resource.EnableAutomaticAdd;
|
|
|
|
definition.ShouldMonitor = resource.ShouldMonitor;
|
|
|
|
definition.ShouldMonitor = resource.ShouldMonitor;
|
|
|
|
|
|
|
|
definition.ShouldMonitorExisting = resource.ShouldMonitorExisting;
|
|
|
|
definition.ShouldSearch = resource.ShouldSearch;
|
|
|
|
definition.ShouldSearch = resource.ShouldSearch;
|
|
|
|
definition.RootFolderPath = resource.RootFolderPath;
|
|
|
|
definition.RootFolderPath = resource.RootFolderPath;
|
|
|
|
definition.ProfileId = resource.QualityProfileId;
|
|
|
|
definition.ProfileId = resource.QualityProfileId;
|
|
|
|