attributes = $attributes; } /** * @return array[] */ public function getAttributes() { return $this->attributes; } /** * @param array[] */ public function setCustomData($customData) { $this->customData = $customData; } /** * @return array[] */ public function getCustomData() { return $this->customData; } /** * @param DeviceInfo */ public function setDeviceInfo(DeviceInfo $deviceInfo) { $this->deviceInfo = $deviceInfo; } /** * @return DeviceInfo */ public function getDeviceInfo() { return $this->deviceInfo; } /** * @param string */ public function setId($id) { $this->id = $id; } /** * @return string */ public function getId() { return $this->id; } /** * @param DeviceNames */ public function setName(DeviceNames $name) { $this->name = $name; } /** * @return DeviceNames */ public function getName() { return $this->name; } /** * @param bool */ public function setNotificationSupportedByAgent($notificationSupportedByAgent) { $this->notificationSupportedByAgent = $notificationSupportedByAgent; } /** * @return bool */ public function getNotificationSupportedByAgent() { return $this->notificationSupportedByAgent; } /** * @param AgentOtherDeviceId[] */ public function setOtherDeviceIds($otherDeviceIds) { $this->otherDeviceIds = $otherDeviceIds; } /** * @return AgentOtherDeviceId[] */ public function getOtherDeviceIds() { return $this->otherDeviceIds; } /** * @param string */ public function setRoomHint($roomHint) { $this->roomHint = $roomHint; } /** * @return string */ public function getRoomHint() { return $this->roomHint; } /** * @param string */ public function setStructureHint($structureHint) { $this->structureHint = $structureHint; } /** * @return string */ public function getStructureHint() { return $this->structureHint; } /** * @param string[] */ public function setTraits($traits) { $this->traits = $traits; } /** * @return string[] */ public function getTraits() { return $this->traits; } /** * @param string */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getType() { return $this->type; } /** * @param bool */ public function setWillReportState($willReportState) { $this->willReportState = $willReportState; } /** * @return bool */ public function getWillReportState() { return $this->willReportState; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Device::class, 'Google_Service_HomeGraphService_Device');