using System;
using System.Diagnostics.CodeAnalysis;
namespace Octokit.Reactive
{
///
/// A client for GitHub's Issue Events API.
///
///
/// See the Issue Events API documentation for more information.
///
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 GetAllForIssue(string owner, string name, int number);
///
/// Gets all events for the issue.
///
///
/// http://developer.github.com/v3/issues/events/#list-events-for-an-issue
///
/// The Id of the repository
/// The issue number
IObservable GetAllForIssue(int repositoryId, int number);
///
/// 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
/// Options for changing the API response
IObservable GetAllForIssue(string owner, string name, int number, ApiOptions options);
///
/// Gets all events for the issue.
///
///
/// http://developer.github.com/v3/issues/events/#list-events-for-an-issue
///
/// The Id of the repository
/// The issue number
/// Options for changing the API response
IObservable GetAllForIssue(int repositoryId, int number, ApiOptions options);
///
/// 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 GetAllForRepository(string owner, string name);
///
/// Gets all events for the repository.
///
///
/// http://developer.github.com/v3/issues/events/#list-events-for-a-repository
///
/// The Id of the repository
IObservable GetAllForRepository(int repositoryId);
///
/// 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
/// Options for changing the API response
IObservable GetAllForRepository(string owner, string name, ApiOptions options);
///
/// Gets all events for the repository.
///
///
/// http://developer.github.com/v3/issues/events/#list-events-for-a-repository
///
/// The Id of the repository
/// Options for changing the API response
IObservable GetAllForRepository(int repositoryId, ApiOptions options);
///
/// 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);
///
/// Gets a single event
///
///
/// http://developer.github.com/v3/issues/events/#get-a-single-event
///
/// The Id of the repository
/// The event id
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get",
Justification = "Method makes a network request")]
IObservable Get(int repositoryId, int number);
}
}