2
0

PluginInfo.cs 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. using MediaBrowser.Model.Updates;
  2. using System;
  3. namespace MediaBrowser.Model.Plugins
  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. public class PluginInfo
  9. {
  10. /// <summary>
  11. /// Gets or sets the name.
  12. /// </summary>
  13. /// <value>The name.</value>
  14. public string Name { get; set; }
  15. /// <summary>
  16. /// Gets or sets the configuration date last modified.
  17. /// </summary>
  18. /// <value>The configuration date last modified.</value>
  19. public DateTime ConfigurationDateLastModified { get; set; }
  20. /// <summary>
  21. /// Gets or sets the version.
  22. /// </summary>
  23. /// <value>The version.</value>
  24. public string Version { get; set; }
  25. /// <summary>
  26. /// Gets or sets the name of the assembly file.
  27. /// </summary>
  28. /// <value>The name of the assembly file.</value>
  29. public string AssemblyFileName { get; set; }
  30. /// <summary>
  31. /// Gets or sets the name of the configuration file.
  32. /// </summary>
  33. /// <value>The name of the configuration file.</value>
  34. public string ConfigurationFileName { get; set; }
  35. /// <summary>
  36. /// Gets or sets the description.
  37. /// </summary>
  38. /// <value>The description.</value>
  39. public string Description { get; set; }
  40. /// <summary>
  41. /// Gets or sets the unique id.
  42. /// </summary>
  43. /// <value>The unique id.</value>
  44. public string Id { get; set; }
  45. /// <summary>
  46. /// Whether or not this plug-in should be automatically updated when a
  47. /// compatible new version is released
  48. /// </summary>
  49. /// <value><c>true</c> if [enable auto update]; otherwise, <c>false</c>.</value>
  50. public bool EnableAutoUpdate { get; set; }
  51. /// <summary>
  52. /// The classification of updates to which to subscribe.
  53. /// Options are: Dev, Beta or Release
  54. /// </summary>
  55. /// <value>The update class.</value>
  56. public PackageVersionClass UpdateClass { get; set; }
  57. /// <summary>
  58. /// Gets or sets the minimum required UI version.
  59. /// </summary>
  60. /// <value>The minimum required UI version.</value>
  61. public string MinimumRequiredUIVersion { get; set; }
  62. }
  63. }