2012-07-24 14:54:34 +00:00
|
|
|
|
using System;
|
2012-08-29 12:21:56 +00:00
|
|
|
|
using ProtoBuf;
|
2012-07-24 14:54:34 +00:00
|
|
|
|
|
2012-08-17 13:16:50 +00:00
|
|
|
|
namespace MediaBrowser.Model.DTO
|
2012-07-24 14:54:34 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// This is a serializable stub class that is used by the api to provide information about installed plugins.
|
|
|
|
|
/// </summary>
|
2012-08-29 12:21:56 +00:00
|
|
|
|
[ProtoContract]
|
2012-07-24 14:54:34 +00:00
|
|
|
|
public class PluginInfo
|
|
|
|
|
{
|
2012-08-29 12:21:56 +00:00
|
|
|
|
[ProtoMember(1)]
|
2012-07-24 14:54:34 +00:00
|
|
|
|
public string Name { get; set; }
|
2012-08-29 12:21:56 +00:00
|
|
|
|
|
|
|
|
|
[ProtoMember(2)]
|
2012-07-24 14:54:34 +00:00
|
|
|
|
public bool Enabled { get; set; }
|
2012-08-29 12:21:56 +00:00
|
|
|
|
|
2012-09-03 16:40:35 +00:00
|
|
|
|
[ProtoMember(3)]
|
2012-07-24 14:54:34 +00:00
|
|
|
|
public bool DownloadToUI { get; set; }
|
2012-08-29 12:21:56 +00:00
|
|
|
|
|
2012-09-03 16:40:35 +00:00
|
|
|
|
[ProtoMember(4)]
|
2012-07-24 14:54:34 +00:00
|
|
|
|
public DateTime ConfigurationDateLastModified { get; set; }
|
2012-08-29 12:21:56 +00:00
|
|
|
|
|
2012-09-03 16:40:35 +00:00
|
|
|
|
[ProtoMember(5)]
|
2012-07-24 14:54:34 +00:00
|
|
|
|
public Version Version { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|