mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-19 05:35:11 +00:00
cleared <returns> tags
This commit is contained in:
@@ -18,7 +18,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="owner">The repository's owner</param>
|
||||
/// <param name="name">The repository's name</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#list">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="IObservable{RepositoryHook}"/> of <see cref="RepositoryHook"/>s representing hooks for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
IObservable<RepositoryHook> GetAll(string owner, string name);
|
||||
|
||||
/// <summary>
|
||||
@@ -26,7 +26,7 @@ namespace Octokit.Reactive
|
||||
/// </summary>
|
||||
/// <param name="repositoryId">The repository's ID</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#list">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="IObservable{RepositoryHook}"/> of <see cref="RepositoryHook"/>s representing hooks for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
IObservable<RepositoryHook> GetAll(int repositoryId);
|
||||
|
||||
/// <summary>
|
||||
@@ -36,7 +36,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The repository's name</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#list">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="IObservable{RepositoryHook}"/> of <see cref="RepositoryHook"/>s representing hooks for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
IObservable<RepositoryHook> GetAll(string owner, string name, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
@@ -45,7 +45,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The repository's owner</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#list">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="IObservable{RepositoryHook}"/> of <see cref="RepositoryHook"/>s representing hooks for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
IObservable<RepositoryHook> GetAll(int repositoryId, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
@@ -55,7 +55,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The repository's name</param>
|
||||
/// <param name="hookId">The repository's hook id</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#get-single-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing hook for specified hook id</returns>
|
||||
/// <returns></returns>
|
||||
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get", Justification = "This is ok; we're matching HTTP verbs not keyworks")]
|
||||
IObservable<RepositoryHook> Get(string owner, string name, int hookId);
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The repository's owner</param>
|
||||
/// <param name="hookId">The repository's hook id</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#get-single-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing hook for specified hook id</returns>
|
||||
/// <returns></returns>
|
||||
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get", Justification = "This is ok; we're matching HTTP verbs not keyworks")]
|
||||
IObservable<RepositoryHook> Get(int repositoryId, int hookId);
|
||||
|
||||
@@ -76,7 +76,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The repository's name</param>
|
||||
/// <param name="hook">The hook's parameters</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#create-a-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing created hook for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
IObservable<RepositoryHook> Create(string owner, string name, NewRepositoryHook hook);
|
||||
|
||||
/// <summary>
|
||||
@@ -85,7 +85,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The repository's owner</param>
|
||||
/// <param name="hook">The hook's parameters</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#create-a-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing created hook for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
IObservable<RepositoryHook> Create(int repositoryId, NewRepositoryHook hook);
|
||||
|
||||
/// <summary>
|
||||
@@ -96,7 +96,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="hookId">The repository's hook id</param>
|
||||
/// <param name="hook">The requested changes to an edit repository hook</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#edit-a-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing modified hook for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
IObservable<RepositoryHook> Edit(string owner, string name, int hookId, EditRepositoryHook hook);
|
||||
|
||||
/// <summary>
|
||||
@@ -106,7 +106,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="hookId">The repository's hook id</param>
|
||||
/// <param name="hook">The requested changes to an edit repository hook</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#edit-a-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing modified hook for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
IObservable<RepositoryHook> Edit(int repositoryId, int hookId, EditRepositoryHook hook);
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="owner">The repository's owner</param>
|
||||
/// <param name="name">The repository's name</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#list">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="IObservable{RepositoryHook}"/> of <see cref="RepositoryHook"/>s representing hooks for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
public IObservable<RepositoryHook> GetAll(string owner, string name)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -48,7 +48,7 @@ namespace Octokit.Reactive
|
||||
/// </summary>
|
||||
/// <param name="repositoryId">The repository's ID</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#list">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="IObservable{RepositoryHook}"/> of <see cref="RepositoryHook"/>s representing hooks for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
public IObservable<RepositoryHook> GetAll(int repositoryId)
|
||||
{
|
||||
return GetAll(repositoryId, ApiOptions.None);
|
||||
@@ -61,7 +61,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The repository's name</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#list">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="IObservable{RepositoryHook}"/> of <see cref="RepositoryHook"/>s representing hooks for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
public IObservable<RepositoryHook> GetAll(string owner, string name, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -77,7 +77,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The repository's owner</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#list">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="IObservable{RepositoryHook}"/> of <see cref="RepositoryHook"/>s representing hooks for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
public IObservable<RepositoryHook> GetAll(int repositoryId, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNull(options, "options");
|
||||
@@ -92,7 +92,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The repository's name</param>
|
||||
/// <param name="hookId">The repository's hook id</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#get-single-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing hook for specified hook id</returns>
|
||||
/// <returns></returns>
|
||||
public IObservable<RepositoryHook> Get(string owner, string name, int hookId)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -107,7 +107,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The repository's owner</param>
|
||||
/// <param name="hookId">The repository's hook id</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#get-single-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing hook for specified hook id</returns>
|
||||
/// <returns></returns>
|
||||
public IObservable<RepositoryHook> Get(int repositoryId, int hookId)
|
||||
{
|
||||
return _client.Get(repositoryId, hookId).ToObservable();
|
||||
@@ -120,7 +120,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The repository's name</param>
|
||||
/// <param name="hook">The hook's parameters</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#create-a-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing created hook for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
public IObservable<RepositoryHook> Create(string owner, string name, NewRepositoryHook hook)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -136,7 +136,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The repository's owner</param>
|
||||
/// <param name="hook">The hook's parameters</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#create-a-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing created hook for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
public IObservable<RepositoryHook> Create(int repositoryId, NewRepositoryHook hook)
|
||||
{
|
||||
Ensure.ArgumentNotNull(hook, "hook");
|
||||
@@ -152,7 +152,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="hookId">The repository's hook id</param>
|
||||
/// <param name="hook">The requested changes to an edit repository hook</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#edit-a-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing modified hook for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
public IObservable<RepositoryHook> Edit(string owner, string name, int hookId, EditRepositoryHook hook)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -169,7 +169,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="hookId">The repository's hook id</param>
|
||||
/// <param name="hook">The requested changes to an edit repository hook</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#edit-a-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing modified hook for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
public IObservable<RepositoryHook> Edit(int repositoryId, int hookId, EditRepositoryHook hook)
|
||||
{
|
||||
Ensure.ArgumentNotNull(hook, "hook");
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Octokit
|
||||
/// <param name="owner">The repository's owner</param>
|
||||
/// <param name="name">The repository's name</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#list">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="IReadOnlyList{RepositoryHook}"/> of <see cref="RepositoryHook"/>s representing hooks for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
Task<IReadOnlyList<RepositoryHook>> GetAll(string owner, string name);
|
||||
|
||||
/// <summary>
|
||||
@@ -26,7 +26,7 @@ namespace Octokit
|
||||
/// </summary>
|
||||
/// <param name="repositoryId">The repository's ID</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#list">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="IReadOnlyList{RepositoryHook}"/> of <see cref="RepositoryHook"/>s representing hooks for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
Task<IReadOnlyList<RepositoryHook>> GetAll(int repositoryId);
|
||||
|
||||
/// <summary>
|
||||
@@ -36,7 +36,7 @@ namespace Octokit
|
||||
/// <param name="name">The repository's name</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#list">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="IReadOnlyList{RepositoryHook}"/> of <see cref="RepositoryHook"/>s representing hooks for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
Task<IReadOnlyList<RepositoryHook>> GetAll(string owner, string name, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
@@ -45,7 +45,7 @@ namespace Octokit
|
||||
/// <param name="repositoryId">The repository's ID</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#list">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="IReadOnlyList{RepositoryHook}"/> of <see cref="RepositoryHook"/>s representing hooks for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
Task<IReadOnlyList<RepositoryHook>> GetAll(int repositoryId, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
@@ -55,7 +55,7 @@ namespace Octokit
|
||||
/// <param name="name">The repository's name</param>
|
||||
/// <param name="hookId">The repository's hook id</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#get-single-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing hook for specified hook id</returns>
|
||||
/// <returns></returns>
|
||||
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get", Justification = "This is ok; we're matching HTTP verbs not keywords")]
|
||||
Task<RepositoryHook> Get(string owner, string name, int hookId);
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace Octokit
|
||||
/// <param name="repositoryId">The repository's ID</param>
|
||||
/// <param name="hookId">The repository's hook id</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#get-single-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing hook for specified hook id</returns>
|
||||
/// <returns></returns>
|
||||
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get", Justification = "This is ok; we're matching HTTP verbs not keywords")]
|
||||
Task<RepositoryHook> Get(int repositoryId, int hookId);
|
||||
|
||||
@@ -76,7 +76,7 @@ namespace Octokit
|
||||
/// <param name="name">The repository's name</param>
|
||||
/// <param name="hook">The hook's parameters</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#create-a-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing created hook for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
Task<RepositoryHook> Create(string owner, string name, NewRepositoryHook hook);
|
||||
|
||||
/// <summary>
|
||||
@@ -85,7 +85,7 @@ namespace Octokit
|
||||
/// <param name="repositoryId">The repository's ID</param>
|
||||
/// <param name="hook">The hook's parameters</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#create-a-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing created hook for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
Task<RepositoryHook> Create(int repositoryId, NewRepositoryHook hook);
|
||||
|
||||
/// <summary>
|
||||
@@ -96,7 +96,7 @@ namespace Octokit
|
||||
/// <param name="hookId">The repository's hook id</param>
|
||||
/// <param name="hook">The requested changes to an edit repository hook</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#edit-a-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing modified hook for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
Task<RepositoryHook> Edit(string owner, string name, int hookId, EditRepositoryHook hook);
|
||||
|
||||
/// <summary>
|
||||
@@ -106,7 +106,7 @@ namespace Octokit
|
||||
/// <param name="hookId">The repository's hook id</param>
|
||||
/// <param name="hook">The requested changes to an edit repository hook</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#edit-a-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing modified hook for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
Task<RepositoryHook> Edit(int repositoryId, int hookId, EditRepositoryHook hook);
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace Octokit
|
||||
/// <param name="owner">The repository's owner</param>
|
||||
/// <param name="name">The repository's name</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#list">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="IReadOnlyList{RepositoryHook}"/> of <see cref="RepositoryHook"/>s representing hooks for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
public Task<IReadOnlyList<RepositoryHook>> GetAll(string owner, string name)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -40,7 +40,7 @@ namespace Octokit
|
||||
/// </summary>
|
||||
/// <param name="repositoryId">The repository's ID</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#list">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="IReadOnlyList{RepositoryHook}"/> of <see cref="RepositoryHook"/>s representing hooks for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
public Task<IReadOnlyList<RepositoryHook>> GetAll(int repositoryId)
|
||||
{
|
||||
return GetAll(repositoryId, ApiOptions.None);
|
||||
@@ -53,7 +53,7 @@ namespace Octokit
|
||||
/// <param name="name">The repository's name</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#list">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="IReadOnlyList{RepositoryHook}"/> of <see cref="RepositoryHook"/>s representing hooks for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
public Task<IReadOnlyList<RepositoryHook>> GetAll(string owner, string name, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -69,7 +69,7 @@ namespace Octokit
|
||||
/// <param name="repositoryId">The repository's ID</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#list">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="IReadOnlyList{RepositoryHook}"/> of <see cref="RepositoryHook"/>s representing hooks for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
public Task<IReadOnlyList<RepositoryHook>> GetAll(int repositoryId, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNull(options, "options");
|
||||
@@ -84,7 +84,7 @@ namespace Octokit
|
||||
/// <param name="name">The repository's name</param>
|
||||
/// <param name="hookId">The repository's hook id</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#get-single-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing hook for specified hook id</returns>
|
||||
/// <returns></returns>
|
||||
public Task<RepositoryHook> Get(string owner, string name, int hookId)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -99,7 +99,7 @@ namespace Octokit
|
||||
/// <param name="repositoryId">The repository's ID</param>
|
||||
/// <param name="hookId">The repository's hook id</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#get-single-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing hook for specified hook id</returns>
|
||||
/// <returns></returns>
|
||||
public Task<RepositoryHook> Get(int repositoryId, int hookId)
|
||||
{
|
||||
return ApiConnection.Get<RepositoryHook>(ApiUrls.RepositoryHookById(repositoryId, hookId));
|
||||
@@ -112,7 +112,7 @@ namespace Octokit
|
||||
/// <param name="name">The repository's name</param>
|
||||
/// <param name="hook">The hook's parameters</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#create-a-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing created hook for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
public Task<RepositoryHook> Create(string owner, string name, NewRepositoryHook hook)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -128,7 +128,7 @@ namespace Octokit
|
||||
/// <param name="repositoryId">The repository's ID</param>
|
||||
/// <param name="hook">The hook's parameters</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#create-a-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing created hook for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
public Task<RepositoryHook> Create(int repositoryId, NewRepositoryHook hook)
|
||||
{
|
||||
Ensure.ArgumentNotNull(hook, "hook");
|
||||
@@ -144,7 +144,7 @@ namespace Octokit
|
||||
/// <param name="hookId">The repository's hook id</param>
|
||||
/// <param name="hook">The requested changes to an edit repository hook</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#edit-a-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing modified hook for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
public Task<RepositoryHook> Edit(string owner, string name, int hookId, EditRepositoryHook hook)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -161,7 +161,7 @@ namespace Octokit
|
||||
/// <param name="hookId">The repository's hook id</param>
|
||||
/// <param name="hook">The requested changes to an edit repository hook</param>
|
||||
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#edit-a-hook">API documentation</a> for more information.</remarks>
|
||||
/// <returns>A <see cref="RepositoryHook"/> representing modified hook for specified repository</returns>
|
||||
/// <returns></returns>
|
||||
public Task<RepositoryHook> Edit(int repositoryId, int hookId, EditRepositoryHook hook)
|
||||
{
|
||||
Ensure.ArgumentNotNull(hook, "hook");
|
||||
|
||||
Reference in New Issue
Block a user