com.pulumi.gcp.diagflow.kotlin.outputs.CxTestCaseTestCaseConversationTurnVirtualAgentOutput.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
import kotlin.collections.List
/**
*
* @property currentPage The [Page](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.flows.pages#Page) on which the utterance was spoken.
* Structure is documented below.
* @property sessionParameters The session parameters available to the bot at this point.
* @property textResponses The text responses from the agent for the turn.
* Structure is documented below.
* @property triggeredIntent The [Intent](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.intents#Intent) that triggered the response.
* Structure is documented below.
*/
public data class CxTestCaseTestCaseConversationTurnVirtualAgentOutput(
public val currentPage: CxTestCaseTestCaseConversationTurnVirtualAgentOutputCurrentPage? = null,
public val sessionParameters: String? = null,
public val textResponses: List? =
null,
public val triggeredIntent: CxTestCaseTestCaseConversationTurnVirtualAgentOutputTriggeredIntent? =
null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.diagflow.outputs.CxTestCaseTestCaseConversationTurnVirtualAgentOutput): CxTestCaseTestCaseConversationTurnVirtualAgentOutput =
CxTestCaseTestCaseConversationTurnVirtualAgentOutput(
currentPage = javaType.currentPage().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.diagflow.kotlin.outputs.CxTestCaseTestCaseConversationTurnVirtualAgentOutputCurrentPage.Companion.toKotlin(args0)
})
}).orElse(null),
sessionParameters = javaType.sessionParameters().map({ args0 -> args0 }).orElse(null),
textResponses = javaType.textResponses().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.diagflow.kotlin.outputs.CxTestCaseTestCaseConversationTurnVirtualAgentOutputTextResponse.Companion.toKotlin(args0)
})
}),
triggeredIntent = javaType.triggeredIntent().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.diagflow.kotlin.outputs.CxTestCaseTestCaseConversationTurnVirtualAgentOutputTriggeredIntent.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy