aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/API/DTO/QueueDownloadRequest.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-02-13 07:58:15 -0600
committerJP Dillingham <jpdillingham@gmail.com>2021-02-13 07:58:15 -0600
commit936ed099a6e5258f9fd5a5ac026afc0630359b98 (patch)
treef406e1f1b9fc29391e471c65b708ba6d94b72027 /src/slskd/API/DTO/QueueDownloadRequest.cs
parent87f024fa2561f751fc26c129bfaa373a966f1c67 (diff)
downloadslskd-936ed099a6e5258f9fd5a5ac026afc0630359b98.tar.gz
move controllers and DTOs to API namespace
Diffstat (limited to 'src/slskd/API/DTO/QueueDownloadRequest.cs')
-rw-r--r--src/slskd/API/DTO/QueueDownloadRequest.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/slskd/API/DTO/QueueDownloadRequest.cs b/src/slskd/API/DTO/QueueDownloadRequest.cs
new file mode 100644
index 00000000..fcd279ab
--- /dev/null
+++ b/src/slskd/API/DTO/QueueDownloadRequest.cs
@@ -0,0 +1,20 @@
+namespace slskd.API.DTO
+{
+ public class QueueDownloadRequest
+ {
+ /// <summary>
+ /// Gets or sets the filename to download.
+ /// </summary>
+ public string Filename { get; set; }
+
+ /// <summary>
+ /// Gets or sets the size of the file.
+ /// </summary>
+ public long? Size { get; set; }
+
+ /// <summary>
+ /// Gets or sets the optional transfer token.
+ /// </summary>
+ public int? Token { get; set; }
+ }
+}