59 lines
1.6 KiB
PHP
59 lines
1.6 KiB
PHP
<?php
|
|
/**
|
|
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
|
*
|
|
* AdminAppsAndServices 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 Beta\Microsoft\Graph\Model;
|
|
|
|
/**
|
|
* AdminAppsAndServices 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 AdminAppsAndServices extends Entity
|
|
{
|
|
/**
|
|
* Gets the settings
|
|
*
|
|
* @return AppsAndServicesSettings|null The settings
|
|
*/
|
|
public function getSettings()
|
|
{
|
|
if (array_key_exists("settings", $this->_propDict)) {
|
|
if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\AppsAndServicesSettings") || is_null($this->_propDict["settings"])) {
|
|
return $this->_propDict["settings"];
|
|
} else {
|
|
$this->_propDict["settings"] = new AppsAndServicesSettings($this->_propDict["settings"]);
|
|
return $this->_propDict["settings"];
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
/**
|
|
* Sets the settings
|
|
*
|
|
* @param AppsAndServicesSettings $val The settings
|
|
*
|
|
* @return AdminAppsAndServices
|
|
*/
|
|
public function setSettings($val)
|
|
{
|
|
$this->_propDict["settings"] = $val;
|
|
return $this;
|
|
}
|
|
|
|
}
|