PackageResponse class
This represents a particular package that is distributed over various channels. e.g. glibc (aka libc6) is distributed by many, at various versions.
Constructors
-
PackageResponse({required Input<
String> architecture, required Input<String> cpeUri, required Input<String> description, required Input<List< digest, required Input<DigestResponseContaineranalysisV1alpha1> >List< distribution, required Input<DistributionResponseContaineranalysisV1alpha1> >LicenseResponseContaineranalysisV1alpha1> license, required Input<String> maintainer, required Input<String> name, required Input<String> packageType, required Input<String> url, required Input<VersionResponseContaineranalysisV1alpha1> version}) -
Creates a new PackageResponse.
architectureThe CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.cpeUriThe cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.descriptionThe description of this package.digestHash value, typically a file digest, that allows unique identification a specific package.distributionThe various channels by which a package is distributed.licenseLicenses that have been declared by the authors of the package.maintainerA freeform text denoting the maintainer of this package.nameThe name of the package.packageTypeThe type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).urlThe homepage for this package.versionThe version of the package.const -
PackageResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
architecture
→ Input<
String> -
The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
final
-
cpeUri
→ Input<
String> -
The cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
final
-
description
→ Input<
String> -
The description of this package.
final
-
digest
→ Input<
List< DigestResponseContaineranalysisV1alpha1> > -
Hash value, typically a file digest, that allows unique identification a specific package.
final
-
distribution
→ Input<
List< DistributionResponseContaineranalysisV1alpha1> > -
The various channels by which a package is distributed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
license
→ Input<
LicenseResponseContaineranalysisV1alpha1> -
Licenses that have been declared by the authors of the package.
final
-
maintainer
→ Input<
String> -
A freeform text denoting the maintainer of this package.
final
-
name
→ Input<
String> -
The name of the package.
final
-
packageType
→ Input<
String> -
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
url
→ Input<
String> -
The homepage for this package.
final
-
version
→ Input<
VersionResponseContaineranalysisV1alpha1> -
The version of the package.
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