namespace Octokit
{
///
/// A client for GitHub's Checks API.
///
///
/// See the Checks API documentation for more information.
///
public class ChecksClient : IChecksClient
{
///
/// Initializes a new GitHub Checks API client.
///
/// An API connection
public ChecksClient(ApiConnection apiConnection)
{
Run = new CheckRunsClient(apiConnection);
Suite = new CheckSuitesClient(apiConnection);
}
///
/// A client for GitHub's Check Runs API.
///
///
/// See the Check Runs API documentation for more information.
///
public ICheckRunsClient Run { get; private set; }
///
/// A client for GitHub's Check Suites API.
///
///
/// See the Check Suites API documentation for more information.
///
public ICheckSuitesClient Suite { get; private set; }
}
}