_propDict)) { return $this->_propDict["containerTextWebPartId"]; } else { return null; } } /** * Sets the containerTextWebPartId * The instance identifier of the container text webPart. It only works for inline standard webPart in rich text webParts. * * @param string $val The containerTextWebPartId * * @return StandardWebPart */ public function setContainerTextWebPartId($val) { $this->_propDict["containerTextWebPartId"] = $val; return $this; } /** * Gets the data * Data of the webPart. * * @return WebPartData|null The data */ public function getData() { if (array_key_exists("data", $this->_propDict)) { if (is_a($this->_propDict["data"], "\Beta\Microsoft\Graph\Model\WebPartData") || is_null($this->_propDict["data"])) { return $this->_propDict["data"]; } else { $this->_propDict["data"] = new WebPartData($this->_propDict["data"]); return $this->_propDict["data"]; } } return null; } /** * Sets the data * Data of the webPart. * * @param WebPartData $val The data * * @return StandardWebPart */ public function setData($val) { $this->_propDict["data"] = $val; return $this; } /** * Gets the webPartType * A Guid that indicates the webPart type. * * @return string|null The webPartType */ public function getWebPartType() { if (array_key_exists("webPartType", $this->_propDict)) { return $this->_propDict["webPartType"]; } else { return null; } } /** * Sets the webPartType * A Guid that indicates the webPart type. * * @param string $val The webPartType * * @return StandardWebPart */ public function setWebPartType($val) { $this->_propDict["webPartType"] = $val; return $this; } }