mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-10-28 10:48:49 -04:00
26 lines
747 B
C#
26 lines
747 B
C#
using Cleanuparr.Domain.Enums;
|
|
using Cleanuparr.Persistence.Models.Configuration;
|
|
using Cleanuparr.Persistence.Models.Configuration.Arr;
|
|
|
|
namespace Cleanuparr.Infrastructure.Features.DownloadRemover.Models;
|
|
|
|
public sealed record QueueItemRemoveRequest
|
|
{
|
|
public required ArrInstance Instance { get; init; }
|
|
|
|
public required RemovalTarget Target { get; init; }
|
|
|
|
public required DeleteReason DeleteReason { get; init; }
|
|
|
|
public required Guid JobRunId { get; init; }
|
|
|
|
public bool SkipSearch { get; init; }
|
|
|
|
public DownloadClientConfig? DownloadClient { get; init; }
|
|
|
|
/// <summary>
|
|
/// Whether the run that published this request started in dry run.
|
|
/// </summary>
|
|
public required bool IsDryRun { get; init; }
|
|
}
|