_propDict)) { if (is_a($this->_propDict["ruleType"], "\Microsoft\Graph\Model\Win32LobAppRuleType") || is_null($this->_propDict["ruleType"])) { return $this->_propDict["ruleType"]; } else { $this->_propDict["ruleType"] = new Win32LobAppRuleType($this->_propDict["ruleType"]); return $this->_propDict["ruleType"]; } } return null; } /** * Sets the ruleType * The rule type indicating the purpose of the rule. Possible values are: detection, requirement. * * @param Win32LobAppRuleType $val The value to assign to the ruleType * * @return Win32LobAppRule The Win32LobAppRule */ public function setRuleType($val) { $this->_propDict["ruleType"] = $val; return $this; } }