_propDict)) { if (is_a($this->_propDict["alignment"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ContentAlignment") || is_null($this->_propDict["alignment"])) { return $this->_propDict["alignment"]; } else { $this->_propDict["alignment"] = new ContentAlignment($this->_propDict["alignment"]); return $this->_propDict["alignment"]; } } return null; } /** * Sets the alignment * The horizontal alignment of the footer. * * @param ContentAlignment $val The value to assign to the alignment * * @return AddContentFooterAction The AddContentFooterAction */ public function setAlignment($val) { $this->_propDict["alignment"] = $val; return $this; } /** * Gets the fontColor * Color of the font to use for the footer. * * @return string|null The fontColor */ public function getFontColor() { if (array_key_exists("fontColor", $this->_propDict)) { return $this->_propDict["fontColor"]; } else { return null; } } /** * Sets the fontColor * Color of the font to use for the footer. * * @param string $val The value of the fontColor * * @return AddContentFooterAction */ public function setFontColor($val) { $this->_propDict["fontColor"] = $val; return $this; } /** * Gets the fontName * Name of the font to use for the footer. * * @return string|null The fontName */ public function getFontName() { if (array_key_exists("fontName", $this->_propDict)) { return $this->_propDict["fontName"]; } else { return null; } } /** * Sets the fontName * Name of the font to use for the footer. * * @param string $val The value of the fontName * * @return AddContentFooterAction */ public function setFontName($val) { $this->_propDict["fontName"] = $val; return $this; } /** * Gets the fontSize * Font size to use for the footer. * * @return int|null The fontSize */ public function getFontSize() { if (array_key_exists("fontSize", $this->_propDict)) { return $this->_propDict["fontSize"]; } else { return null; } } /** * Sets the fontSize * Font size to use for the footer. * * @param int $val The value of the fontSize * * @return AddContentFooterAction */ public function setFontSize($val) { $this->_propDict["fontSize"] = $val; return $this; } /** * Gets the margin * The margin of the header from the bottom of the document. * * @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 * The margin of the header from the bottom of the document. * * @param int $val The value of the margin * * @return AddContentFooterAction */ public function setMargin($val) { $this->_propDict["margin"] = $val; return $this; } /** * Gets the text * The contents of the footer itself. * * @return string|null The text */ public function getText() { if (array_key_exists("text", $this->_propDict)) { return $this->_propDict["text"]; } else { return null; } } /** * Sets the text * The contents of the footer itself. * * @param string $val The value of the text * * @return AddContentFooterAction */ public function setText($val) { $this->_propDict["text"] = $val; return $this; } /** * Gets the uiElementName * The name of the UI element where the footer should be placed. * * @return string|null The uiElementName */ public function getUiElementName() { if (array_key_exists("uiElementName", $this->_propDict)) { return $this->_propDict["uiElementName"]; } else { return null; } } /** * Sets the uiElementName * The name of the UI element where the footer should be placed. * * @param string $val The value of the uiElementName * * @return AddContentFooterAction */ public function setUiElementName($val) { $this->_propDict["uiElementName"] = $val; return $this; } }