com.pulumi.cloudflare.kotlin.outputs.GetAccountsAccount.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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property enforceTwofactor Whether 2FA is enforced on the account.
* @property id Account ID.
* @property name Account name.
* @property type Account subscription type.
*/
public data class GetAccountsAccount(
public val enforceTwofactor: Boolean? = null,
public val id: String? = null,
public val name: String? = null,
public val type: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.GetAccountsAccount): GetAccountsAccount = GetAccountsAccount(
enforceTwofactor = javaType.enforceTwofactor().map({ args0 -> args0 }).orElse(null),
id = javaType.id().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
type = javaType.type().map({ args0 -> args0 }).orElse(null),
)
}
}