mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 09:59:06 -07:00
62 lines
1.6 KiB
C#
62 lines
1.6 KiB
C#
#nullable disable
|
|
using System;
|
|
|
|
namespace MediaBrowser.Model.Tasks
|
|
{
|
|
/// <summary>
|
|
/// Class TaskTriggerInfo.
|
|
/// </summary>
|
|
public class TaskTriggerInfo
|
|
{
|
|
/// <summary>
|
|
/// The daily trigger.
|
|
/// </summary>
|
|
public const string TriggerDaily = "DailyTrigger";
|
|
|
|
/// <summary>
|
|
/// The weekly trigger.
|
|
/// </summary>
|
|
public const string TriggerWeekly = "WeeklyTrigger";
|
|
|
|
/// <summary>
|
|
/// The interval trigger.
|
|
/// </summary>
|
|
public const string TriggerInterval = "IntervalTrigger";
|
|
|
|
/// <summary>
|
|
/// The startup trigger.
|
|
/// </summary>
|
|
public const string TriggerStartup = "StartupTrigger";
|
|
|
|
/// <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; }
|
|
}
|
|
}
|