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

com.pulumi.googlenative.contentwarehouse.v1.kotlin.outputs.GoogleCloudDocumentaiV1DocumentProvenanceResponse.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * Structure to identify provenance relationships between annotations in different revisions.
 * @property parents References to the original elements that are replaced.
 * @property revision The index of the revision that produced this element.
 * @property type The type of provenance operation.
 */
public data class GoogleCloudDocumentaiV1DocumentProvenanceResponse(
    public val parents: List,
    public val revision: Int,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.contentwarehouse.v1.outputs.GoogleCloudDocumentaiV1DocumentProvenanceResponse): GoogleCloudDocumentaiV1DocumentProvenanceResponse =
            GoogleCloudDocumentaiV1DocumentProvenanceResponse(
                parents = javaType.parents().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.googlenative.contentwarehouse.v1.kotlin.outputs.GoogleCloudDocumentaiV1DocumentProvenanceParentResponse.Companion.toKotlin(args0)
                    })
                }),
                revision = javaType.revision(),
                type = javaType.type(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy