jellyfin/MediaBrowser.Controller/LiveTv/RecordingInfo.cs

81 lines
2.2 KiB
C#
Raw Normal View History

2013-10-31 13:45:58 -07:00
using System;
using System.Collections.Generic;
2013-10-31 13:45:58 -07:00
2013-11-25 13:39:23 -07:00
namespace MediaBrowser.Controller.LiveTv
2013-10-31 13:45:58 -07:00
{
public class RecordingInfo
{
/// <summary>
/// Id of the recording.
/// </summary>
public string Id { get; set; }
/// <summary>
/// ChannelId of the recording.
/// </summary>
2013-10-31 13:45:58 -07:00
public string ChannelId { get; set; }
/// <summary>
/// ChannelName of the recording.
/// </summary>
2013-10-31 13:45:58 -07:00
public string ChannelName { get; set; }
2013-11-25 14:53:06 -07:00
/// <summary>
/// Gets or sets the program identifier.
/// </summary>
/// <value>The program identifier.</value>
public string ProgramId { get; set; }
/// <summary>
/// Name of the recording.
/// </summary>
2013-10-31 13:45:58 -07:00
public string Name { get; set; }
/// <summary>
/// Description of the recording.
/// </summary>
2013-10-31 13:45:58 -07:00
public string Description { get; set; }
/// <summary>
/// The start date of the recording, in UTC.
2013-10-31 13:45:58 -07:00
/// </summary>
public DateTime StartDate { get; set; }
/// <summary>
/// The end date of the recording, in UTC.
2013-10-31 13:45:58 -07:00
/// </summary>
public DateTime EndDate { get; set; }
/// <summary>
/// Status of the recording.
/// </summary>
public string Status { get; set; } //TODO: Enum for status?? Difference NextPvr,Argus,...
/// <summary>
2013-11-25 14:53:06 -07:00
/// Gets or sets a value indicating whether this instance is recurring.
/// </summary>
2013-11-25 14:53:06 -07:00
/// <value><c>true</c> if this instance is recurring; otherwise, <c>false</c>.</value>
public bool IsRecurring { get; set; }
/// <summary>
/// Parent recurring.
/// </summary>
public string RecurringParent { get; set; }
/// <summary>
/// Start date for the recurring, in UTC.
/// </summary>
public DateTime RecurrringStartDate { get; set; }
/// <summary>
/// End date for the recurring, in UTC
/// </summary>
public DateTime RecurringEndDate { get; set; }
/// <summary>
/// When do we need the recording?
/// </summary>
public List<string> DayMask { get; set; }
2013-10-31 13:45:58 -07:00
}
2013-11-25 13:39:23 -07:00
}