PackageInfo.cs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. using System;
  2. using System.Collections.Generic;
  3. namespace MediaBrowser.Model.Updates
  4. {
  5. /// <summary>
  6. /// Class PackageInfo.
  7. /// </summary>
  8. public class PackageInfo
  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 a long description of the plugin containing features or helpful explanations.
  17. /// </summary>
  18. /// <value>The description.</value>
  19. public string description { get; set; }
  20. /// <summary>
  21. /// Gets or sets a short overview of what the plugin does.
  22. /// </summary>
  23. /// <value>The overview.</value>
  24. public string overview { get; set; }
  25. /// <summary>
  26. /// Gets or sets the owner.
  27. /// </summary>
  28. /// <value>The owner.</value>
  29. public string owner { get; set; }
  30. /// <summary>
  31. /// Gets or sets the category.
  32. /// </summary>
  33. /// <value>The category.</value>
  34. public string category { get; set; }
  35. /// <summary>
  36. /// The guid of the assembly associated with this plugin.
  37. /// This is used to identify the proper item for automatic updates.
  38. /// </summary>
  39. /// <value>The name.</value>
  40. public string guid { get; set; }
  41. /// <summary>
  42. /// Gets or sets the versions.
  43. /// </summary>
  44. /// <value>The versions.</value>
  45. public IReadOnlyList<VersionInfo> versions { get; set; }
  46. /// <summary>
  47. /// Initializes a new instance of the <see cref="PackageInfo"/> class.
  48. /// </summary>
  49. public PackageInfo()
  50. {
  51. versions = Array.Empty<VersionInfo>();
  52. }
  53. }
  54. }