diff options
| author | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-08-29 08:21:56 -0400 |
|---|---|---|
| committer | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-08-29 08:21:56 -0400 |
| commit | cb7f04e4d3ff0a14dabb89ff828dde5a4703dc6b (patch) | |
| tree | 67324c73e189d83af7ca2cce605907b0af9b77c8 /MediaBrowser.Model/DTO/PluginInfo.cs | |
| parent | de746097844954d2467157ba4fdc7f978e26decb (diff) | |
Upgraded Protobuf, and added api support for it
Diffstat (limited to 'MediaBrowser.Model/DTO/PluginInfo.cs')
| -rw-r--r-- | MediaBrowser.Model/DTO/PluginInfo.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/MediaBrowser.Model/DTO/PluginInfo.cs b/MediaBrowser.Model/DTO/PluginInfo.cs index 76e9026a6..9560b4d8b 100644 --- a/MediaBrowser.Model/DTO/PluginInfo.cs +++ b/MediaBrowser.Model/DTO/PluginInfo.cs @@ -1,17 +1,30 @@ 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 string Path { get; set; }
+
+ [ProtoMember(3)]
public bool Enabled { get; set; }
+
+ [ProtoMember(4)]
public bool DownloadToUI { get; set; }
+
+ [ProtoMember(5)]
public DateTime ConfigurationDateLastModified { get; set; }
+
+ [ProtoMember(6)]
public Version Version { get; set; }
}
}
|
