Upgraded Protobuf, and added api support for it

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-08-29 08:21:56 -04:00
parent de74609784
commit cb7f04e4d3
31 changed files with 286 additions and 58 deletions

View File

@@ -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; }
}
}