/// <summary> /// Initializes a new instance of the <see cref="TextBotFlowTurnRequest" /> class. /// </summary> /// <param name="PreviousTurn">The reference to a previous turn if appropriate, used to avoid race conditions..</param> /// <param name="InputEventType">Indicates the type of input event being requested. If appropriate, fill out the matching user input object details on this request. (required).</param> /// <param name="InputEventUserInput">The data for the input event of this turn if it is a user input event. Only one inputEvent may be set..</param> /// <param name="InputEventError">The data for the input event of this turn if it is an error event. Only one inputEvent may be set..</param> public TextBotFlowTurnRequest(TextBotTurnReference PreviousTurn = null, InputEventTypeEnum?InputEventType = null, TextBotUserInputEvent InputEventUserInput = null, TextBotErrorInputEvent InputEventError = null) { this.PreviousTurn = PreviousTurn; this.InputEventType = InputEventType; this.InputEventUserInput = InputEventUserInput; this.InputEventError = InputEventError; }
/// <summary> /// Initializes a new instance of the <see cref="TextBotFlowTurnResponse" /> class. /// </summary> /// <param name="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. (required).</param> /// <param name="PreviousTurn">The reference to a previous turn, if applicable..</param> /// <param name="Prompts">The output prompts for this turn..</param> /// <param name="NextActionType">Indicates the suggested next action. If appropriate, the matching output event object includes additional information. (required).</param> /// <param name="NextActionDisconnect">The next action directive for this turn if it is a Disconnect type..</param> /// <param name="NextActionWaitForInput">The next action directive for this turn if it is a WaitForInput type..</param> /// <param name="NextActionExit">The next action directive for this turn if it is an Exit type..</param> public TextBotFlowTurnResponse(string Id = null, TextBotTurnReference PreviousTurn = null, TextBotOutputPrompts Prompts = null, NextActionTypeEnum?NextActionType = null, TextBotDisconnectAction NextActionDisconnect = null, TextBotWaitForInputAction NextActionWaitForInput = null, TextBotExitAction NextActionExit = null) { this.Id = Id; this.PreviousTurn = PreviousTurn; this.Prompts = Prompts; this.NextActionType = NextActionType; this.NextActionDisconnect = NextActionDisconnect; this.NextActionWaitForInput = NextActionWaitForInput; this.NextActionExit = NextActionExit; }