mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 03:01:31 +00:00
a2a4f09c24
* initial tests and implementation of Copilot for Business client API * updated billing settings documentation * renames and refactors - clarity and simplified * using context to ensure license clean up * extra documentation and used ApiOptions instead of custom class * implemented observable clients * Fixing convention issues * renaming for clarity --------- Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
24 lines
868 B
C#
24 lines
868 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace Octokit
|
|
{
|
|
/// <summary>
|
|
/// Access GitHub's Copilot for Business API.
|
|
/// </summary>
|
|
public interface ICopilotClient
|
|
{
|
|
/// <summary>
|
|
/// Returns a summary of the Copilot for Business configuration for an organization. Includes a seat
|
|
/// details summary of the current billing cycle, and the mode of seat management.
|
|
/// </summary>
|
|
/// <param name="organization">the organization name to retrieve billing settings for</param>
|
|
/// <returns>A <see cref="BillingSettings"/> instance</returns>
|
|
Task<BillingSettings> GetSummaryForOrganization(string organization);
|
|
|
|
/// <summary>
|
|
/// For checking and managing licenses for GitHub Copilot for Business
|
|
/// </summary>
|
|
ICopilotLicenseClient Licensing { get; }
|
|
}
|
|
}
|