1. lfoust
  2. stacky

Source

stacky / trunk / source / Stacky / StackyClient / UserMethods.cs

Diff from to

File trunk/source/Stacky/StackyClient/UserMethods.cs

         /// <summary>
         /// See: http://api.stackexchange.com/docs/me-unread-inbox
         /// </summary>
-        public IPagedList<InboxItem> GetMyUnreadInbox(string accessToken, DateTime? since = null, int? page = null, int? pageSize = null)
+        public IPagedList<InboxItem> GetMyUnreadInbox(string accessToken, DateTime? since = null, int? page = null, int? pageSize = null, string filter = null)
         {
             var response = MakeRequest<InboxItem>("me", new string[] { "inbox", "unread" }, new
             {
                 access_token = accessToken,
                 page = page ?? null,
                 pagesize = pageSize ?? null,
-                since = GetDateValue(since)
+                since = GetDateValue(since),
+                filter = filter
             });
             return new PagedList<InboxItem>(response);
         }
         /// <summary>
         /// See: https://api.stackexchange.com/docs/user-unread-inbox
         /// </summary>
-        public IPagedList<InboxItem> GetUnreadInbox(int userId, string accessToken, DateTime? since = null, int? page = null, int? pageSize = null)
+        public IPagedList<InboxItem> GetUnreadInbox(int userId, string accessToken, DateTime? since = null, int? page = null, int? pageSize = null, string filter = null)
         {
             var response = MakeRequest<InboxItem>("users", new string[] { userId.ToString(), "inbox", "unread" }, new
             {
                 access_token = accessToken,
                 page = page ?? null,
                 pagesize = pageSize ?? null,
-                since = GetDateValue(since)
+                since = GetDateValue(since),
+                filter = filter
             });
             return new PagedList<InboxItem>(response);
         }
         /// <summary>
         /// See: https://api.stackexchange.com/docs/user-inbox
         /// </summary>
-        public IPagedList<InboxItem> GetInbox(int userId, string accessToken, int? page = null, int? pageSize = null)
+        public IPagedList<InboxItem> GetInbox(int userId, string accessToken, int? page = null, int? pageSize = null, string filter = null)
         {
             var response = MakeRequest<InboxItem>("users", new string[] { userId.ToString(), "inbox" }, new
             {
                 site = this.SiteUrlName,
                 access_token = accessToken,
                 page = page ?? null,
-                pagesize = pageSize ?? null
+                pagesize = pageSize ?? null,
+                filter = filter
             });
             return new PagedList<InboxItem>(response);
         }
         /// <summary>
         /// See: https://api.stackexchange.com/docs/user-inbox
         /// </summary>
-        public IPagedList<InboxItem> GetMyInbox(string accessToken, int? page = null, int? pageSize = null)
+        public IPagedList<InboxItem> GetMyInbox(string accessToken, int? page = null, int? pageSize = null, string filter = null)
         {
             var response = MakeRequest<InboxItem>("me", new string[] { "inbox" }, new
             {
                 site = this.SiteUrlName,
                 access_token = accessToken,
                 page = page ?? null,
-                pagesize = pageSize ?? null
+                pagesize = pageSize ?? null,
+                filter = filter
             });
             return new PagedList<InboxItem>(response);
         }
-
-
     }
 }