_propDict)) { return $this->_propDict["sequentialActivationCounterThreshold"]; } else { return null; } } /** * Sets the sequentialActivationCounterThreshold * The minimum number of activations within the timeIntervalBetweenActivations period to trigger an alert. * * @param int $val The sequentialActivationCounterThreshold * * @return SequentialActivationRenewalsAlertConfiguration */ public function setSequentialActivationCounterThreshold($val) { $this->_propDict["sequentialActivationCounterThreshold"] = intval($val); return $this; } /** * Gets the timeIntervalBetweenActivations * Time interval between activations to trigger an alert. * * @return \DateInterval|null The timeIntervalBetweenActivations */ public function getTimeIntervalBetweenActivations() { if (array_key_exists("timeIntervalBetweenActivations", $this->_propDict)) { if (is_a($this->_propDict["timeIntervalBetweenActivations"], "\DateInterval") || is_null($this->_propDict["timeIntervalBetweenActivations"])) { return $this->_propDict["timeIntervalBetweenActivations"]; } else { $this->_propDict["timeIntervalBetweenActivations"] = new \DateInterval($this->_propDict["timeIntervalBetweenActivations"]); return $this->_propDict["timeIntervalBetweenActivations"]; } } return null; } /** * Sets the timeIntervalBetweenActivations * Time interval between activations to trigger an alert. * * @param \DateInterval $val The timeIntervalBetweenActivations * * @return SequentialActivationRenewalsAlertConfiguration */ public function setTimeIntervalBetweenActivations($val) { $this->_propDict["timeIntervalBetweenActivations"] = $val; return $this; } }