diff --git a/Octokit.Reactive/Clients/IObservableRepositoryHooksClient.cs b/Octokit.Reactive/Clients/IObservableRepositoryHooksClient.cs
index 8700c1a3..0655373f 100644
--- a/Octokit.Reactive/Clients/IObservableRepositoryHooksClient.cs
+++ b/Octokit.Reactive/Clients/IObservableRepositoryHooksClient.cs
@@ -18,7 +18,6 @@ namespace Octokit.Reactive
/// The repository's owner
/// The repository's name
/// See API documentation for more information.
- ///
IObservable GetAll(string owner, string name);
///
@@ -26,7 +25,6 @@ namespace Octokit.Reactive
///
/// The repository's ID
/// See API documentation for more information.
- ///
IObservable GetAll(int repositoryId);
///
@@ -36,7 +34,6 @@ namespace Octokit.Reactive
/// The repository's name
/// Options for changing the API response
/// See API documentation for more information.
- ///
IObservable GetAll(string owner, string name, ApiOptions options);
///
@@ -45,7 +42,6 @@ namespace Octokit.Reactive
/// The repository's ID
/// Options for changing the API response
/// See API documentation for more information.
- ///
IObservable GetAll(int repositoryId, ApiOptions options);
///
@@ -55,7 +51,6 @@ namespace Octokit.Reactive
/// The repository's name
/// The repository's hook id
/// See API documentation for more information.
- ///
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get", Justification = "This is ok; we're matching HTTP verbs not keyworks")]
IObservable Get(string owner, string name, int hookId);
@@ -65,7 +60,6 @@ namespace Octokit.Reactive
/// The repository's ID
/// The repository's hook id
/// See API documentation for more information.
- ///
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get", Justification = "This is ok; we're matching HTTP verbs not keyworks")]
IObservable Get(int repositoryId, int hookId);
@@ -76,7 +70,6 @@ namespace Octokit.Reactive
/// The repository's name
/// The hook's parameters
/// See API documentation for more information.
- ///
IObservable Create(string owner, string name, NewRepositoryHook hook);
///
@@ -85,7 +78,6 @@ namespace Octokit.Reactive
/// The repository's ID
/// The hook's parameters
/// See API documentation for more information.
- ///
IObservable Create(int repositoryId, NewRepositoryHook hook);
///
@@ -96,7 +88,6 @@ namespace Octokit.Reactive
/// The repository's hook id
/// The requested changes to an edit repository hook
/// See API documentation for more information.
- ///
IObservable Edit(string owner, string name, int hookId, EditRepositoryHook hook);
///
@@ -106,7 +97,6 @@ namespace Octokit.Reactive
/// The repository's hook id
/// The requested changes to an edit repository hook
/// See API documentation for more information.
- ///
IObservable Edit(int repositoryId, int hookId, EditRepositoryHook hook);
///
@@ -118,7 +108,6 @@ namespace Octokit.Reactive
/// See API documentation for more information.
/// This will trigger the hook with the latest push to the current repository if the hook is subscribed to push events. If the hook
/// is not subscribed to push events, the server will respond with 204 but no test POST will be generated.
- ///
IObservable Test(string owner, string name, int hookId);
///
@@ -129,7 +118,6 @@ namespace Octokit.Reactive
/// See API documentation for more information.
/// This will trigger the hook with the latest push to the current repository if the hook is subscribed to push events. If the hook
/// is not subscribed to push events, the server will respond with 204 but no test POST will be generated.
- ///
IObservable Test(int repositoryId, int hookId);
///
@@ -139,7 +127,6 @@ namespace Octokit.Reactive
/// The repository's name
/// The repository's hook id
/// See API documentation for more information.
- ///
IObservable Ping(string owner, string name, int hookId);
///
@@ -148,7 +135,6 @@ namespace Octokit.Reactive
/// The repository's ID
/// The repository's hook id
/// See API documentation for more information.
- ///
IObservable Ping(int repositoryId, int hookId);
///
@@ -158,7 +144,6 @@ namespace Octokit.Reactive
/// The repository's name
/// The repository's hook id
/// See API documentation for more information.
- ///
IObservable Delete(string owner, string name, int hookId);
///
@@ -167,7 +152,6 @@ namespace Octokit.Reactive
/// The repository's ID
/// The repository's hook id
/// See API documentation for more information.
- ///
IObservable Delete(int repositoryId, int hookId);
}
}
\ No newline at end of file
diff --git a/Octokit.Reactive/Clients/ObservableRepositoryHooksClient.cs b/Octokit.Reactive/Clients/ObservableRepositoryHooksClient.cs
index 7eda0858..ab9537d7 100644
--- a/Octokit.Reactive/Clients/ObservableRepositoryHooksClient.cs
+++ b/Octokit.Reactive/Clients/ObservableRepositoryHooksClient.cs
@@ -30,7 +30,6 @@ namespace Octokit.Reactive
/// The repository's owner
/// The repository's name
/// See API documentation for more information.
- ///
public IObservable GetAll(string owner, string name)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -44,7 +43,6 @@ namespace Octokit.Reactive
///
/// The repository's ID
/// See API documentation for more information.
- ///
public IObservable GetAll(int repositoryId)
{
return GetAll(repositoryId, ApiOptions.None);
@@ -57,7 +55,6 @@ namespace Octokit.Reactive
/// The repository's name
/// Options for changing the API response
/// See API documentation for more information.
- ///
public IObservable GetAll(string owner, string name, ApiOptions options)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -73,7 +70,6 @@ namespace Octokit.Reactive
/// The repository's ID
/// Options for changing the API response
/// See API documentation for more information.
- ///
public IObservable GetAll(int repositoryId, ApiOptions options)
{
Ensure.ArgumentNotNull(options, "options");
@@ -88,7 +84,6 @@ namespace Octokit.Reactive
/// The repository's name
/// The repository's hook id
/// See API documentation for more information.
- ///
public IObservable Get(string owner, string name, int hookId)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -103,7 +98,6 @@ namespace Octokit.Reactive
/// The repository's ID
/// The repository's hook id
/// See API documentation for more information.
- ///
public IObservable Get(int repositoryId, int hookId)
{
return _client.Get(repositoryId, hookId).ToObservable();
@@ -116,7 +110,6 @@ namespace Octokit.Reactive
/// The repository's name
/// The hook's parameters
/// See API documentation for more information.
- ///
public IObservable Create(string owner, string name, NewRepositoryHook hook)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -132,7 +125,6 @@ namespace Octokit.Reactive
/// The repository's ID
/// The hook's parameters
/// See API documentation for more information.
- ///
public IObservable Create(int repositoryId, NewRepositoryHook hook)
{
Ensure.ArgumentNotNull(hook, "hook");
@@ -148,7 +140,6 @@ namespace Octokit.Reactive
/// The repository's hook id
/// The requested changes to an edit repository hook
/// See API documentation for more information.
- ///
public IObservable Edit(string owner, string name, int hookId, EditRepositoryHook hook)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -165,7 +156,6 @@ namespace Octokit.Reactive
/// The repository's hook id
/// The requested changes to an edit repository hook
/// See API documentation for more information.
- ///
public IObservable Edit(int repositoryId, int hookId, EditRepositoryHook hook)
{
Ensure.ArgumentNotNull(hook, "hook");
@@ -182,7 +172,6 @@ namespace Octokit.Reactive
/// See API documentation for more information.
/// This will trigger the hook with the latest push to the current repository if the hook is subscribed to push events. If the hook
/// is not subscribed to push events, the server will respond with 204 but no test POST will be generated.
- ///
public IObservable Test(string owner, string name, int hookId)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -199,7 +188,6 @@ namespace Octokit.Reactive
/// See API documentation for more information.
/// This will trigger the hook with the latest push to the current repository if the hook is subscribed to push events. If the hook
/// is not subscribed to push events, the server will respond with 204 but no test POST will be generated.
- ///
public IObservable Test(int repositoryId, int hookId)
{
return _client.Test(repositoryId, hookId).ToObservable();
@@ -212,7 +200,6 @@ namespace Octokit.Reactive
/// The repository's name
/// The repository's hook id
/// See API documentation for more information.
- ///
public IObservable Ping(string owner, string name, int hookId)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -227,7 +214,6 @@ namespace Octokit.Reactive
/// The repository's ID
/// The repository's hook id
/// See API documentation for more information.
- ///
public IObservable Ping(int repositoryId, int hookId)
{
return _client.Ping(repositoryId, hookId).ToObservable();
@@ -240,7 +226,6 @@ namespace Octokit.Reactive
/// The repository's name
/// The repository's hook id
/// See API documentation for more information.
- ///
public IObservable Delete(string owner, string name, int hookId)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -255,7 +240,6 @@ namespace Octokit.Reactive
/// The repository's ID
/// The repository's hook id
/// See API documentation for more information.
- ///
public IObservable Delete(int repositoryId, int hookId)
{
return _client.Delete(repositoryId, hookId).ToObservable();
diff --git a/Octokit/Clients/IRepositoryHooksClient.cs b/Octokit/Clients/IRepositoryHooksClient.cs
index 91aa7a59..ece05f96 100644
--- a/Octokit/Clients/IRepositoryHooksClient.cs
+++ b/Octokit/Clients/IRepositoryHooksClient.cs
@@ -18,7 +18,6 @@ namespace Octokit
/// The repository's owner
/// The repository's name
/// See API documentation for more information.
- ///
Task> GetAll(string owner, string name);
///
@@ -26,7 +25,6 @@ namespace Octokit
///
/// The repository's ID
/// See API documentation for more information.
- ///
Task> GetAll(int repositoryId);
///
@@ -36,7 +34,6 @@ namespace Octokit
/// The repository's name
/// Options for changing the API response
/// See API documentation for more information.
- ///
Task> GetAll(string owner, string name, ApiOptions options);
///
@@ -45,7 +42,6 @@ namespace Octokit
/// The repository's ID
/// Options for changing the API response
/// See API documentation for more information.
- ///
Task> GetAll(int repositoryId, ApiOptions options);
///
@@ -55,7 +51,6 @@ namespace Octokit
/// The repository's name
/// The repository's hook id
/// See API documentation for more information.
- ///
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get", Justification = "This is ok; we're matching HTTP verbs not keywords")]
Task Get(string owner, string name, int hookId);
@@ -65,7 +60,6 @@ namespace Octokit
/// The repository's ID
/// The repository's hook id
/// See API documentation for more information.
- ///
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get", Justification = "This is ok; we're matching HTTP verbs not keywords")]
Task Get(int repositoryId, int hookId);
@@ -76,7 +70,6 @@ namespace Octokit
/// The repository's name
/// The hook's parameters
/// See API documentation for more information.
- ///
Task Create(string owner, string name, NewRepositoryHook hook);
///
@@ -85,7 +78,6 @@ namespace Octokit
/// The repository's ID
/// The hook's parameters
/// See API documentation for more information.
- ///
Task Create(int repositoryId, NewRepositoryHook hook);
///
@@ -96,7 +88,6 @@ namespace Octokit
/// The repository's hook id
/// The requested changes to an edit repository hook
/// See API documentation for more information.
- ///
Task Edit(string owner, string name, int hookId, EditRepositoryHook hook);
///
@@ -106,7 +97,6 @@ namespace Octokit
/// The repository's hook id
/// The requested changes to an edit repository hook
/// See API documentation for more information.
- ///
Task Edit(int repositoryId, int hookId, EditRepositoryHook hook);
///
@@ -118,7 +108,6 @@ namespace Octokit
/// See API documentation for more information.
/// This will trigger the hook with the latest push to the current repository if the hook is subscribed to push events. If the hook
/// is not subscribed to push events, the server will respond with 204 but no test POST will be generated.
- ///
Task Test(string owner, string name, int hookId);
///
@@ -129,7 +118,6 @@ namespace Octokit
/// See API documentation for more information.
/// This will trigger the hook with the latest push to the current repository if the hook is subscribed to push events. If the hook
/// is not subscribed to push events, the server will respond with 204 but no test POST will be generated.
- ///
Task Test(int repositoryId, int hookId);
///
@@ -139,7 +127,6 @@ namespace Octokit
/// The repository's name
/// The repository's hook id
/// See API documentation for more information.
- ///
Task Ping(string owner, string name, int hookId);
///
@@ -148,7 +135,6 @@ namespace Octokit
/// The repository's ID
/// The repository's hook id
/// See API documentation for more information.
- ///
Task Ping(int repositoryId, int hookId);
///
@@ -158,7 +144,6 @@ namespace Octokit
/// The repository's name
/// The repository's hook id
/// See API documentation for more information.
- ///
Task Delete(string owner, string name, int hookId);
///
@@ -167,7 +152,6 @@ namespace Octokit
/// The repository's ID
/// The repository's hook id
/// See API documentation for more information.
- ///
Task Delete(int repositoryId, int hookId);
}
}
diff --git a/Octokit/Clients/RepositoryHooksClient.cs b/Octokit/Clients/RepositoryHooksClient.cs
index a4d00555..5e7b6018 100644
--- a/Octokit/Clients/RepositoryHooksClient.cs
+++ b/Octokit/Clients/RepositoryHooksClient.cs
@@ -26,7 +26,6 @@ namespace Octokit
/// The repository's owner
/// The repository's name
/// See API documentation for more information.
- ///
public Task> GetAll(string owner, string name)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -40,7 +39,6 @@ namespace Octokit
///
/// The repository's ID
/// See API documentation for more information.
- ///
public Task> GetAll(int repositoryId)
{
return GetAll(repositoryId, ApiOptions.None);
@@ -53,7 +51,6 @@ namespace Octokit
/// The repository's name
/// Options for changing the API response
/// See API documentation for more information.
- ///
public Task> GetAll(string owner, string name, ApiOptions options)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -69,7 +66,6 @@ namespace Octokit
/// The repository's ID
/// Options for changing the API response
/// See API documentation for more information.
- ///
public Task> GetAll(int repositoryId, ApiOptions options)
{
Ensure.ArgumentNotNull(options, "options");
@@ -84,7 +80,6 @@ namespace Octokit
/// The repository's name
/// The repository's hook id
/// See API documentation for more information.
- ///
public Task Get(string owner, string name, int hookId)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -99,7 +94,6 @@ namespace Octokit
/// The repository's ID
/// The repository's hook id
/// See API documentation for more information.
- ///
public Task Get(int repositoryId, int hookId)
{
return ApiConnection.Get(ApiUrls.RepositoryHookById(repositoryId, hookId));
@@ -112,7 +106,6 @@ namespace Octokit
/// The repository's name
/// The hook's parameters
/// See API documentation for more information.
- ///
public Task Create(string owner, string name, NewRepositoryHook hook)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -128,7 +121,6 @@ namespace Octokit
/// The repository's ID
/// The hook's parameters
/// See API documentation for more information.
- ///
public Task Create(int repositoryId, NewRepositoryHook hook)
{
Ensure.ArgumentNotNull(hook, "hook");
@@ -144,7 +136,6 @@ namespace Octokit
/// The repository's hook id
/// The requested changes to an edit repository hook
/// See API documentation for more information.
- ///
public Task Edit(string owner, string name, int hookId, EditRepositoryHook hook)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -161,7 +152,6 @@ namespace Octokit
/// The repository's hook id
/// The requested changes to an edit repository hook
/// See API documentation for more information.
- ///
public Task Edit(int repositoryId, int hookId, EditRepositoryHook hook)
{
Ensure.ArgumentNotNull(hook, "hook");
@@ -178,7 +168,6 @@ namespace Octokit
/// See API documentation for more information.
/// This will trigger the hook with the latest push to the current repository if the hook is subscribed to push events. If the hook
/// is not subscribed to push events, the server will respond with 204 but no test POST will be generated.
- ///
public Task Test(string owner, string name, int hookId)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -195,7 +184,6 @@ namespace Octokit
/// See API documentation for more information.
/// This will trigger the hook with the latest push to the current repository if the hook is subscribed to push events. If the hook
/// is not subscribed to push events, the server will respond with 204 but no test POST will be generated.
- ///
public Task Test(int repositoryId, int hookId)
{
return ApiConnection.Post(ApiUrls.RepositoryHookTest(repositoryId, hookId));
@@ -208,7 +196,6 @@ namespace Octokit
/// The repository's name
/// The repository's hook id
/// See API documentation for more information.
- ///
public Task Ping(string owner, string name, int hookId)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -223,7 +210,6 @@ namespace Octokit
/// The repository's ID
/// The repository's hook id
/// See API documentation for more information.
- ///
public Task Ping(int repositoryId, int hookId)
{
return ApiConnection.Post(ApiUrls.RepositoryHookPing(repositoryId, hookId));
@@ -236,7 +222,6 @@ namespace Octokit
/// The repository's name
/// The repository's hook id
/// See API documentation for more information.
- ///
public Task Delete(string owner, string name, int hookId)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -251,7 +236,6 @@ namespace Octokit
/// The repository's ID
/// The repository's hook id
/// See API documentation for more information.
- ///
public Task Delete(int repositoryId, int hookId)
{
return ApiConnection.Delete(ApiUrls.RepositoryHookById(repositoryId, hookId));