summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/Clients/GitHub/GitRelease.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-12-24 23:28:07 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-12-24 23:28:07 -0500
commit05541c11a72735d79d98cf3ae14d592e70bd8f54 (patch)
tree79ca6a23fb00a47d6387e7f77c28c7aa80543f97 /src/SMAPI.Web/Framework/Clients/GitHub/GitRelease.cs
parentc3d0ce7245b76d26ea22ceb5430ee526d43170f7 (diff)
downloadSMAPI-05541c11a72735d79d98cf3ae14d592e70bd8f54.tar.gz
SMAPI-05541c11a72735d79d98cf3ae14d592e70bd8f54.tar.bz2
SMAPI-05541c11a72735d79d98cf3ae14d592e70bd8f54.zip
decouple API clients from mods API (#411)
Diffstat (limited to 'src/SMAPI.Web/Framework/Clients/GitHub/GitRelease.cs')
-rw-r--r--src/SMAPI.Web/Framework/Clients/GitHub/GitRelease.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Framework/Clients/GitHub/GitRelease.cs b/src/SMAPI.Web/Framework/Clients/GitHub/GitRelease.cs
new file mode 100644
index 00000000..0a47f3b4
--- /dev/null
+++ b/src/SMAPI.Web/Framework/Clients/GitHub/GitRelease.cs
@@ -0,0 +1,19 @@
+using Newtonsoft.Json;
+
+namespace StardewModdingAPI.Web.Framework.Clients.GitHub
+{
+ /// <summary>A GitHub project release.</summary>
+ internal class GitRelease
+ {
+ /*********
+ ** Accessors
+ *********/
+ /// <summary>The display name.</summary>
+ [JsonProperty("name")]
+ public string Name { get; set; }
+
+ /// <summary>The semantic version string.</summary>
+ [JsonProperty("tag_name")]
+ public string Tag { get; set; }
+ }
+}