using System;
using System.Reactive;
namespace Octokit.Reactive
{
///
/// A client for GitHub's Pull Request Review Comments API.
///
///
/// See the Review Comments API documentation for more information.
///
public interface IObservablePullRequestReviewCommentsClient
{
///
/// 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
IObservable 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
IObservable 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
IObservable 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
IObservable 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
IObservable 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
IObservable 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
IObservable 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
IObservable 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
IObservable 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
IObservable 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
IObservable 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
IObservable 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
IObservable 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
IObservable 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
IObservable 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
IObservable 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
IObservable 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
IObservable 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
IObservable 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
IObservable 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
IObservable 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
IObservable Delete(int repositoryId, int number);
}
}