annotations = $annotations; } public function getAnnotations() { return $this->annotations; } /** * @param Endpoint[] */ public function setEndpoints($endpoints) { $this->endpoints = $endpoints; } /** * @return Endpoint[] */ public function getEndpoints() { return $this->endpoints; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Service::class, 'Google_Service_ServiceDirectory_Service');