summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/Clients/GitHub/GitRepo.cs
blob: 7d80576e23c1f539686e1f01310fc3f26daf2206 (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>Basic metadata about a GitHub project.</summary>
    internal class GitRepo
    {
        /// <summary>The full repository name, including the owner.</summary>
        [JsonProperty("full_name")]
        public string FullName { get; set; }

        /// <summary>The URL to the repository web page, if any.</summary>
        [JsonProperty("html_url")]
        public string WebUrl { get; set; }

        /// <summary>The code license, if any.</summary>
        [JsonProperty("license")]
        public GitLicense License { get; set; }
    }
}