Files
2026-10-11 20:33:42 +03:00

26 lines
719 B
C#

using Cleanuparr.Domain.Entities;
using Cleanuparr.Domain.Enums;
namespace Cleanuparr.Infrastructure.Features.DownloadClient;
public sealed record BlockFilesResult
{
/// <summary>
/// True if the download should be removed; otherwise false.
/// </summary>
public bool ShouldRemove { get; set; }
/// <summary>
/// True if the download is private; otherwise false.
/// </summary>
public bool IsPrivate { get; set; }
public bool Found { get; set; }
public DeleteReason DeleteReason { get; set; } = DeleteReason.None;
/// <summary>
/// The matched download item, set when <see cref="Found"/> is true.
/// </summary>
public IDownloadItem? Item { get; set; }
}