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

com.pulumi.kubernetes.resource.v1alpha2.kotlin.outputs.NamedResourcesResources.kt Maven / Gradle / Ivy

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

package com.pulumi.kubernetes.resource.v1alpha2.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 * NamedResourcesResources is used in ResourceModel.
 * @property instances The list of all individual resources instances currently available.
 */
public data class NamedResourcesResources(
    public val instances: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.kubernetes.resource.v1alpha2.outputs.NamedResourcesResources): NamedResourcesResources = NamedResourcesResources(
            instances = javaType.instances().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.kubernetes.resource.v1alpha2.kotlin.outputs.NamedResourcesInstance.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy