mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 03:30:34 +00:00
Fixed failing tests
This commit is contained in:
@@ -6,75 +6,84 @@ namespace Octokit
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class PullRequestReviewComment
|
||||
{
|
||||
public PullRequestReviewComment()
|
||||
{
|
||||
}
|
||||
|
||||
public PullRequestReviewComment(int id)
|
||||
{
|
||||
Id = id;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// URL of the comment via the API.
|
||||
/// </summary>
|
||||
public Uri Url { get; set; }
|
||||
public Uri Url { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The comment Id.
|
||||
/// </summary>
|
||||
public int Id { get; set; }
|
||||
public int Id { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The diff hunk the comment is about.
|
||||
/// </summary>
|
||||
public string DiffHunk { get; set; }
|
||||
public string DiffHunk { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The relative path of the file the comment is about.
|
||||
/// </summary>
|
||||
public string Path { get; set; }
|
||||
public string Path { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The line index in the diff.
|
||||
/// </summary>
|
||||
public int? Position { get; set; }
|
||||
public int? Position { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The comment original position.
|
||||
/// </summary>
|
||||
public int? OriginalPosition { get; set; }
|
||||
public int? OriginalPosition { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The commit Id the comment is associated with.
|
||||
/// </summary>
|
||||
public string CommitId { get; set; }
|
||||
public string CommitId { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The original commit Id the comment is associated with.
|
||||
/// </summary>
|
||||
public string OriginalCommitId { get; set; }
|
||||
public string OriginalCommitId { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The user that created the comment.
|
||||
/// </summary>
|
||||
public User User { get; set; }
|
||||
public User User { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The text of the comment.
|
||||
/// </summary>
|
||||
public string Body { get; set; }
|
||||
public string Body { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The date the comment was created.
|
||||
/// </summary>
|
||||
public DateTimeOffset CreatedAt { get; set; }
|
||||
public DateTimeOffset CreatedAt { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The date the comment was last updated.
|
||||
/// </summary>
|
||||
public DateTimeOffset UpdatedAt { get; set; }
|
||||
public DateTimeOffset UpdatedAt { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The URL for this comment on Github.com
|
||||
/// </summary>
|
||||
public Uri HtmlUrl { get; set; }
|
||||
public Uri HtmlUrl { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The URL for the pull request via the API.
|
||||
/// </summary>
|
||||
public Uri PullRequestUrl { get; set; }
|
||||
public Uri PullRequestUrl { get; protected set; }
|
||||
}
|
||||
|
||||
public enum PullRequestReviewCommentSort
|
||||
|
||||
Reference in New Issue
Block a user