Skip to content

GitLab CI Kotlin DSLopensavvy.gitlab.ci.yamlYamlCollectionMapLiteral

MapLiteral

data class MapLiteral(val contents: Map<Yaml, Yaml>) : Yaml.Collection

Constructors

MapLiteral

constructor(contents: Map<Yaml, Yaml>)

constructor(vararg child: ERROR CLASS: Symbol not found for Pair)

constructor(contents: List<ERROR CLASS: Symbol not found for Pair>)

Properties

contents

Functions

toYaml

open override fun toYaml(): Yaml

Converts this object into a Yaml object.

toYamlString

open override fun toYamlString(indentation: Int): CharSequence