<?php
/**
* Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
* 
* AppConsentApprovalRoute 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;

/**
* AppConsentApprovalRoute 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 AppConsentApprovalRoute extends Entity
{

     /**
     * Gets the appConsentRequests
    * A collection of appConsentRequest objects representing apps for which admin consent has been requested by one or more users.
     *
     * @return array|null The appConsentRequests
     */
    public function getAppConsentRequests()
    {
        if (array_key_exists("appConsentRequests", $this->_propDict)) {
           return $this->_propDict["appConsentRequests"];
        } else {
            return null;
        }
    }

    /**
    * Sets the appConsentRequests
    * A collection of appConsentRequest objects representing apps for which admin consent has been requested by one or more users.
    *
    * @param AppConsentRequest[] $val The appConsentRequests
    *
    * @return AppConsentApprovalRoute
    */
    public function setAppConsentRequests($val)
    {
        $this->_propDict["appConsentRequests"] = $val;
        return $this;
    }

}
