mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-20 22:25:12 +00:00
Make Repository Id a long, it's going to grow...
This commit is contained in:
@@ -64,7 +64,7 @@ namespace Octokit.Reactive
|
||||
/// </summary>
|
||||
/// <param name="repositoryId">The Id of the repository.</param>
|
||||
/// <exception cref="AuthorizationException">Thrown if the client is not authenticated.</exception>
|
||||
public IObservable<Notification> GetAllForRepository(int repositoryId)
|
||||
public IObservable<Notification> GetAllForRepository(long repositoryId)
|
||||
{
|
||||
return GetAllForRepository(repositoryId, ApiOptions.None);
|
||||
}
|
||||
@@ -91,7 +91,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The Id of the repository.</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <exception cref="AuthorizationException">Thrown if the client is not authenticated.</exception>
|
||||
public IObservable<Notification> GetAllForRepository(int repositoryId, ApiOptions options)
|
||||
public IObservable<Notification> GetAllForRepository(long repositoryId, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNull(options, "options");
|
||||
|
||||
@@ -146,7 +146,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The Id of the repository.</param>
|
||||
/// <param name="request">Specifies the parameters to filter notifications by</param>
|
||||
/// <exception cref="AuthorizationException">Thrown if the client is not authenticated.</exception>
|
||||
public IObservable<Notification> GetAllForRepository(int repositoryId, NotificationsRequest request)
|
||||
public IObservable<Notification> GetAllForRepository(long repositoryId, NotificationsRequest request)
|
||||
{
|
||||
Ensure.ArgumentNotNull(request, "request");
|
||||
|
||||
@@ -178,7 +178,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="request">Specifies the parameters to filter notifications by</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <exception cref="AuthorizationException">Thrown if the client is not authenticated.</exception>
|
||||
public IObservable<Notification> GetAllForRepository(int repositoryId, NotificationsRequest request, ApiOptions options)
|
||||
public IObservable<Notification> GetAllForRepository(long repositoryId, NotificationsRequest request, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNull(request, "request");
|
||||
Ensure.ArgumentNotNull(options, "options");
|
||||
@@ -226,7 +226,7 @@ namespace Octokit.Reactive
|
||||
/// </summary>
|
||||
/// <param name="repositoryId">The Id of the repository</param>
|
||||
/// <remarks>http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository</remarks>
|
||||
public IObservable<Unit> MarkAsReadForRepository(int repositoryId)
|
||||
public IObservable<Unit> MarkAsReadForRepository(long repositoryId)
|
||||
{
|
||||
return _notificationsClient.MarkAsReadForRepository(repositoryId).ToObservable();
|
||||
}
|
||||
@@ -253,7 +253,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The Id of the repository</param>
|
||||
/// <param name="markAsReadRequest">The <see cref="MarkAsReadRequest"/> parameter which specifies which notifications to mark.</param>
|
||||
/// <remarks>http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository</remarks>
|
||||
public IObservable<Unit> MarkAsReadForRepository(int repositoryId, MarkAsReadRequest markAsReadRequest)
|
||||
public IObservable<Unit> MarkAsReadForRepository(long repositoryId, MarkAsReadRequest markAsReadRequest)
|
||||
{
|
||||
Ensure.ArgumentNotNull(markAsReadRequest, "markAsReadRequest");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user