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
@@ -37,7 +37,7 @@ namespace Octokit.Reactive
/// <returns></returns>
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get",
Justification = "Method makes a network request")]
IObservable<Reference> Get(int repositoryId, string reference);
IObservable<Reference> Get(long repositoryId, string reference);
/// <summary>
/// Gets all references for a given repository
@@ -58,7 +58,7 @@ namespace Octokit.Reactive
/// </remarks>
/// <param name="repositoryId">The Id of the repository</param>
/// <returns></returns>
IObservable<Reference> GetAll(int repositoryId);
IObservable<Reference> GetAll(long repositoryId);
/// <summary>
/// Gets references for a given repository by sub-namespace, i.e. "tags" or "heads"
@@ -81,7 +81,7 @@ namespace Octokit.Reactive
/// <param name="repositoryId">The Id of the repository</param>
/// <param name="subNamespace">The sub-namespace to get references for</param>
/// <returns></returns>
IObservable<Reference> GetAllForSubNamespace(int repositoryId, string subNamespace);
IObservable<Reference> GetAllForSubNamespace(long repositoryId, string subNamespace);
/// <summary>
/// Creates a reference for a given repository
@@ -104,7 +104,7 @@ namespace Octokit.Reactive
/// <param name="repositoryId">The Id of the repository</param>
/// <param name="reference">The reference to create</param>
/// <returns></returns>
IObservable<Reference> Create(int repositoryId, NewReference reference);
IObservable<Reference> Create(long repositoryId, NewReference reference);
/// <summary>
/// Updates a reference for a given repository by reference name
@@ -129,7 +129,7 @@ namespace Octokit.Reactive
/// <param name="reference">The name of the reference</param>
/// <param name="referenceUpdate">The updated reference data</param>
/// <returns></returns>
IObservable<Reference> Update(int repositoryId, string reference, ReferenceUpdate referenceUpdate);
IObservable<Reference> Update(long repositoryId, string reference, ReferenceUpdate referenceUpdate);
/// <summary>
/// Deletes a reference for a given repository by reference name
@@ -152,6 +152,6 @@ namespace Octokit.Reactive
/// <param name="repositoryId">The Id of the repository</param>
/// <param name="reference">The name of the reference</param>
/// <returns></returns>
IObservable<Unit> Delete(int repositoryId, string reference);
IObservable<Unit> Delete(long repositoryId, string reference);
}
}