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

commonMain.aws.sdk.kotlin.services.mediaconvert.model.H265Telecine.kt Maven / Gradle / Ivy

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.mediaconvert.model

import kotlin.collections.List

/**
 * This field applies only if the Streams > Advanced > Framerate field is set to 29.970. This field works with the Streams > Advanced > Preprocessors > Deinterlacer field and the Streams > Advanced > Interlaced Mode field to identify the scan type for the output: Progressive, Interlaced, Hard Telecine or Soft Telecine. - Hard: produces 29.97i output from 23.976 input. - Soft: produces 23.976; the player converts this output to 29.97i.
 */
public sealed class H265Telecine {
    public abstract val value: kotlin.String

    public object Hard : aws.sdk.kotlin.services.mediaconvert.model.H265Telecine() {
        override val value: kotlin.String = "HARD"
        override fun toString(): kotlin.String = "Hard"
    }

    public object None : aws.sdk.kotlin.services.mediaconvert.model.H265Telecine() {
        override val value: kotlin.String = "NONE"
        override fun toString(): kotlin.String = "None"
    }

    public object Soft : aws.sdk.kotlin.services.mediaconvert.model.H265Telecine() {
        override val value: kotlin.String = "SOFT"
        override fun toString(): kotlin.String = "Soft"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.H265Telecine() {
        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.H265Telecine = when (value) {
            "HARD" -> Hard
            "NONE" -> None
            "SOFT" -> Soft
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            Hard,
            None,
            Soft,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy