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

com.pulumi.cloudflare.kotlin.outputs.GetDevicesResult.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 getDevices.
 * @property accountId The account identifier to target for the resource.
 * @property devices
 * @property id The provider-assigned unique ID for this managed resource.
 */
public data class GetDevicesResult(
    public val accountId: String,
    public val devices: List,
    public val id: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.GetDevicesResult): GetDevicesResult = GetDevicesResult(
            accountId = javaType.accountId(),
            devices = javaType.devices().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.GetDevicesDevice.Companion.toKotlin(args0)
                })
            }),
            id = javaType.id(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy