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:
43
src/Sdk/BuildWebApi/Api/Contracts/Dependency.cs
Normal file
43
src/Sdk/BuildWebApi/Api/Contracts/Dependency.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
using GitHub.Services.WebApi;
|
||||
|
||||
namespace GitHub.Build.WebApi
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a dependency.
|
||||
/// </summary>
|
||||
[DataContract]
|
||||
public class Dependency : BaseSecuredObject
|
||||
{
|
||||
public Dependency()
|
||||
{
|
||||
}
|
||||
|
||||
internal Dependency(
|
||||
ISecuredObject securedObject)
|
||||
: base(securedObject)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The scope. This names the object referenced by the dependency.
|
||||
/// </summary>
|
||||
[DataMember]
|
||||
public String Scope
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The event. The dependency is satisfied when the referenced object emits this event.
|
||||
/// </summary>
|
||||
[DataMember]
|
||||
public String Event
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user