FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
ameliabooking
/
vendor
/
microsoft
/
microsoft-graph
/
src
/
Model
Edit File: UserSettings.php
<?php /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * * UserSettings 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; /** * UserSettings 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 UserSettings extends Entity { /** * Gets the contributionToContentDiscoveryAsOrganizationDisabled * Reflects the Office Delve organization level setting. When set to true, the organization doesn't have access to Office Delve. This setting is read-only and can only be changed by administrators in the SharePoint admin center. * * @return bool|null The contributionToContentDiscoveryAsOrganizationDisabled */ public function getContributionToContentDiscoveryAsOrganizationDisabled() { if (array_key_exists("contributionToContentDiscoveryAsOrganizationDisabled", $this->_propDict)) { return $this->_propDict["contributionToContentDiscoveryAsOrganizationDisabled"]; } else { return null; } } /** * Sets the contributionToContentDiscoveryAsOrganizationDisabled * Reflects the Office Delve organization level setting. When set to true, the organization doesn't have access to Office Delve. This setting is read-only and can only be changed by administrators in the SharePoint admin center. * * @param bool $val The contributionToContentDiscoveryAsOrganizationDisabled * * @return UserSettings */ public function setContributionToContentDiscoveryAsOrganizationDisabled($val) { $this->_propDict["contributionToContentDiscoveryAsOrganizationDisabled"] = boolval($val); return $this; } /** * Gets the contributionToContentDiscoveryDisabled * When set to true, documents in the user's Office Delve are disabled. Users can control this setting in Office Delve. * * @return bool|null The contributionToContentDiscoveryDisabled */ public function getContributionToContentDiscoveryDisabled() { if (array_key_exists("contributionToContentDiscoveryDisabled", $this->_propDict)) { return $this->_propDict["contributionToContentDiscoveryDisabled"]; } else { return null; } } /** * Sets the contributionToContentDiscoveryDisabled * When set to true, documents in the user's Office Delve are disabled. Users can control this setting in Office Delve. * * @param bool $val The contributionToContentDiscoveryDisabled * * @return UserSettings */ public function setContributionToContentDiscoveryDisabled($val) { $this->_propDict["contributionToContentDiscoveryDisabled"] = boolval($val); return $this; } /** * Gets the shiftPreferences * The shift preferences for the user. * * @return ShiftPreferences|null The shiftPreferences */ public function getShiftPreferences() { if (array_key_exists("shiftPreferences", $this->_propDict)) { if (is_a($this->_propDict["shiftPreferences"], "\Microsoft\Graph\Model\ShiftPreferences") || is_null($this->_propDict["shiftPreferences"])) { return $this->_propDict["shiftPreferences"]; } else { $this->_propDict["shiftPreferences"] = new ShiftPreferences($this->_propDict["shiftPreferences"]); return $this->_propDict["shiftPreferences"]; } } return null; } /** * Sets the shiftPreferences * The shift preferences for the user. * * @param ShiftPreferences $val The shiftPreferences * * @return UserSettings */ public function setShiftPreferences($val) { $this->_propDict["shiftPreferences"] = $val; return $this; } }
Save
Back