using System;
namespace MediaBrowser.Model.Tasks
{
///
/// Class TaskTriggerInfo
///
public class TaskTriggerInfo
{
///
/// Gets or sets the type.
///
/// The type.
public string Type { get; set; }
///
/// Gets or sets the time of day.
///
/// The time of day.
public long? TimeOfDayTicks { get; set; }
///
/// Gets or sets the interval.
///
/// The interval.
public long? IntervalTicks { get; set; }
///
/// Gets or sets the system event.
///
/// The system event.
public SystemEvent? SystemEvent { get; set; }
///
/// Gets or sets the day of week.
///
/// The day of week.
public DayOfWeek? DayOfWeek { get; set; }
///
/// Gets or sets the maximum runtime ticks.
///
/// The maximum runtime ticks.
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";
}
}