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