etag = $etag; } /** * @return string */ public function getEtag() { return $this->etag; } /** * @param string */ public function setId($id) { $this->id = $id; } /** * @return string */ public function getId() { return $this->id; } /** * @param string */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } /** * @param CaptionSnippet */ public function setSnippet(CaptionSnippet $snippet) { $this->snippet = $snippet; } /** * @return CaptionSnippet */ public function getSnippet() { return $this->snippet; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Caption::class, 'Google_Service_YouTube_Caption');