
com.pulumi.azurenative.devcenter.kotlin.outputs.ImageDefinitionBuildTaskResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.devcenter.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A task executed during the image definition build.
* @property displayName Display name to help differentiate multiple instances of the same task.
* @property endTime End time of the task.
* @property id ID of the task instance.
* @property logUri The URI for retrieving logs for the task execution.
* @property name The name of the task.
* @property parameters Parameters for the task.
* @property startTime Start time of the task.
* @property status The status of the task.
*/
public data class ImageDefinitionBuildTaskResponse(
public val displayName: String? = null,
public val endTime: String,
public val id: String,
public val logUri: String,
public val name: String? = null,
public val parameters: List? = null,
public val startTime: String,
public val status: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.devcenter.outputs.ImageDefinitionBuildTaskResponse): ImageDefinitionBuildTaskResponse = ImageDefinitionBuildTaskResponse(
displayName = javaType.displayName().map({ args0 -> args0 }).orElse(null),
endTime = javaType.endTime(),
id = javaType.id(),
logUri = javaType.logUri(),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
parameters = javaType.parameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.devcenter.kotlin.outputs.ImageDefinitionBuildTaskResponseParameters.Companion.toKotlin(args0)
})
}),
startTime = javaType.startTime(),
status = javaType.status(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy