2020-04-05 09:10:56 -07:00
|
|
|
#nullable disable
|
2020-02-03 17:49:27 -07:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 13:02:23 -07:00
|
|
|
using System;
|
2018-12-27 16:27:57 -07:00
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Tasks
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-02-03 17:49:27 -07:00
|
|
|
/// Class TaskTriggerInfo.
|
2018-12-27 16:27:57 -07:00
|
|
|
/// </summary>
|
|
|
|
public class TaskTriggerInfo
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the type.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The type.</value>
|
|
|
|
public string Type { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the time of day.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The time of day.</value>
|
|
|
|
public long? TimeOfDayTicks { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the interval.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The interval.</value>
|
|
|
|
public long? IntervalTicks { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the day of week.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The day of week.</value>
|
|
|
|
public DayOfWeek? DayOfWeek { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the maximum runtime ticks.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The maximum runtime ticks.</value>
|
|
|
|
public long? MaxRuntimeTicks { get; set; }
|
|
|
|
|
|
|
|
public const string TriggerDaily = "DailyTrigger";
|
|
|
|
public const string TriggerWeekly = "WeeklyTrigger";
|
|
|
|
public const string TriggerInterval = "IntervalTrigger";
|
|
|
|
public const string TriggerSystemEvent = "SystemEventTrigger";
|
|
|
|
public const string TriggerStartup = "StartupTrigger";
|
|
|
|
}
|
|
|
|
}
|