All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yandex.div.dsl.model.DivPivotFixed.kt Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 30.19.0
Show newest version
// 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 DivPivotFixed internal constructor(
    @JsonIgnore val unit: Property?,
    @JsonIgnore val value: Property?,
) : DivPivot {

    @JsonProperty("type") override val type = "pivot-fixed"

    @JsonAnyGetter
    internal fun properties(): Map {
        return propertyMapOf(
            "unit" to unit,
            "value" to value,
        )
    }
}

fun  TemplateContext.divPivotFixed(): LiteralProperty {
    return value(DivPivotFixed(
        unit = null,
        value = null,
    ))
}

fun  TemplateContext.divPivotFixed(
    unit: Property? = null,
    value: Property? = null,
): LiteralProperty {
    return value(DivPivotFixed(
        unit = unit,
        value = value,
    ))
}

fun  TemplateContext.divPivotFixed(
    unit: DivSizeUnit? = null,
    value: Int? = null,
): LiteralProperty {
    return value(DivPivotFixed(
        unit = optionalValue(unit),
        value = optionalValue(value),
    ))
}

fun CardContext.divPivotFixed(): DivPivotFixed {
    return DivPivotFixed(
        unit = null,
        value = null,
    )
}

fun CardContext.divPivotFixed(
    unit: ValueProperty? = null,
    value: ValueProperty? = null,
): DivPivotFixed {
    return DivPivotFixed(
        unit = unit,
        value = value,
    )
}

fun CardContext.divPivotFixed(
    unit: DivSizeUnit? = null,
    value: Int? = null,
): DivPivotFixed {
    return DivPivotFixed(
        unit = optionalValue(unit),
        value = optionalValue(value),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy