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

com.pulumi.kubernetes.helm.v3.kotlin.outputs.ReleaseStatus.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.kubernetes.helm.v3.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property appVersion The version number of the application being deployed.
 * @property chart The name of the chart.
 * @property name Name is the name of the release.
 * @property namespace Namespace is the kubernetes namespace of the release.
 * @property revision Version is an int32 which represents the version of the release.
 * @property status Status of the release.
 * @property version A SemVer 2 conformant version string of the chart.
 */
public data class ReleaseStatus(
    public val appVersion: String? = null,
    public val chart: String? = null,
    public val name: String? = null,
    public val namespace: String? = null,
    public val revision: Int? = null,
    public val status: String,
    public val version: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.kubernetes.helm.v3.outputs.ReleaseStatus): ReleaseStatus = ReleaseStatus(
            appVersion = javaType.appVersion().map({ args0 -> args0 }).orElse(null),
            chart = javaType.chart().map({ args0 -> args0 }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            namespace = javaType.namespace().map({ args0 -> args0 }).orElse(null),
            revision = javaType.revision().map({ args0 -> args0 }).orElse(null),
            status = javaType.status(),
            version = javaType.version().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy