PackageInfo.cs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. /// Gets or sets the repository name.
  49. /// </summary>
  50. public string repositoryName { get; set; }
  51. /// <summary>
  52. /// Gets or sets the repository url.
  53. /// </summary>
  54. public string repositoryUrl { get; set; }
  55. /// <summary>
  56. /// Initializes a new instance of the <see cref="PackageInfo"/> class.
  57. /// </summary>
  58. public PackageInfo()
  59. {
  60. versions = Array.Empty<VersionInfo>();
  61. }
  62. }
  63. }