_propDict)) { return $this->_propDict["content"]; } else { return null; } } /** * Sets the content * The content of replied comment. * * @param string $val The content * * @return WorkbookCommentReply */ public function setContent($val) { $this->_propDict["content"] = $val; return $this; } /** * Gets the contentType * Indicates the type for the replied comment. * * @return string|null The contentType */ public function getContentType() { if (array_key_exists("contentType", $this->_propDict)) { return $this->_propDict["contentType"]; } else { return null; } } /** * Sets the contentType * Indicates the type for the replied comment. * * @param string $val The contentType * * @return WorkbookCommentReply */ public function setContentType($val) { $this->_propDict["contentType"] = $val; return $this; } /** * Gets the task * The task associated with the comment thread. * * @return WorkbookDocumentTask|null The task */ public function getTask() { if (array_key_exists("task", $this->_propDict)) { if (is_a($this->_propDict["task"], "\Beta\Microsoft\Graph\Model\WorkbookDocumentTask") || is_null($this->_propDict["task"])) { return $this->_propDict["task"]; } else { $this->_propDict["task"] = new WorkbookDocumentTask($this->_propDict["task"]); return $this->_propDict["task"]; } } return null; } /** * Sets the task * The task associated with the comment thread. * * @param WorkbookDocumentTask $val The task * * @return WorkbookCommentReply */ public function setTask($val) { $this->_propDict["task"] = $val; return $this; } }