rating = $rating; } public function getRating() { return $this->rating; } public function setVideoId($videoId) { $this->videoId = $videoId; } 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');