text: <?php
  /**
  * Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
  * 
  * Office365ActivationsUserCounts File
  * PHP version 7
  *
  * @category  Library
  * @package   Microsoft.Graph
  * @copyright © Microsoft Corporation. All rights reserved.
  * @license   https://opensource.org/licenses/MIT MIT License
  * @link      https://graph.microsoft.com
  */
  namespace Beta\Microsoft\Graph\Model;
  
  /**
  * Office365ActivationsUserCounts class
  *
  * @category  Model
  * @package   Microsoft.Graph
  * @copyright © Microsoft Corporation. All rights reserved.
  * @license   https://opensource.org/licenses/MIT MIT License
  * @link      https://graph.microsoft.com
  */
  class Office365ActivationsUserCounts extends Entity
  {
      /**
      * Gets the activated
      *
      * @return int The activated
      */
      public function getActivated()
      {
          if (array_key_exists("activated", $this->_propDict)) {
              return $this->_propDict["activated"];
          } else {
              return null;
          }
      }
      
      /**
      * Sets the activated
      *
      * @param int $val The activated
      *
      * @return Office365ActivationsUserCounts
      */
      public function setActivated($val)
      {
          $this->_propDict["activated"] = intval($val);
          return $this;
      }
      
      /**
      * Gets the assigned
      *
      * @return int The assigned
      */
      public function getAssigned()
      {
          if (array_key_exists("assigned", $this->_propDict)) {
              return $this->_propDict["assigned"];
          } else {
              return null;
          }
      }
      
      /**
      * Sets the assigned
      *
      * @param int $val The assigned
      *
      * @return Office365ActivationsUserCounts
      */
      public function setAssigned($val)
      {
          $this->_propDict["assigned"] = intval($val);
          return $this;
      }
      
      /**
      * Gets the productType
      *
      * @return string The productType
      */
      public function getProductType()
      {
          if (array_key_exists("productType", $this->_propDict)) {
              return $this->_propDict["productType"];
          } else {
              return null;
          }
      }
      
      /**
      * Sets the productType
      *
      * @param string $val The productType
      *
      * @return Office365ActivationsUserCounts
      */
      public function setProductType($val)
      {
          $this->_propDict["productType"] = $val;
          return $this;
      }
      
      /**
      * Gets the reportRefreshDate
      *
      * @return \DateTime The reportRefreshDate
      */
      public function getReportRefreshDate()
      {
          if (array_key_exists("reportRefreshDate", $this->_propDict)) {
              if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) {
                  return $this->_propDict["reportRefreshDate"];
              } else {
                  $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]);
                  return $this->_propDict["reportRefreshDate"];
              }
          }
          return null;
      }
      
      /**
      * Sets the reportRefreshDate
      *
      * @param \DateTime $val The reportRefreshDate
      *
      * @return Office365ActivationsUserCounts
      */
      public function setReportRefreshDate($val)
      {
          $this->_propDict["reportRefreshDate"] = $val;
          return $this;
      }
      
      /**
      * Gets the sharedComputerActivation
      *
      * @return int The sharedComputerActivation
      */
      public function getSharedComputerActivation()
      {
          if (array_key_exists("sharedComputerActivation", $this->_propDict)) {
              return $this->_propDict["sharedComputerActivation"];
          } else {
              return null;
          }
      }
      
      /**
      * Sets the sharedComputerActivation
      *
      * @param int $val The sharedComputerActivation
      *
      * @return Office365ActivationsUserCounts
      */
      public function setSharedComputerActivation($val)
      {
          $this->_propDict["sharedComputerActivation"] = intval($val);
          return $this;
      }
      
  }