The since query parameters class.
Inheritance: SimpleQuery
 /// <summary>
 /// Makes a request to API method /events
 /// <para>Documentation can be found following the link below:</para>
 /// <para>https://api.stackexchange.com/docs/events</para>
 /// </summary>
 /// <param name="parameters">The request parameters.</param>
 /// <returns>Returns a stream of events that have occurred on the site.</returns>
 public IBridgeResponseCollection<Event> GetEvents(SinceQuery parameters = null)
 {
     return GetApiResultCollection<Event, SinceQuery>(ApiMethodEnum.Events, parameters);
 }
 /// <summary>
 /// Makes a request to API method /users/{id}/inbox/unread
 /// <para>Documentation can be found following the link below:</para>
 /// <para>https://api.stackexchange.com/docs/user-unread-inbox</para>
 /// </summary>
 /// <param name="id">The single user {id}.</param>
 /// <param name="parameters">The request parameters.</param>
 /// <returns>Returns unread items in a user's inbox.</returns>
 public IBridgeResponseCollection<InboxItem> GetUserInboxUnread(long id, SinceQuery parameters = null)
 {
     return GetApiResultCollection<InboxItem, SinceQuery>(ApiMethodEnum.UserInboxUnread, CreateIdVector(id), parameters);
 }
 /// <summary>
 /// Makes a request to API method /inbox/unread
 /// <para>Documentation can be found following the link below:</para>
 /// <para>https://api.stackexchange.com/docs/inbox-unread</para>
 /// </summary>
 /// <param name="parameters">The request parameters.</param>
 /// <returns>Returns the unread items in a user's inbox.</returns>
 public IBridgeResponseCollection<InboxItem> GetNetworkInboxUnread(SinceQuery parameters = null)
 {
     return GetApiResultCollection<InboxItem, SinceQuery>(ApiMethodEnum.InboxUnread, parameters);
 }
Esempio n. 4
0
 /// <summary>
 /// Makes a request to API method /users/{id}/inbox/unread
 /// <para>Documentation can be found following the link below:</para>
 /// <para>https://api.stackexchange.com/docs/user-unread-inbox</para>
 /// </summary>
 /// <param name="id">The single user {id}.</param>
 /// <param name="parameters">The request parameters.</param>
 /// <returns>Returns unread items in a user's inbox.</returns>
 public IBridgeResponseCollection <InboxItem> GetUserInboxUnread(long id, SinceQuery parameters = null)
 {
     return(GetApiResultCollection <InboxItem, SinceQuery>(ApiMethodEnum.UserInboxUnread, CreateIdVector(id), parameters));
 }
Esempio n. 5
0
 /// <summary>
 /// Makes a request to API method /events
 /// <para>Documentation can be found following the link below:</para>
 /// <para>https://api.stackexchange.com/docs/events</para>
 /// </summary>
 /// <param name="parameters">The request parameters.</param>
 /// <returns>Returns a stream of events that have occurred on the site.</returns>
 public IBridgeResponseCollection <Event> GetEvents(SinceQuery parameters = null)
 {
     return(GetApiResultCollection <Event, SinceQuery>(ApiMethodEnum.Events, parameters));
 }
Esempio n. 6
0
 /// <summary>
 /// Makes a request to API method /inbox/unread
 /// <para>Documentation can be found following the link below:</para>
 /// <para>https://api.stackexchange.com/docs/inbox-unread</para>
 /// </summary>
 /// <param name="parameters">The request parameters.</param>
 /// <returns>Returns the unread items in a user's inbox.</returns>
 public IBridgeResponseCollection <InboxItem> GetNetworkInboxUnread(SinceQuery parameters = null)
 {
     return(GetApiResultCollection <InboxItem, SinceQuery>(ApiMethodEnum.InboxUnread, parameters));
 }