_propDict)) { if (is_a($this->_propDict["roleKind"], "\Beta\Microsoft\Graph\Model\PlannerUserRoleKind") || is_null($this->_propDict["roleKind"])) { return $this->_propDict["roleKind"]; } else { $this->_propDict["roleKind"] = new PlannerUserRoleKind($this->_propDict["roleKind"]); return $this->_propDict["roleKind"]; } } return null; } /** * Sets the roleKind * Type of the role. The possible values are: relationship, unknownFutureValue. * * @param PlannerUserRoleKind $val The value to assign to the roleKind * * @return PlannerTaskConfigurationRoleBase The PlannerTaskConfigurationRoleBase */ public function setRoleKind($val) { $this->_propDict["roleKind"] = $val; return $this; } }