using System; using System.Diagnostics; using System.Globalization; namespace Octokit { /// /// Request to trigger the creation of a check suite /// [Obsolete("This request has been deprecated in the GitHub Api, however can still be used on GitHub Enterprise 2.14")] [DebuggerDisplay("{DebuggerDisplay,nq}")] public class CheckSuiteTriggerRequest { /// /// Request to trigger the creation of a check suite /// /// The sha of the head commit (required) public CheckSuiteTriggerRequest(string headSha) { HeadSha = headSha; } /// /// The sha of the head commit /// public string HeadSha { get; protected set; } internal virtual string DebuggerDisplay => string.Format(CultureInfo.InvariantCulture, "HeadSha: {0}", HeadSha); } }