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

com.pulumi.azurenative.iotoperations.kotlin.outputs.DataFlowBuiltInTransformationMapResponse.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.iotoperations.kotlin.outputs

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

/**
 * DataFlow BuiltIn Transformation map properties
 * @property description A user provided optional description of the mapping function.
 * @property expression Modify the inputs field(s) to the final output field. Example: $1 * 2.2 (Assuming inputs section $1 is provided)
 * @property inputs List of fields for mapping in JSON path expression.
 * @property output Where and how the input fields to be organized in the output record.
 * @property type Type of transformation.
 */
public data class DataFlowBuiltInTransformationMapResponse(
    public val description: String? = null,
    public val expression: String? = null,
    public val inputs: List,
    public val output: String,
    public val type: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.iotoperations.outputs.DataFlowBuiltInTransformationMapResponse): DataFlowBuiltInTransformationMapResponse = DataFlowBuiltInTransformationMapResponse(
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            expression = javaType.expression().map({ args0 -> args0 }).orElse(null),
            inputs = javaType.inputs().map({ args0 -> args0 }),
            output = javaType.output(),
            type = javaType.type().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy