fix: comment id model update to long instead of int

* #2927: comment id model update to long instead of int

* #2927: code review fixes (1)

* #2927: code review fixes (2)

* #2927: comment id model update to long instead of int: unit tests fix

* #2927: code review fixes

* Fixed most names of parameters

---------

Co-authored-by: Victor Vorobyev <victor@myrtle-sa.com>
Co-authored-by: Brian C. Arnold <brian.arnold@spiderrock.net>
This commit is contained in:
Victor
2024-06-10 16:12:08 +03:00
committed by GitHub
parent f5ee959c5c
commit 6c43183837
59 changed files with 942 additions and 942 deletions
@@ -121,16 +121,16 @@ namespace Octokit.Reactive
/// <remarks>http://developer.github.com/v3/pulls/comments/#get-a-single-comment</remarks>
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <param name="number">The pull request review comment number</param>
IObservable<PullRequestReviewComment> GetComment(string owner, string name, int number);
/// <param name="commentId">The pull request review comment id</param>
IObservable<PullRequestReviewComment> GetComment(string owner, string name, long commentId);
/// <summary>
/// Gets a single pull request review comment by number.
/// </summary>
/// <remarks>http://developer.github.com/v3/pulls/comments/#get-a-single-comment</remarks>
/// <param name="repositoryId">The Id of the repository</param>
/// <param name="number">The pull request review comment number</param>
IObservable<PullRequestReviewComment> GetComment(long repositoryId, int number);
/// <param name="commentId">The pull request review comment id</param>
IObservable<PullRequestReviewComment> GetComment(long repositoryId, long commentId);
/// <summary>
/// Creates a comment on a pull request review.
@@ -176,18 +176,18 @@ namespace Octokit.Reactive
/// <remarks>http://developer.github.com/v3/pulls/comments/#edit-a-comment</remarks>
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <param name="number">The pull request review comment number</param>
/// <param name="commentId">The pull request review comment id</param>
/// <param name="comment">The edited comment</param>
IObservable<PullRequestReviewComment> Edit(string owner, string name, int number, PullRequestReviewCommentEdit comment);
IObservable<PullRequestReviewComment> Edit(string owner, string name, long commentId, PullRequestReviewCommentEdit comment);
/// <summary>
/// Edits a comment on a pull request review.
/// </summary>
/// <remarks>http://developer.github.com/v3/pulls/comments/#edit-a-comment</remarks>
/// <param name="repositoryId">The Id of the repository</param>
/// <param name="number">The pull request review comment number</param>
/// <param name="commentId">The pull request review comment id</param>
/// <param name="comment">The edited comment</param>
IObservable<PullRequestReviewComment> Edit(long repositoryId, int number, PullRequestReviewCommentEdit comment);
IObservable<PullRequestReviewComment> Edit(long repositoryId, long commentId, PullRequestReviewCommentEdit comment);
/// <summary>
/// Deletes a comment on a pull request review.
@@ -195,15 +195,15 @@ namespace Octokit.Reactive
/// <remarks>http://developer.github.com/v3/pulls/comments/#delete-a-comment</remarks>
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <param name="number">The pull request review comment number</param>
IObservable<Unit> Delete(string owner, string name, int number);
/// <param name="commentId">The pull request review comment id</param>
IObservable<Unit> Delete(string owner, string name, long commentId);
/// <summary>
/// Deletes a comment on a pull request review.
/// </summary>
/// <remarks>http://developer.github.com/v3/pulls/comments/#delete-a-comment</remarks>
/// <param name="repositoryId">The Id of the repository</param>
/// <param name="number">The pull request review comment number</param>
IObservable<Unit> Delete(long repositoryId, int number);
/// <param name="commentId">The pull request review comment id</param>
IObservable<Unit> Delete(long repositoryId, long commentId);
}
}