using System; using System.Reactive; namespace Octokit.Reactive { /// /// A client for GitHub's Reactions API. /// /// /// See the Reactions API documentation for more information. /// public interface IObservablePullRequestReviewCommentReactionsClient { /// /// Get all reactions for a specified Pull Request Review Comment. /// /// https://developer.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment /// The owner of the repository /// The name of the repository /// The comment id IObservable GetAll(string owner, string name, int number); /// /// Get all reactions for a specified Pull Request Review Comment. /// /// https://developer.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment /// The owner of the repository /// The name of the repository /// The comment id /// Options for changing the API response IObservable GetAll(string owner, string name, int number, ApiOptions options); /// /// Get all reactions for a specified Pull Request Review Comment. /// /// https://developer.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment /// The Id of the repository /// The comment id IObservable GetAll(long repositoryId, int number); /// /// Get all reactions for a specified Pull Request Review Comment. /// /// https://developer.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment /// The Id of the repository /// The comment id /// Options for changing the API response IObservable GetAll(long repositoryId, int number, ApiOptions options); /// /// Creates a reaction for a specified Pull Request Review Comment. /// /// https://developer.github.com/v3/reactions/#create-reaction-for-a-pull-request-review-comment /// The owner of the repository /// The name of the repository /// The comment id /// The reaction to create IObservable Create(string owner, string name, int number, NewReaction reaction); /// /// Creates a reaction for a specified Pull Request Review Comment. /// /// https://developer.github.com/v3/reactions/#create-reaction-for-a-pull-request-review-comment /// The owner of the repository /// The comment id /// The reaction to create IObservable Create(long repositoryId, int number, NewReaction reaction); /// /// Deletes a reaction for a specified Pull Request comment /// /// https://docs.github.com/en/rest/reactions#delete-a-pull-request-comment-reaction /// The owner of the repository /// The name of the repository /// The comment id /// The reaction id /// IObservable Delete(string owner, string name, int commentId, int reactionId); /// /// Deletes a reaction for a specified Pull Request comment /// /// https://docs.github.com/en/rest/reactions#delete-a-pull-request-comment-reaction /// The owner of the repository /// The comment id /// The reaction id /// IObservable Delete(long repositoryId, int commentId, int reactionId); } }