_propDict)) { if (is_a($this->_propDict["date"], "\DateTime") || is_null($this->_propDict["date"])) { return $this->_propDict["date"]; } else { $this->_propDict["date"] = new \DateTime($this->_propDict["date"]); return $this->_propDict["date"]; } } return null; } /** * Sets the date * The date the script is scheduled to run. This collection can contain a maximum of 20 elements. * * @param \DateTime $val The value to assign to the date * * @return DeviceHealthScriptRunOnceSchedule The DeviceHealthScriptRunOnceSchedule */ public function setDate($val) { $this->_propDict["date"] = $val; return $this; } }