mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-01-19 11:17:50 -05:00
25 lines
506 B
C#
25 lines
506 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(ITorrentItem torrent);
|
|
|
|
void Validate();
|
|
} |