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

com.pulumi.azurenative.recoveryservices.kotlin.outputs.OSDetailsResponse.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.recoveryservices.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Disk Details.
 * @property oSMajorVersion The OS Major Version.
 * @property oSMinorVersion The OS Minor Version.
 * @property oSVersion The OS Version.
 * @property osEdition The OSEdition.
 * @property osType VM Disk details.
 * @property productType Product type.
 */
public data class OSDetailsResponse(
    public val oSMajorVersion: String? = null,
    public val oSMinorVersion: String? = null,
    public val oSVersion: String? = null,
    public val osEdition: String? = null,
    public val osType: String? = null,
    public val productType: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.recoveryservices.outputs.OSDetailsResponse): OSDetailsResponse = OSDetailsResponse(
            oSMajorVersion = javaType.oSMajorVersion().map({ args0 -> args0 }).orElse(null),
            oSMinorVersion = javaType.oSMinorVersion().map({ args0 -> args0 }).orElse(null),
            oSVersion = javaType.oSVersion().map({ args0 -> args0 }).orElse(null),
            osEdition = javaType.osEdition().map({ args0 -> args0 }).orElse(null),
            osType = javaType.osType().map({ args0 -> args0 }).orElse(null),
            productType = javaType.productType().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy