summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/Clients/GitHub/GitAsset.cs
blob: 73ce4025b4b2417a836cf20e1da938a08d309706 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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; }
    }
}