Add SiteAdmin property to user

This commit is contained in:
Haacked
2013-09-23 17:00:50 -07:00
parent 0974f4b168
commit 01c41039e5

View File

@@ -1,7 +1,6 @@
using System; using System;
using System.Diagnostics.CodeAnalysis; using System.Diagnostics.CodeAnalysis;
using System.Text; using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks; using System.Threading.Tasks;
using Octokit.Http; using Octokit.Http;
@@ -266,6 +265,11 @@ namespace Octokit
/// The api URL for this user. /// The api URL for this user.
/// </summary> /// </summary>
public string Url { get; set; } public string Url { get; set; }
/// <summary>
/// Whether or not the user is an administrator of the site
/// </summary>
public bool SiteAdmin { get; set; }
} }
public class Organization public class Organization