MetadataDependenciesResponse

data class MetadataDependenciesResponse(val contentId: String? = null, val criteria: List<MetadataDependenciesResponse>? = null, val kind: String? = null, val name: String? = null, val operator: String? = null, val version: String? = null)

Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies.

Constructors

Link copied to clipboard
constructor(contentId: String? = null, criteria: List<MetadataDependenciesResponse>? = null, kind: String? = null, name: String? = null, operator: String? = null, version: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val contentId: String? = null

Id of the content item we depend on

Link copied to clipboard

This is the list of dependencies we must fulfill, according to the AND/OR operator

Link copied to clipboard
val kind: String? = null

Type of the content item we depend on

Link copied to clipboard
val name: String? = null

Name of the content item

Link copied to clipboard
val operator: String? = null

Operator used for list of dependencies in criteria array.

Link copied to clipboard
val version: String? = null

Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required.