mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-01-17 02:07:50 -05:00
22 lines
664 B
C#
22 lines
664 B
C#
using Cleanuparr.Domain.Entities.Arr.Queue;
|
|
using Cleanuparr.Domain.Enums;
|
|
using Cleanuparr.Persistence.Models.Configuration.Arr;
|
|
using Data.Models.Arr;
|
|
|
|
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; }
|
|
} |