ruạṛ
<?php /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * * UnifiedRoleManagementPolicyApprovalRule File * PHP version 7 * * @category Library * @package Microsoft.Graph * @copyright (c) Microsoft Corporation. All rights reserved. * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ namespace Microsoft\Graph\Model; /** * UnifiedRoleManagementPolicyApprovalRule class * * @category Model * @package Microsoft.Graph * @copyright (c) Microsoft Corporation. All rights reserved. * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ class UnifiedRoleManagementPolicyApprovalRule extends UnifiedRoleManagementPolicyRule { /** * Gets the setting * The settings for approval of the role assignment. * * @return ApprovalSettings|null The setting */ public function getSetting() { if (array_key_exists("setting", $this->_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; } }
cải xoăn