mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 04:16:51 +00:00
Make Repository Id a long, it's going to grow...
This commit is contained in:
@@ -53,7 +53,7 @@ namespace Octokit.Reactive
|
||||
/// </remarks>
|
||||
/// <param name="repositoryId">The id of the repository</param>
|
||||
/// <exception cref="ApiException">Thrown when a general API error occurs.</exception>
|
||||
public IObservable<User> GetAll(int repositoryId)
|
||||
public IObservable<User> GetAll(long repositoryId)
|
||||
{
|
||||
return GetAll(repositoryId, ApiOptions.None);
|
||||
}
|
||||
@@ -86,7 +86,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="ApiException">Thrown when a general API error occurs.</exception>
|
||||
public IObservable<User> GetAll(int repositoryId, ApiOptions options)
|
||||
public IObservable<User> GetAll(long repositoryId, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNull(options, "options");
|
||||
|
||||
@@ -121,7 +121,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The id of the repository</param>
|
||||
/// <param name="user">Username of the prospective collaborator</param>
|
||||
/// <exception cref="ApiException">Thrown when a general API error occurs.</exception>
|
||||
public IObservable<bool> IsCollaborator(int repositoryId, string user)
|
||||
public IObservable<bool> IsCollaborator(long repositoryId, string user)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(user, "user");
|
||||
|
||||
@@ -177,7 +177,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The id of the repository</param>
|
||||
/// <param name="user">Username of the new collaborator</param>
|
||||
/// <exception cref="ApiException">Thrown when a general API error occurs.</exception>
|
||||
public IObservable<Unit> Add(int repositoryId, string user)
|
||||
public IObservable<Unit> Add(long repositoryId, string user)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(user, "user");
|
||||
|
||||
@@ -194,7 +194,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="user">Username of the new collaborator</param>
|
||||
/// <param name="permission">The permission to set. Only valid on organization-owned repositories.</param>
|
||||
/// <exception cref="ApiException">Thrown when a general API error occurs.</exception>
|
||||
public IObservable<bool> Add(int repositoryId, string user, CollaboratorRequest permission)
|
||||
public IObservable<bool> Add(long repositoryId, string user, CollaboratorRequest permission)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(user, "user");
|
||||
Ensure.ArgumentNotNull(permission, "permission");
|
||||
@@ -249,7 +249,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The id of the repository</param>
|
||||
/// <param name="user">The username of the prospective collaborator</param>
|
||||
|
||||
public IObservable<RepositoryInvitation> Invite(int repositoryId, string user)
|
||||
public IObservable<RepositoryInvitation> Invite(long repositoryId, string user)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(user, "user");
|
||||
|
||||
@@ -265,7 +265,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The id of the repository</param>
|
||||
/// <param name="user">The username of the prospective collaborator</param>
|
||||
/// <param name="permission">The permission to set. Only valid on organization-owned repositories.</param>
|
||||
public IObservable<RepositoryInvitation> Invite(int repositoryId, string user, CollaboratorRequest permission)
|
||||
public IObservable<RepositoryInvitation> Invite(long repositoryId, string user, CollaboratorRequest permission)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(user, "user");
|
||||
Ensure.ArgumentNotNull(permission, "psermission");
|
||||
@@ -301,7 +301,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The id of the repository</param>
|
||||
/// <param name="user">Username of the deleted collaborator</param>
|
||||
/// <exception cref="ApiException">Thrown when a general API error occurs.</exception>
|
||||
public IObservable<Unit> Delete(int repositoryId, string user)
|
||||
public IObservable<Unit> Delete(long repositoryId, string user)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(user, "user");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user