PackageInfo.cs 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. using System;
  2. using System.Collections.Generic;
  3. namespace MediaBrowser.Installer.Code
  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 a value indicating whether this instance is premium.
  27. /// </summary>
  28. /// <value><c>true</c> if this instance is premium; otherwise, <c>false</c>.</value>
  29. public bool isPremium { get; set; }
  30. /// <summary>
  31. /// Gets or sets the rich desc URL.
  32. /// </summary>
  33. /// <value>The rich desc URL.</value>
  34. public string richDescUrl { get; set; }
  35. /// <summary>
  36. /// Gets or sets the thumb image.
  37. /// </summary>
  38. /// <value>The thumb image.</value>
  39. public string thumbImage { get; set; }
  40. /// <summary>
  41. /// Gets or sets the preview image.
  42. /// </summary>
  43. /// <value>The preview image.</value>
  44. public string previewImage { get; set; }
  45. /// <summary>
  46. /// Gets or sets the type.
  47. /// </summary>
  48. /// <value>The type.</value>
  49. public PackageType type { get; set; }
  50. /// <summary>
  51. /// Gets or sets the target filename.
  52. /// </summary>
  53. /// <value>The target filename.</value>
  54. public string targetFilename { get; set; }
  55. /// <summary>
  56. /// Gets or sets the owner.
  57. /// </summary>
  58. /// <value>The owner.</value>
  59. public string owner { get; set; }
  60. /// <summary>
  61. /// Gets or sets the category.
  62. /// </summary>
  63. /// <value>The category.</value>
  64. public string category { get; set; }
  65. /// <summary>
  66. /// Gets or sets the catalog tile color.
  67. /// </summary>
  68. /// <value>The owner.</value>
  69. public string tileColor { get; set; }
  70. /// <summary>
  71. /// Gets or sets the feature id of this package (if premium).
  72. /// </summary>
  73. /// <value>The feature id.</value>
  74. public string featureId { get; set; }
  75. /// <summary>
  76. /// Gets or sets the registration info for this package (if premium).
  77. /// </summary>
  78. /// <value>The registration info.</value>
  79. public string regInfo { get; set; }
  80. /// <summary>
  81. /// Gets or sets the price for this package (if premium).
  82. /// </summary>
  83. /// <value>The price.</value>
  84. public float price { get; set; }
  85. /// <summary>
  86. /// Gets or sets whether or not this package is registered.
  87. /// </summary>
  88. /// <value>True if registered.</value>
  89. public bool isRegistered { get; set; }
  90. /// <summary>
  91. /// Gets or sets the expiration date for this package.
  92. /// </summary>
  93. /// <value>Expiration Date.</value>
  94. public DateTime expDate { get; set; }
  95. /// <summary>
  96. /// Gets or sets the versions.
  97. /// </summary>
  98. /// <value>The versions.</value>
  99. public List<PackageVersionInfo> versions { get; set; }
  100. }
  101. }