_propDict)) { if (is_a($this->_propDict["lastAccessedDateTime"], "\DateTime") || is_null($this->_propDict["lastAccessedDateTime"])) { return $this->_propDict["lastAccessedDateTime"]; } else { $this->_propDict["lastAccessedDateTime"] = new \DateTime($this->_propDict["lastAccessedDateTime"]); return $this->_propDict["lastAccessedDateTime"]; } } return null; } /** * Sets the lastAccessedDateTime * The date and time the plan was last viewed by the user. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The value to assign to the lastAccessedDateTime * * @return PlannerRecentPlanReference The PlannerRecentPlanReference */ public function setLastAccessedDateTime($val) { $this->_propDict["lastAccessedDateTime"] = $val; return $this; } /** * Gets the planTitle * The title of the plan at the time the user viewed it. * * @return string|null The planTitle */ public function getPlanTitle() { if (array_key_exists("planTitle", $this->_propDict)) { return $this->_propDict["planTitle"]; } else { return null; } } /** * Sets the planTitle * The title of the plan at the time the user viewed it. * * @param string $val The value of the planTitle * * @return PlannerRecentPlanReference */ public function setPlanTitle($val) { $this->_propDict["planTitle"] = $val; return $this; } }