Files

25 lines
513 B
C#

using Cleanuparr.Domain.Entities;
using Cleanuparr.Domain.Enums;
namespace Cleanuparr.Persistence.Models.Configuration.QueueCleaner;
public interface IQueueRule
{
Guid Id { get; }
string Name { get; }
bool Enabled { get; }
int MaxStrikes { get; }
TorrentPrivacyType PrivacyType { get; }
ushort MinCompletionPercentage { get; }
ushort MaxCompletionPercentage { get; }
bool MatchesTorrent(ITorrentItemWrapper torrent);
void Validate();
}