diff --git a/Octokit/Models/Response/PullRequestReviewComment.cs b/Octokit/Models/Response/PullRequestReviewComment.cs index a969e5b3f1..985a26f849 100644 --- a/Octokit/Models/Response/PullRequestReviewComment.cs +++ b/Octokit/Models/Response/PullRequestReviewComment.cs @@ -15,7 +15,7 @@ public PullRequestReviewComment(int id) Id = id; } - public PullRequestReviewComment(string url, int id, string diffHunk, string path, int? position, int? originalPosition, string commitId, string originalCommitId, User user, string body, DateTimeOffset createdAt, DateTimeOffset updatedAt, string htmlUrl, string pullRequestUrl) + public PullRequestReviewComment(string url, int id, string diffHunk, string path, int? position, int? originalPosition, string commitId, string originalCommitId, User user, string body, DateTimeOffset createdAt, DateTimeOffset updatedAt, string htmlUrl, string pullRequestUrl, int? inReplyToId) { Url = url; Id = id; @@ -31,6 +31,7 @@ public PullRequestReviewComment(string url, int id, string diffHunk, string path UpdatedAt = updatedAt; HtmlUrl = htmlUrl; PullRequestUrl = pullRequestUrl; + InReplyToId = inReplyToId; } /// @@ -105,6 +106,11 @@ public PullRequestReviewComment(string url, int id, string diffHunk, string path public ReactionSummary Reactions { get; protected set; } + /// + /// The Id of the comment this comment replys to. + /// + public int? InReplyToId { get; protected set; } + internal string DebuggerDisplay { get { return string.Format(CultureInfo.InvariantCulture, "Id: {0}, Path: {1}, User: {2}, Url: {3}", Id, Path, User.DebuggerDisplay, Url); }