_propDict)) { if (is_a($this->_propDict["durationUntilDeploymentEnd"], "\DateInterval") || is_null($this->_propDict["durationUntilDeploymentEnd"])) { return $this->_propDict["durationUntilDeploymentEnd"]; } else { $this->_propDict["durationUntilDeploymentEnd"] = new \DateInterval($this->_propDict["durationUntilDeploymentEnd"]); return $this->_propDict["durationUntilDeploymentEnd"]; } } return null; } /** * Sets the durationUntilDeploymentEnd * The target duration of the rollout. Given durationBetweenOffers and durationUntilDeploymentEnd, the system will automatically calculate how many devices are in each offering. * * @param \DateInterval $val The value to assign to the durationUntilDeploymentEnd * * @return DurationDrivenRolloutSettings The DurationDrivenRolloutSettings */ public function setDurationUntilDeploymentEnd($val) { $this->_propDict["durationUntilDeploymentEnd"] = $val; return $this; } }