Package com.mypurecloud.sdk.v2.model
Class TextBotFlowTurnResponse
java.lang.Object
com.mypurecloud.sdk.v2.model.TextBotFlowTurnResponse
- All Implemented Interfaces:
Serializable
Information related to a success bot flow turn request.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndicates the suggested next action. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()inthashCode()The ID of the bot flow turn.nextActionDisconnect(TextBotDisconnectAction nextActionDisconnect) The next action directive for this turn if it is a Disconnect type.nextActionExit(TextBotExitAction nextActionExit) The next action directive for this turn if it is an Exit type.nextActionType(TextBotFlowTurnResponse.NextActionTypeEnum nextActionType) Indicates the suggested next action.nextActionWaitForInput(TextBotWaitForInputAction nextActionWaitForInput) The next action directive for this turn if it is a WaitForInput type.previousTurn(TextBotTurnReference previousTurn) The reference to a previous turn, if applicable.prompts(TextBotOutputPrompts prompts) The output prompts for this turn.voidvoidsetNextActionDisconnect(TextBotDisconnectAction nextActionDisconnect) voidsetNextActionExit(TextBotExitAction nextActionExit) voidsetNextActionType(TextBotFlowTurnResponse.NextActionTypeEnum nextActionType) voidsetNextActionWaitForInput(TextBotWaitForInputAction nextActionWaitForInput) voidsetPreviousTurn(TextBotTurnReference previousTurn) voidsetPrompts(TextBotOutputPrompts prompts) toString()
-
Constructor Details
-
TextBotFlowTurnResponse
public TextBotFlowTurnResponse() -
TextBotFlowTurnResponse
-
-
Method Details
-
id
The ID of the bot flow turn. If additional turns are needed, supply this ID as the previous turn in your next turn request. -
getId
-
setId
-
previousTurn
The reference to a previous turn, if applicable. -
getPreviousTurn
-
setPreviousTurn
-
prompts
The output prompts for this turn. -
getPrompts
-
setPrompts
-
nextActionType
public TextBotFlowTurnResponse nextActionType(TextBotFlowTurnResponse.NextActionTypeEnum nextActionType) Indicates the suggested next action. If appropriate, the matching output event object includes additional information. -
getNextActionType
-
setNextActionType
-
nextActionDisconnect
The next action directive for this turn if it is a Disconnect type. -
getNextActionDisconnect
-
setNextActionDisconnect
-
nextActionWaitForInput
public TextBotFlowTurnResponse nextActionWaitForInput(TextBotWaitForInputAction nextActionWaitForInput) The next action directive for this turn if it is a WaitForInput type. -
getNextActionWaitForInput
-
setNextActionWaitForInput
-
nextActionExit
The next action directive for this turn if it is an Exit type. -
getNextActionExit
-
setNextActionExit
-
equals
-
hashCode
public int hashCode() -
toString
-