Skip to content

Commit

Permalink
added closedBy Key for Issue.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
martinscholz83 committed Jun 8, 2016
1 parent 50a7885 commit 3ba975b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Octokit/Models/Response/Issue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class Issue
{
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;
Expand All @@ -21,6 +21,7 @@ public Issue(Uri url, Uri htmlUrl, Uri commentsUrl, Uri eventsUrl, int number, I
State = state;
Title = title;
Body = body;
ClosedBy = closedBy;
User = user;
Labels = labels;
Assignee = assignee;
Expand Down Expand Up @@ -79,6 +80,11 @@ public Issue(Uri url, Uri htmlUrl, Uri commentsUrl, Uri eventsUrl, int number, I
/// </summary>
public string Body { get; protected set; }

/// <summary>
/// Details about the us who has closed this issue.
/// </summary>
public User ClosedBy { get; protected set; }

/// <summary>
/// The user that created the issue.
/// </summary>
Expand Down

0 comments on commit 3ba975b

Please sign in to comment.