89 lines
2.4 KiB
C#
89 lines
2.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace MediaBrowser.Model.LiveTv
|
|
{
|
|
public class RecordingInfoDto
|
|
{
|
|
/// <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>
|
|
/// Gets or sets the program identifier.
|
|
/// </summary>
|
|
/// <value>The program identifier.</value>
|
|
public string ProgramId { get; set; }
|
|
|
|
/// <summary>
|
|
/// ChannelId of the recording.
|
|
/// </summary>
|
|
public string ChannelId { get; set; }
|
|
|
|
/// <summary>
|
|
/// ChannelName of the recording.
|
|
/// </summary>
|
|
public string ChannelName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Name of the recording.
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the path.
|
|
/// </summary>
|
|
/// <value>The path.</value>
|
|
public string Path { get; set; }
|
|
|
|
/// <summary>
|
|
/// Description of the recording.
|
|
/// </summary>
|
|
public string Description { 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>
|
|
/// Gets or sets the status.
|
|
/// </summary>
|
|
/// <value>The status.</value>
|
|
public RecordingStatus Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// Genre of the program.
|
|
/// </summary>
|
|
public List<string> Genres { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether this instance is repeat.
|
|
/// </summary>
|
|
/// <value><c>true</c> if this instance is repeat; otherwise, <c>false</c>.</value>
|
|
public bool IsRepeat { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the episode title.
|
|
/// </summary>
|
|
/// <value>The episode title.</value>
|
|
public string EpisodeTitle { get; set; }
|
|
|
|
public RecordingInfoDto()
|
|
{
|
|
Genres = new List<string>();
|
|
}
|
|
}
|
|
} |