mirror of
https://github.com/actions/runner.git
synced 2025-12-10 20:36:49 +00:00
54 lines
1.1 KiB
C#
54 lines
1.1 KiB
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
using GitHub.Services.WebApi;
|
|
|
|
namespace GitHub.Build.WebApi
|
|
{
|
|
/// <summary>
|
|
/// Represents a build log.
|
|
/// </summary>
|
|
[DataContract]
|
|
public class BuildLog : BuildLogReference
|
|
{
|
|
public BuildLog()
|
|
{
|
|
}
|
|
|
|
public BuildLog(
|
|
ISecuredObject securedObject)
|
|
: base(securedObject)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// The number of lines in the log.
|
|
/// </summary>
|
|
[DataMember(EmitDefaultValue = false)]
|
|
public Int64 LineCount
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// The date and time the log was created.
|
|
/// </summary>
|
|
[DataMember]
|
|
public DateTime? CreatedOn
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// The date and time the log was last changed.
|
|
/// </summary>
|
|
[DataMember]
|
|
public DateTime? LastChangedOn
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
}
|