namespace Octokit { /// /// A client for GitHub's Activity API. /// /// /// See the Activity API documentation for more information. /// public class ActivitiesClient : ApiClient, IActivitiesClient { /// /// Instantiate a new GitHub Activities API client. /// /// An API connection public ActivitiesClient(IApiConnection apiConnection) : base(apiConnection) { Events = new EventsClient(apiConnection); Starring = new StarredClient(apiConnection); Watching = new WatchedClient(apiConnection); Feeds = new FeedsClient(apiConnection); Notifications = new NotificationsClient(apiConnection); } /// /// Client for the Events API /// public IEventsClient Events { get; private set; } /// /// Client for the Starring API /// public IStarredClient Starring { get; private set; } /// /// Client for the Watching API /// public IWatchedClient Watching { get; private set; } /// /// Client for the Feeds API /// public IFeedsClient Feeds { get; private set; } /// /// Client for the Notifications API /// public INotificationsClient Notifications { get; private set; } } }