diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-11-30 00:15:24 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-11-30 00:15:24 -0500 |
commit | 84c406ce36254d639e15cadf901f414e3c13e3d1 (patch) | |
tree | 3f8ac17bdcb658ddac265f3f893acbb418e11d6c /src/SMAPI.Web/Framework/Clients/ModDrop/ResponseModels/ModDataModel.cs | |
parent | dd15416d55a4ee6839e4343bc65cd3b08b467de7 (diff) | |
download | SMAPI-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.cs | 15 |
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; } + } +} |