UpgradeOccurrenceResponse 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

UpgradeOccurrenceResponse({required Input<UpgradeDistributionResponse> distribution, required Input<String> package, required Input<VersionResponse> parsedVersion, 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.
const
UpgradeOccurrenceResponse.fromMap(Map<String, dynamic> map)
factory

Properties

distribution → Input<UpgradeDistributionResponse>
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<VersionResponse>
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<WindowsUpdateResponse>
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