This module defines the model and functions of a version dependency.

class here.platform.model.version_dependency.VersionDependency(hrn: str, version: int, direct: bool = True)[source]#

Bases: JsonDictDocument

Represent how a catalog version is related to a version of another catalog.

property direct: bool#

If the dependent catalog is a direct dependency, or if the dependency relation is only via a 3rd catalog (indirect)

property hrn: str#

The HRN of the catalog depending upon

property version: int#

The version of the catalog depending upon