From 8c8ac0a74436c73253dc0ad66431dfd2e5a048ed Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 7 Jul 2013 00:48:26 -0400 Subject: updated nuget --- MediaBrowser.Model/ApiClient/IApiClient.cs | 44 ++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 3 deletions(-) (limited to 'MediaBrowser.Model/ApiClient') diff --git a/MediaBrowser.Model/ApiClient/IApiClient.cs b/MediaBrowser.Model/ApiClient/IApiClient.cs index 0212c3b62..06e4dd234 100644 --- a/MediaBrowser.Model/ApiClient/IApiClient.cs +++ b/MediaBrowser.Model/ApiClient/IApiClient.cs @@ -2,6 +2,7 @@ using MediaBrowser.Model.Dto; using MediaBrowser.Model.Entities; using MediaBrowser.Model.Globalization; +using MediaBrowser.Model.Notifications; using MediaBrowser.Model.Plugins; using MediaBrowser.Model.Querying; using MediaBrowser.Model.Serialization; @@ -17,6 +18,43 @@ namespace MediaBrowser.Model.ApiClient { public interface IApiClient : IDisposable { + /// + /// Marks the notifications read. + /// + /// The user id. + /// The notification id list. + /// if set to true [is read]. + /// Task. + Task MarkNotificationsRead(string userId, IEnumerable notificationIdList, bool isRead); + + /// + /// Updates the notification. + /// + /// The notification. + /// Task. + Task UpdateNotification(Notification notification); + + /// + /// Adds the notification. + /// + /// The notification. + /// Task{Notification}. + Task AddNotification(Notification notification); + + /// + /// Gets the notifications summary. + /// + /// The user id. + /// Task{NotificationsSummary}. + Task GetNotificationsSummary(string userId); + + /// + /// Gets the notfiications async. + /// + /// The query. + /// Task{NotificationResult}. + Task GetNotfiicationsAsync(NotificationQuery query); + /// /// Gets an image stream based on a url /// @@ -69,7 +107,7 @@ namespace MediaBrowser.Model.ApiClient /// The user id. /// Task{ItemCounts}. Task GetItemCountsAsync(string userId); - + /// /// Queries for items /// @@ -105,7 +143,7 @@ namespace MediaBrowser.Model.ApiClient /// The query. /// Task{ItemsResult}. Task GetSimilarGamesAsync(SimilarItemsQuery query); - + /// /// Gets the people async. /// @@ -136,7 +174,7 @@ namespace MediaBrowser.Model.ApiClient /// The query. /// Task{ItemsResult}. Task GetNextUpAsync(NextUpQuery query); - + /// /// Gets a genre /// -- cgit v1.2.3