_propDict)) { if (is_a($this->_propDict["detail"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["detail"])) { return $this->_propDict["detail"]; } else { $this->_propDict["detail"] = new ItemBody($this->_propDict["detail"]); return $this->_propDict["detail"]; } } return null; } /** * Sets the detail * Contains the detail of the note itself. * * @param ItemBody $val The detail * * @return PersonAnnotation */ public function setDetail($val) { $this->_propDict["detail"] = $val; return $this; } /** * Gets the displayName * Contains a friendly name for the note. * * @return string|null The displayName */ public function getDisplayName() { if (array_key_exists("displayName", $this->_propDict)) { return $this->_propDict["displayName"]; } else { return null; } } /** * Sets the displayName * Contains a friendly name for the note. * * @param string $val The displayName * * @return PersonAnnotation */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the thumbnailUrl * * @return string|null The thumbnailUrl */ public function getThumbnailUrl() { if (array_key_exists("thumbnailUrl", $this->_propDict)) { return $this->_propDict["thumbnailUrl"]; } else { return null; } } /** * Sets the thumbnailUrl * * @param string $val The thumbnailUrl * * @return PersonAnnotation */ public function setThumbnailUrl($val) { $this->_propDict["thumbnailUrl"] = $val; return $this; } }