_propDict)) { if (is_a($this->_propDict["time"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["time"])) { return $this->_propDict["time"]; } else { $this->_propDict["time"] = new TimeOfDay($this->_propDict["time"]); return $this->_propDict["time"]; } } return null; } /** * Sets the time * At what time the script is scheduled to run. This collection can contain a maximum of 20 elements. * * @param TimeOfDay $val The value to assign to the time * * @return DeviceHealthScriptTimeSchedule The DeviceHealthScriptTimeSchedule */ public function setTime($val) { $this->_propDict["time"] = $val; return $this; } /** * Gets the useUtc * Indicate if the time is Utc or client local time. * * @return bool|null The useUtc */ public function getUseUtc() { if (array_key_exists("useUtc", $this->_propDict)) { return $this->_propDict["useUtc"]; } else { return null; } } /** * Sets the useUtc * Indicate if the time is Utc or client local time. * * @param bool $val The value of the useUtc * * @return DeviceHealthScriptTimeSchedule */ public function setUseUtc($val) { $this->_propDict["useUtc"] = $val; return $this; } }