setODataType("#microsoft.graph.windowsUpdateActiveHoursInstall"); } /** * Gets the activeHoursEnd * Active Hours End * * @return TimeOfDay|null The activeHoursEnd */ public function getActiveHoursEnd() { if (array_key_exists("activeHoursEnd", $this->_propDict)) { if (is_a($this->_propDict["activeHoursEnd"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["activeHoursEnd"])) { return $this->_propDict["activeHoursEnd"]; } else { $this->_propDict["activeHoursEnd"] = new TimeOfDay($this->_propDict["activeHoursEnd"]); return $this->_propDict["activeHoursEnd"]; } } return null; } /** * Sets the activeHoursEnd * Active Hours End * * @param TimeOfDay $val The value to assign to the activeHoursEnd * * @return WindowsUpdateActiveHoursInstall The WindowsUpdateActiveHoursInstall */ public function setActiveHoursEnd($val) { $this->_propDict["activeHoursEnd"] = $val; return $this; } /** * Gets the activeHoursStart * Active Hours Start * * @return TimeOfDay|null The activeHoursStart */ public function getActiveHoursStart() { if (array_key_exists("activeHoursStart", $this->_propDict)) { if (is_a($this->_propDict["activeHoursStart"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["activeHoursStart"])) { return $this->_propDict["activeHoursStart"]; } else { $this->_propDict["activeHoursStart"] = new TimeOfDay($this->_propDict["activeHoursStart"]); return $this->_propDict["activeHoursStart"]; } } return null; } /** * Sets the activeHoursStart * Active Hours Start * * @param TimeOfDay $val The value to assign to the activeHoursStart * * @return WindowsUpdateActiveHoursInstall The WindowsUpdateActiveHoursInstall */ public function setActiveHoursStart($val) { $this->_propDict["activeHoursStart"] = $val; return $this; } }