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,68 @@
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace GitHub.Build.WebApi
{
/// <summary>
/// Represents an entry in a workspace mapping.
/// </summary>
[DataContract]
public class MappingDetails
{
/// <summary>
/// The server path.
/// </summary>
[DataMember(Name = "serverPath")]
public String ServerPath
{
get;
set;
}
/// <summary>
/// The mapping type.
/// </summary>
[DataMember(Name = "mappingType")]
public String MappingType
{
get;
set;
}
/// <summary>
/// The local path.
/// </summary>
[DataMember(Name = "localPath")]
public String LocalPath
{
get;
set;
}
}
/// <summary>
/// Represents a workspace mapping.
/// </summary>
[DataContract]
public class BuildWorkspace
{
/// <summary>
/// The list of workspace mapping entries.
/// </summary>
public List<MappingDetails> Mappings
{
get
{
if (m_mappings == null)
{
m_mappings = new List<MappingDetails>();
}
return m_mappings;
}
}
[DataMember(Name = "mappings")]
private List<MappingDetails> m_mappings;
}
}