_propDict)) { if (is_a($this->_propDict["feedbackResource"], "\Microsoft\Graph\Model\EducationResource") || is_null($this->_propDict["feedbackResource"])) { return $this->_propDict["feedbackResource"]; } else { $this->_propDict["feedbackResource"] = new EducationResource($this->_propDict["feedbackResource"]); return $this->_propDict["feedbackResource"]; } } return null; } /** * Sets the feedbackResource * The actual feedback resource. * * @param EducationResource $val The feedbackResource * * @return EducationFeedbackResourceOutcome */ public function setFeedbackResource($val) { $this->_propDict["feedbackResource"] = $val; return $this; } /** * Gets the resourceStatus * The status of the feedback resource. The possible values are: notPublished, pendingPublish, published, failedPublish, unknownFutureValue. * * @return EducationFeedbackResourceOutcomeStatus|null The resourceStatus */ public function getResourceStatus() { if (array_key_exists("resourceStatus", $this->_propDict)) { if (is_a($this->_propDict["resourceStatus"], "\Microsoft\Graph\Model\EducationFeedbackResourceOutcomeStatus") || is_null($this->_propDict["resourceStatus"])) { return $this->_propDict["resourceStatus"]; } else { $this->_propDict["resourceStatus"] = new EducationFeedbackResourceOutcomeStatus($this->_propDict["resourceStatus"]); return $this->_propDict["resourceStatus"]; } } return null; } /** * Sets the resourceStatus * The status of the feedback resource. The possible values are: notPublished, pendingPublish, published, failedPublish, unknownFutureValue. * * @param EducationFeedbackResourceOutcomeStatus $val The resourceStatus * * @return EducationFeedbackResourceOutcome */ public function setResourceStatus($val) { $this->_propDict["resourceStatus"] = $val; return $this; } }