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

com.pulumi.awsnative.panorama.kotlin.outputs.GetPackageVersionResult.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: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.panorama.kotlin.outputs

import com.pulumi.awsnative.panorama.kotlin.enums.PackageVersionStatus
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property isLatestPatch Whether the package version is the latest version.
 * @property markLatest Whether to mark the new version as the latest version.
 * @property packageArn The package version's ARN.
 * @property packageName The package version's name.
 * @property registeredTime The package version's registered time.
 * @property status The package version's status.
 * @property statusDescription The package version's status description.
 */
public data class GetPackageVersionResult(
    public val isLatestPatch: Boolean? = null,
    public val markLatest: Boolean? = null,
    public val packageArn: String? = null,
    public val packageName: String? = null,
    public val registeredTime: Int? = null,
    public val status: PackageVersionStatus? = null,
    public val statusDescription: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.panorama.outputs.GetPackageVersionResult): GetPackageVersionResult = GetPackageVersionResult(
            isLatestPatch = javaType.isLatestPatch().map({ args0 -> args0 }).orElse(null),
            markLatest = javaType.markLatest().map({ args0 -> args0 }).orElse(null),
            packageArn = javaType.packageArn().map({ args0 -> args0 }).orElse(null),
            packageName = javaType.packageName().map({ args0 -> args0 }).orElse(null),
            registeredTime = javaType.registeredTime().map({ args0 -> args0 }).orElse(null),
            status = javaType.status().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.panorama.kotlin.enums.PackageVersionStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            statusDescription = javaType.statusDescription().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy