answerText = $answerText; } /** * @return string */ public function getAnswerText() { return $this->answerText; } /** * @param GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource */ public function setFaqSource(GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource $faqSource) { $this->faqSource = $faqSource; } /** * @return GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource */ public function getFaqSource() { return $this->faqSource; } /** * @param GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource */ public function setGenerativeSource(GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource $generativeSource) { $this->generativeSource = $generativeSource; } /** * @return GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource */ public function getGenerativeSource() { return $this->generativeSource; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer');