mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 04:18:06 +02:00
* Add analyzers to MediaBrowser.XbmcMetadata * Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata * Add analyzers to MediaBrowser.WebDashboard * Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard * Disable SA1600 in favor of CS1591
48 lines
1.4 KiB
C#
48 lines
1.4 KiB
C#
#pragma warning disable CS1591
|
|
|
|
using System;
|
|
|
|
namespace MediaBrowser.Model.Tasks
|
|
{
|
|
/// <summary>
|
|
/// Class TaskTriggerInfo.
|
|
/// </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";
|
|
}
|
|
}
|