documentSentiment = $documentSentiment; } /** * @return Sentiment */ public function getDocumentSentiment() { return $this->documentSentiment; } /** * @param string */ public function setLanguageCode($languageCode) { $this->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 Sentence[] */ public function setSentences($sentences) { $this->sentences = $sentences; } /** * @return Sentence[] */ public function getSentences() { return $this->sentences; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AnalyzeSentimentResponse::class, 'Google_Service_CloudNaturalLanguage_AnalyzeSentimentResponse');