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

commonMain.aws.sdk.kotlin.services.iotwireless.model.SupportedRfRegion.kt Maven / Gradle / Ivy

There is a newer version: 1.3.99
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.iotwireless.model

import kotlin.collections.List

/**
 * Supported RfRegions
 */
public sealed class SupportedRfRegion {
    public abstract val value: kotlin.String

    public object As923_1 : aws.sdk.kotlin.services.iotwireless.model.SupportedRfRegion() {
        override val value: kotlin.String = "AS923-1"
        override fun toString(): kotlin.String = "As923_1"
    }

    public object As923_2 : aws.sdk.kotlin.services.iotwireless.model.SupportedRfRegion() {
        override val value: kotlin.String = "AS923-2"
        override fun toString(): kotlin.String = "As923_2"
    }

    public object As923_3 : aws.sdk.kotlin.services.iotwireless.model.SupportedRfRegion() {
        override val value: kotlin.String = "AS923-3"
        override fun toString(): kotlin.String = "As923_3"
    }

    public object As923_4 : aws.sdk.kotlin.services.iotwireless.model.SupportedRfRegion() {
        override val value: kotlin.String = "AS923-4"
        override fun toString(): kotlin.String = "As923_4"
    }

    public object Au915 : aws.sdk.kotlin.services.iotwireless.model.SupportedRfRegion() {
        override val value: kotlin.String = "AU915"
        override fun toString(): kotlin.String = "Au915"
    }

    public object Cn470 : aws.sdk.kotlin.services.iotwireless.model.SupportedRfRegion() {
        override val value: kotlin.String = "CN470"
        override fun toString(): kotlin.String = "Cn470"
    }

    public object Cn779 : aws.sdk.kotlin.services.iotwireless.model.SupportedRfRegion() {
        override val value: kotlin.String = "CN779"
        override fun toString(): kotlin.String = "Cn779"
    }

    public object Eu433 : aws.sdk.kotlin.services.iotwireless.model.SupportedRfRegion() {
        override val value: kotlin.String = "EU433"
        override fun toString(): kotlin.String = "Eu433"
    }

    public object Eu868 : aws.sdk.kotlin.services.iotwireless.model.SupportedRfRegion() {
        override val value: kotlin.String = "EU868"
        override fun toString(): kotlin.String = "Eu868"
    }

    public object In865 : aws.sdk.kotlin.services.iotwireless.model.SupportedRfRegion() {
        override val value: kotlin.String = "IN865"
        override fun toString(): kotlin.String = "In865"
    }

    public object Kr920 : aws.sdk.kotlin.services.iotwireless.model.SupportedRfRegion() {
        override val value: kotlin.String = "KR920"
        override fun toString(): kotlin.String = "Kr920"
    }

    public object Ru864 : aws.sdk.kotlin.services.iotwireless.model.SupportedRfRegion() {
        override val value: kotlin.String = "RU864"
        override fun toString(): kotlin.String = "Ru864"
    }

    public object Us915 : aws.sdk.kotlin.services.iotwireless.model.SupportedRfRegion() {
        override val value: kotlin.String = "US915"
        override fun toString(): kotlin.String = "Us915"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.iotwireless.model.SupportedRfRegion() {
        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.SupportedRfRegion = when (value) {
            "AS923-1" -> As923_1
            "AS923-2" -> As923_2
            "AS923-3" -> As923_3
            "AS923-4" -> As923_4
            "AU915" -> Au915
            "CN470" -> Cn470
            "CN779" -> Cn779
            "EU433" -> Eu433
            "EU868" -> Eu868
            "IN865" -> In865
            "KR920" -> Kr920
            "RU864" -> Ru864
            "US915" -> Us915
            else -> SdkUnknown(value)
        }

        /**
         * Get a list of all possible variants
         */
        public fun values(): kotlin.collections.List = values

        private val values: kotlin.collections.List = listOf(
            As923_1,
            As923_2,
            As923_3,
            As923_4,
            Au915,
            Cn470,
            Cn779,
            Eu433,
            Eu868,
            In865,
            Kr920,
            Ru864,
            Us915,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy