setODataType("#microsoft.graph.iosHomeScreenFolder"); } /** * Gets the pages * Pages of Home Screen Layout Icons which must be applications or web clips. This collection can contain a maximum of 500 elements. * * @return IosHomeScreenFolderPage|null The pages */ public function getPages() { if (array_key_exists("pages", $this->_propDict)) { if (is_a($this->_propDict["pages"], "\Microsoft\Graph\Model\IosHomeScreenFolderPage") || is_null($this->_propDict["pages"])) { return $this->_propDict["pages"]; } else { $this->_propDict["pages"] = new IosHomeScreenFolderPage($this->_propDict["pages"]); return $this->_propDict["pages"]; } } return null; } /** * Sets the pages * Pages of Home Screen Layout Icons which must be applications or web clips. This collection can contain a maximum of 500 elements. * * @param IosHomeScreenFolderPage $val The value to assign to the pages * * @return IosHomeScreenFolder The IosHomeScreenFolder */ public function setPages($val) { $this->_propDict["pages"] = $val; return $this; } }