<?php

/**
* Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
* 
* TeamsAppSettings 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 XCloner\Beta\Microsoft\Graph\Model;

if (!defined('ABSPATH') && \PHP_SAPI !== 'cli') {
    die;
}
/**
* TeamsAppSettings 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 TeamsAppSettings extends Entity
{
    /**
     * Gets the isChatResourceSpecificConsentEnabled
     * Indicates whether resource-specific consent for chats/meetings has been enabled for the tenant. If true, Teams apps that are allowed in the tenant and require resource-specific permissions can be installed inside chats and meetings. If false, the installation of any Teams app that requires resource-specific permissions in a chat or a meeting will be blocked.
     *
     * @return bool|null The isChatResourceSpecificConsentEnabled
     */
    public function getIsChatResourceSpecificConsentEnabled()
    {
        if (array_key_exists("isChatResourceSpecificConsentEnabled", $this->_propDict)) {
            return $this->_propDict["isChatResourceSpecificConsentEnabled"];
        } else {
            return null;
        }
    }
    /**
     * Sets the isChatResourceSpecificConsentEnabled
     * Indicates whether resource-specific consent for chats/meetings has been enabled for the tenant. If true, Teams apps that are allowed in the tenant and require resource-specific permissions can be installed inside chats and meetings. If false, the installation of any Teams app that requires resource-specific permissions in a chat or a meeting will be blocked.
     *
     * @param bool $val The isChatResourceSpecificConsentEnabled
     *
     * @return TeamsAppSettings
     */
    public function setIsChatResourceSpecificConsentEnabled($val)
    {
        $this->_propDict["isChatResourceSpecificConsentEnabled"] = boolval($val);
        return $this;
    }
}
