_propDict)) { return $this->_propDict["content"]; } else { return null; } } /** * Sets the content * * @param string $val The value of the content * * @return EducationItemBody */ public function setContent($val) { $this->_propDict["content"] = $val; return $this; } /** * Gets the contentType * * @return BodyType|null The contentType */ public function getContentType() { if (array_key_exists("contentType", $this->_propDict)) { if (is_a($this->_propDict["contentType"], "\Microsoft\Graph\Model\BodyType") || is_null($this->_propDict["contentType"])) { return $this->_propDict["contentType"]; } else { $this->_propDict["contentType"] = new BodyType($this->_propDict["contentType"]); return $this->_propDict["contentType"]; } } return null; } /** * Sets the contentType * * @param BodyType $val The value to assign to the contentType * * @return EducationItemBody The EducationItemBody */ public function setContentType($val) { $this->_propDict["contentType"] = $val; return $this; } }