2013-11-27 19:04:19 +00:00
|
|
|
|
using System;
|
2014-01-17 18:23:00 +00:00
|
|
|
|
using System.ComponentModel;
|
2013-11-27 19:04:19 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.LiveTv
|
|
|
|
|
{
|
2014-01-17 18:23:00 +00:00
|
|
|
|
public class TimerInfoDto : INotifyPropertyChanged
|
2013-11-27 19:04:19 +00:00
|
|
|
|
{
|
2013-11-29 16:58:24 +00:00
|
|
|
|
/// <summary>
|
2013-11-27 19:04:19 +00:00
|
|
|
|
/// 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; }
|
2013-11-29 16:58:24 +00:00
|
|
|
|
|
2013-11-27 19:04:19 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// ChannelId of the recording.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ChannelId { get; set; }
|
|
|
|
|
|
2013-12-15 01:17:57 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the external channel identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The external channel identifier.</value>
|
|
|
|
|
public string ExternalChannelId { get; set; }
|
|
|
|
|
|
2013-11-27 19:04:19 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// ChannelName of the recording.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ChannelName { get; set; }
|
|
|
|
|
|
2013-12-15 14:19:24 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the name of the service.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The name of the service.</value>
|
|
|
|
|
public string ServiceName { get; set; }
|
|
|
|
|
|
2013-11-29 16:58:24 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the program identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The program identifier.</value>
|
|
|
|
|
public string ProgramId { get; set; }
|
|
|
|
|
|
2013-12-16 18:44:03 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the external program identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The external program identifier.</value>
|
|
|
|
|
public string ExternalProgramId { get; set; }
|
|
|
|
|
|
2013-11-27 19:04:19 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Name of the recording.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Description of the recording.
|
|
|
|
|
/// </summary>
|
2013-12-13 04:06:38 +00:00
|
|
|
|
public string Overview { get; set; }
|
2013-11-27 19:04:19 +00:00
|
|
|
|
|
|
|
|
|
/// <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>
|
2013-12-01 06:25:19 +00:00
|
|
|
|
/// Gets or sets the series timer identifier.
|
2013-11-27 19:04:19 +00:00
|
|
|
|
/// </summary>
|
2013-12-01 06:25:19 +00:00
|
|
|
|
/// <value>The series timer identifier.</value>
|
|
|
|
|
public string SeriesTimerId { get; set; }
|
2013-11-29 21:28:12 +00:00
|
|
|
|
|
2013-12-15 01:17:57 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the external series timer identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The external series timer identifier.</value>
|
|
|
|
|
public string ExternalSeriesTimerId { get; set; }
|
2013-12-18 05:44:46 +00:00
|
|
|
|
|
2013-11-29 21:28:12 +00:00
|
|
|
|
/// <summary>
|
2013-12-18 05:44:46 +00:00
|
|
|
|
/// Gets or sets the pre padding seconds.
|
2013-11-29 21:28:12 +00:00
|
|
|
|
/// </summary>
|
2013-12-18 05:44:46 +00:00
|
|
|
|
/// <value>The pre padding seconds.</value>
|
|
|
|
|
public int PrePaddingSeconds { get; set; }
|
2013-11-29 21:28:12 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2013-12-18 05:44:46 +00:00
|
|
|
|
/// Gets or sets the post padding seconds.
|
2013-11-29 21:28:12 +00:00
|
|
|
|
/// </summary>
|
2013-12-18 05:44:46 +00:00
|
|
|
|
/// <value>The post padding seconds.</value>
|
|
|
|
|
public int PostPaddingSeconds { get; set; }
|
2013-12-04 20:55:42 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2013-12-18 05:44:46 +00:00
|
|
|
|
/// Gets or sets a value indicating whether this instance is pre padding required.
|
2013-12-04 20:55:42 +00:00
|
|
|
|
/// </summary>
|
2013-12-18 05:44:46 +00:00
|
|
|
|
/// <value><c>true</c> if this instance is pre padding required; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool IsPrePaddingRequired { get; set; }
|
2013-12-04 20:55:42 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2013-12-18 05:44:46 +00:00
|
|
|
|
/// Gets or sets a value indicating whether this instance is post padding required.
|
2013-12-04 20:55:42 +00:00
|
|
|
|
/// </summary>
|
2013-12-18 05:44:46 +00:00
|
|
|
|
/// <value><c>true</c> if this instance is post padding required; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool IsPostPaddingRequired { get; set; }
|
2013-12-04 04:18:50 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2013-12-20 20:09:49 +00:00
|
|
|
|
/// Gets or sets the run time ticks.
|
2013-12-04 04:18:50 +00:00
|
|
|
|
/// </summary>
|
2013-12-20 20:09:49 +00:00
|
|
|
|
/// <value>The run time ticks.</value>
|
|
|
|
|
public long? RunTimeTicks { get; set; }
|
2013-12-17 06:08:06 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the priority.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The priority.</value>
|
|
|
|
|
public int Priority { get; set; }
|
2013-12-22 17:16:24 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the program information.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The program information.</value>
|
|
|
|
|
public ProgramInfoDto ProgramInfo { get; set; }
|
2014-01-17 18:23:00 +00:00
|
|
|
|
|
2014-01-20 19:55:49 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Occurs when a property value changes.
|
|
|
|
|
/// </summary>
|
2014-01-17 18:23:00 +00:00
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
2013-11-29 16:58:24 +00:00
|
|
|
|
}
|
2013-11-27 19:04:19 +00:00
|
|
|
|
}
|