mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 12:03:19 +00:00
added assignee property to pull request.
This commit is contained in:
committed by
Brendan Forster
parent
5c0740821e
commit
c1ff2311d1
@@ -14,7 +14,7 @@ namespace Octokit
|
||||
Number = number;
|
||||
}
|
||||
|
||||
public PullRequest(Uri url, Uri htmlUrl, Uri diffUrl, Uri patchUrl, Uri issueUrl, Uri statusesUrl, int number, ItemState state, string title, string body, DateTimeOffset createdAt, DateTimeOffset updatedAt, DateTimeOffset? closedAt, DateTimeOffset? mergedAt, GitReference head, GitReference @base, User user, string mergeCommitSha, bool merged, bool? mergeable, User mergedBy, int comments, int commits, int additions, int deletions, int changedFiles)
|
||||
public PullRequest(Uri url, Uri htmlUrl, Uri diffUrl, Uri patchUrl, Uri issueUrl, Uri statusesUrl, int number, ItemState state, string title, string body, DateTimeOffset createdAt, DateTimeOffset updatedAt, DateTimeOffset? closedAt, DateTimeOffset? mergedAt, GitReference head, GitReference @base, User user, User assignee, string mergeCommitSha, bool merged, bool? mergeable, User mergedBy, int comments, int commits, int additions, int deletions, int changedFiles)
|
||||
{
|
||||
Url = url;
|
||||
HtmlUrl = htmlUrl;
|
||||
@@ -33,6 +33,7 @@ namespace Octokit
|
||||
Head = head;
|
||||
Base = @base;
|
||||
User = user;
|
||||
Assignee = assignee;
|
||||
MergeCommitSha = mergeCommitSha;
|
||||
Merged = merged;
|
||||
Mergeable = mergeable;
|
||||
@@ -129,6 +130,11 @@ namespace Octokit
|
||||
/// </summary>
|
||||
public User User { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The user who is assigned the pull request.
|
||||
/// </summary>
|
||||
public User Assignee { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The SHA of the merge commit.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user