_propDict)) { if (is_a($this->_propDict["afterHours"], "\DateInterval") || is_null($this->_propDict["afterHours"])) { return $this->_propDict["afterHours"]; } else { $this->_propDict["afterHours"] = new \DateInterval($this->_propDict["afterHours"]); return $this->_propDict["afterHours"]; } } return null; } /** * Sets the afterHours * Time spent on chats outside of working hours, which is based on the user's Microsoft Outlook calendar setting for work hours. The value is represented in ISO 8601 format for durations. * * @param \DateInterval $val The afterHours * * @return ChatActivityStatistics */ public function setAfterHours($val) { $this->_propDict["afterHours"] = $val; return $this; } }