<?php

/**
 * Generated by phpSPO model generator 2020-05-26T22:10:14+00:00 
 */
namespace Office365\Graph;

use Office365\Runtime\ClientObject;
use Office365\Runtime\ResourcePath;
class OnPremisesConditionalAccessSettings extends ClientObject
{
    /**
     * @return bool
     */
    public function getEnabled()
    {
        if (!$this->isPropertyAvailable("Enabled")) {
            return null;
        }
        return $this->getProperty("Enabled");
    }
    /**
     * @var bool
     */
    public function setEnabled($value)
    {
        $this->setProperty("Enabled", $value, true);
    }
    /**
     * @return array
     */
    public function getIncludedGroups()
    {
        if (!$this->isPropertyAvailable("IncludedGroups")) {
            return null;
        }
        return $this->getProperty("IncludedGroups");
    }
    /**
     * @var array
     */
    public function setIncludedGroups($value)
    {
        $this->setProperty("IncludedGroups", $value, true);
    }
    /**
     * @return array
     */
    public function getExcludedGroups()
    {
        if (!$this->isPropertyAvailable("ExcludedGroups")) {
            return null;
        }
        return $this->getProperty("ExcludedGroups");
    }
    /**
     * @var array
     */
    public function setExcludedGroups($value)
    {
        $this->setProperty("ExcludedGroups", $value, true);
    }
    /**
     * @return bool
     */
    public function getOverrideDefaultRule()
    {
        if (!$this->isPropertyAvailable("OverrideDefaultRule")) {
            return null;
        }
        return $this->getProperty("OverrideDefaultRule");
    }
    /**
     * @var bool
     */
    public function setOverrideDefaultRule($value)
    {
        $this->setProperty("OverrideDefaultRule", $value, true);
    }
}