using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Reactive; namespace Octokit.Reactive { public interface IObservableAuthorizationsClient { [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Justification = "It's an API call, so it's not a property.")] IObservable> GetAll(); [SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get", Justification = "It's fiiiine. It's fine. Trust us.")] IObservable Get(long id); IObservable Update(long id, AuthorizationUpdate authorization); IObservable Create(AuthorizationUpdate authorization); IObservable Delete(long id); } }