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

83 lines
2.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.
*
* ConditionalAccessDeviceStates 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;
/**
* ConditionalAccessDeviceStates 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 ConditionalAccessDeviceStates extends Entity
{
/**
* Gets the excludeStates
* States excluded from the scope of the policy. Possible values: Compliant, DomainJoined.
*
* @return string|null The excludeStates
*/
public function getExcludeStates()
{
if (array_key_exists("excludeStates", $this->_propDict)) {
return $this->_propDict["excludeStates"];
} else {
return null;
}
}
/**
* Sets the excludeStates
* States excluded from the scope of the policy. Possible values: Compliant, DomainJoined.
*
* @param string $val The value of the excludeStates
*
* @return ConditionalAccessDeviceStates
*/
public function setExcludeStates($val)
{
$this->_propDict["excludeStates"] = $val;
return $this;
}
/**
* Gets the includeStates
* States in the scope of the policy. All is the only allowed value.
*
* @return string|null The includeStates
*/
public function getIncludeStates()
{
if (array_key_exists("includeStates", $this->_propDict)) {
return $this->_propDict["includeStates"];
} else {
return null;
}
}
/**
* Sets the includeStates
* States in the scope of the policy. All is the only allowed value.
*
* @param string $val The value of the includeStates
*
* @return ConditionalAccessDeviceStates
*/
public function setIncludeStates($val)
{
$this->_propDict["includeStates"] = $val;
return $this;
}
}