Package com.mypurecloud.sdk.v2.model
Class TextBotFlowTurnRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.TextBotFlowTurnRequest
- All Implemented Interfaces:
Serializable
Settings for a turn request to a bot flow.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndicates the type of input event being requested. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()inputEventError(TextBotErrorInputEvent inputEventError) The data for the input event of this turn if it is an error event.inputEventType(TextBotFlowTurnRequest.InputEventTypeEnum inputEventType) Indicates the type of input event being requested.inputEventUserInput(TextBotUserInputEvent inputEventUserInput) The data for the input event of this turn if it is a user input event.previousTurn(TextBotTurnReference previousTurn) The reference to a previous turn if appropriate, used to avoid race conditions.voidsetInputEventError(TextBotErrorInputEvent inputEventError) voidsetInputEventType(TextBotFlowTurnRequest.InputEventTypeEnum inputEventType) voidsetInputEventUserInput(TextBotUserInputEvent inputEventUserInput) voidsetPreviousTurn(TextBotTurnReference previousTurn) toString()
-
Constructor Details
-
TextBotFlowTurnRequest
public TextBotFlowTurnRequest() -
TextBotFlowTurnRequest
-
-
Method Details
-
previousTurn
The reference to a previous turn if appropriate, used to avoid race conditions. -
getPreviousTurn
-
setPreviousTurn
-
inputEventType
public TextBotFlowTurnRequest inputEventType(TextBotFlowTurnRequest.InputEventTypeEnum inputEventType) Indicates the type of input event being requested. If appropriate, fill out the matching user input object details on this request. -
getInputEventType
-
setInputEventType
-
inputEventUserInput
The data for the input event of this turn if it is a user input event. Only one inputEvent may be set. -
getInputEventUserInput
-
setInputEventUserInput
-
inputEventError
The data for the input event of this turn if it is an error event. Only one inputEvent may be set. -
getInputEventError
-
setInputEventError
-
equals
-
hashCode
public int hashCode() -
toString
-