From 01c41039e57f2af2186fde9e7624d49d493bf16d Mon Sep 17 00:00:00 2001 From: Haacked Date: Mon, 23 Sep 2013 17:00:50 -0700 Subject: [PATCH] Add SiteAdmin property to user --- Octokit/GitHubModels.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Octokit/GitHubModels.cs b/Octokit/GitHubModels.cs index bb89c0ef..b27cabb3 100644 --- a/Octokit/GitHubModels.cs +++ b/Octokit/GitHubModels.cs @@ -1,7 +1,6 @@ using System; using System.Diagnostics.CodeAnalysis; using System.Text; -using System.Text.RegularExpressions; using System.Threading.Tasks; using Octokit.Http; @@ -266,6 +265,11 @@ namespace Octokit /// The api URL for this user. /// public string Url { get; set; } + + /// + /// Whether or not the user is an administrator of the site + /// + public bool SiteAdmin { get; set; } } public class Organization