PackageResponse constructor

const PackageResponse({
  1. required Input<String> architecture,
  2. required Input<String> cpeUri,
  3. required Input<String> description,
  4. required Input<List<DigestResponseContaineranalysisV1alpha1>> digest,
  5. required Input<List<DistributionResponseContaineranalysisV1alpha1>> distribution,
  6. required Input<LicenseResponseContaineranalysisV1alpha1> license,
  7. required Input<String> maintainer,
  8. required Input<String> name,
  9. required Input<String> packageType,
  10. required Input<String> url,
  11. required Input<VersionResponseContaineranalysisV1alpha1> version,
})

Creates a new PackageResponse. architecture The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. cpeUri The cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages. description The description of this package. digest Hash value, typically a file digest, that allows unique identification a specific package. distribution The various channels by which a package is distributed. license Licenses that have been declared by the authors of the package. maintainer A freeform text denoting the maintainer of this package. name The name of the package. packageType The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.). url The homepage for this package. version The version of the package.

Implementation

const PackageResponse({
  required this.architecture,
  required this.cpeUri,
  required this.description,
  required this.digest,
  required this.distribution,
  required this.license,
  required this.maintainer,
  required this.name,
  required this.packageType,
  required this.url,
  required this.version,
});