magnitude = $magnitude; } /** * @return float */ public function getMagnitude() { return $this->magnitude; } /** * The sentiment score between -1.0 (negative) and 1.0 (positive). * * @param float $score */ public function setScore($score) { $this->score = $score; } /** * @return float */ public function getScore() { return $this->score; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudContactcenterinsightsV1SentimentData::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1SentimentData');