_propDict)) { if (is_a($this->_propDict["creationSourceKind"], "\Beta\Microsoft\Graph\Model\PlannerCreationSourceKind") || is_null($this->_propDict["creationSourceKind"])) { return $this->_propDict["creationSourceKind"]; } else { $this->_propDict["creationSourceKind"] = new PlannerCreationSourceKind($this->_propDict["creationSourceKind"]); return $this->_propDict["creationSourceKind"]; } } return null; } /** * Sets the creationSourceKind * Specifies what kind of creation source the plan is created with. The possible values are: external, publication and unknownFutureValue. * * @param PlannerCreationSourceKind $val The value to assign to the creationSourceKind * * @return PlannerPlanCreation The PlannerPlanCreation */ public function setCreationSourceKind($val) { $this->_propDict["creationSourceKind"] = $val; return $this; } }