diff options
Diffstat (limited to 'MediaBrowser.Model/LiveTv/TimerInfoDto.cs')
| -rw-r--r-- | MediaBrowser.Model/LiveTv/TimerInfoDto.cs | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/MediaBrowser.Model/LiveTv/TimerInfoDto.cs b/MediaBrowser.Model/LiveTv/TimerInfoDto.cs new file mode 100644 index 000000000..6a8339031 --- /dev/null +++ b/MediaBrowser.Model/LiveTv/TimerInfoDto.cs @@ -0,0 +1,72 @@ +using System; +using System.Collections.Generic; + +namespace MediaBrowser.Model.LiveTv +{ + public class TimerInfoDto + { + /// <summary> + /// Id of the recording. + /// </summary> + public string Id { get; set; } + + /// <summary> + /// Gets or sets the external identifier. + /// </summary> + /// <value>The external identifier.</value> + public string ExternalId { get; set; } + + /// <summary> + /// ChannelId of the recording. + /// </summary> + public string ChannelId { get; set; } + + /// <summary> + /// ChannelName of the recording. + /// </summary> + public string ChannelName { get; set; } + + /// <summary> + /// Name of the recording. + /// </summary> + public string Name { get; set; } + + /// <summary> + /// Description of the recording. + /// </summary> + public string Description { get; set; } + + /// <summary> + /// The start date of the recording, in UTC. + /// </summary> + public DateTime StartDate { get; set; } + + /// <summary> + /// The end date of the recording, in UTC. + /// </summary> + public DateTime EndDate { get; set; } + + /// <summary> + /// Gets or sets the status. + /// </summary> + /// <value>The status.</value> + public RecordingStatus Status { get; set; } + + /// <summary> + /// Gets or sets a value indicating whether this instance is recurring. + /// </summary> + /// <value><c>true</c> if this instance is recurring; otherwise, <c>false</c>.</value> + public bool IsRecurring { get; set; } + + /// <summary> + /// Gets or sets the recurring days. + /// </summary> + /// <value>The recurring days.</value> + public List<DayOfWeek> RecurringDays { get; set; } + + public TimerInfoDto() + { + RecurringDays = new List<DayOfWeek>(); + } + } +} |
