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