com.pulumi.azurenative.datafactory.kotlin.outputs.ExpressionV2Response.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datafactory.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Nested representation of a complex expression.
* @property operands List of nested expressions.
* @property operators Expression operator value Type: list of strings.
* @property type Type of expressions supported by the system. Type: string.
* @property value Value for Constant/Field Type: string.
*/
public data class ExpressionV2Response(
public val operands: List? = null,
public val operators: List? = null,
public val type: String? = null,
public val `value`: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.datafactory.outputs.ExpressionV2Response): ExpressionV2Response = ExpressionV2Response(
operands = javaType.operands().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.datafactory.kotlin.outputs.ExpressionV2Response.Companion.toKotlin(args0)
})
}),
operators = javaType.operators().map({ args0 -> args0 }),
type = javaType.type().map({ args0 -> args0 }).orElse(null),
`value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
)
}
}