summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/Clients/GitHub/GitLicense.cs
blob: 736efbe6d541828e5f31365ee1a1c1aa4dd4f9f5 (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>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; }
    }
}