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

55 lines
2.9 KiB
PHP
Raw Normal View History

2022-05-31 13:08:55 -06:00
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* GroupWritebackConfiguration File
2022-05-31 13:08:55 -06:00
* 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;
/**
* GroupWritebackConfiguration class
2022-05-31 13:08:55 -06:00
*
* @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 GroupWritebackConfiguration extends WritebackConfiguration
2022-05-31 13:08:55 -06:00
{
/**
* Gets the onPremisesGroupType
2022-07-26 15:00:50 -06:00
* Indicates the target on-premise group type the cloud object will be written back as. Nullable. The possible values are: universalDistributionGroup, universalSecurityGroup, universalMailEnabledSecurityGroup.If the cloud group is a unified (Microsoft 365) group, this property can be one of the following: universalDistributionGroup, universalSecurityGroup, universalMailEnabledSecurityGroup. Azure AD security groups can be written back as universalSecurityGroup. If isEnabled or the NewUnifiedGroupWritebackDefault group setting is true but this property is not explicitly configured: Microsoft 365 groups will be written back as universalDistributionGroup by defaultSecurity groups will be written back as universalSecurityGroup by default
2022-05-31 13:08:55 -06:00
*
* @return string|null The onPremisesGroupType
2022-05-31 13:08:55 -06:00
*/
public function getOnPremisesGroupType()
2022-05-31 13:08:55 -06:00
{
if (array_key_exists("onPremisesGroupType", $this->_propDict)) {
return $this->_propDict["onPremisesGroupType"];
2022-05-31 13:08:55 -06:00
} else {
return null;
}
}
/**
* Sets the onPremisesGroupType
2022-07-26 15:00:50 -06:00
* Indicates the target on-premise group type the cloud object will be written back as. Nullable. The possible values are: universalDistributionGroup, universalSecurityGroup, universalMailEnabledSecurityGroup.If the cloud group is a unified (Microsoft 365) group, this property can be one of the following: universalDistributionGroup, universalSecurityGroup, universalMailEnabledSecurityGroup. Azure AD security groups can be written back as universalSecurityGroup. If isEnabled or the NewUnifiedGroupWritebackDefault group setting is true but this property is not explicitly configured: Microsoft 365 groups will be written back as universalDistributionGroup by defaultSecurity groups will be written back as universalSecurityGroup by default
2022-05-31 13:08:55 -06:00
*
* @param string $val The value of the onPremisesGroupType
2022-05-31 13:08:55 -06:00
*
* @return GroupWritebackConfiguration
2022-05-31 13:08:55 -06:00
*/
public function setOnPremisesGroupType($val)
2022-05-31 13:08:55 -06:00
{
$this->_propDict["onPremisesGroupType"] = $val;
2022-05-31 13:08:55 -06:00
return $this;
}
}