1
0
Fork 0
m365-php/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Settings.php

111 lines
2.8 KiB
PHP

<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* Settings 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;
/**
* Settings 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 Settings extends Entity
{
/**
* Gets the hasGraphMailbox
* Specifies if the user's primary mailbox is hosted in the cloud and is enabled for Microsoft Graph.
*
* @return bool|null The hasGraphMailbox
*/
public function getHasGraphMailbox()
{
if (array_key_exists("hasGraphMailbox", $this->_propDict)) {
return $this->_propDict["hasGraphMailbox"];
} else {
return null;
}
}
/**
* Sets the hasGraphMailbox
* Specifies if the user's primary mailbox is hosted in the cloud and is enabled for Microsoft Graph.
*
* @param bool $val The value of the hasGraphMailbox
*
* @return Settings
*/
public function setHasGraphMailbox($val)
{
$this->_propDict["hasGraphMailbox"] = $val;
return $this;
}
/**
* Gets the hasLicense
* Specifies if the user has a MyAnalytics license assigned.
*
* @return bool|null The hasLicense
*/
public function getHasLicense()
{
if (array_key_exists("hasLicense", $this->_propDict)) {
return $this->_propDict["hasLicense"];
} else {
return null;
}
}
/**
* Sets the hasLicense
* Specifies if the user has a MyAnalytics license assigned.
*
* @param bool $val The value of the hasLicense
*
* @return Settings
*/
public function setHasLicense($val)
{
$this->_propDict["hasLicense"] = $val;
return $this;
}
/**
* Gets the hasOptedOut
* Specifies if the user opted out of MyAnalytics.
*
* @return bool|null The hasOptedOut
*/
public function getHasOptedOut()
{
if (array_key_exists("hasOptedOut", $this->_propDict)) {
return $this->_propDict["hasOptedOut"];
} else {
return null;
}
}
/**
* Sets the hasOptedOut
* Specifies if the user opted out of MyAnalytics.
*
* @param bool $val The value of the hasOptedOut
*
* @return Settings
*/
public function setHasOptedOut($val)
{
$this->_propDict["hasOptedOut"] = $val;
return $this;
}
}