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

/**
* Windows10NetworkBoundaryConfiguration 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 Windows10NetworkBoundaryConfiguration extends DeviceConfiguration
{
    /**
    * Gets the windowsNetworkIsolationPolicy
    * Windows Network Isolation Policy
    *
    * @return WindowsNetworkIsolationPolicy|null The windowsNetworkIsolationPolicy
    */
    public function getWindowsNetworkIsolationPolicy()
    {
        if (array_key_exists("windowsNetworkIsolationPolicy", $this->_propDict)) {
            if (is_a($this->_propDict["windowsNetworkIsolationPolicy"], "\Beta\Microsoft\Graph\Model\WindowsNetworkIsolationPolicy") || is_null($this->_propDict["windowsNetworkIsolationPolicy"])) {
                return $this->_propDict["windowsNetworkIsolationPolicy"];
            } else {
                $this->_propDict["windowsNetworkIsolationPolicy"] = new WindowsNetworkIsolationPolicy($this->_propDict["windowsNetworkIsolationPolicy"]);
                return $this->_propDict["windowsNetworkIsolationPolicy"];
            }
        }
        return null;
    }

    /**
    * Sets the windowsNetworkIsolationPolicy
    * Windows Network Isolation Policy
    *
    * @param WindowsNetworkIsolationPolicy $val The windowsNetworkIsolationPolicy
    *
    * @return Windows10NetworkBoundaryConfiguration
    */
    public function setWindowsNetworkIsolationPolicy($val)
    {
        $this->_propDict["windowsNetworkIsolationPolicy"] = $val;
        return $this;
    }

}
