PackageResponse

data class PackageResponse(val architecture: String, val cpeUri: String, val description: String, val digest: List<DigestResponse>, val distribution: List<DistributionResponse>, val license: LicenseResponse, val maintainer: String, val name: String, val packageType: String, val url: String, val version: VersionResponse)

This represents a particular package that is distributed over various channels. e.g. glibc (aka libc6) is distributed by many, at various versions.

Constructors

Link copied to clipboard
fun PackageResponse(architecture: String, cpeUri: String, description: String, digest: List<DigestResponse>, distribution: List<DistributionResponse>, license: LicenseResponse, maintainer: String, name: String, packageType: String, url: String, version: VersionResponse)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.

Link copied to clipboard

The cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.

Link copied to clipboard

The description of this package.

Link copied to clipboard

Hash value, typically a file digest, that allows unique identification a specific package.

Link copied to clipboard

The various channels by which a package is distributed.

Link copied to clipboard

Licenses that have been declared by the authors of the package.

Link copied to clipboard

A freeform text denoting the maintainer of this package.

Link copied to clipboard

The name of the package.

Link copied to clipboard

The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).

Link copied to clipboard
val url: String

The homepage for this package.

Link copied to clipboard

The version of the package.