commonMain.aws.sdk.kotlin.services.appstream.model.Action.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appstream-jvm Show documentation
Show all versions of appstream-jvm Show documentation
The AWS SDK for Kotlin client for AppStream
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.appstream.model
import kotlin.collections.List
public sealed class Action {
public abstract val value: kotlin.String
public object AutoTimeZoneRedirection : aws.sdk.kotlin.services.appstream.model.Action() {
override val value: kotlin.String = "AUTO_TIME_ZONE_REDIRECTION"
override fun toString(): kotlin.String = "AutoTimeZoneRedirection"
}
public object ClipboardCopyFromLocalDevice : aws.sdk.kotlin.services.appstream.model.Action() {
override val value: kotlin.String = "CLIPBOARD_COPY_FROM_LOCAL_DEVICE"
override fun toString(): kotlin.String = "ClipboardCopyFromLocalDevice"
}
public object ClipboardCopyToLocalDevice : aws.sdk.kotlin.services.appstream.model.Action() {
override val value: kotlin.String = "CLIPBOARD_COPY_TO_LOCAL_DEVICE"
override fun toString(): kotlin.String = "ClipboardCopyToLocalDevice"
}
public object DomainPasswordSignin : aws.sdk.kotlin.services.appstream.model.Action() {
override val value: kotlin.String = "DOMAIN_PASSWORD_SIGNIN"
override fun toString(): kotlin.String = "DomainPasswordSignin"
}
public object DomainSmartCardSignin : aws.sdk.kotlin.services.appstream.model.Action() {
override val value: kotlin.String = "DOMAIN_SMART_CARD_SIGNIN"
override fun toString(): kotlin.String = "DomainSmartCardSignin"
}
public object FileDownload : aws.sdk.kotlin.services.appstream.model.Action() {
override val value: kotlin.String = "FILE_DOWNLOAD"
override fun toString(): kotlin.String = "FileDownload"
}
public object FileUpload : aws.sdk.kotlin.services.appstream.model.Action() {
override val value: kotlin.String = "FILE_UPLOAD"
override fun toString(): kotlin.String = "FileUpload"
}
public object PrintingToLocalDevice : aws.sdk.kotlin.services.appstream.model.Action() {
override val value: kotlin.String = "PRINTING_TO_LOCAL_DEVICE"
override fun toString(): kotlin.String = "PrintingToLocalDevice"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.appstream.model.Action() {
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.appstream.model.Action = when (value) {
"AUTO_TIME_ZONE_REDIRECTION" -> AutoTimeZoneRedirection
"CLIPBOARD_COPY_FROM_LOCAL_DEVICE" -> ClipboardCopyFromLocalDevice
"CLIPBOARD_COPY_TO_LOCAL_DEVICE" -> ClipboardCopyToLocalDevice
"DOMAIN_PASSWORD_SIGNIN" -> DomainPasswordSignin
"DOMAIN_SMART_CARD_SIGNIN" -> DomainSmartCardSignin
"FILE_DOWNLOAD" -> FileDownload
"FILE_UPLOAD" -> FileUpload
"PRINTING_TO_LOCAL_DEVICE" -> PrintingToLocalDevice
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
AutoTimeZoneRedirection,
ClipboardCopyFromLocalDevice,
ClipboardCopyToLocalDevice,
DomainPasswordSignin,
DomainSmartCardSignin,
FileDownload,
FileUpload,
PrintingToLocalDevice,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy