detectedLanguageCode = $detectedLanguageCode; } /** * @return string */ public function getDetectedLanguageCode() { return $this->detectedLanguageCode; } /** * @param TranslateTextGlossaryConfig */ public function setGlossaryConfig(TranslateTextGlossaryConfig $glossaryConfig) { $this->glossaryConfig = $glossaryConfig; } /** * @return TranslateTextGlossaryConfig */ public function getGlossaryConfig() { return $this->glossaryConfig; } /** * @param string */ public function setModel($model) { $this->model = $model; } /** * @return string */ public function getModel() { return $this->model; } /** * @param string */ public function setTranslatedText($translatedText) { $this->translatedText = $translatedText; } /** * @return string */ public function getTranslatedText() { return $this->translatedText; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Translation::class, 'Google_Service_Translate_Translation');