The since query parameters class.
Наследование: SimpleQuery
Пример #1
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);
 }
Пример #2
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);
 }
Пример #3
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);
 }
Пример #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));
 }
Пример #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));
 }
Пример #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));
 }