using System; using System.Diagnostics.CodeAnalysis; namespace Octokit.Reactive { /// /// A client for GitHub's Enterprise Admin Stats API /// /// /// See the Enterprise Admin Stats API documentation for more information. /// public interface IObservableEnterpriseAdminStatsClient { /// /// Gets GitHub Enterprise Issue statistics (must be Site Admin user). /// /// /// https://developer.github.com/v3/enterprise/admin_stats/#get-statistics /// /// The statistics. [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] IObservable GetStatisticsIssues(); /// /// Gets GitHub Enterprise Hook statistics (must be Site Admin user). /// /// /// https://developer.github.com/v3/enterprise/admin_stats/#get-statistics /// /// The statistics. [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] IObservable GetStatisticsHooks(); /// /// Gets GitHub Enterprise Milestone statistics (must be Site Admin user). /// /// /// https://developer.github.com/v3/enterprise/admin_stats/#get-statistics /// /// The statistics. [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] IObservable GetStatisticsMilestones(); /// /// Gets GitHub Enterprise Organization statistics (must be Site Admin user). /// /// /// https://developer.github.com/v3/enterprise/admin_stats/#get-statistics /// /// The statistics. [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] IObservable GetStatisticsOrgs(); /// /// Gets GitHub Enterprise Comment statistics (must be Site Admin user). /// /// /// https://developer.github.com/v3/enterprise/admin_stats/#get-statistics /// /// The statistics. [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] IObservable GetStatisticsComments(); /// /// Gets GitHub Enterprise Pages statistics (must be Site Admin user). /// /// /// https://developer.github.com/v3/enterprise/admin_stats/#get-statistics /// /// The statistics. [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] IObservable GetStatisticsPages(); /// /// Gets GitHub Enterprise User statistics (must be Site Admin user). /// /// /// https://developer.github.com/v3/enterprise/admin_stats/#get-statistics /// /// The statistics. [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] IObservable GetStatisticsUsers(); /// /// Gets GitHub Enterprise Gist statistics (must be Site Admin user). /// /// /// https://developer.github.com/v3/enterprise/admin_stats/#get-statistics /// /// The statistics. [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] IObservable GetStatisticsGists(); /// /// Gets GitHub Enterprise PullRequest statistics (must be Site Admin user). /// /// /// https://developer.github.com/v3/enterprise/admin_stats/#get-statistics /// /// The statistics. [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] IObservable GetStatisticsPulls(); /// /// Gets GitHub Enterprise Repository statistics (must be Site Admin user). /// /// /// https://developer.github.com/v3/enterprise/admin_stats/#get-statistics /// /// The statistics. [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] IObservable GetStatisticsRepos(); /// /// Gets GitHub Enterprise statistics (must be Site Admin user). /// /// /// https://developer.github.com/v3/enterprise/admin_stats/#get-statistics /// /// The collection of statistics. [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] IObservable GetStatisticsAll(); } }