summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/Clients/GitHub/GitLicense.cs
blob: 275c775aa379b2b06b5e844940716d59597c8e55 (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>The license info for a GitHub project.</summary>
    internal class GitLicense
    {
        /// <summary>The license display name.</summary>
        [JsonProperty("name")]
        public string Name { get; set; }

        /// <summary>The SPDX ID for the license.</summary>
        [JsonProperty("spdx_id")]
        public string SpdxId { get; set; }

        /// <summary>The URL for the license info.</summary>
        [JsonProperty("url")]
        public string Url { get; set; }
    }
}