diff --git a/Octokit/Models/Response/PullRequestReviewComment.cs b/Octokit/Models/Response/PullRequestReviewComment.cs index a969e5b3..985a26f8 100644 --- a/Octokit/Models/Response/PullRequestReviewComment.cs +++ b/Octokit/Models/Response/PullRequestReviewComment.cs @@ -15,7 +15,7 @@ namespace Octokit 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 @@ namespace Octokit UpdatedAt = updatedAt; HtmlUrl = htmlUrl; PullRequestUrl = pullRequestUrl; + InReplyToId = inReplyToId; } /// @@ -105,6 +106,11 @@ namespace Octokit 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); }