_propDict)) { if (is_a($this->_propDict["alignment"], "\Beta\Microsoft\Graph\Model\Alignment") || is_null($this->_propDict["alignment"])) { return $this->_propDict["alignment"]; } else { $this->_propDict["alignment"] = new Alignment($this->_propDict["alignment"]); return $this->_propDict["alignment"]; } } return null; } /** * Sets the alignment * * @param Alignment $val The value to assign to the alignment * * @return AddFooter The AddFooter */ public function setAlignment($val) { $this->_propDict["alignment"] = $val; return $this; } /** * Gets the margin * * @return int|null The margin */ public function getMargin() { if (array_key_exists("margin", $this->_propDict)) { return $this->_propDict["margin"]; } else { return null; } } /** * Sets the margin * * @param int $val The value of the margin * * @return AddFooter */ public function setMargin($val) { $this->_propDict["margin"] = $val; return $this; } }