2017-12-02 05:03:12 +00:00
|
|
|
using NzbDrone.Core.ThingiProvider;
|
2013-02-21 07:07:34 +00:00
|
|
|
|
|
|
|
namespace NzbDrone.Core.Indexers
|
|
|
|
{
|
2013-09-21 07:09:26 +00:00
|
|
|
public class IndexerDefinition : ProviderDefinition
|
2013-02-21 07:07:34 +00:00
|
|
|
{
|
2015-10-03 17:45:26 +00:00
|
|
|
public bool EnableRss { get; set; }
|
2017-12-02 05:03:12 +00:00
|
|
|
public bool EnableAutomaticSearch { get; set; }
|
|
|
|
public bool EnableInteractiveSearch { get; set; }
|
2014-04-19 15:09:22 +00:00
|
|
|
public DownloadProtocol Protocol { get; set; }
|
2015-10-03 17:45:26 +00:00
|
|
|
public bool SupportsRss { get; set; }
|
|
|
|
public bool SupportsSearch { get; set; }
|
2014-08-18 02:25:00 +00:00
|
|
|
|
2017-12-02 05:03:12 +00:00
|
|
|
public override bool Enable => EnableRss || EnableAutomaticSearch || EnableInteractiveSearch;
|
2015-06-27 09:43:17 +00:00
|
|
|
|
|
|
|
public IndexerStatus Status { get; set; }
|
2013-02-21 07:07:34 +00:00
|
|
|
}
|
2014-07-04 08:09:48 +00:00
|
|
|
}
|