_propDict)) { if (is_a($this->_propDict["nextRunDateTime"], "\DateTime") || is_null($this->_propDict["nextRunDateTime"])) { return $this->_propDict["nextRunDateTime"]; } else { $this->_propDict["nextRunDateTime"] = new \DateTime($this->_propDict["nextRunDateTime"]); return $this->_propDict["nextRunDateTime"]; } } return null; } /** * Sets the nextRunDateTime * * @param \DateTime $val The value to assign to the nextRunDateTime * * @return RuleSchedule The RuleSchedule */ public function setNextRunDateTime($val) { $this->_propDict["nextRunDateTime"] = $val; return $this; } /** * Gets the period * * @return string|null The period */ public function getPeriod() { if (array_key_exists("period", $this->_propDict)) { return $this->_propDict["period"]; } else { return null; } } /** * Sets the period * * @param string $val The value of the period * * @return RuleSchedule */ public function setPeriod($val) { $this->_propDict["period"] = $val; return $this; } }