using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace Octokit.Reactive { public interface IObservableOrganizationsClient { /// /// Returns the specified organization. /// /// The login of the specified organization, /// [SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get" , Justification = "It's fine. Trust us.")] IObservable Get(string org); /// /// Returns all the organizations for the current user. /// /// [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Justification = "Method makes a network request")] IObservable> GetAllForCurrent(); /// /// Returns all the organizations for the specified user /// /// /// IObservable> GetAll(string user); } }