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:
@@ -8,6 +8,20 @@ namespace Octokit
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class PullRequestCommit
|
||||
{
|
||||
public PullRequestCommit() { }
|
||||
|
||||
public PullRequestCommit(SignatureResponse author, Uri commentsUrl, Commit commit, SignatureResponse committer, Uri htmlUrl, IEnumerable<GitReference> parents, string sha, Uri url)
|
||||
{
|
||||
Author = author;
|
||||
CommentsUrl = commentsUrl;
|
||||
Commit = commit;
|
||||
Committer = committer;
|
||||
HtmlUrl = htmlUrl;
|
||||
Parents = parents;
|
||||
Sha = sha;
|
||||
Url = url;
|
||||
}
|
||||
|
||||
public SignatureResponse Author { get; protected set; }
|
||||
|
||||
public Uri CommentsUrl { get; protected set; }
|
||||
|
||||
Reference in New Issue
Block a user