setODataType("#microsoft.graph.windowsUpdates.catalogContent"); } /** * Gets the catalogEntry * * @return CatalogEntry|null The catalogEntry */ public function getCatalogEntry() { if (array_key_exists("catalogEntry", $this->_propDict)) { if (is_a($this->_propDict["catalogEntry"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\CatalogEntry") || is_null($this->_propDict["catalogEntry"])) { return $this->_propDict["catalogEntry"]; } else { $this->_propDict["catalogEntry"] = new CatalogEntry($this->_propDict["catalogEntry"]); return $this->_propDict["catalogEntry"]; } } return null; } /** * Sets the catalogEntry * * @param CatalogEntry $val The value to assign to the catalogEntry * * @return CatalogContent The CatalogContent */ public function setCatalogEntry($val) { $this->_propDict["catalogEntry"] = $val; return $this; } }