using System; namespace Octokit.Reactive { public interface IObservableEventsClient { /// /// Gets all the public events /// /// /// http://developer.github.com/v3/activity/events/#list-public-events /// /// All the public s for the particular user. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] IObservable GetAll(); /// /// Gets all the events for a given repository /// /// /// http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository /// /// The owner of the repository /// The name of the repository /// All the s for the particular repository. IObservable GetAllForRepository(string owner, string name); /// /// Gets all the events for a given repository network /// /// /// http://developer.github.com/v3/activity/events/#list-public-events-for-a-network-of-repositories /// /// The owner of the repository /// The name of the repository /// All the s for the particular repository network. IObservable GetAllForRepositoryNetwork(string owner, string name); /// /// Gets all the events for a given organization /// /// /// http://developer.github.com/v3/activity/events/#list-public-events-for-an-organization /// /// The name of the organization /// All the s for the particular organization. IObservable GetAllForOrganization(string organization); /// /// Gets all the events that have been received by a given user. /// /// /// http://developer.github.com/v3/activity/events/#list-events-that-a-user-has-received /// /// The name of the user /// All the s that a particular user has received. IObservable GetUserReceived(string user); /// /// Gets all the events that have been received by a given user. /// /// /// http://developer.github.com/v3/activity/events/#list-public-events-that-a-user-has-received /// /// The name of the user /// All the s that a particular user has received. IObservable GetUserReceivedPublic(string user); /// /// Gets all the events that have been performed by a given user. /// /// /// http://developer.github.com/v3/activity/events/#list-events-performed-by-a-user /// /// The name of the user /// All the s that a particular user has performed. IObservable GetUserPerformed(string user); /// /// Gets all the public events that have been performed by a given user. /// /// /// http://developer.github.com/v3/activity/events/#list-public-events-performed-by-a-user /// /// The name of the user /// All the public s that a particular user has performed. IObservable GetUserPerformedPublic(string user); /// /// Gets all the events that are associated with an organization. /// /// /// http://developer.github.com/v3/activity/events/#list-events-for-an-organization /// /// The name of the user /// The name of the organization /// All the public s that are associated with an organization. IObservable GetForAnOrganization(string user, string organization); } }