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

com.pulumi.azurenative.migrate.kotlin.outputs.MoveResourcePropertiesResponseMoveStatus.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.migrate.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Defines the move resource status.
 * @property errors An error response from the azure resource mover service.
 * @property jobStatus Defines the job status.
 * @property moveState Defines the MoveResource states.
 */
public data class MoveResourcePropertiesResponseMoveStatus(
    public val errors: MoveResourceErrorResponse? = null,
    public val jobStatus: JobStatusResponse? = null,
    public val moveState: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.migrate.outputs.MoveResourcePropertiesResponseMoveStatus): MoveResourcePropertiesResponseMoveStatus = MoveResourcePropertiesResponseMoveStatus(
            errors = javaType.errors().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.migrate.kotlin.outputs.MoveResourceErrorResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            jobStatus = javaType.jobStatus().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.migrate.kotlin.outputs.JobStatusResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            moveState = javaType.moveState(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy