aws.sdk.kotlin.services.transcribe.model.CallAnalyticsJobStatus.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of transcribe Show documentation
Show all versions of transcribe Show documentation
Amazon Transcribe Service
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.transcribe.model
sealed class CallAnalyticsJobStatus {
abstract val value: kotlin.String
object Completed : aws.sdk.kotlin.services.transcribe.model.CallAnalyticsJobStatus() {
override val value: kotlin.String = "COMPLETED"
override fun toString(): kotlin.String = value
}
object Failed : aws.sdk.kotlin.services.transcribe.model.CallAnalyticsJobStatus() {
override val value: kotlin.String = "FAILED"
override fun toString(): kotlin.String = value
}
object InProgress : aws.sdk.kotlin.services.transcribe.model.CallAnalyticsJobStatus() {
override val value: kotlin.String = "IN_PROGRESS"
override fun toString(): kotlin.String = value
}
object Queued : aws.sdk.kotlin.services.transcribe.model.CallAnalyticsJobStatus() {
override val value: kotlin.String = "QUEUED"
override fun toString(): kotlin.String = value
}
data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.transcribe.model.CallAnalyticsJobStatus() {
override fun toString(): kotlin.String = value
}
companion object {
/**
* Convert a raw value to one of the sealed variants or [SdkUnknown]
*/
fun fromValue(str: kotlin.String): aws.sdk.kotlin.services.transcribe.model.CallAnalyticsJobStatus = when(str) {
"COMPLETED" -> Completed
"FAILED" -> Failed
"IN_PROGRESS" -> InProgress
"QUEUED" -> Queued
else -> SdkUnknown(str)
}
/**
* Get a list of all possible variants
*/
fun values(): kotlin.collections.List = listOf(
Completed,
Failed,
InProgress,
Queued
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy