diff --git a/Octokit.Reactive/Clients/IObservablePullRequestReviewCommentsClient.cs b/Octokit.Reactive/Clients/IObservablePullRequestReviewCommentsClient.cs index ff8ce783..b161f169 100644 --- a/Octokit.Reactive/Clients/IObservablePullRequestReviewCommentsClient.cs +++ b/Octokit.Reactive/Clients/IObservablePullRequestReviewCommentsClient.cs @@ -18,7 +18,6 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// The pull request number - /// IObservable GetAll(string owner, string name, int number); /// @@ -27,7 +26,6 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request /// The ID of the repository /// The pull request number - /// IObservable GetAll(int repositoryId, int number); /// @@ -38,7 +36,6 @@ namespace Octokit.Reactive /// The name of the repository /// The pull request number /// Options for changing the API response - /// IObservable GetAll(string owner, string name, int number, ApiOptions options); /// @@ -48,7 +45,6 @@ namespace Octokit.Reactive /// The ID of the repository /// The pull request number /// Options for changing the API response - /// IObservable GetAll(int repositoryId, int number, ApiOptions options); /// @@ -57,7 +53,6 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository /// The owner of the repository /// The name of the repository - /// IObservable GetAllForRepository(string owner, string name); /// @@ -65,7 +60,6 @@ namespace Octokit.Reactive /// /// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository /// The ID of the repository - /// IObservable GetAllForRepository(int repositoryId); /// @@ -75,7 +69,6 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// Options for changing the API response - /// IObservable GetAllForRepository(string owner, string name, ApiOptions options); /// @@ -84,7 +77,6 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository /// The ID of the repository /// Options for changing the API response - /// IObservable GetAllForRepository(int repositoryId, ApiOptions options); /// @@ -94,7 +86,6 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// The sorting parameters - /// IObservable GetAllForRepository(string owner, string name, PullRequestReviewCommentRequest request); /// @@ -103,7 +94,6 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository /// The ID of the repository /// The sorting parameters - /// IObservable GetAllForRepository(int repositoryId, PullRequestReviewCommentRequest request); /// @@ -114,7 +104,6 @@ namespace Octokit.Reactive /// The name of the repository /// The sorting parameters /// Options for changing the API response - /// IObservable GetAllForRepository(string owner, string name, PullRequestReviewCommentRequest request, ApiOptions options); /// @@ -124,7 +113,6 @@ namespace Octokit.Reactive /// The ID of the repository /// The sorting parameters /// Options for changing the API response - /// IObservable GetAllForRepository(int repositoryId, PullRequestReviewCommentRequest request, ApiOptions options); /// @@ -134,7 +122,6 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// The pull request review comment number - /// IObservable GetComment(string owner, string name, int number); /// @@ -143,7 +130,6 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/comments/#get-a-single-comment /// The ID of the repository /// The pull request review comment number - /// IObservable GetComment(int repositoryId, int number); /// @@ -154,7 +140,6 @@ namespace Octokit.Reactive /// The name of the repository /// The Pull Request number /// The comment - /// IObservable Create(string owner, string name, int number, PullRequestReviewCommentCreate comment); /// @@ -164,7 +149,6 @@ namespace Octokit.Reactive /// The ID of the repository /// The Pull Request number /// The comment - /// IObservable Create(int repositoryId, int number, PullRequestReviewCommentCreate comment); /// @@ -175,7 +159,6 @@ namespace Octokit.Reactive /// The name of the repository /// The pull request number /// The comment - /// IObservable CreateReply(string owner, string name, int number, PullRequestReviewCommentReplyCreate comment); /// @@ -185,7 +168,6 @@ namespace Octokit.Reactive /// The ID of the repository /// The pull request number /// The comment - /// IObservable CreateReply(int repositoryId, int number, PullRequestReviewCommentReplyCreate comment); /// @@ -196,7 +178,6 @@ namespace Octokit.Reactive /// The name of the repository /// The pull request review comment number /// The edited comment - /// IObservable Edit(string owner, string name, int number, PullRequestReviewCommentEdit comment); /// @@ -206,7 +187,6 @@ namespace Octokit.Reactive /// The ID of the repository /// The pull request review comment number /// The edited comment - /// IObservable Edit(int repositoryId, int number, PullRequestReviewCommentEdit comment); /// @@ -216,7 +196,6 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// The pull request review comment number - /// IObservable Delete(string owner, string name, int number); /// @@ -225,7 +204,6 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/comments/#delete-a-comment /// The ID of the repository /// The pull request review comment number - /// IObservable Delete(int repositoryId, int number); } } diff --git a/Octokit.Reactive/Clients/ObservablePullRequestReviewCommentsClient.cs b/Octokit.Reactive/Clients/ObservablePullRequestReviewCommentsClient.cs index 98cf0473..dd5f73f8 100644 --- a/Octokit.Reactive/Clients/ObservablePullRequestReviewCommentsClient.cs +++ b/Octokit.Reactive/Clients/ObservablePullRequestReviewCommentsClient.cs @@ -31,7 +31,6 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// The pull request number - /// public IObservable GetAll(string owner, string name, int number) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -46,7 +45,6 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request /// The ID of the repository /// The pull request number - /// public IObservable GetAll(int repositoryId, int number) { return GetAll(repositoryId, number, ApiOptions.None); @@ -60,7 +58,6 @@ namespace Octokit.Reactive /// The name of the repository /// The pull request number /// Options for changing the API response - /// public IObservable GetAll(string owner, string name, int number, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -77,7 +74,6 @@ namespace Octokit.Reactive /// The ID of the repository /// The pull request number /// Options for changing the API response - /// public IObservable GetAll(int repositoryId, int number, ApiOptions options) { Ensure.ArgumentNotNull(options, "options"); @@ -91,7 +87,6 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository /// The owner of the repository /// The name of the repository - /// public IObservable GetAllForRepository(string owner, string name) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -105,7 +100,6 @@ namespace Octokit.Reactive /// /// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository /// The ID of the repository - /// public IObservable GetAllForRepository(int repositoryId) { return GetAllForRepository(repositoryId, new PullRequestReviewCommentRequest(), ApiOptions.None); @@ -118,7 +112,6 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// Options for changing the API response - /// public IObservable GetAllForRepository(string owner, string name, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -134,7 +127,6 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository /// The ID of the repository /// Options for changing the API response - /// public IObservable GetAllForRepository(int repositoryId, ApiOptions options) { Ensure.ArgumentNotNull(options, "options"); @@ -149,7 +141,6 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// The sorting parameters - /// public IObservable GetAllForRepository(string owner, string name, PullRequestReviewCommentRequest request) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -165,7 +156,6 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository /// The ID of the repository /// The sorting parameters - /// public IObservable GetAllForRepository(int repositoryId, PullRequestReviewCommentRequest request) { Ensure.ArgumentNotNull(request, "request"); @@ -181,7 +171,6 @@ namespace Octokit.Reactive /// The name of the repository /// The sorting parameters /// Options for changing the API response - /// public IObservable GetAllForRepository(string owner, string name, PullRequestReviewCommentRequest request, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -200,7 +189,6 @@ namespace Octokit.Reactive /// The ID of the repository /// The sorting parameters /// Options for changing the API response - /// public IObservable GetAllForRepository(int repositoryId, PullRequestReviewCommentRequest request, ApiOptions options) { Ensure.ArgumentNotNull(request, "request"); @@ -217,7 +205,6 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// The pull request review comment number - /// public IObservable GetComment(string owner, string name, int number) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -232,7 +219,6 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/comments/#get-a-single-comment /// The ID of the repository /// The pull request review comment number - /// public IObservable GetComment(int repositoryId, int number) { return _client.GetComment(repositoryId, number).ToObservable(); @@ -246,7 +232,6 @@ namespace Octokit.Reactive /// The name of the repository /// The Pull Request number /// The comment - /// public IObservable Create(string owner, string name, int number, PullRequestReviewCommentCreate comment) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -263,7 +248,6 @@ namespace Octokit.Reactive /// The ID of the repository /// The Pull Request number /// The comment - /// public IObservable Create(int repositoryId, int number, PullRequestReviewCommentCreate comment) { Ensure.ArgumentNotNull(comment, "comment"); @@ -279,7 +263,6 @@ namespace Octokit.Reactive /// The name of the repository /// The pull request number /// The comment - /// public IObservable CreateReply(string owner, string name, int number, PullRequestReviewCommentReplyCreate comment) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -296,7 +279,6 @@ namespace Octokit.Reactive /// The ID of the repository /// The pull request number /// The comment - /// public IObservable CreateReply(int repositoryId, int number, PullRequestReviewCommentReplyCreate comment) { Ensure.ArgumentNotNull(comment, "comment"); @@ -312,7 +294,6 @@ namespace Octokit.Reactive /// The name of the repository /// The pull request review comment number /// The edited comment - /// public IObservable Edit(string owner, string name, int number, PullRequestReviewCommentEdit comment) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -329,7 +310,6 @@ namespace Octokit.Reactive /// The ID of the repository /// The pull request review comment number /// The edited comment - /// public IObservable Edit(int repositoryId, int number, PullRequestReviewCommentEdit comment) { Ensure.ArgumentNotNull(comment, "comment"); @@ -344,7 +324,6 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// The pull request review comment number - /// public IObservable Delete(string owner, string name, int number) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -359,7 +338,6 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/pulls/comments/#delete-a-comment /// The ID of the repository /// The pull request review comment number - /// public IObservable Delete(int repositoryId, int number) { return _client.Delete(repositoryId, number).ToObservable(); diff --git a/Octokit/Clients/IPullRequestReviewCommentsClient.cs b/Octokit/Clients/IPullRequestReviewCommentsClient.cs index 71fbb5eb..a215856c 100644 --- a/Octokit/Clients/IPullRequestReviewCommentsClient.cs +++ b/Octokit/Clients/IPullRequestReviewCommentsClient.cs @@ -18,7 +18,6 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// The pull request number - /// Task> GetAll(string owner, string name, int number); /// @@ -27,7 +26,6 @@ namespace Octokit /// http://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request /// The ID of the repository /// The pull request number - /// Task> GetAll(int repositoryId, int number); /// @@ -38,7 +36,6 @@ namespace Octokit /// The name of the repository /// The pull request number /// Options for changing the API response - /// Task> GetAll(string owner, string name, int number, ApiOptions options); /// @@ -48,7 +45,6 @@ namespace Octokit /// The ID of the repository /// The pull request number /// Options for changing the API response - /// Task> GetAll(int repositoryId, int number, ApiOptions options); /// @@ -57,7 +53,6 @@ namespace Octokit /// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository /// The owner of the repository /// The name of the repository - /// Task> GetAllForRepository(string owner, string name); /// @@ -65,7 +60,6 @@ namespace Octokit /// /// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository /// The ID of the repository - /// Task> GetAllForRepository(int repositoryId); /// @@ -75,7 +69,6 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// Options for changing the API response - /// Task> GetAllForRepository(string owner, string name, ApiOptions options); /// @@ -84,7 +77,6 @@ namespace Octokit /// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository /// The ID of the repository /// Options for changing the API response - /// Task> GetAllForRepository(int repositoryId, ApiOptions options); /// @@ -94,7 +86,6 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// The sorting parameters - /// Task> GetAllForRepository(string owner, string name, PullRequestReviewCommentRequest request); /// @@ -103,7 +94,6 @@ namespace Octokit /// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository /// The ID of the repository /// The sorting parameters - /// Task> GetAllForRepository(int repositoryId, PullRequestReviewCommentRequest request); /// @@ -114,7 +104,6 @@ namespace Octokit /// The name of the repository /// The sorting parameters /// Options for changing the API response - /// Task> GetAllForRepository(string owner, string name, PullRequestReviewCommentRequest request, ApiOptions options); /// @@ -124,7 +113,6 @@ namespace Octokit /// The ID of the repository /// The sorting parameters /// Options for changing the API response - /// Task> GetAllForRepository(int repositoryId, PullRequestReviewCommentRequest request, ApiOptions options); /// @@ -134,7 +122,6 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// The pull request review comment number - /// Task GetComment(string owner, string name, int number); /// @@ -143,7 +130,6 @@ namespace Octokit /// http://developer.github.com/v3/pulls/comments/#get-a-single-comment /// The ID of the repository /// The pull request review comment number - /// Task GetComment(int repositoryId, int number); /// @@ -154,7 +140,6 @@ namespace Octokit /// The name of the repository /// The Pull Request number /// The comment - /// Task Create(string owner, string name, int number, PullRequestReviewCommentCreate comment); /// @@ -164,7 +149,6 @@ namespace Octokit /// The ID of the repository /// The Pull Request number /// The comment - /// Task Create(int repositoryId, int number, PullRequestReviewCommentCreate comment); /// @@ -175,7 +159,6 @@ namespace Octokit /// The name of the repository /// The pull request number /// The comment - /// Task CreateReply(string owner, string name, int number, PullRequestReviewCommentReplyCreate comment); /// @@ -185,7 +168,6 @@ namespace Octokit /// The ID of the repository /// The pull request number /// The comment - /// Task CreateReply(int repositoryId, int number, PullRequestReviewCommentReplyCreate comment); /// @@ -196,7 +178,6 @@ namespace Octokit /// The name of the repository /// The pull request review comment number /// The edited comment - /// Task Edit(string owner, string name, int number, PullRequestReviewCommentEdit comment); /// @@ -206,7 +187,6 @@ namespace Octokit /// The ID of the repository /// The pull request review comment number /// The edited comment - /// Task Edit(int repositoryId, int number, PullRequestReviewCommentEdit comment); /// @@ -216,7 +196,6 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// The pull request review comment number - /// Task Delete(string owner, string name, int number); /// @@ -225,7 +204,6 @@ namespace Octokit /// http://developer.github.com/v3/pulls/comments/#delete-a-comment /// The ID of the repository /// The pull request review comment number - /// Task Delete(int repositoryId, int number); } } diff --git a/Octokit/Clients/PullRequestReviewCommentsClient.cs b/Octokit/Clients/PullRequestReviewCommentsClient.cs index 17f8befd..87074497 100644 --- a/Octokit/Clients/PullRequestReviewCommentsClient.cs +++ b/Octokit/Clients/PullRequestReviewCommentsClient.cs @@ -24,7 +24,6 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// The pull request number - /// public Task> GetAll(string owner, string name, int number) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -39,7 +38,6 @@ namespace Octokit /// http://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request /// The ID of the repository /// The pull request number - /// public Task> GetAll(int repositoryId, int number) { return GetAll(repositoryId, number, ApiOptions.None); @@ -53,7 +51,6 @@ namespace Octokit /// The name of the repository /// The pull request number /// Options for changing the API response - /// public Task> GetAll(string owner, string name, int number, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -70,7 +67,6 @@ namespace Octokit /// The ID of the repository /// The pull request number /// Options for changing the API response - /// public Task> GetAll(int repositoryId, int number, ApiOptions options) { Ensure.ArgumentNotNull(options, "options"); @@ -84,7 +80,6 @@ namespace Octokit /// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository /// The owner of the repository /// The name of the repository - /// public Task> GetAllForRepository(string owner, string name) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -98,7 +93,6 @@ namespace Octokit /// /// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository /// The ID of the repository - /// public Task> GetAllForRepository(int repositoryId) { return GetAllForRepository(repositoryId, new PullRequestReviewCommentRequest(), ApiOptions.None); @@ -111,7 +105,6 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// Options for changing the API response - /// public Task> GetAllForRepository(string owner, string name, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -127,7 +120,6 @@ namespace Octokit /// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository /// The ID of the repository /// Options for changing the API response - /// public Task> GetAllForRepository(int repositoryId, ApiOptions options) { Ensure.ArgumentNotNull(options, "options"); @@ -142,7 +134,6 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// The sorting parameters - /// public Task> GetAllForRepository(string owner, string name, PullRequestReviewCommentRequest request) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -158,7 +149,6 @@ namespace Octokit /// http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository /// The ID of the repository /// The sorting parameters - /// public Task> GetAllForRepository(int repositoryId, PullRequestReviewCommentRequest request) { Ensure.ArgumentNotNull(request, "request"); @@ -174,7 +164,6 @@ namespace Octokit /// The name of the repository /// The sorting parameters /// Options for changing the API response - /// public Task> GetAllForRepository(string owner, string name, PullRequestReviewCommentRequest request, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -192,7 +181,6 @@ namespace Octokit /// The ID of the repository /// The sorting parameters /// Options for changing the API response - /// public Task> GetAllForRepository(int repositoryId, PullRequestReviewCommentRequest request, ApiOptions options) { Ensure.ArgumentNotNull(request, "request"); @@ -208,7 +196,6 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// The pull request review comment number - /// public Task GetComment(string owner, string name, int number) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -223,7 +210,6 @@ namespace Octokit /// http://developer.github.com/v3/pulls/comments/#get-a-single-comment /// The ID of the repository /// The pull request review comment number - /// public Task GetComment(int repositoryId, int number) { return ApiConnection.Get(ApiUrls.PullRequestReviewComment(repositoryId, number)); @@ -237,7 +223,6 @@ namespace Octokit /// The name of the repository /// The Pull Request number /// The comment - /// public async Task Create(string owner, string name, int number, PullRequestReviewCommentCreate comment) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -262,7 +247,6 @@ namespace Octokit /// The ID of the repository /// The Pull Request number /// The comment - /// public async Task Create(int repositoryId, int number, PullRequestReviewCommentCreate comment) { Ensure.ArgumentNotNull(comment, "comment"); @@ -286,7 +270,6 @@ namespace Octokit /// The name of the repository /// The pull request number /// The comment - /// public async Task CreateReply(string owner, string name, int number, PullRequestReviewCommentReplyCreate comment) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -311,7 +294,6 @@ namespace Octokit /// The ID of the repository /// The pull request number /// The comment - /// public async Task CreateReply(int repositoryId, int number, PullRequestReviewCommentReplyCreate comment) { Ensure.ArgumentNotNull(comment, "comment"); @@ -335,7 +317,6 @@ namespace Octokit /// The name of the repository /// The pull request review comment number /// The edited comment - /// public Task Edit(string owner, string name, int number, PullRequestReviewCommentEdit comment) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -352,7 +333,6 @@ namespace Octokit /// The ID of the repository /// The pull request review comment number /// The edited comment - /// public Task Edit(int repositoryId, int number, PullRequestReviewCommentEdit comment) { Ensure.ArgumentNotNull(comment, "comment"); @@ -367,7 +347,6 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// The pull request review comment number - /// public Task Delete(string owner, string name, int number) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -382,7 +361,6 @@ namespace Octokit /// http://developer.github.com/v3/pulls/comments/#delete-a-comment /// The ID of the repository /// The pull request review comment number - /// public Task Delete(int repositoryId, int number) { return ApiConnection.Delete(ApiUrls.PullRequestReviewComment(repositoryId, number));