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

com.pulumi.azure.databoxedge.kotlin.outputs.OrderShipmentTracking.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.databoxedge.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property carrierName Name of the carrier used in the delivery.
 * @property serialNumber Serial number of the device being tracked.
 * @property trackingId The ID of the tracking.
 * @property trackingUrl Tracking URL of the shipment.
 */
public data class OrderShipmentTracking(
    public val carrierName: String? = null,
    public val serialNumber: String? = null,
    public val trackingId: String? = null,
    public val trackingUrl: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.databoxedge.outputs.OrderShipmentTracking): OrderShipmentTracking = OrderShipmentTracking(
            carrierName = javaType.carrierName().map({ args0 -> args0 }).orElse(null),
            serialNumber = javaType.serialNumber().map({ args0 -> args0 }).orElse(null),
            trackingId = javaType.trackingId().map({ args0 -> args0 }).orElse(null),
            trackingUrl = javaType.trackingUrl().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy