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

com.pulumi.gcp.apphub.kotlin.outputs.GetApplicationResult.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.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.apphub.kotlin.outputs

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

/**
 * A collection of values returned by getApplication.
 * @property applicationId
 * @property attributes
 * @property createTime
 * @property description
 * @property displayName
 * @property id The provider-assigned unique ID for this managed resource.
 * @property location
 * @property name
 * @property project
 * @property scopes
 * @property state
 * @property uid
 * @property updateTime
 */
public data class GetApplicationResult(
    public val applicationId: String,
    public val attributes: List,
    public val createTime: String,
    public val description: String,
    public val displayName: String,
    public val id: String,
    public val location: String,
    public val name: String,
    public val project: String,
    public val scopes: List,
    public val state: String,
    public val uid: String,
    public val updateTime: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.apphub.outputs.GetApplicationResult): GetApplicationResult = GetApplicationResult(
            applicationId = javaType.applicationId(),
            attributes = javaType.attributes().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.apphub.kotlin.outputs.GetApplicationAttribute.Companion.toKotlin(args0)
                })
            }),
            createTime = javaType.createTime(),
            description = javaType.description(),
            displayName = javaType.displayName(),
            id = javaType.id(),
            location = javaType.location(),
            name = javaType.name(),
            project = javaType.project(),
            scopes = javaType.scopes().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.apphub.kotlin.outputs.GetApplicationScope.Companion.toKotlin(args0)
                })
            }),
            state = javaType.state(),
            uid = javaType.uid(),
            updateTime = javaType.updateTime(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy