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/FileDataModel.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/FileDataModel.cs')
-rw-r--r-- | src/SMAPI.Web/Framework/Clients/ModDrop/ResponseModels/FileDataModel.cs | 21 |
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; } + } +} |