aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-05-15 19:03:04 -0500
committerJP Dillingham <jp@dillingham.me>2026-05-15 19:03:04 -0500
commitd4c06cba98911c1fdad4ba65a6450180c0df9684 (patch)
tree3ee54cc3577c384c68b00d6156a395ad66dd40ad /src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs
parent9039fd194f1f9cac0a6de54a68c17dead2eb65d7 (diff)
downloadslskd-d4c06cba98911c1fdad4ba65a6450180c0df9684.tar.gz
tweaks
Diffstat (limited to 'src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs')
-rw-r--r--src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs b/src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs
index 823a4e40..fe539ce7 100644
--- a/src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs
+++ b/src/slskd/Transfers/API/DTO/QueueDownloadBatchRequest.cs
@@ -81,13 +81,13 @@ public record EnqueueDownloadBatchItem
/// </summary>
[Required]
[StringLength(int.MaxValue, MinimumLength = 1)]
- public string Filename { get; set; }
+ public string Filename { get; init; }
/// <summary>
/// The file size.
/// </summary>
[Range(0, long.MaxValue)]
- public long Size { get; set; }
+ public long Size { get; init; }
}
public record EnqueueDownloadBatchOptions