mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
* 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
26 lines
690 B
C#
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);
|
|
}
|
|
}
|