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

com.pulumi.awsnative.iotwireless.kotlin.outputs.TaskDefinitionLoRaWanUpdateGatewayTaskEntry.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iotwireless.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @property currentVersion The version of the gateways that should receive the update.
 * @property updateVersion The firmware version to update the gateway to.
 */
public data class TaskDefinitionLoRaWanUpdateGatewayTaskEntry(
    public val currentVersion: TaskDefinitionLoRaWanGatewayVersion? = null,
    public val updateVersion: TaskDefinitionLoRaWanGatewayVersion? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iotwireless.outputs.TaskDefinitionLoRaWanUpdateGatewayTaskEntry): TaskDefinitionLoRaWanUpdateGatewayTaskEntry = TaskDefinitionLoRaWanUpdateGatewayTaskEntry(
            currentVersion = javaType.currentVersion().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.iotwireless.kotlin.outputs.TaskDefinitionLoRaWanGatewayVersion.Companion.toKotlin(args0)
                })
            }).orElse(null),
            updateVersion = javaType.updateVersion().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.iotwireless.kotlin.outputs.TaskDefinitionLoRaWanGatewayVersion.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy