PackageInfo.cs 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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 the short description.
  17. /// </summary>
  18. /// <value>The short description.</value>
  19. public string shortDescription { get; set; }
  20. /// <summary>
  21. /// Gets or sets the overview.
  22. /// </summary>
  23. /// <value>The overview.</value>
  24. public string overview { get; set; }
  25. /// <summary>
  26. /// Gets or sets the thumb image.
  27. /// </summary>
  28. /// <value>The thumb image.</value>
  29. public string thumbImage { get; set; }
  30. /// <summary>
  31. /// Gets or sets the preview image.
  32. /// </summary>
  33. /// <value>The preview image.</value>
  34. public string previewImage { get; set; }
  35. /// <summary>
  36. /// Gets or sets the target filename for the downloaded binary.
  37. /// </summary>
  38. /// <value>The target filename.</value>
  39. public string filename { get; set; }
  40. /// <summary>
  41. /// Gets or sets the owner.
  42. /// </summary>
  43. /// <value>The owner.</value>
  44. public string owner { get; set; }
  45. /// <summary>
  46. /// Gets or sets the category.
  47. /// </summary>
  48. /// <value>The category.</value>
  49. public string category { get; set; }
  50. /// <summary>
  51. /// The guid of the assembly associated with this plugin.
  52. /// This is used to identify the proper item for automatic updates.
  53. /// </summary>
  54. /// <value>The name.</value>
  55. public string guid { get; set; }
  56. /// <summary>
  57. /// Gets or sets the versions.
  58. /// </summary>
  59. /// <value>The versions.</value>
  60. public IReadOnlyList<VersionInfo> versions { get; set; }
  61. /// <summary>
  62. /// Initializes a new instance of the <see cref="PackageInfo"/> class.
  63. /// </summary>
  64. public PackageInfo()
  65. {
  66. versions = Array.Empty<VersionInfo>();
  67. }
  68. }
  69. }