![JAR search and dependency download from the Maven repository](/logo.png)
com.yandex.div.dsl.model.DivFixedCount.kt Maven / Gradle / Ivy
// 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 DivFixedCount internal constructor(
@JsonIgnore val value: Property?,
) : DivCount {
@JsonProperty("type") override val type = "fixed"
@JsonAnyGetter
internal fun properties(): Map {
return propertyMapOf(
"value" to value,
)
}
}
fun TemplateContext.divFixedCount(): LiteralProperty {
return value(DivFixedCount(
value = null,
))
}
fun TemplateContext.divFixedCount(
value: Property? = null,
): LiteralProperty {
return value(DivFixedCount(
value = value,
))
}
fun TemplateContext.divFixedCount(
value: Int? = null,
): LiteralProperty {
return value(DivFixedCount(
value = optionalValue(value),
))
}
fun CardContext.divFixedCount(
value: ValueProperty,
): DivFixedCount {
return DivFixedCount(
value = value,
)
}
fun CardContext.divFixedCount(
value: Int,
): DivFixedCount {
return DivFixedCount(
value = value(value),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy