com.pulumi.azure.databoxedge.kotlin.outputs.OrderStatus.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.databoxedge.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
*
* @property additionalDetails Dictionary to hold generic information which is not stored by the already existing properties.
* @property comments Comments related to this status change.
* @property info The current status of the order. Possible values include `Untracked`, `AwaitingFulfilment`, `AwaitingPreparation`, `AwaitingShipment`, `Shipped`, `Arriving`, `Delivered`, `ReplacementRequested`, `LostDevice`, `Declined`, `ReturnInitiated`, `AwaitingReturnShipment`, `ShippedBack` or `CollectedAtMicrosoft`.
* @property lastUpdate Time of status update.
*/
public data class OrderStatus(
public val additionalDetails: Map? = null,
public val comments: String? = null,
public val info: String? = null,
public val lastUpdate: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.databoxedge.outputs.OrderStatus): OrderStatus =
OrderStatus(
additionalDetails = javaType.additionalDetails().map({ args0 ->
args0.key.to(args0.value)
}).toMap(),
comments = javaType.comments().map({ args0 -> args0 }).orElse(null),
info = javaType.info().map({ args0 -> args0 }).orElse(null),
lastUpdate = javaType.lastUpdate().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy