_propDict)) { if (is_a($this->_propDict["endTime"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["endTime"])) { return $this->_propDict["endTime"]; } else { $this->_propDict["endTime"] = new TimeOfDay($this->_propDict["endTime"]); return $this->_propDict["endTime"]; } } return null; } /** * Sets the endTime * End time for the time range. * * @param TimeOfDay $val The value to assign to the endTime * * @return TimeRange The TimeRange */ public function setEndTime($val) { $this->_propDict["endTime"] = $val; return $this; } /** * Gets the startTime * Start time for the time range. * * @return TimeOfDay|null The startTime */ public function getStartTime() { if (array_key_exists("startTime", $this->_propDict)) { if (is_a($this->_propDict["startTime"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["startTime"])) { return $this->_propDict["startTime"]; } else { $this->_propDict["startTime"] = new TimeOfDay($this->_propDict["startTime"]); return $this->_propDict["startTime"]; } } return null; } /** * Sets the startTime * Start time for the time range. * * @param TimeOfDay $val The value to assign to the startTime * * @return TimeRange The TimeRange */ public function setStartTime($val) { $this->_propDict["startTime"] = $val; return $this; } }