_propDict)) { return $this->_propDict["dateFormat"]; } else { return null; } } /** * Sets the dateFormat * The date format for the device. * * @param string $val The value of the dateFormat * * @return TeamworkDateTimeConfiguration */ public function setDateFormat($val) { $this->_propDict["dateFormat"] = $val; return $this; } /** * Gets the officeHoursEndTime * The time of the day when the device is turned off. * * @return TimeOfDay|null The officeHoursEndTime */ public function getOfficeHoursEndTime() { if (array_key_exists("officeHoursEndTime", $this->_propDict)) { if (is_a($this->_propDict["officeHoursEndTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["officeHoursEndTime"])) { return $this->_propDict["officeHoursEndTime"]; } else { $this->_propDict["officeHoursEndTime"] = new TimeOfDay($this->_propDict["officeHoursEndTime"]); return $this->_propDict["officeHoursEndTime"]; } } return null; } /** * Sets the officeHoursEndTime * The time of the day when the device is turned off. * * @param TimeOfDay $val The value to assign to the officeHoursEndTime * * @return TeamworkDateTimeConfiguration The TeamworkDateTimeConfiguration */ public function setOfficeHoursEndTime($val) { $this->_propDict["officeHoursEndTime"] = $val; return $this; } /** * Gets the officeHoursStartTime * The time of the day when the device is turned on. * * @return TimeOfDay|null The officeHoursStartTime */ public function getOfficeHoursStartTime() { if (array_key_exists("officeHoursStartTime", $this->_propDict)) { if (is_a($this->_propDict["officeHoursStartTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["officeHoursStartTime"])) { return $this->_propDict["officeHoursStartTime"]; } else { $this->_propDict["officeHoursStartTime"] = new TimeOfDay($this->_propDict["officeHoursStartTime"]); return $this->_propDict["officeHoursStartTime"]; } } return null; } /** * Sets the officeHoursStartTime * The time of the day when the device is turned on. * * @param TimeOfDay $val The value to assign to the officeHoursStartTime * * @return TeamworkDateTimeConfiguration The TeamworkDateTimeConfiguration */ public function setOfficeHoursStartTime($val) { $this->_propDict["officeHoursStartTime"] = $val; return $this; } /** * Gets the timeFormat * The time format for the device. * * @return string|null The timeFormat */ public function getTimeFormat() { if (array_key_exists("timeFormat", $this->_propDict)) { return $this->_propDict["timeFormat"]; } else { return null; } } /** * Sets the timeFormat * The time format for the device. * * @param string $val The value of the timeFormat * * @return TeamworkDateTimeConfiguration */ public function setTimeFormat($val) { $this->_propDict["timeFormat"] = $val; return $this; } /** * Gets the timeZone * The time zone to which the office hours apply. * * @return string|null The timeZone */ public function getTimeZone() { if (array_key_exists("timeZone", $this->_propDict)) { return $this->_propDict["timeZone"]; } else { return null; } } /** * Sets the timeZone * The time zone to which the office hours apply. * * @param string $val The value of the timeZone * * @return TeamworkDateTimeConfiguration */ public function setTimeZone($val) { $this->_propDict["timeZone"] = $val; return $this; } }