using System;
using System.Collections.Generic;
namespace MediaBrowser.Model.LiveTv
{
///
/// Class ServiceInfo
///
public class LiveTvServiceInfo
{
///
/// Gets or sets the name.
///
/// The name.
public string Name { get; set; }
///
/// Gets or sets the home page URL.
///
/// The home page URL.
public string HomePageUrl { get; set; }
///
/// Gets or sets the status.
///
/// The status.
public LiveTvServiceStatus Status { get; set; }
///
/// Gets or sets the status message.
///
/// The status message.
public string StatusMessage { get; set; }
///
/// Gets or sets the version.
///
/// The version.
public string Version { get; set; }
///
/// Gets or sets a value indicating whether this instance has update available.
///
/// true if this instance has update available; otherwise, false.
public bool HasUpdateAvailable { get; set; }
}
public class GuideInfo
{
///
/// Gets or sets the start date.
///
/// The start date.
public DateTime StartDate { get; set; }
///
/// Gets or sets the end date.
///
/// The end date.
public DateTime EndDate { get; set; }
}
public class LiveTvInfo
{
///
/// Gets or sets the services.
///
/// The services.
public List Services { get; set; }
///
/// Gets or sets the name of the active service.
///
/// The name of the active service.
public string ActiveServiceName { get; set; }
///
/// Gets or sets a value indicating whether this instance is enabled.
///
/// true if this instance is enabled; otherwise, false.
public bool IsEnabled { get; set; }
///
/// Gets or sets the status.
///
/// The status.
public LiveTvServiceStatus Status { get; set; }
///
/// Gets or sets the status message.
///
/// The status message.
public string StatusMessage { get; set; }
public LiveTvInfo()
{
Services = new List();
}
}
public enum LiveTvServiceStatus
{
Ok = 0,
Unavailable = 1
}
}