using System.Collections.Generic; using System.Diagnostics; using System.Globalization; namespace Octokit { [DebuggerDisplay("{DebuggerDisplay,nq}")] public class RunnerGroupResponse { public RunnerGroupResponse() { } public RunnerGroupResponse(int totalCount, IReadOnlyList runnerGroups) { TotalCount = totalCount; RunnerGroups = runnerGroups; } /// /// The total number of runner groups. /// public int TotalCount { get; private set; } /// /// The retrieved runner groups. /// public IReadOnlyList RunnerGroups { get; private set; } internal string DebuggerDisplay => string.Format(CultureInfo.CurrentCulture, "TotalCount: {0}, Runner Groups: {1}", TotalCount, RunnerGroups.Count); } }