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

com.pulumi.gcp.dns.kotlin.outputs.GetManagedZonesResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dns.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of values returned by getManagedZones.
 * @property id
 * @property managedZones A list of managed zones.
 * @property project
 */
public data class GetManagedZonesResult(
    public val id: String,
    public val managedZones: List,
    public val project: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dns.outputs.GetManagedZonesResult): GetManagedZonesResult = GetManagedZonesResult(
            id = javaType.id(),
            managedZones = javaType.managedZones().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.dns.kotlin.outputs.GetManagedZonesManagedZone.Companion.toKotlin(args0)
                })
            }),
            project = javaType.project().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy