using System;
using System.Diagnostics.CodeAnalysis;
namespace Octokit.Reactive
{
public interface IObservableIssuesEventsClient
{
///
/// Gets all events for the issue.
///
///
/// http://developer.github.com/v3/issues/events/#list-events-for-an-issue
///
/// The owner of the repository
/// The name of the repository
/// The issue number
///
IObservable GetForIssue(string owner, string name, int number);
///
/// Gets all events for the repository.
///
///
/// http://developer.github.com/v3/issues/events/#list-events-for-a-repository
///
/// The owner of the repository
/// The name of the repository
///
IObservable GetForRepository(string owner, string name);
///
/// Gets a single event
///
///
/// http://developer.github.com/v3/issues/events/#get-a-single-event
///
/// The owner of the repository
/// The name of the repository
/// The event id
///
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get",
Justification = "Method makes a network request")]
IObservable Get(string owner, string name, int number);
}
}