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