director/schedulable/Schedulable.cs

17 lines
563 B
C#
Raw Normal View History

2021-08-18 23:16:57 -04:00
using System;
using Ical.Net.CalendarComponents;
using Ical.Net.DataTypes;
2021-08-18 23:16:57 -04:00
namespace Schedulable
{
public class Schedulable
2021-08-18 23:16:57 -04:00
{
2021-08-20 00:26:00 -04:00
//no, not calendar event. Circular reference, trips up jsonconvert.
public string Event { get; set; }
public DateTime OccurrenceStart { get; set; }
public DateTime OccurrenceEnd { get; set; }
public DateTime Showtime { get; set; }
public ScedulableType ScedulableType { get; set; } = ScedulableType.Other;
2021-08-18 23:16:57 -04:00
}
2021-08-20 00:26:00 -04:00
public enum ScedulableType { TwitchStream, YTRelease, Other };
2021-08-18 23:16:57 -04:00
}