_propDict)) { return $this->_propDict["scopeNames"]; } else { return null; } } /** * Sets the scopeNames * * @param string $val The value of the scopeNames * * @return OrganizationalScope */ public function setScopeNames($val) { $this->_propDict["scopeNames"] = $val; return $this; } /** * Gets the scopeType * * @return ScopeType|null The scopeType */ public function getScopeType() { if (array_key_exists("scopeType", $this->_propDict)) { if (is_a($this->_propDict["scopeType"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ScopeType") || is_null($this->_propDict["scopeType"])) { return $this->_propDict["scopeType"]; } else { $this->_propDict["scopeType"] = new ScopeType($this->_propDict["scopeType"]); return $this->_propDict["scopeType"]; } } return null; } /** * Sets the scopeType * * @param ScopeType $val The value to assign to the scopeType * * @return OrganizationalScope The OrganizationalScope */ public function setScopeType($val) { $this->_propDict["scopeType"] = $val; return $this; } }