<?php
/**
* Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
* 
* DomainDnsUnavailableRecord 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;

/**
* DomainDnsUnavailableRecord 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 DomainDnsUnavailableRecord extends DomainDnsRecord
{
    /**
    * Gets the description
    * Provides the reason why the DomainDnsUnavailableRecord entity is returned.
    *
    * @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
    * Provides the reason why the DomainDnsUnavailableRecord entity is returned.
    *
    * @param string $val The description
    *
    * @return DomainDnsUnavailableRecord
    */
    public function setDescription($val)
    {
        $this->_propDict["description"] = $val;
        return $this;
    }

}
