UpgradeOccurrenceResponse constructor

const UpgradeOccurrenceResponse({
  1. required Input<UpgradeDistributionResponse> distribution,
  2. required Input<String> package,
  3. required Input<VersionResponse> parsedVersion,
  4. required Input<WindowsUpdateResponse> windowsUpdate,
})

Creates a new UpgradeOccurrenceResponse. 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 UpgradeOccurrenceResponse({
  required this.distribution,
  required this.package,
  required this.parsedVersion,
  required this.windowsUpdate,
});