mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2025-12-27 07:58:24 -05:00
22 lines
649 B
C#
22 lines
649 B
C#
using Cleanuparr.Domain.Enums;
|
|
using Cleanuparr.Persistence.Models.Configuration.Arr;
|
|
using Data.Models.Arr;
|
|
using Data.Models.Arr.Queue;
|
|
|
|
namespace Cleanuparr.Infrastructure.Features.DownloadRemover.Models;
|
|
|
|
public sealed record QueueItemRemoveRequest<T>
|
|
where T : SearchItem
|
|
{
|
|
public required InstanceType InstanceType { get; init; }
|
|
|
|
public required ArrInstance Instance { get; init; }
|
|
|
|
public required T SearchItem { get; init; }
|
|
|
|
public required QueueRecord Record { get; init; }
|
|
|
|
public required bool RemoveFromClient { get; init; }
|
|
|
|
public required DeleteReason DeleteReason { get; init; }
|
|
} |