@ -3,8 +3,47 @@ using System.ComponentModel;
namespace MediaBrowser.Model.LiveTv
{
public class TimerInfoDto : INotifyPropertyChanged
public class TimerInfoDto : BaseTimerInfoDto
{
/// <summary>
/// Gets or sets the status.
/// </summary>
/// <value>The status.</value>
public RecordingStatus Status { get ; set ; }
/// <summary>
/// Gets or sets the series timer identifier.
/// </summary>
/// <value>The series timer identifier.</value>
public string SeriesTimerId { get ; set ; }
/// <summary>
/// Gets or sets the external series timer identifier.
/// </summary>
/// <value>The external series timer identifier.</value>
public string ExternalSeriesTimerId { get ; set ; }
/// <summary>
/// Gets or sets the run time ticks.
/// </summary>
/// <value>The run time ticks.</value>
public long? RunTimeTicks { get ; set ; }
/// <summary>
/// Gets or sets the program information.
/// </summary>
/// <value>The program information.</value>
public ProgramInfoDto ProgramInfo { get ; set ; }
}
public class BaseTimerInfoDto : INotifyPropertyChanged
{
/// <summary>
/// Occurs when a property value changes.
/// </summary>
public event PropertyChangedEventHandler PropertyChanged ;
/// <summary>
/// Id of the recording.
/// </summary>
@ -26,18 +65,12 @@ namespace MediaBrowser.Model.LiveTv
/// </summary>
/// <value>The external channel identifier.</value>
public string ExternalChannelId { get ; set ; }
/// <summary>
/// ChannelName of the recording.
/// </summary>
public string ChannelName { get ; set ; }
/// <summary>
/// Gets or sets the name of the service.
/// </summary>
/// <value>The name of the service.</value>
public string ServiceName { get ; set ; }
/// <summary>
/// Gets or sets the program identifier.
/// </summary>
@ -49,7 +82,7 @@ namespace MediaBrowser.Model.LiveTv
/// </summary>
/// <value>The external program identifier.</value>
public string ExternalProgramId { get ; set ; }
/// <summary>
/// Name of the recording.
/// </summary>
@ -71,22 +104,16 @@ namespace MediaBrowser.Model.LiveTv
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 the series timer identifier.
/// Gets or sets the name of the service.
/// </summary>
/// <value>The series timer identifier .</value>
public string Ser iesTimerId { get ; set ; }
/// <value>The name of the service.</value>
public string ServiceName { get ; set ; }
/// <summary>
/// Gets or sets the external series timer identifier .
/// Gets or sets the priority.
/// </summary>
/// <value>The external series timer identifier .</value>
public string ExternalSeriesTimerId { get ; set ; }
/// <value>The priority .</value>
public int Priority { get ; set ; }
/// <summary>
/// Gets or sets the pre padding seconds.
@ -111,28 +138,5 @@ namespace MediaBrowser.Model.LiveTv
/// </summary>
/// <value><c>true</c> if this instance is post padding required; otherwise, <c>false</c>.</value>
public bool IsPostPaddingRequired { get ; set ; }
/// <summary>
/// Gets or sets the run time ticks.
/// </summary>
/// <value>The run time ticks.</value>
public long? RunTimeTicks { get ; set ; }
/// <summary>
/// Gets or sets the priority.
/// </summary>
/// <value>The priority.</value>
public int Priority { get ; set ; }
/// <summary>
/// Gets or sets the program information.
/// </summary>
/// <value>The program information.</value>
public ProgramInfoDto ProgramInfo { get ; set ; }
/// <summary>
/// Occurs when a property value changes.
/// </summary>
public event PropertyChangedEventHandler PropertyChanged ;
}
}