_propDict)) { if (is_a($this->_propDict["ruleKind"], "\Beta\Microsoft\Graph\Model\PlannerRuleKind") || is_null($this->_propDict["ruleKind"])) { return $this->_propDict["ruleKind"]; } else { $this->_propDict["ruleKind"] = new PlannerRuleKind($this->_propDict["ruleKind"]); return $this->_propDict["ruleKind"]; } } return null; } /** * Sets the ruleKind * * @param PlannerRuleKind $val The value to assign to the ruleKind * * @return PlannerPropertyRule The PlannerPropertyRule */ public function setRuleKind($val) { $this->_propDict["ruleKind"] = $val; return $this; } }