diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-02-13 07:58:15 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-02-13 07:58:15 -0600 |
| commit | 936ed099a6e5258f9fd5a5ac026afc0630359b98 (patch) | |
| tree | f406e1f1b9fc29391e471c65b708ba6d94b72027 /src/slskd/API/DTO/QueueDownloadRequest.cs | |
| parent | 87f024fa2561f751fc26c129bfaa373a966f1c67 (diff) | |
| download | slskd-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.cs | 20 |
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; } + } +} |
