
commonMain.aws.sdk.kotlin.services.mediaconvert.model.MovPaddingControl.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Unless you need Omneon compatibility: Keep the default value, None. To make this output compatible with Omneon: Choose Omneon. When you do, MediaConvert increases the length of the 'elst' edit list atom. Note that this might cause file rejections when a recipient of the output file doesn't expect this extra padding.
*/
public sealed class MovPaddingControl {
public abstract val value: kotlin.String
public object None : aws.sdk.kotlin.services.mediaconvert.model.MovPaddingControl() {
override val value: kotlin.String = "NONE"
override fun toString(): kotlin.String = "None"
}
public object Omneon : aws.sdk.kotlin.services.mediaconvert.model.MovPaddingControl() {
override val value: kotlin.String = "OMNEON"
override fun toString(): kotlin.String = "Omneon"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.MovPaddingControl() {
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.mediaconvert.model.MovPaddingControl = when (value) {
"NONE" -> None
"OMNEON" -> Omneon
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
None,
Omneon,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy