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

com.pulumi.cloudflare.kotlin.outputs.GetAccountRolesResult.kt Maven / Gradle / Ivy

Go to download

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.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of values returned by getAccountRoles.
 * @property accountId The account identifier to target for the resource.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property roles A list of roles object.
 */
public data class GetAccountRolesResult(
    public val accountId: String,
    public val id: String,
    public val roles: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.GetAccountRolesResult): GetAccountRolesResult = GetAccountRolesResult(
            accountId = javaType.accountId(),
            id = javaType.id(),
            roles = javaType.roles().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.GetAccountRolesRole.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy