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

com.pulumi.azurenative.testbase.kotlin.outputs.ReleasePropertiesResponse.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.testbase.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * The properties of an operating system release.
 * @property buildNumber The build number of the OS release.
 * @property buildRevision The build revision of the OS release.
 * @property releaseName The name of the OS release.
 * @property releaseVersionDate The release version date of the OS release.
 */
public data class ReleasePropertiesResponse(
    public val buildNumber: String? = null,
    public val buildRevision: String? = null,
    public val releaseName: String? = null,
    public val releaseVersionDate: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.testbase.outputs.ReleasePropertiesResponse): ReleasePropertiesResponse = ReleasePropertiesResponse(
            buildNumber = javaType.buildNumber().map({ args0 -> args0 }).orElse(null),
            buildRevision = javaType.buildRevision().map({ args0 -> args0 }).orElse(null),
            releaseName = javaType.releaseName().map({ args0 -> args0 }).orElse(null),
            releaseVersionDate = javaType.releaseVersionDate().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy