using System.Collections.Generic;
using System.Threading.Tasks;
namespace Octokit
{
///
/// A client for GitHub's Pull Request Review Comments API.
///
///
/// See the Review Comments API documentation for more information.
///
public interface IPullRequestReviewCommentsClient
{
///
/// Gets review comments for a specified pull request.
///
/// http://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request
/// The owner of the repository
/// The name of the repository
/// The pull request number
Task> GetAll(string owner, string name, int number);
///
/// Gets review comments for a specified pull request.
///
/// http://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request
/// The ID of the repository
/// The pull request number
Task> GetAll(int repositoryId, int number);
///
/// Gets review comments for a specified pull request.
///
/// http://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request
/// The owner of the repository
/// The name of the repository
/// The pull request number
/// Options for changing the API response
Task> GetAll(string owner, string name, int number, ApiOptions options);
///
/// Gets review comments for a specified pull request.
///
/// http://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request
/// The ID of the repository
/// The pull request number
/// Options for changing the API response
Task> GetAll(int repositoryId, int number, ApiOptions options);
///
/// Gets a list of the pull request review comments in a specified repository.
///
/// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository
/// The owner of the repository
/// The name of the repository
Task> GetAllForRepository(string owner, string name);
///
/// Gets a list of the pull request review comments in a specified repository.
///
/// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository
/// The ID of the repository
Task> GetAllForRepository(int repositoryId);
///
/// Gets a list of the pull request review comments in a specified repository.
///
/// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository
/// The owner of the repository
/// The name of the repository
/// Options for changing the API response
Task> GetAllForRepository(string owner, string name, ApiOptions options);
///
/// Gets a list of the pull request review comments in a specified repository.
///
/// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository
/// The ID of the repository
/// Options for changing the API response
Task> GetAllForRepository(int repositoryId, ApiOptions options);
///
/// Gets a list of the pull request review comments in a specified repository.
///
/// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository
/// The owner of the repository
/// The name of the repository
/// The sorting parameters
Task> GetAllForRepository(string owner, string name, PullRequestReviewCommentRequest request);
///
/// Gets a list of the pull request review comments in a specified repository.
///
/// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository
/// The ID of the repository
/// The sorting parameters
Task> GetAllForRepository(int repositoryId, PullRequestReviewCommentRequest request);
///
/// Gets a list of the pull request review comments in a specified repository.
///
/// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository
/// The owner of the repository
/// The name of the repository
/// The sorting parameters
/// Options for changing the API response
Task> GetAllForRepository(string owner, string name, PullRequestReviewCommentRequest request, ApiOptions options);
///
/// Gets a list of the pull request review comments in a specified repository.
///
/// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository
/// The ID of the repository
/// The sorting parameters
/// Options for changing the API response
Task> GetAllForRepository(int repositoryId, PullRequestReviewCommentRequest request, ApiOptions options);
///
/// Gets a single pull request review comment by number.
///
/// http://developer.github.com/v3/pulls/comments/#get-a-single-comment
/// The owner of the repository
/// The name of the repository
/// The pull request review comment number
Task GetComment(string owner, string name, int number);
///
/// Gets a single pull request review comment by number.
///
/// http://developer.github.com/v3/pulls/comments/#get-a-single-comment
/// The ID of the repository
/// The pull request review comment number
Task GetComment(int repositoryId, int number);
///
/// Creates a comment on a pull request review.
///
/// http://developer.github.com/v3/pulls/comments/#create-a-comment
/// The owner of the repository
/// The name of the repository
/// The Pull Request number
/// The comment
Task Create(string owner, string name, int number, PullRequestReviewCommentCreate comment);
///
/// Creates a comment on a pull request review.
///
/// http://developer.github.com/v3/pulls/comments/#create-a-comment
/// The ID of the repository
/// The Pull Request number
/// The comment
Task Create(int repositoryId, int number, PullRequestReviewCommentCreate comment);
///
/// Creates a comment on a pull request review as a reply to another comment.
///
/// http://developer.github.com/v3/pulls/comments/#create-a-comment
/// The owner of the repository
/// The name of the repository
/// The pull request number
/// The comment
Task CreateReply(string owner, string name, int number, PullRequestReviewCommentReplyCreate comment);
///
/// Creates a comment on a pull request review as a reply to another comment.
///
/// http://developer.github.com/v3/pulls/comments/#create-a-comment
/// The ID of the repository
/// The pull request number
/// The comment
Task CreateReply(int repositoryId, int number, PullRequestReviewCommentReplyCreate comment);
///
/// Edits a comment on a pull request review.
///
/// http://developer.github.com/v3/pulls/comments/#edit-a-comment
/// The owner of the repository
/// The name of the repository
/// The pull request review comment number
/// The edited comment
Task Edit(string owner, string name, int number, PullRequestReviewCommentEdit comment);
///
/// Edits a comment on a pull request review.
///
/// http://developer.github.com/v3/pulls/comments/#edit-a-comment
/// The ID of the repository
/// The pull request review comment number
/// The edited comment
Task Edit(int repositoryId, int number, PullRequestReviewCommentEdit comment);
///
/// Deletes a comment on a pull request review.
///
/// http://developer.github.com/v3/pulls/comments/#delete-a-comment
/// The owner of the repository
/// The name of the repository
/// The pull request review comment number
Task Delete(string owner, string name, int number);
///
/// Deletes a comment on a pull request review.
///
/// http://developer.github.com/v3/pulls/comments/#delete-a-comment
/// The ID of the repository
/// The pull request review comment number
Task Delete(int repositoryId, int number);
}
}