summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/Clients/GitHub/GitAsset.cs
blob: 39ebf94ec5bc98b70c01587483059c4abf4021e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#nullable disable

using Newtonsoft.Json;

namespace StardewModdingAPI.Web.Framework.Clients.GitHub
{
    /// <summary>A GitHub download attached to a release.</summary>
    internal class GitAsset
    {
        /// <summary>The file name.</summary>
        [JsonProperty("name")]
        public string FileName { get; set; }

        /// <summary>The file content type.</summary>
        [JsonProperty("content_type")]
        public string ContentType { get; set; }

        /// <summary>The download URL.</summary>
        [JsonProperty("browser_download_url")]
        public string DownloadUrl { get; set; }
    }
}