com.yandex.div.dsl.model.DivChangeSetTransition.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-json-builder Show documentation
Show all versions of kotlin-json-builder Show documentation
DivKit is an open source Server-Driven UI (SDUI) framework. SDUI is a an emerging technique that leverage the server to build the user interfaces of their mobile app.
// Generated code. Do not modify.
package com.yandex.div.dsl.model
import java.net.URI
import com.fasterxml.jackson.annotation.*
import com.yandex.div.dsl.*
import com.yandex.div.dsl.context.*
import com.yandex.div.dsl.type.*
import com.yandex.div.dsl.util.*
class DivChangeSetTransition internal constructor(
@JsonIgnore val items: Property>?,
) : DivChangeTransition {
@JsonProperty("type") override val type = "set"
@JsonAnyGetter
internal fun properties(): Map {
return propertyMapOf(
"items" to items,
)
}
}
fun TemplateContext.divChangeSetTransition(): LiteralProperty {
return value(DivChangeSetTransition(
items = null,
))
}
fun TemplateContext.divChangeSetTransition(
items: Property>? = null,
): LiteralProperty {
return value(DivChangeSetTransition(
items = items,
))
}
fun TemplateContext.divChangeSetTransition(
items: List? = null,
): LiteralProperty {
return value(DivChangeSetTransition(
items = optionalValue(items),
))
}
fun CardContext.divChangeSetTransition(
items: ValueProperty>,
): DivChangeSetTransition {
return DivChangeSetTransition(
items = items,
)
}
fun CardContext.divChangeSetTransition(
items: List,
): DivChangeSetTransition {
return DivChangeSetTransition(
items = value(items),
)
}