diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-12-24 23:28:07 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-12-24 23:28:07 -0500 |
commit | 05541c11a72735d79d98cf3ae14d592e70bd8f54 (patch) | |
tree | 79ca6a23fb00a47d6387e7f77c28c7aa80543f97 /src/SMAPI.Web/Framework/Clients/GitHub/GitRelease.cs | |
parent | c3d0ce7245b76d26ea22ceb5430ee526d43170f7 (diff) | |
download | SMAPI-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.cs | 19 |
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; } + } +} |