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/DTWebApi/WebApi/TaskLog.cs
Normal file
55
src/Sdk/DTWebApi/WebApi/TaskLog.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
using GitHub.Services.Common;
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace GitHub.DistributedTask.WebApi
|
||||
{
|
||||
[DataContract]
|
||||
public sealed class TaskLog : TaskLogReference
|
||||
{
|
||||
internal TaskLog()
|
||||
{
|
||||
}
|
||||
|
||||
public TaskLog(String path)
|
||||
{
|
||||
ArgumentUtility.CheckStringForNullOrEmpty(path, "path");
|
||||
this.Path = path;
|
||||
}
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public Uri IndexLocation
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public String Path
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public Int64 LineCount
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[DataMember]
|
||||
public DateTime CreatedOn
|
||||
{
|
||||
get;
|
||||
internal set;
|
||||
}
|
||||
|
||||
[DataMember]
|
||||
public DateTime LastChangedOn
|
||||
{
|
||||
get;
|
||||
internal set;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user