2013-12-15 01:17:57 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.LiveTv
|
|
|
|
|
{
|
|
|
|
|
public class SeriesTimerInfoDto
|
|
|
|
|
{
|
|
|
|
|
/// <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>
|
2013-12-15 14:19:24 +00:00
|
|
|
|
/// Gets or sets the name of the service.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The name of the service.</value>
|
|
|
|
|
public string ServiceName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2013-12-15 01:17:57 +00:00
|
|
|
|
/// Gets or sets the external channel identifier.
|
|
|
|
|
/// </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 program identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The program identifier.</value>
|
|
|
|
|
public string ProgramId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the external program identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The external program identifier.</value>
|
|
|
|
|
public string ExternalProgramId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Name of the recording.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Description of the recording.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Overview { 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>
|
2013-12-16 18:44:03 +00:00
|
|
|
|
/// Gets or sets a value indicating whether [record any time].
|
2013-12-15 01:17:57 +00:00
|
|
|
|
/// </summary>
|
2013-12-16 18:44:03 +00:00
|
|
|
|
/// <value><c>true</c> if [record any time]; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool RecordAnyTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether [record any channel].
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value><c>true</c> if [record any channel]; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool RecordAnyChannel { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether [record new only].
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value><c>true</c> if [record new only]; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool RecordNewOnly { get; set; }
|
2013-12-15 01:17:57 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the days.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The days.</value>
|
|
|
|
|
public List<DayOfWeek> Days { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the day pattern.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The day pattern.</value>
|
|
|
|
|
public DayPattern? DayPattern { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the priority.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The priority.</value>
|
|
|
|
|
public int Priority { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the requested pre padding seconds.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The requested pre padding seconds.</value>
|
|
|
|
|
public int RequestedPrePaddingSeconds { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the requested post padding seconds.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The requested post padding seconds.</value>
|
|
|
|
|
public int RequestedPostPaddingSeconds { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the required pre padding seconds.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The required pre padding seconds.</value>
|
|
|
|
|
public int RequiredPrePaddingSeconds { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the required post padding seconds.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The required post padding seconds.</value>
|
|
|
|
|
public int RequiredPostPaddingSeconds { get; set; }
|
|
|
|
|
|
|
|
|
|
public SeriesTimerInfoDto()
|
|
|
|
|
{
|
|
|
|
|
Days = new List<DayOfWeek>();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|