Files
Disco/Disco.Models/UI/Config/JobPreferences/ConfigJobPreferencesIndexModel.cs
T
2024-12-12 16:02:12 +11:00

21 lines
720 B
C#

using Disco.Models.Services.Jobs;
using System.Collections.Generic;
namespace Disco.Models.UI.Config.JobPreferences
{
public interface ConfigJobPreferencesIndexModel : BaseUIModel
{
int LongRunningJobDaysThreshold { get; set; }
int StaleJobMinutesThreshold { get; set; }
LocationModes LocationMode { get; set; }
List<string> LocationList { get; set; }
string OnCreateExpression { get; set; }
string OnCloseExpression { get; set; }
List<KeyValuePair<int, string>> LongRunningJobDaysThresholdOptions();
List<KeyValuePair<int, string>> StaleJobMinutesThresholdOptions();
List<KeyValuePair<string, string>> LocationModeOptions();
}
}