Skip to content

Commit

Permalink
A missing event state: comment_deleted (#1818)
Browse files Browse the repository at this point in the history
* A missing event state: comment_deleted

Adding support for the comment_deleted event status.

* Add two new Event Status: Marked & Unmarked duplicates

* Update EventInfo.cs
  • Loading branch information
mirsaeedi authored and ryangribble committed Jun 20, 2018
1 parent f34a429 commit 8442073
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion Octokit/Models/Response/EventInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,24 @@ public enum EventInfoState
/// A commit comment was made.
/// </summary>
[Parameter(Value = "commit-commented")]
CommitCommented
CommitCommented,

/// <summary>
/// A user with write permissions marked an issue as a duplicate of another issue or a pull request as a duplicate of another pull request.
/// </summary>
[Parameter(Value = "marked_as_duplicate")]
MarkedAsDuplicate,

/// <summary>
/// An issue that a user had previously marked as a duplicate of another issue is no longer considered a duplicate.
/// </summary>
[Parameter(Value = "unmarked_as_duplicate")]
UnmarkedAsDuplicate,

/// <summary>
/// An issue comment was deleted.
/// </summary>
[Parameter(Value = "comment_deleted")]
CommentDeleted
}
}

0 comments on commit 8442073

Please sign in to comment.