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

com.pulumi.googlenative.contentwarehouse.v1.kotlin.outputs.GoogleCloudDocumentaiV1DocumentPageLineResponse.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.contentwarehouse.v1.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of tokens that a human would perceive as a line. Does not cross column boundaries, can be horizontal, vertical, etc.
 * @property detectedLanguages A list of detected languages together with confidence.
 * @property layout Layout for Line.
 * @property provenance The history of this annotation.
 */
public data class GoogleCloudDocumentaiV1DocumentPageLineResponse(
    public val detectedLanguages: List,
    public val layout: GoogleCloudDocumentaiV1DocumentPageLayoutResponse,
    public val provenance: GoogleCloudDocumentaiV1DocumentProvenanceResponse,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.contentwarehouse.v1.outputs.GoogleCloudDocumentaiV1DocumentPageLineResponse): GoogleCloudDocumentaiV1DocumentPageLineResponse =
            GoogleCloudDocumentaiV1DocumentPageLineResponse(
                detectedLanguages = javaType.detectedLanguages().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.googlenative.contentwarehouse.v1.kotlin.outputs.GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponse.Companion.toKotlin(args0)
                    })
                }),
                layout = javaType.layout().let({ args0 ->
                    com.pulumi.googlenative.contentwarehouse.v1.kotlin.outputs.GoogleCloudDocumentaiV1DocumentPageLayoutResponse.Companion.toKotlin(args0)
                }),
                provenance = javaType.provenance().let({ args0 ->
                    com.pulumi.googlenative.contentwarehouse.v1.kotlin.outputs.GoogleCloudDocumentaiV1DocumentProvenanceResponse.Companion.toKotlin(args0)
                }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy