PluginInfo.cs 681 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using ProtoBuf;
  3. namespace MediaBrowser.Model.DTO
  4. {
  5. /// <summary>
  6. /// This is a serializable stub class that is used by the api to provide information about installed plugins.
  7. /// </summary>
  8. [ProtoContract]
  9. public class PluginInfo
  10. {
  11. [ProtoMember(1)]
  12. public string Name { get; set; }
  13. [ProtoMember(2)]
  14. public bool Enabled { get; set; }
  15. [ProtoMember(3)]
  16. public bool DownloadToUI { get; set; }
  17. [ProtoMember(4)]
  18. public DateTime ConfigurationDateLastModified { get; set; }
  19. [ProtoMember(5)]
  20. public Version Version { get; set; }
  21. }
  22. }