GitHub Actions Runner

This commit is contained in:
Tingluo Huang
2019-10-10 00:52:42 -04:00
commit c8afc84840
1255 changed files with 198670 additions and 0 deletions

View File

@@ -0,0 +1,63 @@
using System;
using System.Runtime.Serialization;
using GitHub.Services.WebApi;
namespace GitHub.Build.WebApi
{
/// <summary>
/// Represents metadata about builds in the system.
/// </summary>
[DataContract]
public class BuildMetric : BaseSecuredObject
{
public BuildMetric()
{
}
internal BuildMetric(
ISecuredObject securedObject)
:base(securedObject)
{
}
/// <summary>
/// The name of the metric.
/// </summary>
[DataMember(EmitDefaultValue = false)]
public String Name
{
get;
set;
}
/// <summary>
/// The scope.
/// </summary>
[DataMember(EmitDefaultValue = false)]
public String Scope
{
get;
set;
}
/// <summary>
/// The value.
/// </summary>
[DataMember(EmitDefaultValue = true)]
public Int32 IntValue
{
get;
set;
}
/// <summary>
/// The date for the scope.
/// </summary>
[DataMember(EmitDefaultValue = false)]
public DateTime? Date
{
get;
set;
}
}
}