Files
octokit.net/Octokit/Models/Request/PullRequestReviewCommentReplyCreate.cs

31 lines
873 B
C#

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