_propDict)) { return $this->_propDict["alertRecords"]; } else { return null; } } /** * Sets the alertRecords * The collection of records of alert events. * * @param AlertRecord[] $val The alertRecords * * @return Monitoring */ public function setAlertRecords($val) { $this->_propDict["alertRecords"] = $val; return $this; } /** * Gets the alertRules * The collection of alert rules. * * @return array|null The alertRules */ public function getAlertRules() { if (array_key_exists("alertRules", $this->_propDict)) { return $this->_propDict["alertRules"]; } else { return null; } } /** * Sets the alertRules * The collection of alert rules. * * @param AlertRule[] $val The alertRules * * @return Monitoring */ public function setAlertRules($val) { $this->_propDict["alertRules"] = $val; return $this; } }