mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 11:05:56 +00:00
Creates constructors for all Models.Response.
Resolves https://github.com/octokit/octokit.net/issues/677. Removes obscolete properties (gravatar). Makes Models.Response properties all be protected (most were already).
This commit is contained in:
@@ -7,6 +7,15 @@ namespace Octokit
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class RepositoryPermissions
|
||||
{
|
||||
public RepositoryPermissions() { }
|
||||
|
||||
public RepositoryPermissions(bool admin, bool push, bool pull)
|
||||
{
|
||||
Admin = admin;
|
||||
Push = push;
|
||||
Pull = pull;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Whether the current user has administrative permissions
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user