commonMain.aws.sdk.kotlin.services.iotwireless.model.DownlinkMode.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iotwireless-jvm Show documentation
Show all versions of iotwireless-jvm Show documentation
The AWS Kotlin client for IoT Wireless
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.iotwireless.model
import kotlin.collections.List
public sealed class DownlinkMode {
public abstract val value: kotlin.String
public object Concurrent : aws.sdk.kotlin.services.iotwireless.model.DownlinkMode() {
override val value: kotlin.String = "CONCURRENT"
override fun toString(): kotlin.String = "Concurrent"
}
public object Sequential : aws.sdk.kotlin.services.iotwireless.model.DownlinkMode() {
override val value: kotlin.String = "SEQUENTIAL"
override fun toString(): kotlin.String = "Sequential"
}
public object UsingUplinkGateway : aws.sdk.kotlin.services.iotwireless.model.DownlinkMode() {
override val value: kotlin.String = "USING_UPLINK_GATEWAY"
override fun toString(): kotlin.String = "UsingUplinkGateway"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.iotwireless.model.DownlinkMode() {
override fun toString(): kotlin.String = "SdkUnknown($value)"
}
public companion object {
/**
* Convert a raw value to one of the sealed variants or [SdkUnknown]
*/
public fun fromValue(value: kotlin.String): aws.sdk.kotlin.services.iotwireless.model.DownlinkMode = when (value) {
"CONCURRENT" -> Concurrent
"SEQUENTIAL" -> Sequential
"USING_UPLINK_GATEWAY" -> UsingUplinkGateway
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Concurrent,
Sequential,
UsingUplinkGateway,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy