_propDict)) { return $this->_propDict["deviceCount"]; } else { return null; } } /** * Sets the deviceCount * Count of devices with malware for the OS version * * @param int $val The value of the deviceCount * * @return OsVersionCount */ public function setDeviceCount($val) { $this->_propDict["deviceCount"] = $val; return $this; } /** * Gets the lastUpdateDateTime * The Timestamp of the last update for the device count in UTC * * @return \DateTime|null The lastUpdateDateTime */ public function getLastUpdateDateTime() { if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { return $this->_propDict["lastUpdateDateTime"]; } else { $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); return $this->_propDict["lastUpdateDateTime"]; } } return null; } /** * Sets the lastUpdateDateTime * The Timestamp of the last update for the device count in UTC * * @param \DateTime $val The value to assign to the lastUpdateDateTime * * @return OsVersionCount The OsVersionCount */ public function setLastUpdateDateTime($val) { $this->_propDict["lastUpdateDateTime"] = $val; return $this; } /** * Gets the osVersion * OS version * * @return string|null The osVersion */ public function getOsVersion() { if (array_key_exists("osVersion", $this->_propDict)) { return $this->_propDict["osVersion"]; } else { return null; } } /** * Sets the osVersion * OS version * * @param string $val The value of the osVersion * * @return OsVersionCount */ public function setOsVersion($val) { $this->_propDict["osVersion"] = $val; return $this; } }