aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/DTO/PluginInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/DTO/PluginInfo.cs')
-rw-r--r--MediaBrowser.Model/DTO/PluginInfo.cs33
1 files changed, 33 insertions, 0 deletions
diff --git a/MediaBrowser.Model/DTO/PluginInfo.cs b/MediaBrowser.Model/DTO/PluginInfo.cs
new file mode 100644
index 000000000..12a22b98f
--- /dev/null
+++ b/MediaBrowser.Model/DTO/PluginInfo.cs
@@ -0,0 +1,33 @@
+using System;
+using ProtoBuf;
+
+namespace MediaBrowser.Model.DTO
+{
+ /// <summary>
+ /// This is a serializable stub class that is used by the api to provide information about installed plugins.
+ /// </summary>
+ [ProtoContract]
+ public class PluginInfo
+ {
+ [ProtoMember(1)]
+ public string Name { get; set; }
+
+ [ProtoMember(2)]
+ public bool Enabled { get; set; }
+
+ [ProtoMember(3)]
+ public bool DownloadToUI { get; set; }
+
+ [ProtoMember(4)]
+ public DateTime ConfigurationDateLastModified { get; set; }
+
+ [ProtoMember(5)]
+ public string Version { get; set; }
+
+ [ProtoMember(6)]
+ public string AssemblyFileName { get; set; }
+
+ [ProtoMember(7)]
+ public string ConfigurationFileName { get; set; }
+ }
+}