mirror of
https://github.com/actions/runner.git
synced 2025-12-18 00:07:08 +00:00
GitHub Actions Runner
This commit is contained in:
54
src/Sdk/BuildWebApi/Api/Contracts/BuildSettings.cs
Normal file
54
src/Sdk/BuildWebApi/Api/Contracts/BuildSettings.cs
Normal file
@@ -0,0 +1,54 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user