com.pulumi.cloudflare.kotlin.outputs.RulesetRuleActionParametersCacheKeyCustomKeyUser.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
/**
*
* @property deviceType Add device type to the custom key.
* @property geo Add geo data to the custom key.
* @property lang Add language data to the custom key.
*/
public data class RulesetRuleActionParametersCacheKeyCustomKeyUser(
public val deviceType: Boolean? = null,
public val geo: Boolean? = null,
public val lang: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.RulesetRuleActionParametersCacheKeyCustomKeyUser): RulesetRuleActionParametersCacheKeyCustomKeyUser =
RulesetRuleActionParametersCacheKeyCustomKeyUser(
deviceType = javaType.deviceType().map({ args0 -> args0 }).orElse(null),
geo = javaType.geo().map({ args0 -> args0 }).orElse(null),
lang = javaType.lang().map({ args0 -> args0 }).orElse(null),
)
}
}