_propDict)) { return $this->_propDict["horizontalSections"]; } else { return null; } } /** * Sets the horizontalSections * Collection of horizontal sections on the SharePoint page. * * @param HorizontalSection[] $val The horizontalSections * * @return CanvasLayout */ public function setHorizontalSections($val) { $this->_propDict["horizontalSections"] = $val; return $this; } /** * Gets the verticalSection * Vertical section on the SharePoint page. * * @return VerticalSection|null The verticalSection */ public function getVerticalSection() { if (array_key_exists("verticalSection", $this->_propDict)) { if (is_a($this->_propDict["verticalSection"], "\Beta\Microsoft\Graph\Model\VerticalSection") || is_null($this->_propDict["verticalSection"])) { return $this->_propDict["verticalSection"]; } else { $this->_propDict["verticalSection"] = new VerticalSection($this->_propDict["verticalSection"]); return $this->_propDict["verticalSection"]; } } return null; } /** * Sets the verticalSection * Vertical section on the SharePoint page. * * @param VerticalSection $val The verticalSection * * @return CanvasLayout */ public function setVerticalSection($val) { $this->_propDict["verticalSection"] = $val; return $this; } }