InstallationInfo.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #nullable disable
  2. using System;
  3. using System.Text.Json.Serialization;
  4. namespace MediaBrowser.Model.Updates
  5. {
  6. /// <summary>
  7. /// Class InstallationInfo.
  8. /// </summary>
  9. public class InstallationInfo
  10. {
  11. /// <summary>
  12. /// Gets or sets the Id.
  13. /// </summary>
  14. /// <value>The Id.</value>
  15. [JsonPropertyName("Guid")]
  16. public Guid Id { get; set; }
  17. /// <summary>
  18. /// Gets or sets the name.
  19. /// </summary>
  20. /// <value>The name.</value>
  21. public string Name { get; set; }
  22. /// <summary>
  23. /// Gets or sets the version.
  24. /// </summary>
  25. /// <value>The version.</value>
  26. public Version Version { get; set; }
  27. /// <summary>
  28. /// Gets or sets the changelog for this version.
  29. /// </summary>
  30. /// <value>The changelog.</value>
  31. public string Changelog { get; set; }
  32. /// <summary>
  33. /// Gets or sets the source URL.
  34. /// </summary>
  35. /// <value>The source URL.</value>
  36. public string SourceUrl { get; set; }
  37. /// <summary>
  38. /// Gets or sets a checksum for the binary.
  39. /// </summary>
  40. /// <value>The checksum.</value>
  41. public string Checksum { get; set; }
  42. /// <summary>
  43. /// Gets or sets package information for the installation.
  44. /// </summary>
  45. /// <value>The package information.</value>
  46. public PackageInfo PackageInfo { get; set; }
  47. }
  48. }