<?php
/**
* Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
* 
* ProxiedDomain 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;
/**
* ProxiedDomain 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 ProxiedDomain extends Entity
{
    /**
    * Gets the ipAddressOrFQDN
    * The IP address or FQDN
    *
    * @return string|null The ipAddressOrFQDN
    */
    public function getIpAddressOrFQDN()
    {
        if (array_key_exists("ipAddressOrFQDN", $this->_propDict)) {
            return $this->_propDict["ipAddressOrFQDN"];
        } else {
            return null;
        }
    }

    /**
    * Sets the ipAddressOrFQDN
    * The IP address or FQDN
    *
    * @param string $val The value of the ipAddressOrFQDN
    *
    * @return ProxiedDomain
    */
    public function setIpAddressOrFQDN($val)
    {
        $this->_propDict["ipAddressOrFQDN"] = $val;
        return $this;
    }
    /**
    * Gets the proxy
    * Proxy IP or FQDN
    *
    * @return string|null The proxy
    */
    public function getProxy()
    {
        if (array_key_exists("proxy", $this->_propDict)) {
            return $this->_propDict["proxy"];
        } else {
            return null;
        }
    }

    /**
    * Sets the proxy
    * Proxy IP or FQDN
    *
    * @param string $val The value of the proxy
    *
    * @return ProxiedDomain
    */
    public function setProxy($val)
    {
        $this->_propDict["proxy"] = $val;
        return $this;
    }
}
