using System; namespace Octokit.Reactive { /// /// A client for GitHub's Issue Timeline API. /// /// /// See the Issue Timeline API documentation for more information. /// public interface IObservableIssueTimelineClient { /// /// Gets all the various events that have occurred around an issue or pull request. /// /// /// https://developer.github.com/v3/issues/timeline/#list-events-for-an-issue /// /// The owner of the repository /// The name of the repository /// The issue number IObservable GetAllForIssue(string owner, string repo, int issueNumber); /// /// Gets all the various events that have occurred around an issue or pull request. /// /// /// https://developer.github.com/v3/issues/timeline/#list-events-for-an-issue /// /// The owner of the repository /// The name of the repository /// The issue number /// Options for changing the API response IObservable GetAllForIssue(string owner, string repo, int issueNumber, ApiOptions options); /// /// Gets all the various events that have occurred around an issue or pull request. /// /// /// https://developer.github.com/v3/issues/timeline/#list-events-for-an-issue /// /// The Id of the repository /// The issue number IObservable GetAllForIssue(long repositoryId, int issueNumber); /// /// Gets all the various events that have occurred around an issue or pull request. /// /// /// https://developer.github.com/v3/issues/timeline/#list-events-for-an-issue /// /// The Id of the repository /// The issue number /// Options for changing the API response IObservable GetAllForIssue(long repositoryId, int issueNumber, ApiOptions options); } }