_propDict)) { if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { return $this->_propDict["endDateTime"]; } else { $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); return $this->_propDict["endDateTime"]; } } return null; } /** * Sets the endDateTime * Specifies the date before which all devices currently in the deployment are offered the update. Devices added after this date are offered immediately. When the endDateTime isn't set, all devices in the deployment are offered content at the same time. * * @param \DateTime $val The value to assign to the endDateTime * * @return DateDrivenRolloutSettings The DateDrivenRolloutSettings */ public function setEndDateTime($val) { $this->_propDict["endDateTime"] = $val; return $this; } }