Skip to content

GitLab CI Kotlin DSLopensavvy.gitlab.ci.yamlYamlCollectionMapLiteral

MapLiteral

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

Constructors

MapLiteral

constructor(vararg child: <Yaml, Yaml>)

constructor(contents: List<<Yaml, Yaml>>)

constructor(contents: Map<Yaml, Yaml>)

Properties

contents

Functions

toYaml

open override fun toYaml(): Yaml

Converts this object into a Yaml object.

toYamlString

open override fun toYamlString(indentation: Int): CharSequence