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.
*
* DeviceComplianceUserStatus 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;
/**
* DeviceComplianceUserStatus 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 DeviceComplianceUserStatus extends Entity
{
/**
* Gets the devicesCount
* Devices count for that user.
*
* @return int|null The devicesCount
*/
public function getDevicesCount()
{
if (array_key_exists("devicesCount", $this->_propDict)) {
return $this->_propDict["devicesCount"];
} else {
return null;
}
}
/**
* Sets the devicesCount
* Devices count for that user.
*
* @param int $val The devicesCount
*
* @return DeviceComplianceUserStatus
*/
public function setDevicesCount($val)
{
$this->_propDict["devicesCount"] = intval($val);
return $this;
}
/**
* Gets the lastReportedDateTime
* Last modified date time of the policy report.
*
* @return \DateTime|null The lastReportedDateTime
*/
public function getLastReportedDateTime()
{
if (array_key_exists("lastReportedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) {
return $this->_propDict["lastReportedDateTime"];
} else {
$this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]);
return $this->_propDict["lastReportedDateTime"];
}
}
return null;
}
/**
* Sets the lastReportedDateTime
* Last modified date time of the policy report.
*
* @param \DateTime $val The lastReportedDateTime
*
* @return DeviceComplianceUserStatus
*/
public function setLastReportedDateTime($val)
{
$this->_propDict["lastReportedDateTime"] = $val;
return $this;
}
/**
* Gets the status
* Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.
*
* @return ComplianceStatus|null The status
*/
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["status"])) {
return $this->_propDict["status"];
} else {
$this->_propDict["status"] = new ComplianceStatus($this->_propDict["status"]);
return $this->_propDict["status"];
}
}
return null;
}
/**
* Sets the status
* Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.
*
* @param ComplianceStatus $val The status
*
* @return DeviceComplianceUserStatus
*/
public function setStatus($val)
{
$this->_propDict["status"] = $val;
return $this;
}
/**
* Gets the userDisplayName
* User name of the DevicePolicyStatus.
*
* @return string|null The userDisplayName
*/
public function getUserDisplayName()
{
if (array_key_exists("userDisplayName", $this->_propDict)) {
return $this->_propDict["userDisplayName"];
} else {
return null;
}
}
/**
* Sets the userDisplayName
* User name of the DevicePolicyStatus.
*
* @param string $val The userDisplayName
*
* @return DeviceComplianceUserStatus
*/
public function setUserDisplayName($val)
{
$this->_propDict["userDisplayName"] = $val;
return $this;
}
/**
* Gets the userPrincipalName
* UserPrincipalName.
*
* @return string|null The userPrincipalName
*/
public function getUserPrincipalName()
{
if (array_key_exists("userPrincipalName", $this->_propDict)) {
return $this->_propDict["userPrincipalName"];
} else {
return null;
}
}
/**
* Sets the userPrincipalName
* UserPrincipalName.
*
* @param string $val The userPrincipalName
*
* @return DeviceComplianceUserStatus
*/
public function setUserPrincipalName($val)
{
$this->_propDict["userPrincipalName"] = $val;
return $this;
}
}