summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/Clients/ModDrop/ResponseModels/ModDataModel.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/ModDataModel.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/ModDataModel.cs')
-rw-r--r--src/SMAPI.Web/Framework/Clients/ModDrop/ResponseModels/ModDataModel.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Framework/Clients/ModDrop/ResponseModels/ModDataModel.cs b/src/SMAPI.Web/Framework/Clients/ModDrop/ResponseModels/ModDataModel.cs
new file mode 100644
index 00000000..cfdd6a4e
--- /dev/null
+++ b/src/SMAPI.Web/Framework/Clients/ModDrop/ResponseModels/ModDataModel.cs
@@ -0,0 +1,15 @@
+namespace StardewModdingAPI.Web.Framework.Clients.ModDrop.ResponseModels
+{
+ /// <summary>Metadata about a mod from the ModDrop API.</summary>
+ public class ModDataModel
+ {
+ /// <summary>The mod's unique ID on ModDrop.</summary>
+ public int ID { get; set; }
+
+ /// <summary>The error code, if any.</summary>
+ public int? ErrorCode { get; set; }
+
+ /// <summary>The mod name.</summary>
+ public string Title { get; set; }
+ }
+}