mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-09 21:09:51 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user