mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-04 19:26:51 +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:
@@ -10,6 +10,15 @@ namespace Octokit
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class GitHubCommitStats
|
||||
{
|
||||
public GitHubCommitStats() { }
|
||||
|
||||
public GitHubCommitStats(int additions, int deletions, int total)
|
||||
{
|
||||
Additions = additions;
|
||||
Deletions = deletions;
|
||||
Total = total;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The number of additions made within the commit
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user