jellyfin/MediaBrowser.Controller/LiveTv/TimerInfo.cs

114 lines
3.5 KiB
C#
Raw Normal View History

2013-11-26 14:36:11 -07:00
using MediaBrowser.Model.LiveTv;
using System;
2016-09-20 12:42:53 -07:00
using System.Collections.Generic;
2013-11-26 14:36:11 -07:00
namespace MediaBrowser.Controller.LiveTv
{
public class TimerInfo
{
2016-09-20 12:42:53 -07:00
public TimerInfo()
{
Genres = new List<string>();
}
2013-11-26 14:36:11 -07:00
/// <summary>
/// Id of the recording.
/// </summary>
public string Id { get; set; }
2013-11-29 23:49:38 -07:00
/// <summary>
2013-11-30 23:25:19 -07:00
/// Gets or sets the series timer identifier.
2013-11-29 23:49:38 -07:00
/// </summary>
2013-11-30 23:25:19 -07:00
/// <value>The series timer identifier.</value>
public string SeriesTimerId { get; set; }
2016-09-20 12:42:53 -07:00
2013-11-26 14:36:11 -07:00
/// <summary>
/// ChannelId of the recording.
/// </summary>
public string ChannelId { get; set; }
/// <summary>
/// Gets or sets the program identifier.
/// </summary>
/// <value>The program identifier.</value>
public string ProgramId { get; set; }
2016-09-20 12:42:53 -07:00
2013-11-26 14:36:11 -07:00
/// <summary>
/// Name of the recording.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Description of the recording.
/// </summary>
2013-12-12 21:06:38 -07:00
public string Overview { get; set; }
2013-11-26 14:36:11 -07:00
/// <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>
2013-12-17 22:44:46 -07:00
/// Gets or sets the pre padding seconds.
/// </summary>
2013-12-17 22:44:46 -07:00
/// <value>The pre padding seconds.</value>
public int PrePaddingSeconds { get; set; }
/// <summary>
2013-12-17 22:44:46 -07:00
/// Gets or sets the post padding seconds.
/// </summary>
2013-12-17 22:44:46 -07:00
/// <value>The post padding seconds.</value>
public int PostPaddingSeconds { get; set; }
2013-12-04 13:55:42 -07:00
/// <summary>
2013-12-17 22:44:46 -07:00
/// Gets or sets a value indicating whether this instance is pre padding required.
2013-12-04 13:55:42 -07:00
/// </summary>
2013-12-17 22:44:46 -07:00
/// <value><c>true</c> if this instance is pre padding required; otherwise, <c>false</c>.</value>
public bool IsPrePaddingRequired { get; set; }
2013-12-04 13:55:42 -07:00
/// <summary>
2013-12-17 22:44:46 -07:00
/// Gets or sets a value indicating whether this instance is post padding required.
2013-12-04 13:55:42 -07:00
/// </summary>
2013-12-17 22:44:46 -07:00
/// <value><c>true</c> if this instance is post padding required; otherwise, <c>false</c>.</value>
public bool IsPostPaddingRequired { get; set; }
2016-09-20 12:42:53 -07:00
2013-12-16 23:08:06 -07:00
/// <summary>
/// Gets or sets the priority.
/// </summary>
/// <value>The priority.</value>
public int Priority { get; set; }
2016-09-14 23:23:39 -07:00
// Program properties
public int? SeasonNumber { get; set; }
/// <summary>
/// Gets or sets the episode number.
/// </summary>
/// <value>The episode number.</value>
public int? EpisodeNumber { get; set; }
public bool IsMovie { get; set; }
public bool IsKids { get; set; }
public bool IsSports { get; set; }
public int? ProductionYear { get; set; }
public string EpisodeTitle { get; set; }
public DateTime? OriginalAirDate { get; set; }
public bool IsProgramSeries { get; set; }
2016-09-20 12:42:53 -07:00
public string HomePageUrl { get; set; }
public float? CommunityRating { get; set; }
public string ShortOverview { get; set; }
public string OfficialRating { get; set; }
public List<string> Genres { get; set; }
2013-11-26 14:36:11 -07:00
}
}