Make Repository Id a long, it's going to grow...

This commit is contained in:
Andreia Gaita
2016-06-23 17:07:03 +02:00
parent 58833602b7
commit 9e958bf998
169 changed files with 1041 additions and 1037 deletions
@@ -43,7 +43,7 @@ namespace Octokit.Reactive
/// </summary>
/// <param name="repositoryId">The Id of the repository</param>
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#list">API documentation</a> for more information.</remarks>
public IObservable<RepositoryHook> GetAll(int repositoryId)
public IObservable<RepositoryHook> GetAll(long repositoryId)
{
return GetAll(repositoryId, ApiOptions.None);
}
@@ -70,7 +70,7 @@ namespace Octokit.Reactive
/// <param name="repositoryId">The Id of the repository</param>
/// <param name="options">Options for changing the API response</param>
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#list">API documentation</a> for more information.</remarks>
public IObservable<RepositoryHook> GetAll(int repositoryId, ApiOptions options)
public IObservable<RepositoryHook> GetAll(long repositoryId, ApiOptions options)
{
Ensure.ArgumentNotNull(options, "options");
@@ -98,7 +98,7 @@ namespace Octokit.Reactive
/// <param name="repositoryId">The Id of the repository</param>
/// <param name="hookId">The repository's hook id</param>
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#get-single-hook">API documentation</a> for more information.</remarks>
public IObservable<RepositoryHook> Get(int repositoryId, int hookId)
public IObservable<RepositoryHook> Get(long repositoryId, int hookId)
{
return _client.Get(repositoryId, hookId).ToObservable();
}
@@ -125,7 +125,7 @@ namespace Octokit.Reactive
/// <param name="repositoryId">The Id of the repository</param>
/// <param name="hook">The hook's parameters</param>
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#create-a-hook">API documentation</a> for more information.</remarks>
public IObservable<RepositoryHook> Create(int repositoryId, NewRepositoryHook hook)
public IObservable<RepositoryHook> Create(long repositoryId, NewRepositoryHook hook)
{
Ensure.ArgumentNotNull(hook, "hook");
@@ -156,7 +156,7 @@ namespace Octokit.Reactive
/// <param name="hookId">The repository's hook id</param>
/// <param name="hook">The requested changes to an edit repository hook</param>
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#edit-a-hook">API documentation</a> for more information.</remarks>
public IObservable<RepositoryHook> Edit(int repositoryId, int hookId, EditRepositoryHook hook)
public IObservable<RepositoryHook> Edit(long repositoryId, int hookId, EditRepositoryHook hook)
{
Ensure.ArgumentNotNull(hook, "hook");
@@ -188,7 +188,7 @@ namespace Octokit.Reactive
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#test-a-hook">API documentation</a> for more information.
/// This will trigger the hook with the latest push to the current repository if the hook is subscribed to push events. If the hook
/// is not subscribed to push events, the server will respond with 204 but no test POST will be generated.</remarks>
public IObservable<Unit> Test(int repositoryId, int hookId)
public IObservable<Unit> Test(long repositoryId, int hookId)
{
return _client.Test(repositoryId, hookId).ToObservable();
}
@@ -214,7 +214,7 @@ namespace Octokit.Reactive
/// <param name="repositoryId">The Id of the repository</param>
/// <param name="hookId">The repository's hook id</param>
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#edit-a-hook">API documentation</a> for more information.</remarks>
public IObservable<Unit> Ping(int repositoryId, int hookId)
public IObservable<Unit> Ping(long repositoryId, int hookId)
{
return _client.Ping(repositoryId, hookId).ToObservable();
}
@@ -240,7 +240,7 @@ namespace Octokit.Reactive
/// <param name="repositoryId">The Id of the repository</param>
/// <param name="hookId">The repository's hook id</param>
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#delete-a-hook">API documentation</a> for more information.</remarks>
public IObservable<Unit> Delete(int repositoryId, int hookId)
public IObservable<Unit> Delete(long repositoryId, int hookId)
{
return _client.Delete(repositoryId, hookId).ToObservable();
}