languageCode = $languageCode; } /** * @return string */ public function getLanguageCode() { return $this->languageCode; } /** * @param bool */ public function setLanguageSupported($languageSupported) { $this->languageSupported = $languageSupported; } /** * @return bool */ public function getLanguageSupported() { return $this->languageSupported; } /** * @param ClassificationCategory[] */ public function setModerationCategories($moderationCategories) { $this->moderationCategories = $moderationCategories; } /** * @return ClassificationCategory[] */ public function getModerationCategories() { return $this->moderationCategories; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ModerateTextResponse::class, 'Google_Service_CloudNaturalLanguage_ModerateTextResponse');