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

139 lines
4.3 KiB
PHP

<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* DefaultUserRolePermissions 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;
/**
* DefaultUserRolePermissions 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 DefaultUserRolePermissions extends Entity
{
/**
* Gets the allowedToCreateApps
* Indicates whether the default user role can create applications.
*
* @return bool|null The allowedToCreateApps
*/
public function getAllowedToCreateApps()
{
if (array_key_exists("allowedToCreateApps", $this->_propDict)) {
return $this->_propDict["allowedToCreateApps"];
} else {
return null;
}
}
/**
* Sets the allowedToCreateApps
* Indicates whether the default user role can create applications.
*
* @param bool $val The value of the allowedToCreateApps
*
* @return DefaultUserRolePermissions
*/
public function setAllowedToCreateApps($val)
{
$this->_propDict["allowedToCreateApps"] = $val;
return $this;
}
/**
* Gets the allowedToCreateSecurityGroups
* Indicates whether the default user role can create security groups.
*
* @return bool|null The allowedToCreateSecurityGroups
*/
public function getAllowedToCreateSecurityGroups()
{
if (array_key_exists("allowedToCreateSecurityGroups", $this->_propDict)) {
return $this->_propDict["allowedToCreateSecurityGroups"];
} else {
return null;
}
}
/**
* Sets the allowedToCreateSecurityGroups
* Indicates whether the default user role can create security groups.
*
* @param bool $val The value of the allowedToCreateSecurityGroups
*
* @return DefaultUserRolePermissions
*/
public function setAllowedToCreateSecurityGroups($val)
{
$this->_propDict["allowedToCreateSecurityGroups"] = $val;
return $this;
}
/**
* Gets the allowedToReadBitlockerKeysForOwnedDevice
* Indicates whether the registered owners of a device can read their own BitLocker recovery keys with default user role.
*
* @return bool|null The allowedToReadBitlockerKeysForOwnedDevice
*/
public function getAllowedToReadBitlockerKeysForOwnedDevice()
{
if (array_key_exists("allowedToReadBitlockerKeysForOwnedDevice", $this->_propDict)) {
return $this->_propDict["allowedToReadBitlockerKeysForOwnedDevice"];
} else {
return null;
}
}
/**
* Sets the allowedToReadBitlockerKeysForOwnedDevice
* Indicates whether the registered owners of a device can read their own BitLocker recovery keys with default user role.
*
* @param bool $val The value of the allowedToReadBitlockerKeysForOwnedDevice
*
* @return DefaultUserRolePermissions
*/
public function setAllowedToReadBitlockerKeysForOwnedDevice($val)
{
$this->_propDict["allowedToReadBitlockerKeysForOwnedDevice"] = $val;
return $this;
}
/**
* Gets the allowedToReadOtherUsers
* Indicates whether the default user role can read other users.
*
* @return bool|null The allowedToReadOtherUsers
*/
public function getAllowedToReadOtherUsers()
{
if (array_key_exists("allowedToReadOtherUsers", $this->_propDict)) {
return $this->_propDict["allowedToReadOtherUsers"];
} else {
return null;
}
}
/**
* Sets the allowedToReadOtherUsers
* Indicates whether the default user role can read other users.
*
* @param bool $val The value of the allowedToReadOtherUsers
*
* @return DefaultUserRolePermissions
*/
public function setAllowedToReadOtherUsers($val)
{
$this->_propDict["allowedToReadOtherUsers"] = $val;
return $this;
}
}