using System.Collections.Generic; using System.Diagnostics; using System.Globalization; namespace Octokit { [DebuggerDisplay("{DebuggerDisplay,nq}")] public class CheckRunsResponse { public CheckRunsResponse() { } public CheckRunsResponse(int totalCount, IReadOnlyList checkRuns) { TotalCount = totalCount; CheckRuns = checkRuns; } /// /// The total number of check runs that match the request filter /// public int TotalCount { get; protected set; } /// /// The retrieved check runs /// public IReadOnlyList CheckRuns { get; protected set; } internal string DebuggerDisplay => string.Format(CultureInfo.CurrentCulture, "TotalCount: {0}, CheckRuns: {1}", TotalCount, CheckRuns.Count); } }