PackageInfo.cs 1.8 KB

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