UpgradeOccurrenceResponse

data class UpgradeOccurrenceResponse(val distribution: UpgradeDistributionResponse, val package: String, val parsedVersion: VersionResponse, val windowsUpdate: WindowsUpdateResponse)

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

Link copied to clipboard
constructor(distribution: UpgradeDistributionResponse, package: String, parsedVersion: VersionResponse, windowsUpdate: WindowsUpdateResponse)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

Required for non-Windows OS. The package this Upgrade is for.

Link copied to clipboard

Required for non-Windows OS. The version of the package in a machine + human readable form.

Link copied to clipboard

Required for Windows OS. Represents the metadata about the Windows update.