com.pulumi.gcp.diagflow.kotlin.outputs.CxTestCaseLastTestResultConversationTurnVirtualAgentOutput.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 differences The list of differences between the original run and the replay for this output, if any.
* Structure is documented below.
* @property sessionParameters The session parameters available to the bot at this point.
* @property status Response error from the agent in the test result. If set, other output is empty.
* Structure is documented below.
* @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 CxTestCaseLastTestResultConversationTurnVirtualAgentOutput(
public val currentPage: CxTestCaseLastTestResultConversationTurnVirtualAgentOutputCurrentPage? =
null,
public val differences: List? = null,
public val sessionParameters: String? = null,
public val status: CxTestCaseLastTestResultConversationTurnVirtualAgentOutputStatus? = null,
public val textResponses: List? = null,
public val triggeredIntent: CxTestCaseLastTestResultConversationTurnVirtualAgentOutputTriggeredIntent? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.diagflow.outputs.CxTestCaseLastTestResultConversationTurnVirtualAgentOutput): CxTestCaseLastTestResultConversationTurnVirtualAgentOutput =
CxTestCaseLastTestResultConversationTurnVirtualAgentOutput(
currentPage = javaType.currentPage().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.diagflow.kotlin.outputs.CxTestCaseLastTestResultConversationTurnVirtualAgentOutputCurrentPage.Companion.toKotlin(args0)
})
}).orElse(null),
differences = javaType.differences().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.diagflow.kotlin.outputs.CxTestCaseLastTestResultConversationTurnVirtualAgentOutputDifference.Companion.toKotlin(args0)
})
}),
sessionParameters = javaType.sessionParameters().map({ args0 -> args0 }).orElse(null),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.diagflow.kotlin.outputs.CxTestCaseLastTestResultConversationTurnVirtualAgentOutputStatus.Companion.toKotlin(args0)
})
}).orElse(null),
textResponses = javaType.textResponses().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.diagflow.kotlin.outputs.CxTestCaseLastTestResultConversationTurnVirtualAgentOutputTextResponse.Companion.toKotlin(args0)
})
}),
triggeredIntent = javaType.triggeredIntent().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.diagflow.kotlin.outputs.CxTestCaseLastTestResultConversationTurnVirtualAgentOutputTriggeredIntent.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy