Files
Dylan Morley a2a4f09c24 [FEAT]: Adding Copilot for Business support (#2826)
* 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>
2024-01-02 15:57:14 -06:00

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; }
}
}