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

com.pulumi.googlenative.healthcare.v1.kotlin.outputs.SchemaPackageResponse.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.healthcare.v1.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A schema package contains a set of schemas and type definitions.
 * @property ignoreMinOccurs Flag to ignore all min_occurs restrictions in the schema. This means that incoming messages can omit any group, segment, field, component, or subcomponent.
 * @property schemas Schema configs that are layered based on their VersionSources that match the incoming message. Schema configs present in higher indices override those in lower indices with the same message type and trigger event if their VersionSources all match an incoming message.
 * @property schematizedParsingType Determines how messages that fail to parse are handled.
 * @property types Schema type definitions that are layered based on their VersionSources that match the incoming message. Type definitions present in higher indices override those in lower indices with the same type name if their VersionSources all match an incoming message.
 * @property unexpectedSegmentHandling Determines how unexpected segments (segments not matched to the schema) are handled.
 */
public data class SchemaPackageResponse(
    public val ignoreMinOccurs: Boolean,
    public val schemas: List,
    public val schematizedParsingType: String,
    public val types: List,
    public val unexpectedSegmentHandling: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.healthcare.v1.outputs.SchemaPackageResponse): SchemaPackageResponse = SchemaPackageResponse(
            ignoreMinOccurs = javaType.ignoreMinOccurs(),
            schemas = javaType.schemas().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.googlenative.healthcare.v1.kotlin.outputs.Hl7SchemaConfigResponse.Companion.toKotlin(args0)
                })
            }),
            schematizedParsingType = javaType.schematizedParsingType(),
            types = javaType.types().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.googlenative.healthcare.v1.kotlin.outputs.Hl7TypesConfigResponse.Companion.toKotlin(args0)
                })
            }),
            unexpectedSegmentHandling = javaType.unexpectedSegmentHandling(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy