tock / ai.tock.bot.connector.ga / GAResponseConnectorMessage

GAResponseConnectorMessage

data class GAResponseConnectorMessage : ConnectorMessage (source)

Constructors

<init>

GAResponseConnectorMessage(input: GAExpectedInput)
GAResponseConnectorMessage(expectUserResponse: Boolean = true, expectedInputs: List<GAExpectedInput> = emptyList(), finalResponse: GAFinalResponse? = null, logoutEvent: Boolean = false)

Properties

connectorType

The connector type.

val connectorType: ConnectorType

expectedInput

val expectedInput: GAExpectedInput?

expectedInputs

val expectedInputs: List<GAExpectedInput>

expectUserResponse

val expectUserResponse: Boolean

finalResponse

val finalResponse: GAFinalResponse?

logoutEvent

val logoutEvent: Boolean

Functions

toGenericMessage

Transforms this message into a generic GenericMessage.

fun toGenericMessage(): GenericMessage?

Extension Functions

asGenericMessage

fun ConnectorMessage.asGenericMessage(assertionCreator: Assert<GenericMessage>.() -> Unit): Unit

findTransactionDecisionValueV3

Return a GATransactionDecisionValueV3 if available.

fun ConnectorMessage.findTransactionDecisionValueV3(): GATransactionDecisionValueV3?

findTransactionRequirementsCheckResultV3

Return a GATransactionRequirementsCheckResultV3 if available.

fun ConnectorMessage.findTransactionRequirementsCheckResultV3(): GATransactionRequirementsCheckResultV3?