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.
*
* ComplianceManagementPartner 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;
/**
* ComplianceManagementPartner 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 ComplianceManagementPartner extends Entity
{
/**
* Gets the androidEnrollmentAssignments
* User groups which enroll Android devices through partner.
*
* @return array|null The androidEnrollmentAssignments
*/
public function getAndroidEnrollmentAssignments()
{
if (array_key_exists("androidEnrollmentAssignments", $this->_propDict)) {
return $this->_propDict["androidEnrollmentAssignments"];
} else {
return null;
}
}
/**
* Sets the androidEnrollmentAssignments
* User groups which enroll Android devices through partner.
*
* @param ComplianceManagementPartnerAssignment[] $val The androidEnrollmentAssignments
*
* @return ComplianceManagementPartner
*/
public function setAndroidEnrollmentAssignments($val)
{
$this->_propDict["androidEnrollmentAssignments"] = $val;
return $this;
}
/**
* Gets the androidOnboarded
* Partner onboarded for Android devices.
*
* @return bool|null The androidOnboarded
*/
public function getAndroidOnboarded()
{
if (array_key_exists("androidOnboarded", $this->_propDict)) {
return $this->_propDict["androidOnboarded"];
} else {
return null;
}
}
/**
* Sets the androidOnboarded
* Partner onboarded for Android devices.
*
* @param bool $val The androidOnboarded
*
* @return ComplianceManagementPartner
*/
public function setAndroidOnboarded($val)
{
$this->_propDict["androidOnboarded"] = boolval($val);
return $this;
}
/**
* Gets the displayName
* Partner display name
*
* @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
* Partner display name
*
* @param string $val The displayName
*
* @return ComplianceManagementPartner
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the iosEnrollmentAssignments
* User groups which enroll ios devices through partner.
*
* @return array|null The iosEnrollmentAssignments
*/
public function getIosEnrollmentAssignments()
{
if (array_key_exists("iosEnrollmentAssignments", $this->_propDict)) {
return $this->_propDict["iosEnrollmentAssignments"];
} else {
return null;
}
}
/**
* Sets the iosEnrollmentAssignments
* User groups which enroll ios devices through partner.
*
* @param ComplianceManagementPartnerAssignment[] $val The iosEnrollmentAssignments
*
* @return ComplianceManagementPartner
*/
public function setIosEnrollmentAssignments($val)
{
$this->_propDict["iosEnrollmentAssignments"] = $val;
return $this;
}
/**
* Gets the iosOnboarded
* Partner onboarded for ios devices.
*
* @return bool|null The iosOnboarded
*/
public function getIosOnboarded()
{
if (array_key_exists("iosOnboarded", $this->_propDict)) {
return $this->_propDict["iosOnboarded"];
} else {
return null;
}
}
/**
* Sets the iosOnboarded
* Partner onboarded for ios devices.
*
* @param bool $val The iosOnboarded
*
* @return ComplianceManagementPartner
*/
public function setIosOnboarded($val)
{
$this->_propDict["iosOnboarded"] = boolval($val);
return $this;
}
/**
* Gets the lastHeartbeatDateTime
* Timestamp of last heartbeat after admin onboarded to the compliance management partner
*
* @return \DateTime|null The lastHeartbeatDateTime
*/
public function getLastHeartbeatDateTime()
{
if (array_key_exists("lastHeartbeatDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastHeartbeatDateTime"], "\DateTime") || is_null($this->_propDict["lastHeartbeatDateTime"])) {
return $this->_propDict["lastHeartbeatDateTime"];
} else {
$this->_propDict["lastHeartbeatDateTime"] = new \DateTime($this->_propDict["lastHeartbeatDateTime"]);
return $this->_propDict["lastHeartbeatDateTime"];
}
}
return null;
}
/**
* Sets the lastHeartbeatDateTime
* Timestamp of last heartbeat after admin onboarded to the compliance management partner
*
* @param \DateTime $val The lastHeartbeatDateTime
*
* @return ComplianceManagementPartner
*/
public function setLastHeartbeatDateTime($val)
{
$this->_propDict["lastHeartbeatDateTime"] = $val;
return $this;
}
/**
* Gets the macOsEnrollmentAssignments
* User groups which enroll Mac devices through partner.
*
* @return array|null The macOsEnrollmentAssignments
*/
public function getMacOsEnrollmentAssignments()
{
if (array_key_exists("macOsEnrollmentAssignments", $this->_propDict)) {
return $this->_propDict["macOsEnrollmentAssignments"];
} else {
return null;
}
}
/**
* Sets the macOsEnrollmentAssignments
* User groups which enroll Mac devices through partner.
*
* @param ComplianceManagementPartnerAssignment[] $val The macOsEnrollmentAssignments
*
* @return ComplianceManagementPartner
*/
public function setMacOsEnrollmentAssignments($val)
{
$this->_propDict["macOsEnrollmentAssignments"] = $val;
return $this;
}
/**
* Gets the macOsOnboarded
* Partner onboarded for Mac devices.
*
* @return bool|null The macOsOnboarded
*/
public function getMacOsOnboarded()
{
if (array_key_exists("macOsOnboarded", $this->_propDict)) {
return $this->_propDict["macOsOnboarded"];
} else {
return null;
}
}
/**
* Sets the macOsOnboarded
* Partner onboarded for Mac devices.
*
* @param bool $val The macOsOnboarded
*
* @return ComplianceManagementPartner
*/
public function setMacOsOnboarded($val)
{
$this->_propDict["macOsOnboarded"] = boolval($val);
return $this;
}
/**
* Gets the partnerState
* Partner state of this tenant. Possible values are: unknown, unavailable, enabled, terminated, rejected, unresponsive.
*
* @return DeviceManagementPartnerTenantState|null The partnerState
*/
public function getPartnerState()
{
if (array_key_exists("partnerState", $this->_propDict)) {
if (is_a($this->_propDict["partnerState"], "\Microsoft\Graph\Model\DeviceManagementPartnerTenantState") || is_null($this->_propDict["partnerState"])) {
return $this->_propDict["partnerState"];
} else {
$this->_propDict["partnerState"] = new DeviceManagementPartnerTenantState($this->_propDict["partnerState"]);
return $this->_propDict["partnerState"];
}
}
return null;
}
/**
* Sets the partnerState
* Partner state of this tenant. Possible values are: unknown, unavailable, enabled, terminated, rejected, unresponsive.
*
* @param DeviceManagementPartnerTenantState $val The partnerState
*
* @return ComplianceManagementPartner
*/
public function setPartnerState($val)
{
$this->_propDict["partnerState"] = $val;
return $this;
}
}