using System;
using System.Collections.Generic;
using MediaBrowser.Model.LiveTv;
namespace MediaBrowser.Controller.LiveTv
{
public class ProgramInfo
{
///
/// Id of the program.
///
public string Id { get; set; }
///
/// Gets or sets the channel identifier.
///
/// The channel identifier.
public string ChannelId { get; set; }
///
/// Name of the program
///
public string Name { get; set; }
///
/// Gets or sets the official rating.
///
/// The official rating.
public string OfficialRating { get; set; }
///
/// Gets or sets the overview.
///
/// The overview.
public string Overview { get; set; }
///
/// Gets or sets the short overview.
///
/// The short overview.
public string ShortOverview { get; set; }
///
/// The start date of the program, in UTC.
///
public DateTime StartDate { get; set; }
///
/// The end date of the program, in UTC.
///
public DateTime EndDate { get; set; }
///
/// Genre of the program.
///
public List Genres { get; set; }
///
/// Gets or sets the original air date.
///
/// The original air date.
public DateTime? OriginalAirDate { get; set; }
///
/// Gets or sets a value indicating whether this instance is hd.
///
/// true if this instance is hd; otherwise, false.
public bool? IsHD { get; set; }
public bool? Is3D { get; set; }
///
/// Gets or sets the audio.
///
/// The audio.
public ProgramAudio? Audio { get; set; }
///
/// Gets or sets the community rating.
///
/// The community rating.
public float? CommunityRating { get; set; }
///
/// Gets or sets a value indicating whether this instance is repeat.
///
/// true if this instance is repeat; otherwise, false.
public bool IsRepeat { get; set; }
public bool IsSubjectToBlackout { get; set; }
///
/// Gets or sets the episode title.
///
/// The episode title.
public string EpisodeTitle { get; set; }
///
/// Supply the image path if it can be accessed directly from the file system
///
/// The image path.
public string ImagePath { get; set; }
///
/// Supply the image url if it can be downloaded
///
/// The image URL.
public string ImageUrl { get; set; }
public string ThumbImageUrl { get; set; }
public string LogoImageUrl { get; set; }
public string BackdropImageUrl { get; set; }
///
/// Gets or sets a value indicating whether this instance has image.
///
/// null if [has image] contains no value, true if [has image]; otherwise, false.
public bool? HasImage { get; set; }
///
/// Gets or sets a value indicating whether this instance is movie.
///
/// true if this instance is movie; otherwise, false.
public bool IsMovie { get; set; }
///
/// Gets or sets a value indicating whether this instance is sports.
///
/// true if this instance is sports; otherwise, false.
public bool IsSports { get; set; }
///
/// Gets or sets a value indicating whether this instance is series.
///
/// true if this instance is series; otherwise, false.
public bool IsSeries { get; set; }
///
/// Gets or sets a value indicating whether this instance is live.
///
/// true if this instance is live; otherwise, false.
public bool IsLive { get; set; }
///
/// Gets or sets a value indicating whether this instance is news.
///
/// true if this instance is news; otherwise, false.
public bool IsNews { get; set; }
///
/// Gets or sets a value indicating whether this instance is kids.
///
/// true if this instance is kids; otherwise, false.
public bool IsKids { get; set; }
public bool IsEducational { get; set; }
///
/// Gets or sets a value indicating whether this instance is premiere.
///
/// true if this instance is premiere; otherwise, false.
public bool IsPremiere { get; set; }
///
/// Gets or sets the production year.
///
/// The production year.
public int? ProductionYear { get; set; }
///
/// Gets or sets the home page URL.
///
/// The home page URL.
public string HomePageUrl { get; set; }
///
/// Gets or sets the series identifier.
///
/// The series identifier.
public string SeriesId { get; set; }
///
/// Gets or sets the show identifier.
///
/// The show identifier.
public string ShowId { get; set; }
///
/// Gets or sets the season number.
///
/// The season number.
public int? SeasonNumber { get; set; }
///
/// Gets or sets the episode number.
///
/// The episode number.
public int? EpisodeNumber { get; set; }
///
/// Gets or sets the etag.
///
/// The etag.
public string Etag { get; set; }
public Dictionary ProviderIds { get; set; }
public Dictionary SeriesProviderIds { get; set; }
public ProgramInfo()
{
Genres = new List();
ProviderIds = new Dictionary(StringComparer.OrdinalIgnoreCase);
SeriesProviderIds = new Dictionary(StringComparer.OrdinalIgnoreCase);
}
}
}