enableSentimentAnalysis = $enableSentimentAnalysis; } /** * @return bool */ public function getEnableSentimentAnalysis() { return $this->enableSentimentAnalysis; } /** * Parameters that need to be injected into the conversation during intent * detection. * * @param array[] $injectedParameters */ public function setInjectedParameters($injectedParameters) { $this->injectedParameters = $injectedParameters; } /** * @return array[] */ public function getInjectedParameters() { return $this->injectedParameters; } /** * Supports text input, event input, dtmf input in the test case. * * @param GoogleCloudDialogflowCxV3beta1QueryInput $input */ public function setInput(GoogleCloudDialogflowCxV3beta1QueryInput $input) { $this->input = $input; } /** * @return GoogleCloudDialogflowCxV3beta1QueryInput */ public function getInput() { return $this->input; } /** * If webhooks should be allowed to trigger in response to the user utterance. * Often if parameters are injected, webhooks should not be enabled. * * @param bool $isWebhookEnabled */ public function setIsWebhookEnabled($isWebhookEnabled) { $this->isWebhookEnabled = $isWebhookEnabled; } /** * @return bool */ public function getIsWebhookEnabled() { return $this->isWebhookEnabled; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput');