_propDict)) { if (is_a($this->_propDict["gradedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["gradedBy"])) { return $this->_propDict["gradedBy"]; } else { $this->_propDict["gradedBy"] = new IdentitySet($this->_propDict["gradedBy"]); return $this->_propDict["gradedBy"]; } } return null; } /** * Sets the gradedBy * User who did the grading. * * @param IdentitySet $val The value to assign to the gradedBy * * @return EducationAssignmentGrade The EducationAssignmentGrade */ public function setGradedBy($val) { $this->_propDict["gradedBy"] = $val; return $this; } /** * Gets the gradedDateTime * Moment in time when the grade was applied to this submission object. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z * * @return \DateTime|null The gradedDateTime */ public function getGradedDateTime() { if (array_key_exists("gradedDateTime", $this->_propDict)) { if (is_a($this->_propDict["gradedDateTime"], "\DateTime") || is_null($this->_propDict["gradedDateTime"])) { return $this->_propDict["gradedDateTime"]; } else { $this->_propDict["gradedDateTime"] = new \DateTime($this->_propDict["gradedDateTime"]); return $this->_propDict["gradedDateTime"]; } } return null; } /** * Sets the gradedDateTime * Moment in time when the grade was applied to this submission object. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z * * @param \DateTime $val The value to assign to the gradedDateTime * * @return EducationAssignmentGrade The EducationAssignmentGrade */ public function setGradedDateTime($val) { $this->_propDict["gradedDateTime"] = $val; return $this; } }