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

com.pulumi.googlenative.transcoder.v1.kotlin.outputs.ElementaryStreamResponse.kt Maven / Gradle / Ivy

Go to download

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

/**
 * Encoding of an input file such as an audio, video, or text track. Elementary streams must be packaged before mapping and sharing between different output formats.
 * @property audioStream Encoding of an audio stream.
 * @property key A unique key for this elementary stream.
 * @property textStream Encoding of a text stream. For example, closed captions or subtitles.
 * @property videoStream Encoding of a video stream.
 */
public data class ElementaryStreamResponse(
    public val audioStream: AudioStreamResponse,
    public val key: String,
    public val textStream: TextStreamResponse,
    public val videoStream: VideoStreamResponse,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.transcoder.v1.outputs.ElementaryStreamResponse): ElementaryStreamResponse = ElementaryStreamResponse(
            audioStream = javaType.audioStream().let({ args0 ->
                com.pulumi.googlenative.transcoder.v1.kotlin.outputs.AudioStreamResponse.Companion.toKotlin(args0)
            }),
            key = javaType.key(),
            textStream = javaType.textStream().let({ args0 ->
                com.pulumi.googlenative.transcoder.v1.kotlin.outputs.TextStreamResponse.Companion.toKotlin(args0)
            }),
            videoStream = javaType.videoStream().let({ args0 ->
                com.pulumi.googlenative.transcoder.v1.kotlin.outputs.VideoStreamResponse.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy