mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-05-09 15:24:00 -04:00
30 lines
879 B
C#
30 lines
879 B
C#
using Cleanuparr.Domain.Enums;
|
|
|
|
namespace Cleanuparr.Infrastructure.Features.DownloadClient;
|
|
|
|
public sealed record DownloadCheckResult
|
|
{
|
|
/// <summary>
|
|
/// True if the download should be removed; otherwise false.
|
|
/// </summary>
|
|
public bool ShouldRemove { get; set; }
|
|
|
|
public DeleteReason DeleteReason { get; set; }
|
|
|
|
/// <summary>
|
|
/// True if the download is private; otherwise false.
|
|
/// </summary>
|
|
public bool IsPrivate { get; set; }
|
|
|
|
public bool Found { get; set; }
|
|
|
|
/// <summary>
|
|
/// True if the download should be deleted from the client; otherwise false.
|
|
/// </summary>
|
|
public bool DeleteFromClient { get; set; }
|
|
|
|
/// <summary>
|
|
/// True if the matching queue rule asked to change the category in the *arr instead of deleting; otherwise false.
|
|
/// </summary>
|
|
public bool ChangeCategory { get; set; }
|
|
} |