aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-11-19 17:09:00 -0600
committerJP Dillingham <jpdillingham@gmail.com>2022-11-19 17:09:00 -0600
commit678b5f865b7bf73630f600f5e55018d57af2eceb (patch)
tree8452b16e27b447e5015889605d8f9983e66522f1 /src
parent8d4b2c868c55e17778819f1e1b552d3e93470773 (diff)
downloadslskd-678b5f865b7bf73630f600f5e55018d57af2eceb.tar.gz
add Scan type
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Shares/Types/Scan.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/slskd/Shares/Types/Scan.cs b/src/slskd/Shares/Types/Scan.cs
new file mode 100644
index 00000000..86af6a8f
--- /dev/null
+++ b/src/slskd/Shares/Types/Scan.cs
@@ -0,0 +1,27 @@
+// <copyright file="Scan.cs" company="slskd Team">
+// Copyright (c) slskd Team. All rights reserved.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published
+// by the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see https://www.gnu.org/licenses/.
+// </copyright>
+
+namespace slskd.Shares
+{
+ public record Scan
+ {
+ public long StartedAt { get; init; }
+ public string OptionsJson { get; init; }
+ public long? EndedAt { get; init; }
+ public bool Suspect { get; init; }
+ }
+}