mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-01-13 00:08:48 -05:00
25 lines
513 B
C#
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();
|
|
} |