mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 03:55:55 +00:00
Merge pull request #1353 from maddin2016/add-closed-by-key
Add closed_by key to Issue
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Octokit
|
||||
{
|
||||
public Issue() { }
|
||||
|
||||
public Issue(Uri url, Uri htmlUrl, Uri commentsUrl, Uri eventsUrl, int number, ItemState state, string title, string body, User user, IReadOnlyList<Label> labels, User assignee, Milestone milestone, int comments, PullRequest pullRequest, DateTimeOffset? closedAt, DateTimeOffset createdAt, DateTimeOffset? updatedAt, int id, bool locked, Repository repository)
|
||||
public Issue(Uri url, Uri htmlUrl, Uri commentsUrl, Uri eventsUrl, int number, ItemState state, string title, string body, User closedBy, User user, IReadOnlyList<Label> labels, User assignee, Milestone milestone, int comments, PullRequest pullRequest, DateTimeOffset? closedAt, DateTimeOffset createdAt, DateTimeOffset? updatedAt, int id, bool locked, Repository repository)
|
||||
{
|
||||
Id = id;
|
||||
Url = url;
|
||||
@@ -21,6 +21,7 @@ namespace Octokit
|
||||
State = state;
|
||||
Title = title;
|
||||
Body = body;
|
||||
ClosedBy = closedBy;
|
||||
User = user;
|
||||
Labels = labels;
|
||||
Assignee = assignee;
|
||||
@@ -79,6 +80,11 @@ namespace Octokit
|
||||
/// </summary>
|
||||
public string Body { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// Details about the user who has closed this issue.
|
||||
/// </summary>
|
||||
public User ClosedBy { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The user that created the issue.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user