mirror of
https://github.com/actions/runner.git
synced 2025-12-13 19:03:44 +00:00
55 lines
1.1 KiB
C#
55 lines
1.1 KiB
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
using GitHub.Services.WebApi;
|
|
|
|
namespace GitHub.Build.WebApi
|
|
{
|
|
/// <summary>
|
|
/// Represents system-wide build settings.
|
|
/// </summary>
|
|
[DataContract]
|
|
public class BuildSettings : BaseSecuredObject
|
|
{
|
|
public BuildSettings()
|
|
: this(null)
|
|
{
|
|
}
|
|
|
|
public BuildSettings(
|
|
ISecuredObject securedObject)
|
|
: base(securedObject)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// The default retention policy.
|
|
/// </summary>
|
|
[DataMember]
|
|
public RetentionPolicy DefaultRetentionPolicy
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// The maximum retention policy.
|
|
/// </summary>
|
|
[DataMember]
|
|
public RetentionPolicy MaximumRetentionPolicy
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// The number of days to keep records of deleted builds.
|
|
/// </summary>
|
|
[DataMember]
|
|
public Int32 DaysToKeepDeletedBuildsBeforeDestroy
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
}
|