_propDict)) { if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\ExternalItemContentType") || is_null($this->_propDict["type"])) { return $this->_propDict["type"]; } else { $this->_propDict["type"] = new ExternalItemContentType($this->_propDict["type"]); return $this->_propDict["type"]; } } return null; } /** * Sets the type * The type of content in the value property. Possible values are text and html. These are the content types that the indexer supports, and not the file extension types allowed. Required. * * @param ExternalItemContentType $val The value to assign to the type * * @return ExternalItemContent The ExternalItemContent */ public function setType($val) { $this->_propDict["type"] = $val; return $this; } /** * Gets the value * The content for the externalItem. Required. * * @return string|null The value */ public function getValue() { if (array_key_exists("value", $this->_propDict)) { return $this->_propDict["value"]; } else { return null; } } /** * Sets the value * The content for the externalItem. Required. * * @param string $val The value of the value * * @return ExternalItemContent */ public function setValue($val) { $this->_propDict["value"] = $val; return $this; } }