Files
octokit.net/Octokit/Models/Request/NewCheckSuite.cs
Ryan Gribble 101522070d Release v0.31 - Check yo' self! (#1851)
* Fix whitespace/formatting with /FormatCode build option

* Update release notes

* fix a few failing integration tests

* Adjust required fields on UpdateCheckRun and NewCheckRun request models and fix tests
Tidy up field accessors and XmlDoc comments

* Update date in ReleaseNotes

* Keeping request models simple (avoid inheritance) - makes it easier when we move to generated models
2018-07-21 18:12:42 +10:00

26 lines
690 B
C#

using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class NewCheckSuite
{
/// <summary>
/// Creates a new Check Suite
/// </summary>
/// <param name="headSha">Required. The sha of the head commit</param>
public NewCheckSuite(string headSha)
{
HeadSha = headSha;
}
/// <summary>
/// Required. The sha of the head commit
/// </summary>
public string HeadSha { get; protected set; }
internal string DebuggerDisplay => string.Format(CultureInfo.InvariantCulture, "HeadSha: {0}", HeadSha);
}
}