aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/LiveTv/LiveTvInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/LiveTv/LiveTvInfo.cs')
-rw-r--r--MediaBrowser.Model/LiveTv/LiveTvInfo.cs49
1 files changed, 49 insertions, 0 deletions
diff --git a/MediaBrowser.Model/LiveTv/LiveTvInfo.cs b/MediaBrowser.Model/LiveTv/LiveTvInfo.cs
new file mode 100644
index 0000000000..dd31c5a6bd
--- /dev/null
+++ b/MediaBrowser.Model/LiveTv/LiveTvInfo.cs
@@ -0,0 +1,49 @@
+using System.Collections.Generic;
+
+namespace MediaBrowser.Model.LiveTv
+{
+ public class LiveTvInfo
+ {
+ /// <summary>
+ /// Gets or sets the services.
+ /// </summary>
+ /// <value>The services.</value>
+ public List<LiveTvServiceInfo> Services { get; set; }
+
+ /// <summary>
+ /// Gets or sets the name of the active service.
+ /// </summary>
+ /// <value>The name of the active service.</value>
+ public string ActiveServiceName { get; set; }
+
+ /// <summary>
+ /// Gets or sets a value indicating whether this instance is enabled.
+ /// </summary>
+ /// <value><c>true</c> if this instance is enabled; otherwise, <c>false</c>.</value>
+ public bool IsEnabled { get; set; }
+
+ /// <summary>
+ /// Gets or sets the enabled users.
+ /// </summary>
+ /// <value>The enabled users.</value>
+ public List<string> EnabledUsers { get; set; }
+
+ /// <summary>
+ /// Gets or sets the status.
+ /// </summary>
+ /// <value>The status.</value>
+ public LiveTvServiceStatus Status { get; set; }
+
+ /// <summary>
+ /// Gets or sets the status message.
+ /// </summary>
+ /// <value>The status message.</value>
+ public string StatusMessage { get; set; }
+
+ public LiveTvInfo()
+ {
+ Services = new List<LiveTvServiceInfo>();
+ EnabledUsers = new List<string>();
+ }
+ }
+} \ No newline at end of file