Implemented pull request review comments API

This commit is contained in:
Gabriel Weyer
2013-11-17 08:34:23 +11:00
parent 518c29e550
commit a01857ecd5
23 changed files with 1576 additions and 2 deletions

View File

@@ -0,0 +1,28 @@
using Octokit.Internal;
namespace Octokit
{
public class PullRequestReviewCommentCreate : RequestParameters
{
/// <summary>
/// The text of the comment.
/// </summary>
public string Body { get; set; }
/// <summary>
/// The SHA of the commit to comment on.
/// </summary>
[Parameter(Key = "commit_id")]
public string CommitId { get; set; }
/// <summary>
/// The relative path of the file to comment on.
/// </summary>
public string Path { get; set; }
/// <summary>
/// The line index in the diff to comment on.
/// </summary>
public int Position { get; set; }
}
}