summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/Clients/ModDrop/ResponseModels/FileDataModel.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2018-11-30 00:15:24 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2018-11-30 00:15:24 -0500
commit84c406ce36254d639e15cadf901f414e3c13e3d1 (patch)
tree3f8ac17bdcb658ddac265f3f893acbb418e11d6c /src/SMAPI.Web/Framework/Clients/ModDrop/ResponseModels/FileDataModel.cs
parentdd15416d55a4ee6839e4343bc65cd3b08b467de7 (diff)
downloadSMAPI-84c406ce36254d639e15cadf901f414e3c13e3d1.tar.gz
SMAPI-84c406ce36254d639e15cadf901f414e3c13e3d1.tar.bz2
SMAPI-84c406ce36254d639e15cadf901f414e3c13e3d1.zip
add ModDrop support in API & update checks (#604)
Diffstat (limited to 'src/SMAPI.Web/Framework/Clients/ModDrop/ResponseModels/FileDataModel.cs')
-rw-r--r--src/SMAPI.Web/Framework/Clients/ModDrop/ResponseModels/FileDataModel.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Framework/Clients/ModDrop/ResponseModels/FileDataModel.cs b/src/SMAPI.Web/Framework/Clients/ModDrop/ResponseModels/FileDataModel.cs
new file mode 100644
index 00000000..fa84b287
--- /dev/null
+++ b/src/SMAPI.Web/Framework/Clients/ModDrop/ResponseModels/FileDataModel.cs
@@ -0,0 +1,21 @@
+namespace StardewModdingAPI.Web.Framework.Clients.ModDrop.ResponseModels
+{
+ /// <summary>Metadata from the ModDrop API about a mod file.</summary>
+ public class FileDataModel
+ {
+ /// <summary>Whether the file is deleted.</summary>
+ public bool IsDeleted { get; set; }
+
+ /// <summary>Whether the file is hidden from users.</summary>
+ public bool IsHidden { get; set; }
+
+ /// <summary>Whether this is the default file for the mod.</summary>
+ public bool IsDefault { get; set; }
+
+ /// <summary>Whether this is an archived file.</summary>
+ public bool IsOld { get; set; }
+
+ /// <summary>The file version.</summary>
+ public string Version { get; set; }
+ }
+}