_propDict)) { return $this->_propDict["displayName"]; } else { return null; } } /** * Sets the displayName * The device name. * * @param string $val The displayName * * @return AppVulnerabilityManagedDevice */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the lastSyncDateTime * The created date. * * @return \DateTime|null The lastSyncDateTime */ public function getLastSyncDateTime() { if (array_key_exists("lastSyncDateTime", $this->_propDict)) { if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { return $this->_propDict["lastSyncDateTime"]; } else { $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); return $this->_propDict["lastSyncDateTime"]; } } return null; } /** * Sets the lastSyncDateTime * The created date. * * @param \DateTime $val The lastSyncDateTime * * @return AppVulnerabilityManagedDevice */ public function setLastSyncDateTime($val) { $this->_propDict["lastSyncDateTime"] = $val; return $this; } /** * Gets the managedDeviceId * The Intune managed device ID. * * @return string|null The managedDeviceId */ public function getManagedDeviceId() { if (array_key_exists("managedDeviceId", $this->_propDict)) { return $this->_propDict["managedDeviceId"]; } else { return null; } } /** * Sets the managedDeviceId * The Intune managed device ID. * * @param string $val The managedDeviceId * * @return AppVulnerabilityManagedDevice */ public function setManagedDeviceId($val) { $this->_propDict["managedDeviceId"] = $val; return $this; } }