rating = $rating; } /** * @return string */ public function getRating() { return $this->rating; } /** * @param string */ public function setVideoId($videoId) { $this->videoId = $videoId; } /** * @return string */ public function getVideoId() { return $this->videoId; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(VideoRating::class, 'Google_Service_YouTube_VideoRating');