summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework/GitRelease.cs
blob: 0da57efd64da35deda3e547a24e6bf0a17710eae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using Newtonsoft.Json;

namespace StardewModdingAPI.Framework
{
    /// <summary>Metadata about a GitHub release tag.</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; }
    }
}