id = $id; } /** * @return string */ public function getId() { return $this->id; } /** * The video source. * * Accepted values: SOURCE_UNSPECIFIED, YOUTUBE, DRIVE * * @param self::SOURCE_* $source */ public function setSource($source) { $this->source = $source; } /** * @return self::SOURCE_* */ public function getSource() { return $this->source; } /** * An URL to a video. The URL is valid as long as the source video exists and * sharing settings do not change. * * @param string $url */ public function setUrl($url) { $this->url = $url; } /** * @return string */ public function getUrl() { return $this->url; } /** * The properties of the video. * * @param VideoProperties $videoProperties */ public function setVideoProperties(VideoProperties $videoProperties) { $this->videoProperties = $videoProperties; } /** * @return VideoProperties */ public function getVideoProperties() { return $this->videoProperties; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Video::class, 'Google_Service_Slides_Video');