jellyfin/MediaBrowser.Model/LiveTv/RecordingInfoDto.cs

119 lines
3.3 KiB
C#
Raw Normal View History

2013-10-31 20:45:58 +00:00
using System;
2013-12-02 21:46:22 +00:00
using System.Collections.Generic;
2013-10-31 20:45:58 +00:00
namespace MediaBrowser.Model.LiveTv
{
2013-11-25 20:39:23 +00:00
public class RecordingInfoDto
2013-10-31 20:45:58 +00:00
{
/// <summary>
/// Id of the recording.
/// </summary>
public string Id { get; set; }
2013-11-25 21:53:06 +00:00
/// <summary>
/// Gets or sets the external identifier.
/// </summary>
/// <value>The external identifier.</value>
public string ExternalId { get; set; }
2013-12-02 21:46:22 +00:00
2013-11-25 21:53:06 +00:00
/// <summary>
/// Gets or sets the program identifier.
/// </summary>
/// <value>The program identifier.</value>
public string ProgramId { get; set; }
2013-12-02 21:46:22 +00:00
/// <summary>
/// ChannelId of the recording.
/// </summary>
2013-10-31 20:45:58 +00:00
public string ChannelId { get; set; }
/// <summary>
/// ChannelName of the recording.
/// </summary>
2013-10-31 20:45:58 +00:00
public string ChannelName { get; set; }
/// <summary>
/// Name of the recording.
/// </summary>
2013-10-31 20:45:58 +00:00
public string Name { get; set; }
2013-12-02 21:46:22 +00:00
/// <summary>
/// Gets or sets the path.
/// </summary>
/// <value>The path.</value>
public string Path { get; set; }
/// <summary>
/// Description of the recording.
/// </summary>
2013-10-31 20:45:58 +00:00
public string Description { get; set; }
/// <summary>
/// The start date of the recording, in UTC.
2013-10-31 20:45:58 +00:00
/// </summary>
public DateTime StartDate { get; set; }
/// <summary>
/// The end date of the recording, in UTC.
2013-10-31 20:45:58 +00:00
/// </summary>
public DateTime EndDate { get; set; }
2013-11-26 02:53:48 +00:00
/// <summary>
/// Gets or sets the status.
/// </summary>
/// <value>The status.</value>
public RecordingStatus Status { get; set; }
2013-12-02 21:46:22 +00:00
/// <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; }
/// <summary>
/// Gets or sets the duration ms.
/// </summary>
/// <value>The duration ms.</value>
public int DurationMs { get; set; }
/// <summary>
/// Gets or sets the type of the media.
/// </summary>
/// <value>The type of the media.</value>
public string MediaType { get; set; }
/// <summary>
/// Gets or sets the type of the channel.
/// </summary>
/// <value>The type of the channel.</value>
public ChannelType ChannelType { get; set; }
/// <summary>
/// Gets or sets the official rating.
/// </summary>
/// <value>The official rating.</value>
public string OfficialRating { get; set; }
/// <summary>
/// Gets or sets the community rating.
/// </summary>
/// <value>The community rating.</value>
public float? CommunityRating { get; set; }
2013-12-02 21:46:22 +00:00
public RecordingInfoDto()
{
Genres = new List<string>();
}
2013-10-31 20:45:58 +00:00
}
}