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

com.pulumi.googlenative.dialogflow.v3beta1.kotlin.inputs.GetPagePlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.googlenative.dialogflow.v3beta1.kotlin.inputs

import com.pulumi.googlenative.dialogflow.v3beta1.inputs.GetPagePlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property agentId
 * @property flowId
 * @property languageCode
 * @property location
 * @property pageId
 * @property project
 */
public data class GetPagePlainArgs(
    public val agentId: String,
    public val flowId: String,
    public val languageCode: String? = null,
    public val location: String,
    public val pageId: String,
    public val project: String? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.dialogflow.v3beta1.inputs.GetPagePlainArgs =
        com.pulumi.googlenative.dialogflow.v3beta1.inputs.GetPagePlainArgs.builder()
            .agentId(agentId.let({ args0 -> args0 }))
            .flowId(flowId.let({ args0 -> args0 }))
            .languageCode(languageCode?.let({ args0 -> args0 }))
            .location(location.let({ args0 -> args0 }))
            .pageId(pageId.let({ args0 -> args0 }))
            .project(project?.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetPagePlainArgs].
 */
@PulumiTagMarker
public class GetPagePlainArgsBuilder internal constructor() {
    private var agentId: String? = null

    private var flowId: String? = null

    private var languageCode: String? = null

    private var location: String? = null

    private var pageId: String? = null

    private var project: String? = null

    /**
     * @param value
     */
    @JvmName("ocrntkyhjogodmti")
    public suspend fun agentId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.agentId = mapped
    }

    /**
     * @param value
     */
    @JvmName("mglyyquprryxahfa")
    public suspend fun flowId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.flowId = mapped
    }

    /**
     * @param value
     */
    @JvmName("ehcnmtssepclaywy")
    public suspend fun languageCode(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.languageCode = mapped
    }

    /**
     * @param value
     */
    @JvmName("kwgxmfpcudlvbkch")
    public suspend fun location(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.location = mapped
    }

    /**
     * @param value
     */
    @JvmName("hoemoyfybypqtqnm")
    public suspend fun pageId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.pageId = mapped
    }

    /**
     * @param value
     */
    @JvmName("pfyrywxalrqgqlil")
    public suspend fun project(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.project = mapped
    }

    internal fun build(): GetPagePlainArgs = GetPagePlainArgs(
        agentId = agentId ?: throw PulumiNullFieldException("agentId"),
        flowId = flowId ?: throw PulumiNullFieldException("flowId"),
        languageCode = languageCode,
        location = location ?: throw PulumiNullFieldException("location"),
        pageId = pageId ?: throw PulumiNullFieldException("pageId"),
        project = project,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy