mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 03:01:31 +00:00
Add a new column named PullRequestReviewId to PullRequestReviewComment in order to capture pull_request_review_id (#1739)
This commit is contained in:
committed by
Ryan Gribble
parent
da3bbe3d0c
commit
a2f66508a8
@@ -15,8 +15,9 @@ 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, int? inReplyToId)
|
||||
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,int? pullRequestReviewId)
|
||||
{
|
||||
PullRequestReviewId = pullRequestReviewId;
|
||||
Url = url;
|
||||
Id = id;
|
||||
DiffHunk = diffHunk;
|
||||
@@ -111,6 +112,11 @@ namespace Octokit
|
||||
/// </summary>
|
||||
public int? InReplyToId { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The Id of the pull request this comment belongs to.
|
||||
/// </summary>
|
||||
public int? PullRequestReviewId { 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); }
|
||||
|
||||
Reference in New Issue
Block a user