Patch class
Represents metadata about a patch.
Constructors
-
Patch.new({List<
String> ? advisoryIds, String? arch, List<String> ? bugzillaIds, List<String> ? cVEIds, String? classification, String? contentUrl, String? description, int? epoch, String? id, String? kbNumber, String? language, String? msrcNumber, String? msrcSeverity, String? name, String? product, String? productFamily, String? release, DateTime? releaseDate, String? repository, String? severity, String? title, String? vendor, String? version}) -
Patch.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
advisoryIds
→ List<
String> ? -
The Advisory ID of the patch. For example,
RHSA-2020:3779
. Applies to Linux-based instances only.final - arch → String?
-
The architecture of the patch. For example, in
example-pkg-0.710.10-2.7.abcd.x86_64
, the architecture is indicated byx86_64
. Applies to Linux-based instances only.final -
bugzillaIds
→ List<
String> ? -
The Bugzilla ID of the patch. For example,
1600646
. Applies to Linux-based instances only.final - classification → String?
-
The classification of the patch. For example,
SecurityUpdates
,Updates
, orCriticalUpdates
.final - contentUrl → String?
-
The URL where more information can be obtained about the patch.
final
-
cVEIds
→ List<
String> ? -
The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example,
CVE-2011-3192
. Applies to Linux-based instances only.final - description → String?
-
The description of the patch.
final
- epoch → int?
-
The epoch of the patch. For example in
pkg-example-EE-20180914-2.2.amzn1.noarch
, the epoch value is20180914-2
. Applies to Linux-based instances only.final - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The ID of the patch. Applies to Windows patches only.
final
- kbNumber → String?
-
The Microsoft Knowledge Base ID of the patch. Applies to Windows patches
only.
final
- language → String?
-
The language of the patch if it's language-specific.
final
- msrcNumber → String?
-
The ID of the Microsoft Security Response Center (MSRC) bulletin the patch
is related to. For example,
MS14-045
. Applies to Windows patches only.final - msrcSeverity → String?
-
The severity of the patch, such as
Critical
,Important
, orModerate
. Applies to Windows patches only.final - name → String?
-
The name of the patch. Applies to Linux-based instances only.
final
- product → String?
-
The specific product the patch is applicable for. For example,
WindowsServer2016
orAmazonLinux2018.03
.final - productFamily → String?
-
The product family the patch is applicable for. For example,
Windows
orAmazon Linux 2
.final - release → String?
-
The particular release of a patch. For example, in
pkg-example-EE-20180914-2.2.amzn1.noarch
, the release is2.amaz1
. Applies to Linux-based instances only.final - releaseDate → DateTime?
-
The date the patch was released.
final
- repository → String?
-
The source patch repository for the operating system and version, such as
trusty-security
for Ubuntu Server 14.04 LTE andfocal-security
for Ubuntu Server 20.04 LTE. Applies to Linux-based instances only.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity → String?
-
The severity level of the patch. For example,
CRITICAL
orMODERATE
.final - title → String?
-
The title of the patch.
final
- vendor → String?
-
The name of the vendor providing the patch.
final
- version → String?
-
The version number of the patch. For example, in
example-pkg-1.710.10-2.7.abcd.x86_64
, the version number is indicated by-1
. Applies to Linux-based instances only.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited