jellyfin/MediaBrowser.Controller/LiveTv/RecordingInfo.cs

83 lines
2.3 KiB
C#
Raw Normal View History

2013-11-26 03:53:48 +01:00
using MediaBrowser.Model.LiveTv;
using System;
using System.Collections.Generic;
2013-10-31 21:45:58 +01:00
2013-11-25 21:39:23 +01:00
namespace MediaBrowser.Controller.LiveTv
2013-10-31 21:45:58 +01:00
{
public class RecordingInfo
{
/// <summary>
/// Id of the recording.
/// </summary>
public string Id { get; set; }
/// <summary>
/// ChannelId of the recording.
/// </summary>
2013-10-31 21:45:58 +01:00
public string ChannelId { get; set; }
/// <summary>
/// ChannelName of the recording.
/// </summary>
2013-10-31 21:45:58 +01:00
public string ChannelName { get; set; }
2013-11-25 22:53:06 +01: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 21:45:58 +01:00
public string Name { get; set; }
/// <summary>
/// Description of the recording.
/// </summary>
2013-10-31 21:45:58 +01:00
public string Description { get; set; }
/// <summary>
/// The start date of the recording, in UTC.
2013-10-31 21:45:58 +01:00
/// </summary>
public DateTime StartDate { get; set; }
/// <summary>
/// The end date of the recording, in UTC.
2013-10-31 21:45:58 +01:00
/// </summary>
public DateTime EndDate { get; set; }
/// <summary>
2013-11-26 03:53:48 +01:00
/// Gets or sets the status.
/// </summary>
2013-11-26 03:53:48 +01:00
/// <value>The status.</value>
public RecordingStatus Status { get; set; }
/// <summary>
2013-11-25 22:53:06 +01:00
/// Gets or sets a value indicating whether this instance is recurring.
/// </summary>
2013-11-25 22:53:06 +01: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 21:45:58 +01:00
}
2013-11-25 21:39:23 +01:00
}