<?php

/**
 * Generated by phpSPO model generator 2020-05-29T07:19:37+00:00 
 */
namespace Office365\Graph;

use Office365\Runtime\ClientObject;
use Office365\Runtime\ResourcePath;
class StsPolicy extends ClientObject
{
    /**
     * @return array
     */
    public function getDefinition()
    {
        if (!$this->isPropertyAvailable("Definition")) {
            return null;
        }
        return $this->getProperty("Definition");
    }
    /**
     * @var array
     */
    public function setDefinition($value)
    {
        $this->setProperty("Definition", $value, true);
    }
    /**
     * @return bool
     */
    public function getIsOrganizationDefault()
    {
        if (!$this->isPropertyAvailable("IsOrganizationDefault")) {
            return null;
        }
        return $this->getProperty("IsOrganizationDefault");
    }
    /**
     * @var bool
     */
    public function setIsOrganizationDefault($value)
    {
        $this->setProperty("IsOrganizationDefault", $value, true);
    }
}