defaultNames = $defaultNames; } /** * @return string[] */ public function getDefaultNames() { return $this->defaultNames; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param string[] */ public function setNicknames($nicknames) { $this->nicknames = $nicknames; } /** * @return string[] */ public function getNicknames() { return $this->nicknames; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(DeviceNames::class, 'Google_Service_HomeGraphService_DeviceNames');