UpgradePatchInfo.cs 865 B

1234567891011121314151617181920212223242526272829303132333435
  1. using Vinno.vCloud.Protocol.Infrastructures;
  2. namespace Vinno.vCloud.Common.FIS.Upgraders
  3. {
  4. public class UpgradePatchInfo
  5. {
  6. /// <summary>
  7. /// Patch Type
  8. /// </summary>
  9. public DevicePatchType PatchType { get; }
  10. /// <summary>
  11. /// Package Version
  12. /// </summary>
  13. public string Version { get; }
  14. /// <summary>
  15. /// Download Url
  16. /// </summary>
  17. public string FileUrl { get; }
  18. /// <summary>
  19. /// Description
  20. /// </summary>
  21. public string Description { get; }
  22. public UpgradePatchInfo(DevicePatchType patchType, string version, string fileUrl, string description)
  23. {
  24. PatchType = patchType;
  25. Version = version;
  26. FileUrl = fileUrl;
  27. Description = description;
  28. }
  29. }
  30. }