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

com.pulumi.gcp.organizations.kotlin.outputs.GetFolderResult.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.organizations.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 * A collection of values returned by getFolder.
 * @property createTime Timestamp when the Organization was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
 * @property displayName The folder's display name.
 * @property folder
 * @property folderId
 * @property id The provider-assigned unique ID for this managed resource.
 * @property lifecycleState The Folder's current lifecycle state.
 * @property lookupOrganization
 * @property name The resource name of the Folder in the form `folders/{folder_id}`.
 * @property organization If `lookup_organization` is enable, the resource name of the Organization that the folder belongs.
 * @property parent The resource name of the parent Folder or Organization.
 */
public data class GetFolderResult(
    public val createTime: String,
    public val displayName: String,
    public val folder: String,
    public val folderId: String,
    public val id: String,
    public val lifecycleState: String,
    public val lookupOrganization: Boolean? = null,
    public val name: String,
    public val organization: String,
    public val parent: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.organizations.outputs.GetFolderResult): GetFolderResult = GetFolderResult(
            createTime = javaType.createTime(),
            displayName = javaType.displayName(),
            folder = javaType.folder(),
            folderId = javaType.folderId(),
            id = javaType.id(),
            lifecycleState = javaType.lifecycleState(),
            lookupOrganization = javaType.lookupOrganization().map({ args0 -> args0 }).orElse(null),
            name = javaType.name(),
            organization = javaType.organization(),
            parent = javaType.parent(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy