_propDict)) { if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\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 * * @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 * * @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 * * @param string $val The value of the value * * @return ExternalItemContent */ public function setValue($val) { $this->_propDict["value"] = $val; return $this; } }