using System; using System.Diagnostics.CodeAnalysis; namespace Octokit.Reactive { public interface IObservableUsersClient { /// /// Returns the user specified by the login. /// /// The login name for the user [SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get")] [SuppressMessage("Microsoft.Naming", "CA1726:UsePreferredTerms", MessageId = "login")] IObservable Get(string login); /// /// Returns a for the current authenticated user. /// /// Thrown if the client is not authenticated. /// A IObservable Current(); /// /// Update the specified . /// /// /// Thrown if the client is not authenticated. /// A IObservable Update(UserUpdate user); /// /// Returns emails for the current user. /// /// [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] IObservable> GetEmails(); } }