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 IObservableCommitCommentReactionsClient { /// /// Creates a reaction for a specified Commit Comment /// /// https://developer.github.com/v3/reactions/#create-reaction-for-a-commit-comment /// The owner of the repository /// The name of the repository /// The comment id /// The reaction to create /// IObservable Create(string owner, string name, long commentId, NewReaction reaction); /// /// Creates a reaction for a specified Commit Comment /// /// https://developer.github.com/v3/reactions/#create-reaction-for-a-commit-comment /// The Id of the repository /// The comment id /// The reaction to create /// IObservable Create(long repositoryId, long commentId, NewReaction reaction); /// /// List reactions for a specified Commit Comment /// /// https://developer.github.com/v3/reactions/#list-reactions-for-a-commit-comment /// The owner of the repository /// The name of the repository /// The comment id /// IObservable GetAll(string owner, string name, long commentId); /// /// List reactions for a specified Commit Comment /// /// https://developer.github.com/v3/reactions/#list-reactions-for-a-commit-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, long commentId, ApiOptions options); /// /// List reactions for a specified Commit Comment /// /// https://developer.github.com/v3/reactions/#list-reactions-for-a-commit-comment /// The owner of the repository /// The comment id /// IObservable GetAll(long repositoryId, long commentId); /// /// List reactions for a specified Commit Comment /// /// https://developer.github.com/v3/reactions/#list-reactions-for-a-commit-comment /// The owner of the repository /// The comment id /// Options for changing the API response /// IObservable GetAll(long repositoryId, long commentId, ApiOptions options); /// /// Deletes a reaction for a specified Commit Comment /// /// https://docs.github.com/rest/reactions#delete-a-commit-comment-reaction /// The owner of the repository /// The name of the repository /// The comment id /// The reaction id /// IObservable Delete(string owner, string name, long commentId, long reactionId); /// /// Deletes a reaction for a specified Commit Comment /// /// https://docs.github.com/rest/reactions#delete-a-commit-comment-reaction /// The Id of the repository /// The comment id /// The reaction id /// IObservable Delete(long repositoryId, long commentId, long reactionId); } }