UpgradeOccurrence class
An Upgrade Occurrence represents that a specific resource_url could install a specific upgrade. This presence is supplied via local sources (i.e. it is present in the mirror and the running system has noticed its availability). For Windows, both distribution and windows_update contain information for the Windows update.
Constructors
-
UpgradeOccurrence({Input<
UpgradeDistribution> ? distribution, Input<String> ? package, Input<Version> ? parsedVersion, Input<WindowsUpdate> ? windowsUpdate}) -
Creates a new UpgradeOccurrence.
distributionMetadata 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.packageRequired for non-Windows OS. The package this Upgrade is for.parsedVersionRequired for non-Windows OS. The version of the package in a machine + human readable form.windowsUpdateRequired for Windows OS. Represents the metadata about the Windows update.const -
UpgradeOccurrence.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
distribution
→ Input<
UpgradeDistribution> ? -
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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
package
→ Input<
String> ? -
Required for non-Windows OS. The package this Upgrade is for.
final
-
parsedVersion
→ Input<
Version> ? -
Required for non-Windows OS. The version of the package in a machine + human readable form.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
windowsUpdate
→ Input<
WindowsUpdate> ? -
Required for Windows OS. Represents the metadata about the Windows update.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited