_propDict)) { if (is_a($this->_propDict["lastConnectionTime"], "\DateTime") || is_null($this->_propDict["lastConnectionTime"])) { return $this->_propDict["lastConnectionTime"]; } else { $this->_propDict["lastConnectionTime"] = new \DateTime($this->_propDict["lastConnectionTime"]); return $this->_propDict["lastConnectionTime"]; } } return null; } /** * Sets the lastConnectionTime * The last time the device was connected. * * @param \DateTime $val The value to assign to the lastConnectionTime * * @return DeviceHealth The DeviceHealth */ public function setLastConnectionTime($val) { $this->_propDict["lastConnectionTime"] = $val; return $this; } }