_propDict)) { if (is_a($this->_propDict["defaultSeverity"], "\Beta\Microsoft\Graph\ManagedTenants\Model\AlertSeverity") || is_null($this->_propDict["defaultSeverity"])) { return $this->_propDict["defaultSeverity"]; } else { $this->_propDict["defaultSeverity"] = new AlertSeverity($this->_propDict["defaultSeverity"]); return $this->_propDict["defaultSeverity"]; } } return null; } /** * Sets the defaultSeverity * * @param AlertSeverity $val The value to assign to the defaultSeverity * * @return AlertRuleDefinitionTemplate The AlertRuleDefinitionTemplate */ public function setDefaultSeverity($val) { $this->_propDict["defaultSeverity"] = $val; return $this; } }