_propDict)) { if (is_a($this->_propDict["points"], "\Microsoft\Graph\Model\EducationAssignmentPointsGrade") || is_null($this->_propDict["points"])) { return $this->_propDict["points"]; } else { $this->_propDict["points"] = new EducationAssignmentPointsGrade($this->_propDict["points"]); return $this->_propDict["points"]; } } return null; } /** * Sets the points * The numeric grade the teacher has given the student for this assignment. * * @param EducationAssignmentPointsGrade $val The points * * @return EducationPointsOutcome */ public function setPoints($val) { $this->_propDict["points"] = $val; return $this; } /** * Gets the publishedPoints * A copy of the points property that is made when the grade is released to the student. * * @return EducationAssignmentPointsGrade|null The publishedPoints */ public function getPublishedPoints() { if (array_key_exists("publishedPoints", $this->_propDict)) { if (is_a($this->_propDict["publishedPoints"], "\Microsoft\Graph\Model\EducationAssignmentPointsGrade") || is_null($this->_propDict["publishedPoints"])) { return $this->_propDict["publishedPoints"]; } else { $this->_propDict["publishedPoints"] = new EducationAssignmentPointsGrade($this->_propDict["publishedPoints"]); return $this->_propDict["publishedPoints"]; } } return null; } /** * Sets the publishedPoints * A copy of the points property that is made when the grade is released to the student. * * @param EducationAssignmentPointsGrade $val The publishedPoints * * @return EducationPointsOutcome */ public function setPublishedPoints($val) { $this->_propDict["publishedPoints"] = $val; return $this; } }