using System; using System.Collections.Generic; namespace MediaBrowser.Model.LiveTv { public class ProgramInfoDto { /// /// Id of the program. /// public string Id { get; set; } /// /// Gets or sets the external identifier. /// /// The external identifier. public string ExternalId { get; set; } /// /// Gets or sets the channel identifier. /// /// The channel identifier. public string ChannelId { get; set; } /// /// Gets or sets the community rating. /// /// The community rating. public float? CommunityRating { get; set; } /// /// Gets or sets the aspect ratio. /// /// The aspect ratio. public string AspectRatio { get; set; } /// /// Gets or sets the official rating. /// /// The official rating. public string OfficialRating { get; set; } /// /// Gets or sets the name of the service. /// /// The name of the service. public string ServiceName { get; set; } /// /// Name of the program /// public string Name { get; set; } /// /// Description of the progam. /// public string Description { 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 quality. /// /// The quality. public ProgramVideoQuality Quality { get; set; } /// /// Gets or sets the audio. /// /// The audio. public ProgramAudio Audio { get; set; } /// /// Gets or sets the original air date. /// /// The original air date. public DateTime? OriginalAirDate { get; set; } /// /// Gets or sets the recording identifier. /// /// The recording identifier. public string RecordingId { get; set; } /// /// Gets or sets the recording status. /// /// The recording status. public RecordingStatus? RecordingStatus { get; set; } /// /// Gets or sets the timer identifier. /// /// The timer identifier. public string TimerId { get; set; } /// /// Gets or sets the timer status. /// /// The timer status. public RecordingStatus? TimerStatus { get; set; } public ProgramInfoDto() { Genres = new List(); } } public enum ProgramVideoQuality { StandardDefinition, HighDefinition } public enum ProgramAudio { Stereo } }