Replace SignatureResponse and CommitEntity with Committer

A recent PR added CommitEntity but we already had
SignatureResponse expressly for this purpose.

So this commit renames SignatureResponse to Committer
and removes CommitEntity and replaces it with Committer.
This commit is contained in:
Haacked
2015-09-28 00:32:04 -07:00
parent 1cea52eefa
commit b2d6e15d48
18 changed files with 93 additions and 105 deletions
+3 -3
View File
@@ -11,7 +11,7 @@ namespace Octokit
{
public GitHubCommit() { }
public GitHubCommit(string url, string label, string @ref, string sha, User user, Repository repository, CommitEntity author, string commentsUrl, Commit commit, CommitEntity committer, string htmlUrl, GitHubCommitStats stats, IReadOnlyList<GitReference> parents, IReadOnlyList<GitHubCommitFile> files)
public GitHubCommit(string url, string label, string @ref, string sha, User user, Repository repository, Author author, string commentsUrl, Commit commit, Author committer, string htmlUrl, GitHubCommitStats stats, IReadOnlyList<GitReference> parents, IReadOnlyList<GitHubCommitFile> files)
: base(url, label, @ref, sha, user, repository)
{
Author = author;
@@ -24,13 +24,13 @@ namespace Octokit
Files = files;
}
public CommitEntity Author { get; protected set; }
public Author Author { get; protected set; }
public string CommentsUrl { get; protected set; }
public Commit Commit { get; protected set; }
public CommitEntity Committer { get; protected set; }
public Author Committer { get; protected set; }
public string HtmlUrl { get; protected set; }