_propDict)) { return $this->_propDict["assignmentResourceUrl"]; } else { return null; } } /** * Sets the assignmentResourceUrl * Pointer to the assignment from which the resource was copied. If the value is null, the student uploaded the resource. * * @param string $val The assignmentResourceUrl * * @return EducationSubmissionResource */ public function setAssignmentResourceUrl($val) { $this->_propDict["assignmentResourceUrl"] = $val; return $this; } /** * Gets the resource * Resource object. * * @return EducationResource|null The resource */ public function getResource() { if (array_key_exists("resource", $this->_propDict)) { if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\EducationResource") || is_null($this->_propDict["resource"])) { return $this->_propDict["resource"]; } else { $this->_propDict["resource"] = new EducationResource($this->_propDict["resource"]); return $this->_propDict["resource"]; } } return null; } /** * Sets the resource * Resource object. * * @param EducationResource $val The resource * * @return EducationSubmissionResource */ public function setResource($val) { $this->_propDict["resource"] = $val; return $this; } /** * Gets the dependentResources * * @return array|null The dependentResources */ public function getDependentResources() { if (array_key_exists("dependentResources", $this->_propDict)) { return $this->_propDict["dependentResources"]; } else { return null; } } /** * Sets the dependentResources * * @param EducationSubmissionResource[] $val The dependentResources * * @return EducationSubmissionResource */ public function setDependentResources($val) { $this->_propDict["dependentResources"] = $val; return $this; } }