2021-08-18 23:16:57 -04:00
|
|
|
using System;
|
2021-08-19 08:44:38 -04:00
|
|
|
using Ical.Net.CalendarComponents;
|
|
|
|
using Ical.Net.DataTypes;
|
|
|
|
|
2021-08-18 23:16:57 -04:00
|
|
|
namespace Schedulable
|
2021-08-19 08:44:38 -04:00
|
|
|
{
|
|
|
|
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
|
|
|
}
|