_propDict)) { if (is_a($this->_propDict["setting"], "\Microsoft\Graph\Model\ApprovalSettings") || is_null($this->_propDict["setting"])) { return $this->_propDict["setting"]; } else { $this->_propDict["setting"] = new ApprovalSettings($this->_propDict["setting"]); return $this->_propDict["setting"]; } } return null; } /** * Sets the setting * The settings for approval of the role assignment. * * @param ApprovalSettings $val The setting * * @return UnifiedRoleManagementPolicyApprovalRule */ public function setSetting($val) { $this->_propDict["setting"] = $val; return $this; } }