summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework/Models/GitRelease.cs
blob: bc53468f241a57a8e9d3fde839f6f0cc9b55aabe (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.Models
{
    /// <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; }
    }
}