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

/**
* WindowsManagementAppHealthSummary 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 WindowsManagementAppHealthSummary extends Entity
{
    /**
    * Gets the healthyDeviceCount
    * Healthy device count.
    *
    * @return int|null The healthyDeviceCount
    */
    public function getHealthyDeviceCount()
    {
        if (array_key_exists("healthyDeviceCount", $this->_propDict)) {
            return $this->_propDict["healthyDeviceCount"];
        } else {
            return null;
        }
    }

    /**
    * Sets the healthyDeviceCount
    * Healthy device count.
    *
    * @param int $val The healthyDeviceCount
    *
    * @return WindowsManagementAppHealthSummary
    */
    public function setHealthyDeviceCount($val)
    {
        $this->_propDict["healthyDeviceCount"] = intval($val);
        return $this;
    }

    /**
    * Gets the unhealthyDeviceCount
    * Unhealthy device count.
    *
    * @return int|null The unhealthyDeviceCount
    */
    public function getUnhealthyDeviceCount()
    {
        if (array_key_exists("unhealthyDeviceCount", $this->_propDict)) {
            return $this->_propDict["unhealthyDeviceCount"];
        } else {
            return null;
        }
    }

    /**
    * Sets the unhealthyDeviceCount
    * Unhealthy device count.
    *
    * @param int $val The unhealthyDeviceCount
    *
    * @return WindowsManagementAppHealthSummary
    */
    public function setUnhealthyDeviceCount($val)
    {
        $this->_propDict["unhealthyDeviceCount"] = intval($val);
        return $this;
    }

    /**
    * Gets the unknownDeviceCount
    * Unknown device count.
    *
    * @return int|null The unknownDeviceCount
    */
    public function getUnknownDeviceCount()
    {
        if (array_key_exists("unknownDeviceCount", $this->_propDict)) {
            return $this->_propDict["unknownDeviceCount"];
        } else {
            return null;
        }
    }

    /**
    * Sets the unknownDeviceCount
    * Unknown device count.
    *
    * @param int $val The unknownDeviceCount
    *
    * @return WindowsManagementAppHealthSummary
    */
    public function setUnknownDeviceCount($val)
    {
        $this->_propDict["unknownDeviceCount"] = intval($val);
        return $this;
    }

}
