com.pulumi.gcp.diagflow.kotlin.outputs.CxIntentTrainingPhrasePart.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.diagflow.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property parameterId The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
* @property text The text for this part.
*/
public data class CxIntentTrainingPhrasePart(
public val parameterId: String? = null,
public val text: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.diagflow.outputs.CxIntentTrainingPhrasePart): CxIntentTrainingPhrasePart = CxIntentTrainingPhrasePart(
parameterId = javaType.parameterId().map({ args0 -> args0 }).orElse(null),
text = javaType.text(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy