using System;
using System.Runtime.Serialization;
using GitHub.Services.WebApi;
namespace GitHub.Build.WebApi
{
///
/// Represents the ability to build forks of the selected repository.
///
[DataContract]
public sealed class Forks : BaseSecuredObject
{
public Forks()
{
}
internal Forks(
ISecuredObject securedObject)
: base(securedObject)
{
}
///
/// Indicates whether the trigger should queue builds for forks of the selected repository.
///
[DataMember]
public Boolean Enabled
{
get;
set;
}
///
/// Indicates whether a build should use secrets when building forks of the selected repository.
///
[DataMember]
public Boolean AllowSecrets
{
get;
set;
}
}
}