diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-05-03 18:44:35 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-05-03 18:44:35 -0500 |
| commit | 3371921f4897dbff370c91b3171df4f953bfe21f (patch) | |
| tree | 4b023b730648887ed6c249a3dfbe7373db44af31 /src/slskd/Transfers/API/DTO/EnqueueDownloadBatchRequest.cs | |
| parent | d45e33185daf1e0320ce60e3c324dbf3efae49ef (diff) | |
| download | slskd-3371921f4897dbff370c91b3171df4f953bfe21f.tar.gz | |
move destination to options
Diffstat (limited to 'src/slskd/Transfers/API/DTO/EnqueueDownloadBatchRequest.cs')
| -rw-r--r-- | src/slskd/Transfers/API/DTO/EnqueueDownloadBatchRequest.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/slskd/Transfers/API/DTO/EnqueueDownloadBatchRequest.cs b/src/slskd/Transfers/API/DTO/EnqueueDownloadBatchRequest.cs index ce3331ca..28cc7859 100644 --- a/src/slskd/Transfers/API/DTO/EnqueueDownloadBatchRequest.cs +++ b/src/slskd/Transfers/API/DTO/EnqueueDownloadBatchRequest.cs @@ -45,6 +45,7 @@ public record EnqueueDownloadBatchRequest [StringLength(500, MinimumLength = 1)] public string Username { get; init; } public List<EnqueueDownloadBatchItem> Files { get; init; } = []; + public EnqueueDownloadBatchOptions Options { get; init; } = new(); } public record EnqueueDownloadBatchItem @@ -54,4 +55,9 @@ public record EnqueueDownloadBatchItem [Range(0, int.MaxValue)] public long Size { get; set; } +} + +public record EnqueueDownloadBatchOptions +{ + public string Destination { get; init; } }
\ No newline at end of file |
