mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
24 lines
935 B
C#
24 lines
935 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace Octokit
|
|
{
|
|
/// <summary>
|
|
/// A client for GitHub's Enterprise Organization API
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// See the <a href="https://developer.github.com/v3/enterprise/orgs/">Enterprise Organization API documentation</a> for more information.
|
|
///</remarks>
|
|
public interface IEnterpriseOrganizationClient
|
|
{
|
|
/// <summary>
|
|
/// Creates an Organization on a GitHub Enterprise appliance (must be Site Admin user).
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// https://developer.github.com/v3/enterprise/orgs/#create-an-organization
|
|
/// </remarks>
|
|
/// <param name="newOrganization">A <see cref="NewOrganization"/> instance describing the organization to be created</param>
|
|
/// <returns>The <see cref="Organization"/> created.</returns>
|
|
Task<Organization> Create(NewOrganization newOrganization);
|
|
}
|
|
}
|