_propDict)) { if (is_a($this->_propDict["lastLogOnDateTime"], "\DateTime") || is_null($this->_propDict["lastLogOnDateTime"])) { return $this->_propDict["lastLogOnDateTime"]; } else { $this->_propDict["lastLogOnDateTime"] = new \DateTime($this->_propDict["lastLogOnDateTime"]); return $this->_propDict["lastLogOnDateTime"]; } } return null; } /** * Sets the lastLogOnDateTime * Date time when user logs on * * @param \DateTime $val The value to assign to the lastLogOnDateTime * * @return LoggedOnUser The LoggedOnUser */ public function setLastLogOnDateTime($val) { $this->_propDict["lastLogOnDateTime"] = $val; return $this; } /** * Gets the userId * User id * * @return string|null The userId */ public function getUserId() { if (array_key_exists("userId", $this->_propDict)) { return $this->_propDict["userId"]; } else { return null; } } /** * Sets the userId * User id * * @param string $val The value of the userId * * @return LoggedOnUser */ public function setUserId($val) { $this->_propDict["userId"] = $val; return $this; } }