using Octokit.Internal;
namespace Octokit
{
public class PullRequestReviewCommentReplyCreate : RequestParameters
{
private readonly string _body;
private readonly int _inReplyTo;
///
/// The text of the comment.
///
public string Body { get { return _body; } }
///
/// The comment Id to reply to.
///
public int InReplyTo { get { return _inReplyTo; } }
///
/// Creates a comment that is replying to another comment.
///
/// The text of the comment
/// The comment Id to reply to
public PullRequestReviewCommentReplyCreate(string body, int inReplyTo)
{
Ensure.ArgumentNotNullOrEmptyString(body, "body");
_body = body;
_inReplyTo = inReplyTo;
}
}
}