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.
*
* DirectoryDefinition 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;
/**
* DirectoryDefinition 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 DirectoryDefinition extends Entity
{
/**
* Gets the discoverabilities
* Read-only value indicating what type of discovery the app supports. The possible values are: None, AttributeNames, AttributeDataTypes, AttributeReadOnly, ReferenceAttributes, UnknownFutureValue. This is a multi-valued object.
*
* @return DirectoryDefinitionDiscoverabilities|null The discoverabilities
*/
public function getDiscoverabilities()
{
if (array_key_exists("discoverabilities", $this->_propDict)) {
if (is_a($this->_propDict["discoverabilities"], "\Microsoft\Graph\Model\DirectoryDefinitionDiscoverabilities") || is_null($this->_propDict["discoverabilities"])) {
return $this->_propDict["discoverabilities"];
} else {
$this->_propDict["discoverabilities"] = new DirectoryDefinitionDiscoverabilities($this->_propDict["discoverabilities"]);
return $this->_propDict["discoverabilities"];
}
}
return null;
}
/**
* Sets the discoverabilities
* Read-only value indicating what type of discovery the app supports. The possible values are: None, AttributeNames, AttributeDataTypes, AttributeReadOnly, ReferenceAttributes, UnknownFutureValue. This is a multi-valued object.
*
* @param DirectoryDefinitionDiscoverabilities $val The discoverabilities
*
* @return DirectoryDefinition
*/
public function setDiscoverabilities($val)
{
$this->_propDict["discoverabilities"] = $val;
return $this;
}
/**
* Gets the discoveryDateTime
* Represents the discovery date and time using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @return \DateTime|null The discoveryDateTime
*/
public function getDiscoveryDateTime()
{
if (array_key_exists("discoveryDateTime", $this->_propDict)) {
if (is_a($this->_propDict["discoveryDateTime"], "\DateTime") || is_null($this->_propDict["discoveryDateTime"])) {
return $this->_propDict["discoveryDateTime"];
} else {
$this->_propDict["discoveryDateTime"] = new \DateTime($this->_propDict["discoveryDateTime"]);
return $this->_propDict["discoveryDateTime"];
}
}
return null;
}
/**
* Sets the discoveryDateTime
* Represents the discovery date and time using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The discoveryDateTime
*
* @return DirectoryDefinition
*/
public function setDiscoveryDateTime($val)
{
$this->_propDict["discoveryDateTime"] = $val;
return $this;
}
/**
* Gets the name
* Name of the directory. Must be unique within the synchronization schema. Not nullable.
*
* @return string|null The name
*/
public function getName()
{
if (array_key_exists("name", $this->_propDict)) {
return $this->_propDict["name"];
} else {
return null;
}
}
/**
* Sets the name
* Name of the directory. Must be unique within the synchronization schema. Not nullable.
*
* @param string $val The name
*
* @return DirectoryDefinition
*/
public function setName($val)
{
$this->_propDict["name"] = $val;
return $this;
}
/**
* Gets the objects
* Collection of objects supported by the directory.
*
* @return array|null The objects
*/
public function getObjects()
{
if (array_key_exists("objects", $this->_propDict)) {
return $this->_propDict["objects"];
} else {
return null;
}
}
/**
* Sets the objects
* Collection of objects supported by the directory.
*
* @param ObjectDefinition[] $val The objects
*
* @return DirectoryDefinition
*/
public function setObjects($val)
{
$this->_propDict["objects"] = $val;
return $this;
}
/**
* Gets the readOnly
* Whether this object is read-only.
*
* @return bool|null The readOnly
*/
public function getReadOnly()
{
if (array_key_exists("readOnly", $this->_propDict)) {
return $this->_propDict["readOnly"];
} else {
return null;
}
}
/**
* Sets the readOnly
* Whether this object is read-only.
*
* @param bool $val The readOnly
*
* @return DirectoryDefinition
*/
public function setReadOnly($val)
{
$this->_propDict["readOnly"] = boolval($val);
return $this;
}
/**
* Gets the version
* Read only value that indicates version discovered. null if discovery has not yet occurred.
*
* @return string|null The version
*/
public function getVersion()
{
if (array_key_exists("version", $this->_propDict)) {
return $this->_propDict["version"];
} else {
return null;
}
}
/**
* Sets the version
* Read only value that indicates version discovered. null if discovery has not yet occurred.
*
* @param string $val The version
*
* @return DirectoryDefinition
*/
public function setVersion($val)
{
$this->_propDict["version"] = $val;
return $this;
}
}