using Newtonsoft.Json; namespace StardewModdingAPI.Web.Framework.Clients.GitHub { /// A GitHub project release. internal class GitRelease { /********* ** Accessors *********/ /// The display name. [JsonProperty("name")] public string Name { get; set; } /// The semantic version string. [JsonProperty("tag_name")] public string Tag { get; set; } /// The Markdown description for the release. public string Body { get; set; } /// Whether this is a draft version. [JsonProperty("draft")] public bool IsDraft { get; set; } /// Whether this is a prerelease version. [JsonProperty("prerelease")] public bool IsPrerelease { get; set; } /// The attached files. public GitAsset[] Assets { get; set; } } }