_propDict)) { if (is_a($this->_propDict["feedback"], "\Microsoft\Graph\Model\EducationFeedback") || is_null($this->_propDict["feedback"])) { return $this->_propDict["feedback"]; } else { $this->_propDict["feedback"] = new EducationFeedback($this->_propDict["feedback"]); return $this->_propDict["feedback"]; } } return null; } /** * Sets the feedback * Teacher's written feedback to the student. * * @param EducationFeedback $val The feedback * * @return EducationFeedbackOutcome */ public function setFeedback($val) { $this->_propDict["feedback"] = $val; return $this; } /** * Gets the publishedFeedback * A copy of the feedback property that is made when the grade is released to the student. * * @return EducationFeedback|null The publishedFeedback */ public function getPublishedFeedback() { if (array_key_exists("publishedFeedback", $this->_propDict)) { if (is_a($this->_propDict["publishedFeedback"], "\Microsoft\Graph\Model\EducationFeedback") || is_null($this->_propDict["publishedFeedback"])) { return $this->_propDict["publishedFeedback"]; } else { $this->_propDict["publishedFeedback"] = new EducationFeedback($this->_propDict["publishedFeedback"]); return $this->_propDict["publishedFeedback"]; } } return null; } /** * Sets the publishedFeedback * A copy of the feedback property that is made when the grade is released to the student. * * @param EducationFeedback $val The publishedFeedback * * @return EducationFeedbackOutcome */ public function setPublishedFeedback($val) { $this->_propDict["publishedFeedback"] = $val; return $this; } }