VersionResponse

data class VersionResponse(val epoch: Int, val inclusive: Boolean, val kind: String, val name: String, val revision: String)

Version contains structured information about the version of a package.

Constructors

Link copied to clipboard
constructor(epoch: Int, inclusive: Boolean, kind: String, name: String, revision: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val epoch: Int

Used to correct mistakes in the version numbering scheme.

Link copied to clipboard

Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.

Link copied to clipboard

Distinguishes between sentinel MIN/MAX versions and normal versions.

Link copied to clipboard

Required only when version kind is NORMAL. The main part of the version name.

Link copied to clipboard

The iteration of the package build from the above version.