mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-21 06:35:11 +00:00
Add SiteAdmin property to user
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user