
com.pulumi.googlenative.transcoder.v1.kotlin.outputs.TextStreamResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.transcoder.v1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Encoding of a text stream. For example, closed captions or subtitles.
* @property codec The codec for this text stream. The default is `webvtt`. Supported text codecs: - `srt` - `ttml` - `cea608` - `cea708` - `webvtt`
* @property displayName The name for this particular text stream that will be added to the HLS/DASH manifest. Not supported in MP4 files.
* @property languageCode The BCP-47 language code, such as `en-US` or `sr-Latn`. For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not supported in MP4 files.
* @property mapping The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.
*/
public data class TextStreamResponse(
public val codec: String,
public val displayName: String,
public val languageCode: String,
public val mapping: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.transcoder.v1.outputs.TextStreamResponse): TextStreamResponse = TextStreamResponse(
codec = javaType.codec(),
displayName = javaType.displayName(),
languageCode = javaType.languageCode(),
mapping = javaType.mapping().map({ args0 ->
args0.let({ args0 ->
com.pulumi.googlenative.transcoder.v1.kotlin.outputs.TextMappingResponse.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy