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

com.pulumi.gcp.diagflow.kotlin.outputs.CxPageFormParameter.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.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.diagflow.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property advancedSettings Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the settings exposed at the higher level.
 * Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
 * Structure is documented below.
 * @property defaultValue The default value of an optional parameter. If the parameter is required, the default value will be ignored.
 * @property displayName The human-readable name of the parameter, unique within the form.
 * @property entityType The entity type of the parameter.
 * Format: projects/-/locations/-/agents/-/entityTypes/ for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects//locations//agents//entityTypes/ for developer entity types.
 * @property fillBehavior Defines fill behavior for the parameter.
 * Structure is documented below.
 * @property isList Indicates whether the parameter represents a list of values.
 * @property redact Indicates whether the parameter content should be redacted in log.
 * If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
 * @property required Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them.
 * Required parameters must be filled before form filling concludes.
 */
public data class CxPageFormParameter(
    public val advancedSettings: CxPageFormParameterAdvancedSettings? = null,
    public val defaultValue: String? = null,
    public val displayName: String? = null,
    public val entityType: String? = null,
    public val fillBehavior: CxPageFormParameterFillBehavior? = null,
    public val isList: Boolean? = null,
    public val redact: Boolean? = null,
    public val required: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.diagflow.outputs.CxPageFormParameter): CxPageFormParameter = CxPageFormParameter(
            advancedSettings = javaType.advancedSettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.diagflow.kotlin.outputs.CxPageFormParameterAdvancedSettings.Companion.toKotlin(args0)
                })
            }).orElse(null),
            defaultValue = javaType.defaultValue().map({ args0 -> args0 }).orElse(null),
            displayName = javaType.displayName().map({ args0 -> args0 }).orElse(null),
            entityType = javaType.entityType().map({ args0 -> args0 }).orElse(null),
            fillBehavior = javaType.fillBehavior().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.diagflow.kotlin.outputs.CxPageFormParameterFillBehavior.Companion.toKotlin(args0)
                })
            }).orElse(null),
            isList = javaType.isList().map({ args0 -> args0 }).orElse(null),
            redact = javaType.redact().map({ args0 -> args0 }).orElse(null),
            required = javaType.required().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy