UpgradeOccurrence constructor

const UpgradeOccurrence({
  1. Input<UpgradeDistribution>? distribution,
  2. Input<String>? package,
  3. Input<Version>? parsedVersion,
  4. Input<WindowsUpdate>? windowsUpdate,
})

Creates a new UpgradeOccurrence. distribution Metadata about the upgrade for available for the specific operating system for the resource_url. This allows efficient filtering, as well as making it easier to use the occurrence. package Required for non-Windows OS. The package this Upgrade is for. parsedVersion Required for non-Windows OS. The version of the package in a machine + human readable form. windowsUpdate Required for Windows OS. Represents the metadata about the Windows update.

Implementation

const UpgradeOccurrence({
  this.distribution,
  this.package,
  this.parsedVersion,
  this.windowsUpdate,
});