Files
octokit.net/Octokit/Models/Response/CheckRunOutputResponse.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

44 lines
1.3 KiB
C#

using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class CheckRunOutputResponse
{
public CheckRunOutputResponse()
{
}
public CheckRunOutputResponse(string title, string summary, string text, long annotationsCount)
{
Title = title;
Summary = summary;
Text = text;
AnnotationsCount = annotationsCount;
}
/// <summary>
/// The title of the check run
/// </summary>
public string Title { get; protected set; }
/// <summary>
/// The summary of the check run
/// </summary>
public string Summary { get; protected set; }
/// <summary>
/// The details of the check run
/// </summary>
public string Text { get; protected set; }
/// <summary>
/// The number of annotation entries for the check run (use <see cref="ICheckRunsClient.GetAllAnnotations(string, string, long)"/> to get annotation details)
/// </summary>
public long AnnotationsCount { get; protected set; }
internal string DebuggerDisplay => string.Format(CultureInfo.CurrentCulture, "Title: {0}", Title);
}
}