using System.Collections.Generic; using System.Threading.Tasks; namespace Octokit { /// /// A client for GitHub's Reactions API. /// /// /// See the Reactions API documentation for more information. /// public interface IIssueCommentReactionsClient { /// /// Creates a reaction for a specified Issue Comment /// /// https://developer.github.com/v3/reactions/#create-reaction-for-an-issue-comment /// The owner of the repository /// The name of the repository /// The comment id /// The reaction to create Task Create(string owner, string name, long commentId, NewReaction reaction); /// /// Creates a reaction for a specified Issue Comment /// /// https://developer.github.com/v3/reactions/#create-reaction-for-an-issue-comment /// The Id of the repository /// The comment id /// The reaction to create Task Create(long repositoryId, long commentId, NewReaction reaction); /// /// Get all reactions for a specified Issue Comment /// /// https://developer.github.com/v3/reactions/#list-reactions-for-an-issue-comment /// The owner of the repository /// The name of the repository /// The comment id Task> GetAll(string owner, string name, long commentId); /// /// Get all reactions for a specified Issue Comment /// /// https://developer.github.com/v3/reactions/#list-reactions-for-an-issue-comment /// The owner of the repository /// The name of the repository /// The comment id /// Options for changing the API response Task> GetAll(string owner, string name, long commentId, ApiOptions options); /// /// Get all reactions for a specified Issue Comment /// /// https://developer.github.com/v3/reactions/#list-reactions-for-an-issue-comment /// The Id of the repository /// The comment id Task> GetAll(long repositoryId, long commentId); /// /// Get all reactions for a specified Issue Comment /// /// https://developer.github.com/v3/reactions/#list-reactions-for-an-issue-comment /// The Id of the repository /// The comment id /// Options for changing the API response Task> 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 /// Task 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 /// Task Delete(long repositoryId, long commentId, long reactionId); } }