mirror of
https://github.com/actions/runner.git
synced 2025-12-13 19:03:44 +00:00
GitHub Actions Runner
This commit is contained in:
55
src/Sdk/BuildWebApi/Api/Contracts/BuildReportMetadata.cs
Normal file
55
src/Sdk/BuildWebApi/Api/Contracts/BuildReportMetadata.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace GitHub.Build.WebApi
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents information about a build report.
|
||||
/// </summary>
|
||||
[DataContract]
|
||||
public class BuildReportMetadata
|
||||
{
|
||||
public BuildReportMetadata()
|
||||
{
|
||||
}
|
||||
|
||||
public BuildReportMetadata(Int32 buildId, String type)
|
||||
{
|
||||
this.BuildId = buildId;
|
||||
this.Type = type;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The Id of the build.
|
||||
/// </summary>
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public Int32 BuildId
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The content of the report.
|
||||
/// </summary>
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public String Content
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The type of the report.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See <see cref="ReportTypes" /> for a list of supported report types.
|
||||
/// </remarks>
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public String Type
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user