mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-27 16:42:03 +00:00
101522070d
* 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
44 lines
1.3 KiB
C#
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);
|
|
}
|
|
} |